if (window.screen.width>=1024)
{
lastScrollY=0;
function heartBeat()
{ 
diffY=document.body.scrollTop; 
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
//document.all.lovexin16.style.pixelTop+=percent;
document.all.lovexin14.style.pixelTop+=percent;
document.all.lovexin12.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent; 
} 


//全屏广告
//suspendcode16="<DIV id=lovexin16 style='right:370px;POSITION:absolute;TOP:130px;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='416' height='477' align='top'><param name='movie' value='/img/cj.swf'><param name='wmode' value='transparent'></object></div>"
//document.write(suspendcode16); 

//右上边图片代码：
suspendcode14="<DIV id=lovexin14 style='right:3px;POSITION:absolute;TOP:50px;'><table><tr><td><a href='/index.asp' target='_blank'><img src='/img/2010new.jpg' border=0 width='100' height='243'></a></td></tr><tr><td align=center>- <a href=javascript:closeAd3()>关闭</a> -</td></tr></table></div>"
//右上边Flash代码：
//suspendcode14="<DIV id=lovexin14 style='right:3px;POSITION:absolute;TOP:50px;'><table><tr><td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='100' height='250'><param name='movie' value='http://www.srgs.net/img/2007yd.swf'></object></td></tr><tr><td align=center>- <a href=javascript:closeAd3()>关闭</a> -</td></tr></table></div>"
//suspendcode14="<DIV id=lovexin14 style='right:3px;POSITION:absolute;TOP:50px;'><table><tr><td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='100' height='280'><param name='movie' value='/img/paopao.swf'><param name=wmode value=transparent></object></td></tr></table></div>"
document.write(suspendcode14); 

//左上边图片代码：
suspendcode12="<DIV id=lovexin12 style='left:3px;POSITION:absolute;TOP:50px;'><table><tr><td><a href='/' target='_blank'><img src='/img/2010new.jpg' border=0 width='100' height='243'></a></td></tr><tr><td align=center>- <a href=javascript:closeAd4()>关闭</a> -</td></tr></table></div>"
//左上边Flash代码：
//suspendcode12="<DIV id=lovexin12 style='left:3px;POSITION:absolute;TOP:50px;'><table><tr><td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='100' height='250'><param name='movie' value='http://www.srgs.net/img/2007yd.swf'></object></td></tr><tr><td align=center>- <a href=javascript:closeAd4()>关闭</a> -</td></tr></table></div>"
//suspendcode12="<DIV id=lovexin12 style='left:3px;POSITION:absolute;TOP:50px;'><table><tr><td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='100' height='280'><param name='movie' value='/img/paopao.swf'><param name=wmode value=transparent></object></td></tr></table></div>"
document.write(suspendcode12); 

window.setInterval("heartBeat()",1); 


//function closeAd2(){
//lovexin16.style.display='none';}
function closeAd3(){
lovexin14.style.display='none';}
function closeAd4(){
lovexin12.style.display='none';}

//自动关闭全屏广告
//setTimeout("closeAd2()",14000);
//自动关闭右部广告
//setTimeout("closeAd3()",14000);
//自动关闭左部广告
//setTimeout("closeAd4()",14000);
}