
suspendcode="<DIV id=tn02 style='Z-INDEX: 10; RIGHT:0px; POSITION: absolute; TOP: 135px; width: 190px; height: 230px;'><img src='/cms/images/close01.gif' onClick='javascript:window.hide()' width='190' height='15' border='0' vspace='3' alt='关闭'><a href='/newsAction.do?method=viewNews&classId=020019980000000482&newsId=020010040000086097' target='_blank'><img src='/cms/images/25gh.jpg' width='190' height='230' 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.documentElement.scrollTop ;

percent=.3*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
//document.all.tn01.style.pixelTop+=percent;
document.all.tn02.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide()  
{
tn02.style.visibility="hidden";
}
window.setInterval("heartBeat()",1);
