lastScrollY=0;

function heartBeat(){
diffY=document.documentElement.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.lovexin1.style.pixelTop+=percent;
document.all.lovexin2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}

suspendcode1="<DIV id=lovexin1 style='right:5px;POSITION:absolute;TOP:100px;'><a href='#' title='ad' target='_blank'><img border=0 src='webimages/left2.jpg'></a></div>"
document.write(suspendcode1);

suspendcode2="<DIV id=lovexin2 style='left:5px;POSITION:absolute;TOP:100px;'><a href='#' title='ad' target='_blank'><img border=0 src='webimages/right2.jpg' ></a></div>"
document.write(suspendcode2);

window.setInterval("heartBeat()",1);

