NN4=(document.layers)?1:0;
DOM=(document.getElementById)?1:0;
IE=(document.all)?1:0;
oldIE=(IE&&!DOM)?1:0;
if(oldIE)
{
	function MyGetElementById(id)
	{
		return document.all[id];
	}
	document.getElementById=MyGetElementById;
}
function slide(id,y)
{
	document.getElementById(id).style.top=y;
}
function nav_sliding()
{
	if(IE) DY=window.document.body.scrollTop;
	else DY=self.pageYOffset;
	if(DY!=lastY)
	{
		dy=0.1*(DY-lastY);
		if(dy>0) dy=Math.ceil(dy);
		else dy=Math.floor(dy);
		lastY+=dy;
		slide('nav',lastY+navYoff);
	}
	setTimeout("nav_sliding()",1);
}
function init()
{
	navYoff=190;
	lastY=-navYoff;
	nav_sliding();
}
