suspendcode="<DIV id=lovexin2 style='Z-INDEX: 10; LEFT: 1005px; POSITION: absolute; TOP: 105px; width: 40; height: 352px;'><img src='/images/Close2.jpg' onClick='javascript:window.hide()' width='40' height='17' border='0' vspace='0' alt='关闭广告'><img src='/images/gbmid.jpg' width='40' height='290' border='0'><a href='http://www.shmodelexpo.com.cn/ep/cn/main.asp' target='_blank'><img src='/images/gbad1.jpg' width='40' height='70' border='0'></a><a href='http://www.shmodelexpo.com.cn/ep/web/no2/main.asp' target='_blank'><img src='/images/gbad2.jpg' width='40' height='67' border='0'></a><a href='http://www.shmodelexpo.com.cn/ep/web/no3/main.asp' target='_blank'><img src='/images/gbad3.gif' width='40' height='67' border='0'></a><a href='http://www.shmodelexpo.com.cn/ep/web/no4/main.asp' target='_blank'><img src='/images/gbad4.jpg' width='40' height='67' border='0'></a></DIV>"


document.write(suspendcode);

//flash格式调用方法
//<EMBED src='flash.swf' quality=high  WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=ad wmode=opaque></EMBED>

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.lovexin2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide()  
{   
lovexin2.style.visibility="hidden";
}
window.setInterval("heartBeat()",1);
