lastScrollY=0; function heartBeat(){ var diffY; if (document.documentElement && document.documentElement.scrollTop) diffY = document.documentElement.scrollTop; else if (document.body) diffY = document.body.scrollTop else {/*Netscape stuff*/} //alert(diffY); percent=.1*(diffY-lastScrollY); if(percent>0)percent=Math.ceil(percent); else percent=Math.floor(percent); document.getElementById("floaterdiv").style.top=parseInt(document.getElementById("floaterdiv").style.top)+percent+"px"; lastScrollY=lastScrollY+percent; //alert(lastScrollY); } suspendcode12="
"; var recontent='
' + '
'+ ""+ '
' + '' + '
'; document.write(suspendcode12); document.write(recontent); document.write("
"); window.setInterval("heartBeat()",1); function far_close() { document.getElementById("floaterdiv").innerHTML=""; } function setfrme() { var tr=document.getElementById("floaterdiv"); var twidth=tr.clientWidth; var theight=tr.clientHeight; var fr=document.getElementById("frame55la"); fr.width=twidth-1; fr.height=theight-30; } //setfrme()