function positioning() {
	try{
		var nv = navigator.userAgent;
		var bt = document.getElementById("pageup");
		
		if (nv.match(new RegExp("MSIE 6", "i"))) {
			bt.style.position = "absolute";
			floatbt();
		} else {
			bt.style.position = "fixed";
			bt.style.left = (document.body.offsetWidth / 2) + 420 + "px";
			bt.style.bottom = "2px";
		}
	}
	catch(e){}
}

function floatbt() {
	var bt = document.getElementById("pageup");
	bt.style.left = (document.body.offsetWidth / 2) + 420 + "px";
	bt.style.top = document.documentElement.clientHeight + document.documentElement.scrollTop - 60 + "px";
	setTimeout("floatbt()", 10);
}

window.onresize = function() { positioning(); }
window.onload = function() { positioning(); }
