// JavaScript Document
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); // 原来的
percent=0; //新加
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 

document.getElementById("lovexin6").style.top=parseInt(document.getElementById("lovexin6").style.top)+percent+"px";
document.getElementById("lovexin7").style.top=parseInt(document.getElementById("lovexin7").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}

suspendcode6="<DIV id=\"lovexin6\" style='right:7px;POSITION:absolute;TOP:60px;'><a href='/unlink/hkdm.asp?id=317'  target='_blank'><img border=0 src=/jsjsjs/hk.gif width=63 height=160 ><br><a href=JavaScript:; onclick=\"lovexin6.style.visibility='hidden'\"><img border=0 src=/jsjsjs/close.gif></a></div>"

suspendcode7="<DIV id=\"lovexin7\" style='right:8px;POSITION:absolute;TOP:250px;'><a href='/unlink/hkdm2.asp?id=317'  target='_blank'><img border=0 src=/jsjsjs/hk2.gif width=63 height=160 ><br><a href=JavaScript:; onclick=\"lovexin7.style.visibility='hidden'\"><img border=0 src=/jsjsjs/close.gif></a></div>"


document.write(suspendcode6); 
document.write(suspendcode7); 
window.setInterval("heartBeat()",1);

