var _SoAD_E=(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length)?0:1;
var _SoAD_Load=false;
var _SoAD_S=new Array();
var _SoAD_R=new Array();
var _SoAD_N="ADAREA";
var _SoAD_01="";
var _SoAD_02="";
var _SoAD_h="<script language='javascript'";
var _SoAD_t="<\/script>";
var _SoAD_d=(document.compatMode=='CSS1Compat')?document.documentElement:document.body;
var _SoAD_1=(_SoAD_E)?1:0.75;
var _SoAD_2=(_SoAD_E)?"px":"pt" ;
var ret,ret2=null;
function isde($y){
 return !(typeof($y)=="undefined");
}
function _SoAD_paraminit(){
 switch(document.compatMode){
 case "BackCompat":
  _SoAD_d=document.body;
  break;
 case "CSS1Compat":
  _SoAD_d=document.documentElement;
  break;
 default:
  _SoAD_d=document.body;
 }
}
function _SoAD_init(){
 if(!_SoAD_d)_SoAD_paraminit();
 if(_SoAD_Load) return;
 _SoAD_Load=!_SoAD_Load;
 _SoAD_S.sort(function ($0,$1){
  return ($0.p>$1.p)?1:(($0.p==$1.p)?0:-1);
 });
 for(var _=0; _<_SoAD_S.length; _++)_SoAD_S[_].i=_;
 DoSchedule();
}
function _SoAD_exec(o){
 if(eval("typeof("+o.t+"_main)")=="function")  eval(o.t+"_main(o)");
}
function AddSchedule($0){
 if($0.id) $0.id=$0.id;
 if(($0.t=="FLOAT")||($0.t=="COUPLET")||($0.t=="BOOKTURN"))$0.id2=$0.id+"2";
 if($0&&$0 instanceof ADM) _SoAD_S[_SoAD_S.length]=$0;
 if(!_SoAD_E) document.write(_SoAD_h+">function "+$0.id+"_DoFSCommand(command,args){_SoAD_DoFSCommand(command,args);}"+_SoAD_t);
 if(!_SoAD_E&&isde($0.src2)) document.write(_SoAD_h+">function "+$0.id+"2_DoFSCommand(command,args){_SoAD_DoFSCommand(command,args);}"+_SoAD_t);
}
function ADM($0,$1){
 this.t=$0;
 this.p=$1;
 this.s=0;
 this.i=0;
 this.extfunc="";
 this.style="position:absolute;";
 this.id=$0;
 this.id2="";
}
function DoSchedule(){
 var $p=-1;
 for(var i=0; i<_SoAD_S.length; i++){
  switch(_SoAD_S[i].s){
  case 0:
   if($p==-1) $p=_SoAD_S[i].p;
   if($p==_SoAD_S[i].p){
    _SoAD_S[i].s=1;
    _SoAD_exec(_SoAD_S[i]);
    break;
   }
  case 1:
   setTimeout("DoSchedule()",300);
   return;
  default:
  }
 }
}
function WriteAd(s){
 var o0=document.getElementById(_SoAD_N);
 var o00=document.createElement("div");
 if(_SoAD_E) o0.insertAdjacentElement("afterBegin",o00); else o0.appendChild(o00);
 o00.innerHTML=s;
 o00=null;
}
function _SoAD_Media(a,w,h,o,id,href){
 var s="";
 if(/\.(swf)/i.test(a)){
  if(_SoAD_E){
   s="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ";
   s+="codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' ";
   s+="id='"+((id==null)?o.t:id)+"' width='"+w+"' height='"+h+"' ";
   if(o.style) s+=" style='"+o.style+"'";
   if(o.extfunc) s+=" "+o.extfunc+" ";
   s+=" ><param name='movie' value='"+a+"'>";
   if(o.play) s+="<param name='play' value='"+o.play+"'>";
   if(o.wmode&&o.wmode!="")s+="<param name='wmode' value='"+o.wmode+"'>";
   if(isde(o.loop))s+="<param name='loop' value='"+o.loop+"'>";
   s+="<param name='quality' value='autohigh' LiveConnect='true'></object>";
  } else{
   s="<embed ";
   if(o.style) s+=" style='"+o.style+"'";
   if(o.extfunc)s+=" "+o.extfunc+" ";
   s+=" src='"+a+"'"+" quality='autohigh' id='";
   s+=((id==null)?o.t:id)+"' name='"+((id==null)?o.t:id);
   s+="' width='"+w+"' height='"+h+"' ";
   if(o.wmode&&o.wmode!="")s+=" wmode='"+o.wmode+"' ";
   if(isde(o.loop))s+=" loop='"+o.loop+"' ";
   s+="type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' swLiveConnect='true'></embed>";
  }
 } else if(/\.(jpe?g|png|gif)$/i.test(a)){
  s="<a href='"+((href==null)?"":href)+"' target='_blank'><img ";
  if(o.style) s+="style='"+o.style+"'";
  if(o.extfunc) s+=" "+o.extfunc+" ";
  s+=" id='"+((id==null)?o.t:id)+"' src='"+a+"' border='0' width='"+w+"' height='"+h+"'></a>";
 }
 return s;
}
function onresizeAD(a,b){
 var $x=document.getElementById(a);
 if($x) $x.style.left=_SoAD_1*(_SoAD_d.scrollLeft+((b<0)?_SoAD_d.clientWidth:0)+b)+_SoAD_2;
}
function ADM_Check(o){
 if(!o.CookieHour) o.CookieHour=24;
 if(!o.CookieNum) o.CookieNum=Number.MAX_VALUE;
 var name=(o.CookieName)?(o.id+o.CookieName):o.id;
 var vd=(o.CookieDomain)?new Cookie(document,name,o.CookieHour,"/",o.CookieDomain):new Cookie(document,name,o.CookieHour);
 vd.load();
 if(vd.visits==null) vd.visits=0;
 vd.visits++;
 if(vd.visits<=o.CookieNum){
  vd.store();
  return false;
 }
 return true;
}

