window.setTimeout("StartEasyScroll(0,0)",150)
//SetEasyScroll()
var scrollt=0;
var scrolll=0;
var init_easyscroll=false
function StartEasyScroll(t2,l2){
if(!document){window.setTimeout("StartEasyScroll()",100);return}
if(!document.body){window.setTimeout("StartEasyScroll()",100);return}
//alert(document.getElementById("easyscroll"))
if(!document.getElementById("easyscroll")){window.setTimeout("StartEasyScroll()",100);return}
var t=document.body.offsetHeight
var l=document.body.offsetTop
if(t2!=t||l2!=l){window.setTimeout("StartEasyScroll("+t+","+l+")",300);return}
SetEasyScroll()
}
function SaveEasyScroll(){
if(!init_easyscroll)return
if(!document)return
if(!document.body)return
var t=document.body.scrollTop
var l=document.body.scrollLeft
if(t!=scrollt||l!=scrolll){
scrollt=t;
scrolll=l;
setTimeout("SaveEasyScroll()",333);return
}
document.getElementById("easyscroll").value=l+','+t
return true;
}
function SetEasyScroll(){
var arr=document.getElementById("easyscroll").value.split(",")
var t=parseInt(arr[1])
var l=parseInt(arr[0])
document.body.scrollTop=t
document.body.scrollLeft=l
if(document.all){
var obj = document.body;
obj.onscroll=SaveEasyScroll
}else{
var obj = document.body;
var event1 = document.createAttribute("onscroll");
event1.nodeValue = "SaveEasyScroll()";
obj.setAttributeNode(event1);
}
init_easyscroll=true
}