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="",_SoAD_02="",_SoAD_03="",_SoAD_04="";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";function isde($y){return !(typeof ($y)=="undefined");}function getID(a){return document.getElementById(a);}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 o00=document.createElement("div");with(getID(_SoAD_N)){if(_SoAD_E){insertAdjacentElement("afterBegin",o00);}else{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=";s+=isde(o.ver)?o.ver:"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=getID(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){if($0&&(eval("typeof(_SoAD_"+$0+")")!="function")){return;}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){if(!getID($a)){return;}if(_SoAD_E){getID($a).style.display="none";}else{getID($a).style.visibility="hidden";}if($a=="fullscreenad"){if(!_SoAD_E){getID($a).style.display="none";}$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){if(!getID($a)){return;}}function _SoAD_show($a){if(!getID($a)){return;}with(getID($a)){if(_SoAD_E){style.display="block";}else{style.display="block";style.visibility="visible";}}}function _SoAD_play($a){var _OO=getID($a);if(!_00){return;}if(_OO.tagName.toLowerCase()=="object"){_OO.Play();}}function _SoAD_replay($a){if(!getID($a)){return;}if($a.indexOf($a)!=-1){for(var $j=0;$j<_SoAD_S.length;$j++){if(_SoAD_S[$j].id==$a){var $p=_SoAD_d.scrollTop+_SoAD_S[$j].top;var $l=_SoAD_d.scrollLeft+_SoAD_S[$j].left;if(_SoAD_S[$j].position=="absolute"){$p=_SoAD_S[$j].top;$l=_SoAD_S[$j].left;}$p=parseInt(_SoAD_1*$p)+_SoAD_2;$l=parseInt(_SoAD_1*$l)+_SoAD_2;if(isde(_SoAD_S[$j].ret)){window.clearTimeout(_SoAD_S[$j].ret);}if(_SoAD_S[$j].timeout!="MAX"){if(isde(_SoAD_S[$j].control)){_SoAD_S[$j].ret=setTimeout(_SoAD_S[$j].op,isde(_SoAD_S[$j].timeout)?parseInt(_SoAD_S[$j].timeout):25000);}else{_SoAD_S[$j].ret=setTimeout("_SoAD_hide('"+$a+"')",isde(_SoAD_S[$j].timeout)?parseInt(_SoAD_S[$j].timeout):25000);}}}}}with(getID($a)){if(tagName.toLowerCase()=="object"){Rewind();Play();if($p){style.top=$p;}if($l){style.left=$l;}style.display="block";}else{if(tagName.toLowerCase()=="embed"){if($p){style.top=$p;}if($l){style.left=$l;}style.display="block";style.visibility="visible";}}if($a.indexOf("FLOAT")!=-1){style.display="block";}}}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(_134,args){_SoAD_DoFSCommand(_134,args);}function BOOKTURN2_DoFSCommand(_136,args){_SoAD_DoFSCommand(_136,args);}function FULL_main(o){if(ADM_Check(o)){o.s=2;return;}var _139=false;o.width=isde(o.width)?parseInt(o.width):1003;o.height=isde(o.height)?parseInt(o.height):300;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=getID("fullscreenad");if(OBJ!=null){self.scroll(0,0);OBJ.style.display="block";o.style="";if(o.src[i].split("|").length>1){var _13f=o.src[i].split("|");var _140=o.href[i].split("|");var idx=getSrcIdx(o.id,_13f.length);o.src[i]=_13f[idx];o.href[i]=_140[idx];}OBJ.innerHTML=_SoAD_Media(o.src[i],o.width,o.height,o,o.id,o.href[i]);_139=true;setTimeout("_SoAD_hide('fullscreenad')",isde(o.timeout)?parseInt(o.timeout):25000);return;}else{o.s=2;return;}}}if(!_139){_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 \u80cc\u6295\u5e7f\u544a"):("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+=isde(o.timeout)?o.timeout:25000;SK+=");}";}if(o.src.split("|").length>1){var _14a=o.src.split("|");var idx=getSrcIdx(o.id,_14a.length);o.src=_14a[idx];}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;}if(o.leftSrc&&o.leftSrc.split("|").length>1){var _151=o.leftSrc.split("|");o.idx=getSrcIdx(o.id,_151.length);o.leftSrc=_151[o.idx];}if(o.rightSrc&&o.rightSrc.split("|").length>1){var _151=o.rightSrc.split("|");if(!isde(o.idx)){o.idx=getSrcIdx(o.id2,_151.length);}o.rightSrc=_151[o.idx];}var _152=false;var _153=false;for(var i=0;i<_SoAD_S.length;i++){switch(_SoAD_S[i].t){case "BOOKTURN":_152=true;break;case "COUPLET":_153=true;break;default:break;}}o.style+="z-index:10;";if(!o.leftHref){o.leftHref="";}if(!o.rightHref){o.rightHref="";}o.wmode="opaque";o.wmode2="opaque";o.offsetX=isde(o.offsetX)?o.offsetX:30;o.offsetX=(screen.width<1024)?o.offsetX+100:o.offsetX;o.offsetY=(_152&&_153)?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>\u91cd\u64ad</font></a>|";}s+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:close_float(\""+o.id+"\");'><font color=#000000>\u5173\u95ed</font></a></td></tr></table>";s+="</DIV>";}else{s+=_SoAD_Media(o.leftSrc,o.width,o.height,o,o.id,o.leftHref);}}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>\u91cd\u64ad</font></a>|";}s1+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:close_float(\""+o.id2+"\");'><font color=#000000>\u5173\u95ed</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=getID(o.id);_SoAD_02=getID(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){getID($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){o.timeout=isde(o.timeout)?o.timeout:8000;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){o.op="_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"');";}else{var $4=$5[1].split(":")[2];o.op="_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"'),_SoAD_DoFSCommand('"+$2+"','"+$4+"')";}if(o.timeout!="MAX"){o.ret=setTimeout(o.op,parseInt(o.timeout));}else{o.s=2;}}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){getID($3).style.display="block";}else{getID($3).style.display="block";getID($4).style.display="block";}}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+")";if(o.src.split("|").length>1){var _168=o.src.split("|");var idx=getSrcIdx(o.id,_168.length);o.src=_168[idx];}var s1=_SoAD_Media(o.src,o.width,o.height,o,o.id);s1+=_SoAD_FSCommand(o.id);WriteAd(s1);if(!o.control){if(o.timeout!="MAX"){o.ret=setTimeout("_SoAD_hide('"+o.id+"')",parseInt(o.timeout));}else{o.s=2;}}if(o.eval&&o.eval!=""){eval(o.eval);}}if(o.isfloat&&getID(o.id)){window.setInterval("LMT_FLOAT('"+o.id+"',"+o.top+","+o.left+")",400);}}function LMT_FLOAT(id,a,b){with(getID(id)){style.top=parseInt(_SoAD_1*(_SoAD_d.scrollTop+a))+_SoAD_2;style.left=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+b))+_SoAD_2;}}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;";}if(o.src.split("|").length>1){var _171=o.src.split("|");o.idx=getSrcIdx(o.id,_171.length);o.src=_171[o.idx];}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=getID("MoneySelectVal");if(OBJ!=null){OBJ.style.visibility="hidden";}OBJ=getID("MoneySelectFund");if(OBJ!=null){OBJ.style.visibility="hidden";}OBJ=getID("tag_url");if(OBJ!=null){OBJ.style.visibility="hidden";}}setTimeout("_SoAD_dfasd()",isde(o.timeout)?parseInt(o.timeout):25000);}_SoAD_R[_SoAD_R.length]="onresizeAD('"+o.id+"',"+o.left+")";}else{show=true;}if(o.srcButton){if(o.srcButton.split("|").length>1){var _171=o.srcButton.split("|");if(!isde(o.idx)){o.idx=getSrcIdx(o.id,_171.length);}o.srcButton=_171[o.idx];}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);getID(_SoAD_N).i=o.i;if(!(o.src&&o.srcButton)){o.s=2;}}function _SoAD_www(){_SoAD_S[getID(_SoAD_N).i].s=2;getID("BOOKTURN2").style.visibility="hidden";var OBJ=getID("BOOKTURN");if(OBJ!=null){OBJ.style.visibility="visible";OBJ.style.display="block";}if(_SoAD_E){OBJ=getID("MoneySelectVal");if(OBJ!=null){OBJ.style.visibility="hidden";}OBJ=getID("MoneySelectFund");if(OBJ!=null){OBJ.style.visibility="hidden";}OBJ=getID("tag_url");if(OBJ!=null){OBJ.style.visibility="hidden";}}}function _SoAD_dfasd(){_SoAD_S[getID(_SoAD_N).i].s=2;getID("BOOKTURN").style.visibility="hidden";var OBJ=getID("BOOKTURN2");if(OBJ!=null){OBJ.style.visibility="visible";OBJ.style.display="block";OBJ.Play();}if(_SoAD_E){OBJ=getID("MoneySelectVal");if(OBJ!=null){OBJ.style.visibility="visible";}OBJ=getID("MoneySelectFund");if(OBJ!=null){OBJ.style.visibility="visible";}OBJ=getID("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 _176=false;for(var i=0;i<_SoAD_S.length;i++){if(_SoAD_S[i].t=="BOOKTURN"){_176=true;break;}}if(o.src&&o.src.split("|").length>1){var _178=o.src.split("|");o.idx=getSrcIdx(o.id,_178.length);o.src=_178[o.idx];}if(o.src2&&o.src2.split("|").length>1){var _178=o.src2.split("|");if(!isde(o.idx)){o.idx=getSrcIdx(o.id2,_178.length);}o.src2=_178[o.idx];}o.offsetY=isde(o.offsetY)?o.offsetY:((_176)?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);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){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+")";}WriteAd(s1);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];o.ret=setTimeout("_SoAD_DoFSCommand('"+$0+"','"+$1+"'); _SoAD_DoFSCommand('"+$2+"','"+$3+"')",isde(o.timeout)?parseInt(o.timeout):25000);}else{if(o.timeout){if(o.src&&o.src2){o.ret=setTimeout("_SoAD_hide('"+o.id+"');_SoAD_hide('"+o.id2+"')",o.timeout);}else{if(o.src){o.ret=setTimeout("_SoAD_hide('"+o.id+"')",o.timeout);}else{o.ret=setTimeout("_SoAD_hide('"+o.id2+"')",o.timeout);}}}}_SoAD_03=getID(o.id);_SoAD_04=getID(o.id2);if(o.isfloat&&(_SoAD_01!=null||_SoAD_02!=null)){window.setInterval("COUPLET_FLOAT("+o.top+","+o.left+","+o.top2+","+o.left2+")",400);}o.s=2;}function COUPLET_FLOAT(a,b,c,d){if(_SoAD_03!=null){_SoAD_03.style.top=parseInt(_SoAD_1*(_SoAD_d.scrollTop+a))+_SoAD_2;_SoAD_03.style.left=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+b))+_SoAD_2;}if(_SoAD_04!=null){_SoAD_04.style.top=parseInt(_SoAD_1*(_SoAD_d.scrollTop+c))+_SoAD_2;_SoAD_04.style.left=parseInt(_SoAD_1*(_SoAD_d.scrollLeft+_SoAD_d.clientWidth+d))+_SoAD_2;}}function getSrcIdx(_1,_2){var SRC=new Cookie(document,_1+"Index",24);SRC.load();SRC.idx=(SRC.idx==null)?parseInt(Math.random()*_2):SRC.idx;var _186=parseInt(SRC.idx);SRC.idx++;SRC.idx=(SRC.idx>(_2-1))?0:SRC.idx;SRC.store();return _186;}function AttachEvent(_1,_2,_3){if(_SoAD_E){_1.attachEvent("on"+_2,_3);}else{_1.addEventListener(_2,_3,false);}}document.write("<div id='"+_SoAD_N+"'></div>");window.onresize=function(){for(var $i=0;$i<_SoAD_R.length;$i++){eval(_SoAD_R[$i]);}};setTimeout("_SoAD_init()",0);