function ScrollerLock(id)
{
	var elm = document.all ? document.all[id] : document.getElementById ? document.getElementById(id) : null;
	
	if (elm != null)
	{
		var sx, sy;
		
		if (!elm.__preScrollX) elm.__preScrollX = elm.offsetLeft;
		if (!elm.__preScrollY) elm.__preScrollY = elm.offsetTop;
		
		sx = document.all ? (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) : window.pageXOffset;
		sy = document.all ? (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) : window.pageYOffset;
		
		elm.style.left = (sx + elm.__preScrollX) + "px";
		elm.style.top = (sy + elm.__preScrollY) + "px";
	}
}

function Scroller()
{
	if (document.all)
	{
		ScrollerLock("title");
		ScrollerLock("menu");
	}
}

/*

if (window.addEventListener) window.addEventListener("scroll", Scroller, false);
else if (window.attachEvent) window.attachEvent("onscroll", Scroller);

*/