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("lovexin12").style.top=parseint(document.getelementbyid("lovexin12").style.top)+percent+"px"; lastscrolly=lastscrolly+percent; //alert(lastscrolly); } suspendcode12="