suspendcode_1="<DIV id=lovexin1_1 style='Z-INDEX: 11; LEFT: 2px; POSITION: absolute; TOP: 20px; width: 100; height: 200px;'><img src='/template/jgy/IndexJS/DLImg/close.gif' onClick='javascript:window.hide_1()' width='100' height='14' border='0' vspace='3' ><br><a href='/ztwzlm/ztlm_2010kygz' target='_blank'><img src='/template/jgy/IndexJS/DLImg/2010kygz.gif' width='100' height='200' border='0'></a></DIV>"
document.write(suspendcode_1);

suspendcode_1="<DIV id=lovexin2_1 style='Z-INDEX: 12; RIGHT: 2px; POSITION: absolute; TOP: 20px; width: 100; height: 200px;'><img src='/template/jgy/IndexJS/DLImg/close.gif' onClick='javascript:window.hide_2()' width='100' height='14' border='0' vspace='3' ><br><a href='/fwgx' target='_blank'><img src='/template/jgy/IndexJS/DLImg/fwgxxfz.gif' width='100' height='200' border='0'></a></DIV>"
document.write(suspendcode_1);


//suspendcode_1="<DIV id=lovexin3_1 style='Z-INDEX: 11; left: 2px; POSITION: absolute; TOP: 250px; width: 100; height: 200px;'><img //src='/template/jgy/IndexJS/DLImg/close.gif' onClick='javascript:window.hide_3()' width='100' height='14' border='0' vspace='3' ><br><a href='/fwgx' //target='_blank'><img src='/template/jgy/IndexJS/DLImg/fwgxxfz.gif' width='100' height='200' border='0'></a></DIV>"
//document.write(suspendcode_1);

//flash格式调用方法
//<EMBED src='flash.swf' quality=high  WIDTH=100 HEIGHT=300 TYPE='application/x-shockwave-flash' id=ad wmode=opaque></EMBED>

lastScrollY_1=0;
function heartBeat_1(){
diffY=document.documentElement.scrollTop;
percent=.3*(diffY-lastScrollY_1);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.lovexin1_1.style.pixelTop+=percent;
document.all.lovexin2_1.style.pixelTop+=percent;
//document.all.lovexin3_1.style.pixelTop+=percent;

lastScrollY_1=lastScrollY_1+percent;
}
function hide_1()  
{   
lovexin1_1.style.visibility="hidden"; 
}
function hide_2()  
{   
lovexin2_1.style.visibility="hidden";
}
//function hide_3()  
//{   
//lovexin3_1.style.visibility="hidden";
//}

window.setInterval("heartBeat_1()",1);
