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.lovexin12.style.pixelTop+=percent;
document.all.lovexin14.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent; 
} 
suspendcode12="<DIV id=lovexin12 style='left:10px;POSITION:absolute;TOP:170px;'><A HREF='book.html' target=_blank Title='四库全书术数类集成'><img src='Bookimages/1.jpg' border=2 width='150' height='230'></A></div>"
document.write(suspendcode12); 
suspendcode14="<DIV id=lovexin14 style='right:10px;POSITION:absolute;TOP:170px;'><A HREF='book.html' target=_blank Title='四库全书术数类集成'><img src='Bookimages/6.jpg' border=0 width='150' border=2 width='100' height='230'></A></div>"
document.write(suspendcode14); 

window.setInterval("heartBeat()",1); 

