suspendcode="<DIV id=lovexin1 style='Z-INDEX: 10; LEFT: 20px; 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='http://www.njmz.gov.cn/site/mzj/ty/index.htm' target='_blank'><img src='images/dfdf.jpg' width='80' height='200' border='0' ></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin2 style='visibility:hidden;Z-INDEX: 10; right: 20px; POSITION: absolute; TOP: 25px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide2()' width='100' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='http://www.njjj.gov.cn/www/jcj/zx.htm' target='_blank'><img src='images/jl.jpg' width='100' height='250' border='0' ></a></DIV>"
document.write(suspendcode);


suspendcode="<DIV id=lovexin3 style='visibility:hidden;Z-INDEX: 10; LEFT: 10px; POSITION: absolute; TOP: 305px; width: 95; height: 203px;'><img src='images/close.gif' onClick='javascript:window.hide3()' width='100' height='20' border='0' vspace='3' alt='关闭对联广告'><a href='#'><img src='images/jl.jpg' width='100' height='250' border='0' ></a></DIV>"
document.write(suspendcode);
suspendcode="<DIV id=lovexin4 style='visibility:hidden;Z-INDEX: 10; LEFT: 900px; POSITION: absolute; TOP: 305px; width: 95; height: 203px;'><EMBED src='ol.swf' quality=high WIDTH=80 HEIGHT=120 TYPE='application/x-shockwave-flash' id=happydiet></EMBED></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);