function ADM_ShowCheck(o){
 if(!o.CookieHour) o.CookieHour=24;
 var name=(o.CookieName)?(o.id+o.CookieName):o.id;
 var vd=(o.CookieDomain)?new Cookie(document,name,o.CookieHour,"/",o.CookieDomain):new Cookie(document,name,o.CookieHour);
 vd.load();
 if(vd.shows==null) vd.shows=0;
 vd.shows++;
 if(vd.shows<=1){
  vd.store();
  return false;
 }
 return true;
}
function _SoAD_DoFSCommand($0,$1){
 var $e=null;
 if(_SoAD_DoFSCommand.caller){
  $e=_SoAD_DoFSCommand.caller.toString();
  $e=$e.substring(9,$e.indexOf("(")).replace("_DoFSCommand","");
 }
 if($e=="anonymous") $e=$1;
 if(!$e&&_SoAD_E) return;
 if($0=="quit") return;
 if($0&&$0!=""&&eval("typeof(_SoAD_"+$0+")")=="function") eval("_SoAD_"+$0+"('"+$1+"')"); else _SoAD_hide($e);
}
function _SoAD_hide($a){
 document.getElementById($a).style.display="none";
 if($a=="fullscreenad") $a="FULL";
 for(var $j=0; $j<_SoAD_S.length; $j++){
  if(_SoAD_S[$j].id==$a){
   _SoAD_S[$j].s=2;
   return;
  }
 }
}
function _SoAD_quit($a){
}
function _SoAD_show($a){
 var _OO=document.getElementById($a);
 if(_SoAD_E) _OO.style.display="block"; else{
  _OO.style.display="block";
  _OO.style.visibility="visible";
 }
}
function _SoAD_play($a){
 var _OO=document.getElementById($a);
 if(_OO.tagName.toLowerCase()=="object") _OO.Play();
}
function _SoAD_replay($a){
 if($a.indexOf($a)!=-1){
  for(var $j=0; $j<_SoAD_S.length; $j++){
   if(_SoAD_S[$j].id==$a){
    var $p=parseInt(_SoAD_1*(_SoAD_d.scrollTop+_SoAD_S[$j].top))+_SoAD_2;
    var $l=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+_SoAD_S[$j].left))+_SoAD_2;
   }
  }
 }
 var _OO=document.getElementById($a);
 if(ret!=null) clearTimeout(ret);
 if(ret2!=null) window.clearTimeout(ret2);
 if(_OO.tagName.toLowerCase()=="object"){
  _OO.Rewind();
  _OO.Play();
  if($p) _OO.style.top=$p;
  if($l)_OO.style.left=$l;
  _OO.style.display="block";
 } else if(_OO.tagName.toLowerCase()=="embed"){
  if($p) _OO.style.top=$p;
  if($l)_OO.style.left=$l;
  _OO.style.display="block";
 }
 if($a.indexOf("FLOAT")!=-1)_OO.style.display="block";
 for(var $j=0; $j<_SoAD_S.length; $j++){
  if(_SoAD_S[$j].id==$a){
   var $t=_SoAD_S[$j].timeout;
   ret2=setTimeout("_SoAD_hide('"+$a+"')",isNaN(parseInt($t))?8000:parseInt($t));
   break;
  }
 }
}
function _SoAD_FSCommand(id){
 if(_SoAD_E)return _SoAD_h+" for='"+id+"' event='FSCommand(command,args)'>var _s"+id+"='"+id+"';_SoAD_DoFSCommand(command,((args&&args!=''&&eval(\"typeof(_SoAD_\"+command+\")\")==\"function\")?args:_s"+id+"));"+_SoAD_t;
 return "";
}
function FLOAT2_DoFSCommand(command,args){
 _SoAD_DoFSCommand(command,args);
}
function BOOKTURN2_DoFSCommand(command,args){
 _SoAD_DoFSCommand(command,args);
}
function FULL_main(o){
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 var IS_Find=false;
 o.width=isde(o.width)?parseInt(o.width):760;
 o.height=isde(o.height)?parseInt(o.height):480;
 if(o.StartTime.length==o.EndTime.length&&o.EndTime.length==o.src.length&&o.src.length==o.href.length){
  for(var i=0; i<o.src.length; i++){
   var ST=new Date(o.StartTime[i]);
   var ET=new Date(o.EndTime[i]);
   var NT=new Date();
   if((ST<=ET)&&(NT<ET)&&(NT>=ST)){
    var OBJ=document.getElementById("fullscreenad");
    if(OBJ!=null){
     self.scroll(0,0);
     OBJ.style.display="block";
     o.style="";
     OBJ.innerHTML=_SoAD_Media(o.src[i],o.width,o.height,o,o.id,o.href[i]);
     IS_Find=true;
     setTimeout("_SoAD_hide('fullscreenad')",isNaN(parseInt(o.timeout))?7000:parseInt(o.timeout));
     return;
    } else{
     o.s=2;
     return;
    }
   }
  }
  if(!IS_Find)_SoAD_hide("fullscreenad");
 }
}
function POP_STRUCT(o){
 o.s=2;
 var WN=(o.name)?o.name:"";
 var Wi=(o.superad)?(screen.width-9):((isde(o.width)?o.width:350)-4);
 var Wh=(o.superad)?(screen.height-56):((isde(o.height)?o.height:250)-4);
 var Wl=(o.t=="POPUP")?(isde(o.left)?o.left:0):(screen.width+10);
 var Wt=(o.t=="POPUP")?(isde(o.top)?o.top:0):(screen.height+10);
 return window.open("about:blank","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width="+Wi+",height="+Wh+",top="+Wt+",left="+Wl);
}
function POP_WINDOW(o){
 var SK="<html><head><meta http-equiv='content-type' content='text/html; charset=gb2312'><title>";
 SK+=(o.title)?o.title:((o.superad)?("SOHU.com 背投广告"):("SOHU.com "+o.t+" Ad"));
 SK+="</title>";
 SK+=_SoAD_h+">";
 if(o.t=="POPUP"){
  SK+="function Load(){";
  if(_SoAD_E) SK+="setTimeout('blur();',"; else SK+="setTimeout('self.opener.focus()',";
  SK+=isNaN(parseInt(o.timeout))?7000:o.timeout;
  SK+=");}";
 }
 SK+=_SoAD_t;
 SK+="</head><body scroll=no style='margin:0;border:none'>";
 SK+="<iframe id='iFrame' ";
 if(o.t=="POPUP")SK+=" onload='Load()' ";
 SK+=" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no width=100% height=100% src='"+o.src+"'>wait</iframe>";
 SK+="</body></html>";
 return SK;
}
function POPUP_main(o){
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 if(o.src&&o.src!=""){
  var OK=POP_STRUCT(o);
  if(OK)OK.document.write(POP_WINDOW(o));
 }
}
function POPUNDER_main(o){
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 if(o.src&&o.src!=""){
  var OK=POP_STRUCT(o);
  if(OK){
   if(_SoAD_E)OK.blur(); else OK.opener.focus();
   OK.moveTo((isde(o.left)?o.left:0),(isde(o.top)?o.top:0));
   OK.document.write(POP_WINDOW(o));
  }
 }
}
function FLOAT_main(o){
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 var HasBT=false;
 var HasCL=false;
 for(var i=0; i<_SoAD_S.length; i++){
  switch(_SoAD_S[i].t){
  case "BOOKTURN":
   HasBT=true;
   break;
  case "COUPLET":
   HasCL=true;
   break;
  default:
   break;
  }
 }
 o.style+="z-index:10;";
 if(!o.leftHref)o.leftHref="";
 if(!o.rightHref)o.rightHref="";
 o.offsetX=isde(o.offsetX)?o.offsetX:30;
 o.offsetX=(screen.width<1024)?o.offsetX+100:o.offsetX;
 o.offsetY=(HasBT&&HasCL)?0:20;
 o.width=isde(o.width)?parseInt(o.width):80;
 o.height=isde(o.height)?parseInt(o.height):80;
 o.top=isde(o.top)?parseInt(o.top)-_SoAD_d.clientHeight:(- o.offsetY-o.width-20);
 o.left=isde(o.left)?parseInt(o.left):o.offsetX;
 o.width2=isde(o.width2)?parseInt(o.width2):80;
 o.height2=isde(o.height2)?parseInt(o.height2):80;
 o.top2=isde(o.top2)?parseInt(o.top2)-_SoAD_d.clientHeight:(- o.offsetY-o.height2-20);
 o.left2=isde(o.left2)?parseInt(o.left2):(- o.offsetX-o.width2);
 if(o.replay){
  var $5=o.replay.split(";");
  if($5.length>1){
   var $0=$5[0].split(":")[0];
   var $1=$5[0].split(":")[1];
   var $2=$5[1].split(":")[0];
   var $3=$5[1].split(":")[1];
  } else{
   var $0=$5[0].split(":")[0];
   var $1=$5[0].split(":")[1];
   var $2=$5[0].split(":")[0];
   var $3=$5[0].split(":")[1];
  }
 }
 o.framestyle=(o.framestyle)?o.framestyle:o.style+"display:block;";
 o.framestyle2=(o.framestyle2)?o.framestyle2:o.style+"display:block;";
 o.txtButton=isde(o.txtButton)?o.txtButton:true;
 o.txtButton2=isde(o.txtButton2)?o.txtButton2:true;
 var s="";
 var s1="";
 if(o.leftSrc&&o.leftSrc!=""){
  if(o.txtButton){
   s+="<DIV id='"+o.id+"' style='"+o.framestyle+"width:"+o.width+";z-index:1'>";
   s+="<table border=0 cellpadding=0 cellspacing=0><tr><td height="+o.height+" valign=top align=left>";
   s+=_SoAD_Media(o.leftSrc,o.width,o.height,o,o.id+"inner",o.leftHref);
   s+="</td></tr><tr><td width="+o.width+" height=20 align=right>";
   if($0=="LEFT")s+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:_SoAD_replay(\""+$1+"\");'><font color=#000000>重播</font></a>|";
   s+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:close_float(\""+o.id+"\");'><font color=#000000>关闭</font></a></td></tr></table>";
   s+="</DIV>";
  } else
   s+=_SoAD_Media(o.leftSrc,o.width,o.height,o,o.id,o.leftHref);
 }
 if(o.wmode2)o.wmode=o.wmode2;
 if(o.style2)o.style+=o.style2;
 if(o.rightSrc&&o.rightSrc!=""){
  if(o.txtButton2){
   s1+="<DIV id='"+o.id2+"' style='"+o.framestyle2+"width:"+o.width2+";z-index:1'>";
   s1+="<table border=0 cellpadding=0 cellspacing=0><tr><td height="+o.height2+" valign=top align=left>";
   s1+=_SoAD_Media(o.rightSrc,o.width2,o.height2,o,o.id2+"inner",o.rightHref);
   s1+="</td></tr><tr><td width="+o.width2+" height=20 align=right>";
   if($2=="RIGHT") s1+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:_SoAD_replay(\""+$3+"\");'><font color=#000000>重播</font></a>|";
   s1+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:close_float(\""+o.id2+"\");'><font color=#000000>关闭</font></a></td></tr></table>";
   s1+="</DIV>";
  } else
   s1+=_SoAD_Media(o.rightSrc,o.width2,o.height2,o,o.id2,o.rightHref);
 }
 s+=s1;
 if(!o.txtButton) s+=_SoAD_FSCommand(o.id);
 if(!o.txtButton2) s+=_SoAD_FSCommand(o.id2);
 if(s!=""){
  WriteAd(s);
  _SoAD_01=document.getElementById(o.id);
  _SoAD_02=document.getElementById(o.id2);
  if(_SoAD_01!=null||_SoAD_02!=null)
   window.setInterval("FLOAT_position("+o.top+","+o.left+","+o.top2+","+o.left2+")",400);
 }
 o.s=2;
}
function close_float($a){
 document.getElementById($a).style.display="none";
}
function FLOAT_position(a,b,c,d){
 if(_SoAD_01!=null){
  _SoAD_01.style.top=parseInt(_SoAD_1*(_SoAD_d.scrollTop+_SoAD_d.clientHeight+a))+_SoAD_2;
  _SoAD_01.style.left=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+b))+_SoAD_2;
 }
 if(_SoAD_02!=null){
  _SoAD_02.style.top=parseInt(_SoAD_1*(_SoAD_d.scrollTop+_SoAD_d.clientHeight+c))+_SoAD_2;
  _SoAD_02.style.left=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+_SoAD_d.clientWidth+d))+_SoAD_2;
 }
}
function LIUMEITI_main(o){
 if(o.control){
  var $5=o.control.split(";");
  var $0=$5[0].split(":")[0];
  var $1=$5[0].split(":")[1];
  var $2=$5[1].split(":")[0];
  var $3=$5[1].split(":")[1];
  if($5[1].split(":").length<3)ret=setTimeout("_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"')",isNaN(parseInt(o.timeout))?8000:parseInt(o.timeout)); else{
   var $4=$5[1].split(":")[2];
   ret=setTimeout("_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"'),_SoAD_DoFSCommand('"+$2+"','"+$4+"')",isNaN(parseInt(o.timeout))?8000:parseInt(o.timeout));
  }
 }
 o.width=isde(o.width)?parseInt(o.width):200;
 o.height=isde(o.height)?parseInt(o.height):150;
 o.top=isde(o.top)?parseInt(o.top):(_SoAD_d.clientHeight-o.height)/2;
 o.left=isde(o.left)?parseInt(o.left):(_SoAD_d.clientWidth-o.width)/2;
 if(ADM_Check(o)){
  o.s=2;
  o.style+="display:none;";
  WriteAd(_SoAD_Media(o.src,o.width,o.height,o,o.id)+_SoAD_FSCommand(o.id));
  if(o.control){
   if($5[1].split(":").length<3) document.getElementById($3).style.display="block"; else{
    document.getElementById($3).style.display="block";
    document.getElementById($4).style.display="block";
   }
  }
  if(typeof(LIUMEITI_CALL)=="function")
   LIUMEITI_CALL();
  return;
 }
 if(o.src&&o.src!=""){
  o.style+="top:"+parseInt(_SoAD_1*(_SoAD_d.scrollTop+o.top))+_SoAD_2;
  o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+o.left))+_SoAD_2;
  _SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id+"',"+o.left+")";
  var s1=_SoAD_Media(o.src,o.width,o.height,o,o.id);
  s1+=_SoAD_FSCommand(o.id);
  WriteAd(s1);
  if(!o.control)
   ret=setTimeout("_SoAD_hide('"+o.id+"')",isNaN(parseInt(o.timeout))?8000:parseInt(o.timeout));
  if(o.eval&&o.eval!="")eval(o.eval);
 }
}
function BOOKTURN_main(o){
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 self.scroll(0,0);
 if(!o.loop)o.loop=false;
 if(!o.loop2)o.loop2=true;
 o.width=isde(o.width)?parseInt(o.width):350;
 o.height=isde(o.height)?parseInt(o.height):250;
 o.top=isde(o.top)?parseInt(o.top):0;
 o.left=isde(o.left)?parseInt(o.left):-o.width;
 o.width2=isde(o.width2)?parseInt(o.width2):80;
 o.height2=isde(o.height2)?parseInt(o.height2):80;
 o.top2=isde(o.top2)?parseInt(o.top2):0;
 o.left2=isde(o.left2)?parseInt(o.left2):-o.width2;
 var s1="";
 var show=(ADM_ShowCheck(o));
 if(o.src){
  o.style+="z-index:10000;";
  if(show){
   o.s=2;
   o.style+="visibility:hidden;";
  }
  o.style+="top:"+parseInt(_SoAD_1*(_SoAD_d.scrollTop+o.top))+_SoAD_2;
  o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+((o.left<0)?_SoAD_d.clientWidth:0)+o.left))+_SoAD_2;
  s1=_SoAD_Media(o.src,o.width,o.height,o,o.id);
  s1+=_SoAD_FSCommand(o.id);
  if(!show){
   if(_SoAD_E){
    var OBJ=document.getElementById("MoneySelectVal");
    if(OBJ!=null) OBJ.style.visibility='hidden';
    OBJ=document.getElementById("MoneySelectFund");
    if(OBJ!=null) OBJ.style.visibility='hidden';
    OBJ=document.getElementById("tag_url");
    if(OBJ!=null) OBJ.style.visibility='hidden';
   }
   setTimeout("_SoAD_dfasd()",isNaN(parseInt(o.timeout))?8000:parseInt(o.timeout));
  }
  _SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id+"',"+o.left+")";
 } else show=true;
 if(o.srcButton){
  o.wmode=(o.wmode2)?o.wmode2:"";
  if(o.style.lastIndexOf("z-index:10000;")>0)o.style=o.style.substring(0,o.style.lastIndexOf("z-index:10000;"));
  if(!show)o.style+="visibility:hidden;";
  o.style+="z-index:11;";
  o.style+="top:"+parseInt(_SoAD_1*(_SoAD_d.scrollTop+o.top2))+_SoAD_2;
  o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+((o.left2<0)?_SoAD_d.clientWidth:0)+o.left2))+_SoAD_2;
  s1+=_SoAD_Media(o.srcButton,o.width2,o.height2,o,o.id2);
  _SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id2+"',"+o.left2+")";
  s1+=_SoAD_FSCommand(o.id2);
 }
 WriteAd(s1);
 document.getElementById(_SoAD_N).i=o.i;
 if(!(o.src&&o.srcButton))o.s=2;
}

