var _SoAD_E=(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length)?0:1,_SoAD_Load=false,_SoAD_S=new Array(),_SoAD_R=new Array(),_SoAD_N="ADAREA",_SoAD_01="",_SoAD_02="",_SoAD_03="",_SoAD_04="",_SoAD_h="<script language='javascript'",_SoAD_t="</script>",_SoAD_d=(document.compatMode=="CSS1Compat")?document.documentElement:document.body,_SoAD_1=(_SoAD_E)?1:0.75,_SoAD_2=(_SoAD_E)?"px":"pt";function isBig(){return (_SoAD_d.clientWidth-cWidth)>240;}function isde(a){return !(typeof (a)=="undefined");}function getID(a){if(document.getElementById&&document.getElementById(a)){return document.getElementById(a);}else{if(document.all&&document.all(a)){return document.all(a);}else{if(document.layers&&document.layers[a]){return document.layers[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(a,b){return (a.p>b.p)?1:((a.p==b.p)?0:-1);});DoSchedule();}function _SoAD_exec(o){if(eval("typeof("+o.t+"_main)")=="function"){eval(o.t+"_main(o)");}}function AddSchedule(o){if(o&&o instanceof ADM){switch(o.t){case "FULL":case "POPUNDER":case "BEITOU":if(o.src.length>0){_SoAD_S.push(o);}break;case "FLOAT":case "BOOKTURN":if(o.src||o.src2){_SoAD_S.push(o);}break;case "LIUMEITI":if(o.src){_SoAD_S.push(o);}break;case "COUPLET":if(o.src.length>0||o.src2.length>0){_SoAD_S.push(o);}break;default:_SoAD_S.push(o);}}if(!_SoAD_E){document.write(_SoAD_h+">function _"+o.id+"_DoFSCommand(command,args){_SoAD_DoFSCommand(command,args);}"+_SoAD_t);}if(!_SoAD_E&&isde(o.src2)){document.write(_SoAD_h+">function _"+o.id+"2_DoFSCommand(command,args){_SoAD_DoFSCommand(command,args);}"+_SoAD_t);}}function ADM(a,b){this.t=a;this.p=b;this.s=0;this.style="position:absolute;";this.id=a;this.id2=a+"2";}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 a=document.createElement("div");with(getID(_SoAD_N)){if(_SoAD_E){insertAdjacentElement("afterBegin",a);}else{appendChild(a);}}a.innerHTML=s;a=null;}function _SoAD_Media(o,f){var s,a,w,h,i,u;if(f){a=o.src2;w=o.width2;h=o.height2;i=(o.txtButton2)?(o.id2+"_"):o.id2;u=isde(o.href2)?o.href2:"";}else{a=o.src;w=o.width;h=o.height;i=(o.txtButton)?o.id+"_":o.id;u=isde(o.href)?o.href:"";}if(/\.(swf)/i.test(a)){var v=new sohuFlash(a,"_"+i,w,h,isde(o.ver)?o.ver:"7,0,0,0");v.addParam("quality","autohigh");if(isde(o.loop)){v.addParam("loop",o.loop);}if(isde(o.wmode)){v.addParam("wmode",o.wmode);}if(u!=""){v.addVariable("clickthru",u);}s="<div"+((o.style)?" style='"+o.style:"")+"' id="+i+">"+v.getFlashHTML()+"</div>";}else{if(/\.(jpe?g|png|gif)$/i.test(a)){s="<a href='"+((u==null)?"":u)+"' target='_blank'><img ";if(o.style){s+="style='"+o.style+"'";}s+=" id='_"+i+"' src='"+a+"' border='0' width='"+w+"' height='"+h+"'></a>";}}return s;}function ADM_Check(o,a,e){var n,v;var f=isde(e)?e:((o.CookieHour)?o.CookieHour:24);var b=isde(a)?a:((o.CookieNum)?o.CookieNum:Number.MAX_VALUE);var c=isde(a)?"_"+o.id:o.id;n=(o.CookieName)?(c+o.CookieName):c;v=(o.CookieDomain)?new Cookie(document,n,f,"/",o.CookieDomain):new Cookie(document,n,f);v.load();if(v.w==null){v.w=0;}v.w++;if(v.w<=b){v.store();return false;}return true;}function _SoAD_DoFSCommand(a,b){var c=null;if(a&&(eval("typeof(_SoAD_"+a+")")!="function")){return;}if(_SoAD_DoFSCommand.caller){c=_SoAD_DoFSCommand.caller.toString();c=c.substring(9,c.indexOf("(")).replace("_DoFSCommand","");}if(c=="anonymous"){c=b;}if(!c&&_SoAD_E){return;}if(a=="quit"){return;}if(a&&a!=""&&eval("typeof(_SoAD_"+a+")")=="function"){eval("_SoAD_"+a+"('"+b+"')");}else{_SoAD_hide(c);}}function isOver(a){for(var b=0;b<_SoAD_S.length;b++){if(_SoAD_S[b].id==a){_SoAD_S[b].s=2;return;}}}function _SoAD_hide(a){if(!getID(a)){return;}getID(a).style.display="none";if(a=="fullscreenad"){if(!_SoAD_E){getID(a).style.display="none";}a="FULL";}for(var b=0;b<_SoAD_S.length;b++){if(_SoAD_S[b].id==a){_SoAD_S[b].s=2;return;}}}function _SoAD_quit(a){if(!getID(a)){return;}}function _SoAD_show(a){if(!getID(a)){return;}getID(a).style.display="block";}function _SoAD_play(a){if(!getID(a)){return;}getID("_"+a).Play();}function _SoAD_replay(a){if(!getID(a)){return;}if(a.indexOf(a)!=-1){for(var i=0;i<_SoAD_S.length;i++){if(_SoAD_S[i].id==a){var p,l;p=_SoAD_d.scrollTop+_SoAD_S[i].top;l=_SoAD_d.scrollLeft+_SoAD_S[i].left;if(_SoAD_S[i].position=="absolute"){p=_SoAD_S[i].top;l=_SoAD_S[i].left;}p=parseInt(_SoAD_1*p)+_SoAD_2;l=parseInt(_SoAD_1*l)+_SoAD_2;if(isde(_SoAD_S[i].ret)){window.clearTimeout(_SoAD_S[i].ret);}if(_SoAD_S[i].timeout!="MAX"){if(isde(_SoAD_S[i].control)){_SoAD_S[i].ret=setTimeout(_SoAD_S[i].op,isde(_SoAD_S[i].timeout)?parseInt(_SoAD_S[i].timeout):8000);}else{_SoAD_S[i].ret=setTimeout("_SoAD_hide('"+a+"')",isde(_SoAD_S[i].timeout)?parseInt(_SoAD_S[i].timeout):8000);}}}}}if(p){getID(a).style.top=p;}if(l){getID(a).style.left=l;}getID("_"+a).style.display="block";getID(a).style.display="block";getID("_"+a).Rewind();getID("_"+a).Play();}function _SoAD_FSCommand(I){if(_SoAD_E){return _SoAD_h+" for='_"+I+"' event='FSCommand(command,args)'>var _s"+I+"='_"+I+"';_SoAD_DoFSCommand(command,((args&&args!=''&&eval(\"typeof(_SoAD_\"+command+\")\")==\"function\")?args:_s"+I+"));"+_SoAD_t;}return "";}function FLOAT2_DoFSCommand(a,b){_SoAD_DoFSCommand(a,b);}function BOOKTURN2_DoFSCommand(c,a){_SoAD_DoFSCommand(c,a);}function FULL_main(o){if(ADM_Check(o)){o.s=2;return;}var a=false;o.width=isde(o.width)?o.width:cWidth;o.height=isde(o.height)?o.height:480;o.insight=isde(o.insight)?o.insight:false;o.delay=isde(o.delay)?o.delay:0;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 s,e,n;s=new Date(o.StartTime[i]);e=new Date(o.EndTime[i]);n=new Date();if((s<=e)&&(n<e)&&(n>=s)){var b=getID("fullscreenad");if(b!=null){if(o.insight){self.scroll(0,0);}b.style.display="block";o.style="";o.src=o.src[i];o.href=o.href[i];b.innerHTML=_SoAD_Media(o,0);a=!a;setTimeout("_SoAD_hide('fullscreenad')",isde(o.timeout)?o.timeout:7000);return;}else{o.s=2;return;}}}if(!a){_SoAD_hide("fullscreenad");}}}function POP_STRUCT(o){var i,h,l,t;o.delay=isde(o.delay)?o.delay:0;setTimeout("isOver('"+o.id+"')",o.delay);i=(o.superad)?(screen.width-9):((isde(o.width)?o.width:350)-4);h=(o.superad)?(screen.height-56):((isde(o.height)?o.height:250)-4);l=screen.width+10;t=screen.height+10;return window.open("about:blank","","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width="+i+",height="+h+",top="+t+",left="+l);}function POP_WINDOW(o){var a="<html><head><meta http-equiv='content-type' content='text/html; charset=gb2312'><title>";a+=(o.title)?o.title:((o.superad)?("SOHU.com \u80cc\u6295\u5e7f\u544a"):("SOHU.com "+o.t+" Ad"));a+="</title>";a+=_SoAD_h+">";a+=_SoAD_t;a+="</head><body scroll=no style='margin:0;border:none'>";a+="<iframe id='iFrame' ";a+=" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no width=100% height=100% src='"+o.src+"'>wait</iframe>";a+="</body></html>";return a;}function POPUNDER_main(o){if(ADM_Check(o)){o.s=2;return;}var i=getSrcIdx(o.id,o.turns);o.src=o.src[i];if(isde(o.src)){var a=POP_STRUCT(o);if(a){if(_SoAD_E){a.blur();}else{a.opener.focus();}a.moveTo((isde(o.left)?o.left:0),(isde(o.top)?o.top:0));a.document.write(POP_WINDOW(o));}}else{o.s=2;}}function BEITOU_main(o){if(ADM_Check(o)){o.s=2;return;}var i=getSrcIdx(o.id,o.turns);o.src=o.src[i];o.superad=true;if(isde(o.src)){var a=POP_STRUCT(o);if(a){if(_SoAD_E){a.blur();}else{a.opener.focus();}a.moveTo((isde(o.left)?o.left:0),(isde(o.top)?o.top:0));a.document.write(POP_WINDOW(o));}}else{o.s=2;}}function FLOAT_main(o){if(ADM_Check(o)){o.s=2;return;}var a=false,b=false;for(var i=0;i<_SoAD_S.length;i++){switch(_SoAD_S[i].t){case "BOOKTURN":a=!a;break;case "COUPLET":b=!b;break;default:break;}}o.style+="z-index:10;";if(!o.href){o.href="";}if(!o.href2){o.href2="";}o.wmode="opaque";o.wmode2="opaque";tmp=(a&&b)?0:20;o.width=isde(o.width)?o.width:100;o.height=isde(o.height)?o.height:100;o.top=isde(o.top)?o.top-_SoAD_d.clientHeight:(-tmp-o.width-20);o.width2=isde(o.width2)?o.width2:100;o.height2=isde(o.height2)?o.height2:100;o.top2=isde(o.top2)?o.top2-_SoAD_d.clientHeight:(-tmp-o.height2-20);o.delay=isde(o.delay)?o.delay:0;var d="",e="",f="",g="";if(o.replay){var c=o.replay.split(";");if(c.length>1){d=c[0].split(":")[0];e=c[0].split(":")[1];f=c[1].split(":")[0];g=c[1].split(":")[1];}else{d=c[0].split(":")[0];e=c[0].split(":")[1];f=c[0].split(":")[0];g=c[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="",s1="";if(o.src&&o.src!=""){if(o.txtButton){s1+=TxtShow(o,0,d,e);}else{s+=_SoAD_Media(o,0);}}if(o.style2){o.style+=o.style2;}if(o.src2&&o.src2!=""){if(o.txtButton2){s1+=TxtShow(o,1,f,g);}else{s1+=_SoAD_Media(o,1);}}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+","+(isde(o.left)?o.left:0)+","+o.top2+","+(isde(o.left2)?o.left2:-o.width2)+","+o.width+")",400);}}setTimeout("isOver('"+o.id+"')",o.delay);}function TxtShow(o,d,i,j){var a,b,c,e,f,h,k="";if(d){a=o.id2;b=o.framestyle2;c=o.width2;e=o.height2;f=o.src2;h=isde(o.href2)?o.href2:"";if(i=="RIGHT"){k="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:_SoAD_replay(\""+j+"\");'><font color=#000000>\u91cd\u64ad</font></a>|";}}else{a=o.id;b=o.framestyle;c=o.width;e=o.height;f=o.src;h=isde(o.href)?o.href:"";if(i=="LEFT"){k="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:_SoAD_replay(\""+j+"\");'><font color=#000000>\u91cd\u64ad</font></a>|";}}var s="<DIV id='"+a+"' style='"+b+"width:"+c+";z-index:1'><table border=0 cellpadding=0 cellspacing=0><tr><td height="+e+" valign=top align=left>";s+=_SoAD_Media(o,d)+"</td></tr><tr><td width="+c+" height=20 align=right>"+k;s+="<a style='cursor:hand;border-bottom:1px solid #000000' onclick='javascript:close_float(\""+a+"\");'><font color=#000000>\u5173\u95ed</font></a></td></tr></table></DIV>";return s;}function close_float(a){getID(a).style.display="none";}function FLOAT_position(a,b,c,d,e){var f=parseInt((_SoAD_d.clientWidth-cWidth-20)/2),g=(isBig())?(f-e):b,_c=(isBig())?-f: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+g))+_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+_c))+_SoAD_2;}}function LIUMEITI_main(o){o.timeout=isde(o.timeout)?o.timeout:8000;o.delay=isde(o.delay)?o.delay:0;if(o.control){var a,b,c,d,e,f;a=o.control.split(";");b=a[0].split(":")[0];c=a[0].split(":")[1];d=a[1].split(":")[0];e=a[1].split(":")[1];if(a[1].split(":").length<3){o.op="_SoAD_DoFSCommand('"+b+"','"+c+"'); _SoAD_DoFSCommand('"+d+"','"+e+"');";}else{f=a[1].split(":")[2];o.op="_SoAD_DoFSCommand('"+b+"','"+c+"'); _SoAD_DoFSCommand('"+d+"','"+e+"'),_SoAD_DoFSCommand('"+d+"','"+f+"')";}if(o.timeout!="MAX"){o.ret=setTimeout(o.op,o.timeout);}else{setTimeout("isOver('"+o.id+"')",o.delay);}}o.width=isde(o.width)?o.width:200;o.height=isde(o.height)?o.height:150;o.top=isde(o.top)?o.top:(_SoAD_d.clientHeight-o.height)/2;o.left=isde(o.left)?_SoAD_d.clientWidth/2+o.left:(_SoAD_d.clientWidth-o.width)/2;if(ADM_Check(o)){o.s=2;o.style+="display:none;";WriteAd(_SoAD_Media(o,0)+_SoAD_FSCommand(o.id));if(o.control){if(a[1].split(":").length<3){getID(e).style.display="block";}else{getID(e).style.display="block";getID(f).style.display="block";}}return;}if(o.src&&o.src!=""){if(o.position=="absolute"){o.style+="top:"+parseInt(_SoAD_1*o.top)+_SoAD_2;o.style+=";left:"+parseInt(_SoAD_1*o.left)+_SoAD_2;}else{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]="onresizeADLMT('"+o.id+"',"+o.left+")";var s=_SoAD_Media(o,0);s+=_SoAD_FSCommand(o.id);WriteAd(s);if(!o.control){if(o.timeout!="MAX"){o.ret=setTimeout("_SoAD_hide('"+o.id+"')",o.timeout);}else{setTimeout("isOver('"+o.id+"')",o.delay);}}}if(o.isfloat&&getID(o.id)){window.setInterval("LMT_FLOAT('"+o.id+"',"+o.top+","+o.left+")",400);}}function onresizeADLMT(a,b){var c=getID(a);if(c){c.style.left=_SoAD_1*(_SoAD_d.scrollLeft+((b<0)?_SoAD_d.clientWidth:0)+b)+_SoAD_2;}}function LMT_FLOAT(i,a,b){with(getID(i)){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;}if(!o.loop){o.loop=false;}if(!o.loop2){o.loop2=true;}o.width=isde(o.width)?o.width:350;o.height=isde(o.height)?o.height:250;o.top=isde(o.top)?o.top:0;var a=parseInt((_SoAD_d.clientWidth-cWidth-240)/2);o.left=isde(o.left)?o.left:-o.width;o.tl=(isBig())?(-o.width-a):o.left;o.width2=isde(o.width2)?o.width2:80;o.height2=isde(o.height2)?o.height2:80;o.top2=isde(o.top2)?o.top2:0;o.left2=isde(o.left2)?o.left2:-o.width2;o.tr=(isBig())?(-o.width2-a):o.left2;o.insight=isde(o.insight)?o.insight:false;o.delay=isde(o.delay)?o.delay:0;var s="",c=(ADM_Check(o,1,1));if(o.src){o.style+="z-index:10000;";if(c){setTimeout("isOver('"+o.id+"')",o.delay);o.style+="visibility:hidden;";}o.style+="top:"+parseInt(_SoAD_1*o.top)+_SoAD_2;o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+((o.tl<0)?_SoAD_d.clientWidth:0)+o.tl))+_SoAD_2;s=_SoAD_Media(o,0);s+=_SoAD_FSCommand(o.id);if(!c){if(_SoAD_E){var b=getID("MoneySelectVal");if(b!=null){b.style.visibility="hidden";}b=getID("MoneySelectFund");if(b!=null){b.style.visibility="hidden";}b=getID("tag_url");if(b!=null){b.style.visibility="hidden";}}setTimeout("_SoAD_dfasd()",isde(o.timeout)?o.timeout:8000);}_SoAD_R[_SoAD_R.length]="onresizeADTurn('"+o.id+"',"+o.left+","+o.width+")";}else{c=true;}if(o.src2){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(!c){o.style+="visibility:hidden;";}o.style+="z-index:11;";o.style+="top:"+parseInt(_SoAD_1*o.top2)+_SoAD_2;o.style+=";left:"+parseInt(_SoAD_1*(_SoAD_d.scrollLeft+((o.tr<0)?_SoAD_d.clientWidth:0)+o.tr))+_SoAD_2;o.loop=o.loop2;s+=_SoAD_Media(o,1);_SoAD_R[_SoAD_R.length]="onresizeADTurn('"+o.id2+"',"+o.left2+","+o.width2+")";s+=_SoAD_FSCommand(o.id2);}if(o.insight&&!c){self.scroll(0,0);}WriteAd(s);if(!(o.src&&o.src2)){o.s=2;}}function onresizeADTurn(a,b,c){var e,f,g;e=getID(a);f=parseInt((_SoAD_d.clientWidth-cWidth-240)/2);g=((isBig())?-f-c:b);if(e){e.style.left=_SoAD_1*(_SoAD_d.scrollLeft+((g<0)?_SoAD_d.clientWidth:0)+g)+_SoAD_2;}}function _SoAD_www(){var b=getID("BOOKTURN");getID("BOOKTURN2").style.visibility="hidden";if(b!=null){b.style.visibility="visible";b.style.display="block";getID("_BOOKTURN").Play();}if(_SoAD_E){b=getID("MoneySelectVal");if(b!=null){b.style.visibility="hidden";}b=getID("MoneySelectFund");if(b!=null){b.style.visibility="hidden";}b=getID("tag_url");if(b!=null){b.style.visibility="hidden";}}}function _SoAD_dfasd(){isOver("BOOKTURN");getID("BOOKTURN").style.visibility="hidden";var b=getID("BOOKTURN2");if(b!=null){b.style.visibility="visible";b.style.display="block";getID("_BOOKTURN2").Play();}if(_SoAD_E){b=getID("MoneySelectVal");if(b!=null){b.style.visibility="visible";}b=getID("MoneySelectFund");if(b!=null){b.style.visibility="visible";}b=getID("tag_url");if(b!=null){b.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 a=false;for(var i=0;i<_SoAD_S.length;i++){if(_SoAD_S[i].t=="BOOKTURN"){a=!a;break;}}o.x=getSrcIdx(o.id,o.turns);o.src=o.src[o.x];if(isde(o.href)){o.href=o.href[o.x];}if(!isde(o.x)){o.x=getSrcIdx(o.id2,o.turns);}o.src2=o.src2[o.x];if(isde(o.href2)){o.href2=o.href2[o.x];}var b=((a)?((_SoAD_d.clientHeight-392>250)?250:_SoAD_d.clientHeight-392):100);o.width=isde(o.width)?o.width:120;o.height=isde(o.height)?o.height:270;o.top=isde(o.top)?o.top:b;var c=parseInt((_SoAD_d.clientWidth-cWidth)/2);o.left=(isde(o.left)?o.left:0);o.tl=(isBig())?(c-o.width):o.left;o.width2=isde(o.width2)?o.width2:120;o.height2=isde(o.height2)?o.height2:270;o.top2=isde(o.top2)?o.top2:b;o.left2=(isde(o.left2)?o.left2:-o.width2);o.tr=(isBig())?-c:o.left2;o.delay=isde(o.delay)?o.delay:0;var s="";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.tl)+_SoAD_2;s=_SoAD_Media(o,0);s+=_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.tr))+_SoAD_2;_SoAD_R[_SoAD_R.length]="onresizeADCP('"+o.id+"',"+o.left+","+o.width+",0)";}if(o.style2){o.style+=o.style2;}if(o.src2){if(o.wmode2){o.wmode=o.wmode2;}s+=_SoAD_Media(o,1);s+=_SoAD_FSCommand(o.id2);_SoAD_R[_SoAD_R.length]="onresizeADCP('"+o.id2+"',"+o.left2+","+o.width2+",1)";}WriteAd(s);if(o.control){var d,e,f,g,h;d=o.control.split(";");e=d[0].split(":")[0];f=d[0].split(":")[1];g=d[1].split(":")[0];h=d[1].split(":")[1];o.ret=setTimeout("_SoAD_DoFSCommand('"+e+"','"+f+"'); _SoAD_DoFSCommand('"+g+"','"+h+"')",isde(o.timeout)?parseInt(o.timeout):8000);}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+","+o.width+")",400);}setTimeout("isOver('"+o.id+"')",o.delay);}function onresizeADCP(a,b,c,d){var e,f,g;e=getID(a);f=parseInt((_SoAD_d.clientWidth-cWidth)/2);g=(d==0)?((isBig())?(f-c):b):((isBig())?-f:b);if(e){e.style.left=_SoAD_1*(_SoAD_d.scrollLeft+((g<0)?_SoAD_d.clientWidth:0)+g)+_SoAD_2;}}function COUPLET_FLOAT(a,b,c,d,e){var f,g,h;f=parseInt((_SoAD_d.clientWidth-cWidth)/2);g=(isBig())?(f-e):b;h=(isBig())?-f: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+g))+_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+h))+_SoAD_2;}}function getSrcIdx(a,b){var c=new Cookie(document,a+"Index",24);c.load();c.x=(c.x==null)?parseInt(Math.random()*b):c.x;var d=parseInt(c.x);c.x++;c.x=(c.x>(b-1))?0:c.x;c.store();return d;}function AttachEvent(a,b,c){if(_SoAD_E){a.attachEvent("on"+b,c);}else{a.addEventListener(b,c,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()",2000);