
var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

var speed=20
var temp=new Array()
if (ns4)
{
	temp[1]=eval("document.i"+1+".clip")
	temp[1].width=window.innerWidth
	temp[1].height=window.innerHeight
}
else if (ie4||ns6)
{
	var clipright=ns6?window.innerWidth*0.98:document.body.clientWidth,clipleft=0
	i=1;
	temp[i]=ns6?document.getElementById("i"+i).style:eval("document.all.i"+i+".style")
	temp[i].width=ns6?window.innerWidth*0.98:document.body.clientWidth
	temp[i].height=ns6?window.innerHeight-1: document.body.offsetHeight
}


function openit()
{
	window.scrollTo(0,0)
	if (ns4)
	{
		temp[1].right-=speed
		temp[2].left+=speed
		if (temp[2].left>window.innerWidth)
			clearInterval(stopit)
	}
	else if (ie4||ns6)
	{
		clipright-=speed
		temp[1].clip="rect(0 "+clipright+" auto 0)"
		if (clipright<=0)
		{
			clearInterval(stopit)
			if (ns6)
			{
				temp[1].display="none"
			}
		}
	}
}
function gogo()
{
	killme = setInterval("gogo2()",delay);
}
function gogo2()
{
	clearInterval(killme);
	stopit=setInterval("openit()",100)
}
gogo()