function _SoAD_www(){
 _SoAD_S[document.getElementById(_SoAD_N).i].s=2;
 document.getElementById("BOOKTURN2").style.visibility='hidden';
 var OBJ=document.getElementById("BOOKTURN");
 if(OBJ!=null){
  OBJ.style.visibility='visible';
  OBJ.style.display='block';
 }
 if(_SoAD_E){
  OBJ=document.getElementById("MoneySelectVal");
  if(OBJ!=null) OBJ.style.visibility='hidden';
  OBJ=document.getElementById("MoneySelectFund");
  if(OBJ!=null) OBJ.style.visibility='hidden';
  OBJ=document.getElementById("tag_url");
  if(OBJ!=null) OBJ.style.visibility='hidden';
 }
}
function _SoAD_dfasd(){
 _SoAD_S[document.getElementById(_SoAD_N).i].s=2;
 document.getElementById("BOOKTURN").style.visibility='hidden';
 var OBJ=document.getElementById("BOOKTURN2");
 if(OBJ!=null){
  OBJ.style.visibility='visible';
  OBJ.style.display='block';
  OBJ.Play();
 }
 if(_SoAD_E){
  OBJ=document.getElementById("MoneySelectVal");
  if(OBJ!=null) OBJ.style.visibility='visible';
  OBJ=document.getElementById("MoneySelectFund");
  if(OBJ!=null) OBJ.style.visibility='visible';
  OBJ=document.getElementById("tag_url");
  if(OBJ!=null) OBJ.style.visibility='visible';
 }
}
function COUPLET_main(o){
 if(((_SoAD_E)&&(screen.width<1000))||((!_SoAD_E)&&(_SoAD_d.scrollWidth<1000))){
  o.s=2;
  return;
 }
 if(ADM_Check(o)){
  o.s=2;
  return;
 }
 var HasBT=false;
 for(var i=0; i<_SoAD_S.length; i++){
  if(_SoAD_S[i].t=="BOOKTURN"){
   HasBT=true;
   break;
  }
 }
 o.offsetY=isde(o.offsetY)?o.offsetY:((HasBT)?250:100);
 o.width=isde(o.width)?parseInt(o.width):120;
 o.height=isde(o.height)?parseInt(o.height):270;
 o.top=isde(o.top)?parseInt(o.top):o.offsetY;
 o.left=isde(o.left)?parseInt(o.left):0;
 o.width2=isde(o.width2)?parseInt(o.width2):120;
 o.height2=isde(o.height2)?parseInt(o.height2):270;
 o.top2=isde(o.top2)?parseInt(o.top2):o.offsetY;
 o.left2=isde(o.left2)?parseInt(o.left2):-o.width2;
 var s1="";
 if(o.src){
  if(!o.wmode)o.wmode="opaque";
  o.style+="top:"+parseInt(_SoAD_1*o.top)+_SoAD_2;
  o.style+=";left:"+parseInt(_SoAD_1*o.left)+_SoAD_2;
  s1=_SoAD_Media(o.src,o.width,o.height,o,o.id);
  s1+=_SoAD_FSCommand(o.id);
  if(o.src2)var UseCache=(o.src.toLowerCase()==o.src2.toLowerCase());
  o.style=o.style.substring(0,o.style.lastIndexOf("top:"));
  o.style+="top:"+parseInt(_SoAD_1*o.top2)+_SoAD_2;
  o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+_SoAD_d.clientWidth+o.left2))+_SoAD_2;
 }
 if(o.style2) o.style+=o.style2;
 if(o.src2&&!UseCache){
  if(o.wmode2)o.wmode=o.wmode2;
  s1+=_SoAD_Media(o.src2,o.width2,o.height2,o,o.id2);
  s1+=_SoAD_FSCommand(o.id2);
  _SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id2+"',"+o.left2+")";
 }
 if(o.src&&o.src2&&UseCache&&_SoAD_E)s1+=_SoAD_h+" for='"+o.id+"' event='OnReadyStateChange(a)'>COUPLET_Cache(a);"+_SoAD_t;
 if(UseCache)s1+="<div id='CoupletCache' style='display:none'>"+o.i+"</div>";
 WriteAd(s1);
 if(_SoAD_E&&UseCache&&document.getElementById(o.id).PercentLoaded()==100)COUPLET_Cache(4); else if(!_SoAD_E&&UseCache)COUPLET_Check();
 if(o.control){
  var $5=o.control.split(";");
  var $0=$5[0].split(":")[0];
  var $1=$5[0].split(":")[1];
  var $2=$5[1].split(":")[0];
  var $3=$5[1].split(":")[1];
  ret=setTimeout("_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"')",isNaN(parseInt(o.timeout))?8000:parseInt(o.timeout));
 } else if(o.timeout){
  if(o.src&&o.src2)setTimeout("_SoAD_hide('"+o.id+"');_SoAD_hide('"+o.id2+"')",o.timeout); else if(o.src)setTimeout("_SoAD_hide('"+o.id+"')",o.timeout); else setTimeout("_SoAD_hide('"+o.id2+"')",o.timeout);
 }
 o.s=2;
}
function COUPLET_Check(){
 if(document.getElementById("COUPLET").PercentLoaded()==100){
  COUPLET_Cache(4);
  return;
 }
 setTimeout("COUPLET_Check()",100);
}
function COUPLET_Cache(a){
 if(a==4){
  var OBJ=document.getElementById("CoupletCache");
  var o=_SoAD_S[parseInt(OBJ.innerHTML)];
  OBJ.innerHTML=_SoAD_Media(o.src,o.width,o.height,o,o.id2)+_SoAD_FSCommand(o.id2);
  OBJ.style.display="block";
  _SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id2+"',"+o.left2+")";
 }
}
document.write("<div id='"+_SoAD_N+"'></div>");
//window.onload=_SoAD_init;
window.onresize=function(){
 for(var $i=0; $i<_SoAD_R.length; $i++) eval(_SoAD_R[$i]);
}
setTimeout("_SoAD_init()",2000);