
function closeduilianl1(){ 
searchspe.style.visibility='hidden';
}
function closeduilianr1(){ 
searchspe2.style.visibility='hidden'; 
}
 
if(screen.width>799){
if(screen.width>1024){
var duilian = screen.width/2 - 604;
}
else{
var duilian = 0;
}
var specialcode="<DIV id=searchspe style='Z-INDEX: 100; left: " + duilian + "px; POSITION: absolute; TOP: 45px;'><div onClick='closeduilianl1();' style='color:gray;font-size:9pt;cursor:hand;text-align:center;width:90px;background-color: #efefef;line-height:200%'><img src='http://www.wz2s.com/images/close.gif'  width='90' height='14' border='0' vspace='3' alt='关闭对联广告' style='cursor:hand;background-color: #efefef;'></div><a href='#' target='_blank'><img src='busad/duilianad.gif' height='220' width='90' border=0 alt='温州二手车'></a></DIV>"; 
document.write(specialcode); 
lastScrollX=0; 
function heartBeat0(){ 
diffY=document.body.scrollTop; 
percent=.1*(diffY-lastScrollX); 
if(percent>0) 
percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.all.searchspe.style.pixelTop+=percent;

lastScrollX=lastScrollX+percent; 
} 
window.setInterval("heartBeat0()",1); 

var specialcode2="<DIV id=searchspe2 style='Z-INDEX: 100; right: " + duilian + "px; POSITION: absolute; TOP: 45px;'><div onClick='closeduilianr1();' style='color:gray;font-size:9pt;cursor:hand;text-align:center;width:90px;background-color: #efefef;line-height:200%'><img src='http://www.wz2s.com/images/close.gif'  width='90' height='14' border='0' vspace='3' alt='关闭对联广告' style='cursor:hand;background-color: #efefef;'></div><a href='#' target='_blank'><img src='busad/duilianad.gif' height='220' width='90' border=0 alt='温州二手车'></a></DIV>"; 
document.write(specialcode2); 
lastScrollY=0; 
function heartBeat1(){ 
diffY=document.body.scrollTop; 
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.all.searchspe2.style.pixelTop+=percent; 

lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat1()",1);
}
 
 
if(screen.width>799){
if(screen.width>1024){
var duilian = screen.width/2 - 604;
}
else{
var duilian = 0;
}
 
}

