suspendcode="<DIV id=lovexin1 style='Z-INDEX: 10; LEFT: 20px; POSITION: absolute; TOP: 15px; width: 95; height: 203px;'><img src='photo01/images/close.gif' onClick='javascript:window.hide()' width='9' height='9' border='0' vspace='3' alt='关闭'><br><a href='2012year.asp' target='_blank'><img src='photo01/images/01.jpg' width='100' height='540' border='0' alt='bgyfw'></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin2 style='Z-INDEX: 10; right: 20px; POSITION: absolute; TOP: 15px; width: 95; height: 203px;'><img src='photo01/images/close.gif' onClick='javascript:window.hide()' width='9' height='9' border='0' vspace='3' alt='关闭'><br><a href='2012year.asp' target='_blank'><img src='photo01/images/02.jpg' width='100' height='540' border='0' alt='bgyfw'></a></DIV>"
document.write(suspendcode);
lastScrollY=0;
function heartBeat(){
diffY=document.documentElement .scrollTop;
percent=.3*(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;
}
function hide()  
{   
lovexin1.style.visibility="hidden"; 
lovexin2.style.visibility="hidden";
}
window.setInterval("heartBeat()",1);
