
function iecompattest(){
	return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
}


function staticbar() {
	startX = 774;
	startY = 0;
	var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
	function ml(id){
		var el = document.getElementById(id);
		el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
		el.x = startX;
		el.y = startY;
		return el;
	}
	window.stayTopLeft=function(){
		var pY = ns ? pageYOffset : iecompattest().scrollTop;
		ftlObj.y += (pY + startY - ftlObj.y)/8;
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("stayTopLeft()", 15);
	}
	ftlObj = ml('Toplevel_Rightbat_Scroller');
	stayTopLeft();
}


if (window.addEventListener)
	window.addEventListener('load', staticbar, false)
else if (window.attachEvent)
	window.attachEvent('onload', staticbar)
else if (document.getElementById)
	window.onload = staticbar