if(window.screen.width>1024) 
{

suspendcode="<DIV id=lovexin1 style='Z-INDEX: 10; LEFT: 6px; POSITION: absolute; TOP: 105px; width: 120; height: 360px;'><img src='/images/close.gif' onClick='javascript:window.hide()' width='100' height='14' border='0' vspace='3' alt='关闭对联广告'><TABLE border='0' width='83' cellpadding='2' cellspacing='0' style='border:1px solid #CCCCCC;'><TBODY><TR><TD align='center' style='border-bottom:1px solid #CCCCCC;'><IMG src='images/left_1.jpg' width='83' height='99' border='0'></TD></TR><TR><TD align='center'><a href='ditan_2.html'><IMG src='images/left_2.jpg' width='83' height='67' border='0'></a></TD></TR><TR><TD align='center'><a href='ditan_6.html'><IMG src='images/left_3.jpg' width='83' height='66' border='0'></a></TD></TR><TR><TD align='center'><a href='ditan_3.html'><IMG src='images/left_4.jpg' width='83' height='67' border='0'></a></TD></TR><TR><TD align='center'><a href='ditan_1.html'><IMG src='images/left_5.jpg' width='83' height='67' border='0'></a></TD></TR></TBODY></TABLE></DIV>"
document.write(suspendcode);

suspendcode="<DIV id=lovexin2 style='Z-INDEX: 10; right: 6px; POSITION: absolute; TOP: 105px; width: 120; height: 360px;'><img src='/images/close.gif' onClick='javascript:window.hide()' width='100' height='14' border='0' vspace='3' alt='关闭对联广告'><TABLE border='0' width='83' cellpadding='2' cellspacing='0' style='border:1px solid #CCCCCC;'><TBODY><TR><TD align='center' style='border-bottom:1px solid #CCCCCC;'><IMG src='/images/right_1.jpg' width='83' height='99' border='0'></TD></TR><TR><TD align='center'><IMG src='images/right_1_2.jpg' width='85' height='14' border='0'></TD></TR><TR><TD align='center'><a href='tencent://message/?uin=375195432&menu=yes'><IMG src='images/right_2.jpg' width='42' height='42' border='0'></a></TD></TR><TR><TD align='center'>QQ:<a href='tencent://message/?uin=375195432&menu=yes'><b>375195432</b></a></TD></TR><TR><TD align='center'><IMG src='images/right_3.jpg' width='66' height='56' border='0'></TD></TR><TR><TD align='center'><b>13458316721</b></TD></TR><TR><TD align='center'><a target='_blank' href='http://amos1.taobao.com/msg.ww?v=2&amp;uid=%E5%BA%84%E7%99%BB%E4%BA%91&amp;s=1'><IMG src='images/right_4.jpg' width='50' height='59' border='0'></a></TD></TR><TR><TD align='center'>旺旺：<a target='_blank' href='http://amos1.taobao.com/msg.ww?v=2&amp;uid=%E5%BA%84%E7%99%BB%E4%BA%91&amp;s=1'>庄登云</a></TD></TR></TBODY></TABLE></DIV>"
document.write(suspendcode);

//flash格式调用方法
//<EMBED src='flash.swf' quality=high  WIDTH=120 HEIGHT=360 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.lovexin1.style.pixelTop+=percent;
document.all.lovexin2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
function hide()  
{   
lovexin1.style.visibility="hidden"; 
lovexin2.style.visibility="hidden";
}
window.setInterval("heartBeat()",1);

}