var t='50';
var tt=t*1;
var u='cn014';
var type='0';
var a='1';
var p='';
var h='2';
var w='1';
var th='250';
var tw='300';
var pp='0';
var fc='ffffff';
var bgc='ffffff';
var bdc='ffffff';
var style='2';

var src2='/ad/html/300x300.htm';


function SymError(){return true;}
window.onerror = SymError;

document.write ('<div id="LeftD"  style="LEFT:5px; TOP:'+tt+'px; WIDTH: '+tw+'px; POSITION: absolute"></div>');//relative
document.write ('<div id="RightD" style="RIGHT: 7px; TOP:'+tt+'px; WIDTH: '+tw+'px; POSITION: absolute"></div>');

var left_D='',right_D='';
//ÓÒ²à

if (a=='0')
{right_D+='<iframe frameborder=0 scrolling=no width='+tw+' height='+th+' src='+src1+'></iframe>';}
else
{right_D+='<iframe frameborder=0 scrolling=no width='+tw+' height='+th+' src='+src2+'></iframe>';}
right_D+='<div id="c1r" style="CURSOR: hand" onclick="RightD.style.visibility=\'hidden\'" width=20 height=20 style="position: absolute; left:'+(tw*1 - 20)+'px; top: 0px"><img border=0 src=/ad/close.gif width=20 height=20></div>';

var _lastScrollY=0; 
function piao(){ 
T_1=document.documentElement.scrollTop;
T_2=diffY=document.body.scrollTop;
if (T_1>T_2){diffY=T_1;} else {diffY=T_2;}
percent=.1*(diffY-_lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.all.LeftD.style.pixelTop+=percent;
document.all.RightD.style.pixelTop+=percent;
_lastScrollY=_lastScrollY+percent; 
} 

if (a=='0') {document.all.LeftD.innerHTML=left_D;}
if (a=='1') {document.all.RightD.innerHTML=right_D;}
if (a=='2'){
document.all.LeftD.innerHTML=left_D;
document.all.RightD.innerHTML=right_D;
}
window.setInterval("piao()",30); 
