suspendcode="<DIV id=lovexin1 style='Z-INDEX: 10; LEFT: 5px; POSITION: absolute; TOP: 25px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide1()' width='80' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='/cps/site/ccad/kxfz.htm' target='_blank'><img src='images/kxfz.jpg' width='80' height='200' border='0' ></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin2 style='Z-INDEX: 10; LEFT: 905px; POSITION: absolute; TOP: 25px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide2()' width='80' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='/cps/site/ccad/zrft-mb_a2008112641895.htm' target='_blank'><img src='images/112701.jpg' width='80' height='160' border='0' ></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin3 style='Z-INDEX:10; LEFT: 5px; POSITION: absolute; TOP: 285px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide3()' width='80' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='rffc-mb_a2009061641940.htm' target='_blank'><img src='images/rf_ad061601.jpg' width='80' height='200' border='0' ></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin4 style='Z-INDEX:10; LEFT: 905px; POSITION: absolute; TOP: 245px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide4()' width='80' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='rffc-mb_a2009061641939.htm' target='_blank'><img src='images/rf_ad061602.jpg' width='80' height='200' border='0' ></a></DIV>"
document.write(suspendcode);
lastScrollY=0;
function heartBeat(){
diffY=document.body.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;

document.all.lovexin3.style.pixelTop+=percent;
document.all.lovexin4.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide1()  
{   
lovexin1.style.visibility="hidden"; 
}
function hide2()  
{   
lovexin2.style.visibility="hidden";
}
function hide3()  
{   
lovexin3.style.visibility="hidden"; 
}
function hide4()  
{   
lovexin4.style.visibility="hidden"; 
}
window.setInterval("heartBeat()",1);
