//<script language="Javascript">
//<!-- 
var layerRef="null", styleSwitch="null";
function setVar()
{
//----
 if (document.all)
	{
              object="ris";
	v=".pixelTop=";
	dS="window.";
	sD=".style";
	x="document.body.clientHeight";
	y="document.body.scrollTop";
	z="document.body.clientWidth";
	h=".height=";
	w=".width=";	
	}
else  if (document.getElementById)
	{
              v=".top=";
	dS="document.";
	object="getElementById('ris')";
	sD=".style";
	y="window.pageYOffset";
	z="window.innerWidth";
	x="window.innerHeight";
	w=".width=";
	h=".height=";		
	} 

}
 
function set_Layer()
	{

xx=eval(x);
zz=eval(z);
yy=eval(y);

eval(dS+object+sD+v+yy);
eval(dS+object+sD+w+zz);
eval(dS+object+sD+h+xx);
}

function pos_Layer() {
yy=eval(y);
eval(dS+object+sD+v+yy); //   window.ris.style.pixelTop=
setTimeout("pos_Layer()",1);
}
//-->
//</script>