//鼠标滑过扩展
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('g D=8(2){4.2=2;4.x=18;4.C()};D.17={C:8(){9.z(\'<B 7="\'+4.2.7+\'" e="16:14;13:12;m:\'+4.2.c.m+\'o;"></B>\');p(4.2.c.r.11(".10")!=-1){g h=Z Y(4.2.c.r,"h",4.2.c.m,4.2.c.d,"6","#X");h.A("W","V");h.A("U","T");h.S("R",4.2.y);h.z(4.2.7)}n{9.b(4.2.7).Q=\'<a P="\'+4.2.y+\'" O="N"><M r="\'+4.2.c.r+\'" L="0" m="\'+4.2.c.m+\'" d="\'+4.2.c.d+\'" /></a>\'}g 5=4},K:8(){g 5=4;p(4.x==J){5.k(5.2.t);s(8(){5.l(5.2.u);9.b(5.2.7).w=8(){q(5.f);5.k(5.j())};9.b(5.2.7).v=8(){q(5.f);5.l(5.j())}},4.2.I*H)}n{9.b(5.2.7).e.d=4.2.t+"o";9.b(5.2.7).w=8(){q(5.f);5.k(5.j())};9.b(5.2.7).v=8(){q(5.f);5.l(5.j())}}},l:8(i){g 5=4;p(i>4.2.t){i=i-3;9.b(4.2.7).e.d=i+"o";4.f=s(8(){5.l(i)},15)}n{}},k:8(i){g 5=4;9.b(4.2.7).e.G="";p(i<4.2.u){i=i+3;9.b(4.2.7).e.d=i+"o";4.f=s(8(){5.k(i)},15)}n{}},j:8(){F E(9.b(4.2.7).e.d)}}',62,71,'||config||this|me||id|function|document||getElementById|source|height|style|setTime|var|mouseover_ad||curHeight|sliceDown|sliceUp|width|else|px|if|clearTimeout|src|setTimeout|min|max|onmouseout|onmouseover|startPlay|url|write|addParam|div|init|GGsliceContent|parseInt|return|display|1000|time|true|execute|border|img|_blank|target|href|innerHTML|clickthru|addVariable|opaque|wmode|high|quality|ffffff|sohuFlash|new|swf|indexOf|hidden|overflow|auto||margin|prototype|false'.split('|'),0,{}))
//栏目条触发
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h 1h=e(3){2.3=3;2.1g()};1h.2a={p:0,1g:e(){c.m(\'<D 4="\'+2.3.4+\'" i="28:27;u:L;H:\'+2.3.g.H+\'w;I:\'+2.3.g.I+\'w;"></D>\');c.m("<1d 26=\'25\' 24=\'"+2.3.4+"23"+"\' 22=\'21(1f,1e)\'>\\n"+""+2.3.4+"E(1f,1e);\\n"+"<\\/1d>");20("1Z."+2.3.4+"E = e(){c.j(\'"+2.3.4+"\').i.u=\'L\'; };")},J:e(t){h o=[0,0];k(t){o=2.J(t.1Y);o[0]+=t.1X||0;o[1]+=t.1W||0;K o}z{K o}},1V:e(){c.m(\'<D 4="\'+2.3.4+\'q" i="1U:1T;b:\'+2.3.5.b+\';\'+2.3.5.f+\'"></D>\');k(2.3.5.d.10(".Z")!=-1){h 9=Y X(2.3.5.b.d,"9",2.3.5.b,2.3.5.f,"7","#W");9.r("C","B");9.r("V","1S");9.A("1R",2.3.y);9.m(2.3.4+\'q\');c.m(\'<11 1Q="1P:1O-1N-1M-1L-1K" 1J="19://1I.18.17/1H/16/1G/15/1F.1E#1D=6,0,29,0" b="14" f="13"><1c 1b="1C" 1a="\'+2.3.5.d+\'"><1c 1b="C" 1a="B"><12 d="\'+2.3.5.d+\'" C="B" 1B="19://1A.18.17/1z/1y" 1x="1w/x-16-15" b="14" f="13"></12></11>\')}z{c.j(2.3.4+\'q\').U=\'<a T="\'+2.3.y+\'" 5="S"><R d="\'+2.3.5.d+\'" Q=0 b="\'+2.3.5.b+\'" f="\'+2.3.5.f+\'"></a>\'}h l=2;c.j(2.3.4+"q").1v=e(){k(c.j(l.3.4).i.u=="L"){1u(l.O);l.s()}};k(2.3.1t){F(e(){l.s()},1s)}},s:e(){2.p++;h l=2;k(2.p>2.3.s){K 0}z k(2.p==2.3.s){F(e(){l.M()},N*1r*2.3.1q)}k(2.3.g.d.10(".Z")!=-1){h 9=Y X(2.3.1p,"9",2.3.g.b,2.3.g.f,"8","#W");9.r("C","B");9.r("V","1o");9.r("1n","1m");9.A("1l",2.3.g.d);9.A("1k",2.3.y);9.A("1j",2.3.4);9.m(2.3.4)}z{c.j(2.3.4).U=\'<a T="\'+2.3.y+\'" 5="S"><R d="\'+2.3.g.d+\'" Q="0" b="\'+2.3.g.b+\'" f="\'+2.3.g.f+\'" /></a>\'}h v=c.j(2.3.4);h P=c.j(2.3.4+"q");h G=2.J(P);v.i.I=(G[0]-2.3.g.b+2.3.5.b)+"w";v.i.H=(G[1]+2.3.5.f)+"w";v.i.u=\'\';2.O=F(2.3.4+"E()",2.3.1i*N)},M:e(){2.p=0}}',62,135,'||this|config|id|target||||mouseover_ad||width|document|src|function|height|source|var|style|getElementById|if|thisPtr|write||xy|active_time|_target|addParam|active|element|display|tmp|px||url|else|addVariable|high|quality|div|ad_DoFSCommand|setTimeout|pos|top|left|getPosition|return|none|clearActive|1000|timeHandle|tmp2|border|img|_blank|href|innerHTML|wmode|ffffff|sohuFlash|new|swf|indexOf|object|embed|74|280|flash|shockwave|com|macromedia|http|value|name|param|Script|args|command|init|GGmouseShow|time|callback|linkurl|flashurl|always|AllowScriptAccess|transparent|contain|interval|60|800|autoplay|clearTimeout|onmouseover|application|type|getflashplayer|go|www|pluginspage|movie|version|cab|swflash|cabs|pub|download|codebase|444553540000|96B8|11cf|AE6D|D27CDB6E|clsid|classid|clickthru|opaque|pointer|cursor|execute|offsetTop|offsetLeft|offsetParent|window|eval|FSCommand|event|_ad|for|Javascript|language|absolute|position||prototype'.split('|'),0,{}))
//刷新切换
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('i h=6(J,I){2.x=J;2.4=I;2.H()};h.1a={H:6(){2.b=0;2.t=19;2.E=D},s:6(){f=B 18();f.17(f.16()+15);8.c=2.x+"="+14(2.b)+"; f="+f.13()+"; 12=/"},v:6(){i w=2.x+"=";5(8.c.d>0){e=8.c.r(w);5(e!=-1){e+=w.d;k=8.c.r(";",e);5(k==-1)k=8.c.d;j 11(8.c.10(e,k))}}j""},u:6(){j F(G.Z(G.u()*2.4.d))},Y:6(){i 3;5(""!=2.v()){2.b=F(2.v());3=2.b%2.4.d;5(!2.t)2.b++;2.s()}p{5(2.E){3=2.u()}p{3=0}2.b=2.t?3:(3+1);2.s()}5(y(2.g)=="6"){2.g(3);j D}5(2.4[3].n.r(".X")!=-1){8.o(\'<C q="h\'+2.4[3].q+\'"></C>\');i 9=B W(2.4[3].n,"9",2.4[3].m,2.4[3].l,"7");9.A("V","U");9.A("T","S");9.R("Q",2.4[3].z);9.o("h"+2.4[3].q)}p{8.o(\'<a P="\'+2.4[3].z+\'" O="N"><M L="\'+2.4[3].n+\'" m="\'+2.4[3].m+\'" l="\'+2.4[3].l+\'" K=0></a>\')}5(y(2.4[3].g)=="6"){2.4[3].g()}}};',62,73,'||this|pos|ad|if|function||document|flashContent||viewTime|cookie|length|offset|expires|callback|GGrandomAlternate|var|return|end|height|width|source|write|else|id|indexOf|setViewTime|updateLock|random|getViewTime|search|ad_id|typeof|url|addParam|new|div|true|randomPos|parseInt|Math|init|AD_data|AD_ID|border|src|img|_blank|target|href|clickthru|addVariable|opaque|wmode|high|quality|sohuFlash|swf|execute|floor|substring|unescape|path|toGMTString|escape|86400|getTime|setTime|Date|false|prototype'.split('|'),0,{}))
//左右飘浮
var GGfloat=function(config){this.config=config;this.init()};GGfloat.prototype={left:null,right:null,follow:false,init:function(){if(this.config.left!='undefined'&&this.config.left.status){document.write('<div id="'+this.config.left.id+'" style="position:absolute;width:'+this.config.left.width+'px;height:'+this.config.left.height+'px;z-index:90;left:'+this.config.left.margin+'px;top:'+this.config.left.top+'px;overflow:hidden;visibility:hidden;" onfocus="this.blur()"><a href="'+this.config.left.url+'" target="_blank"><img src="'+this.config.left.src+'" border="0" usemap="#left_piao"></a><map name="left_piao" id="left_piao"> <area shape="rect" coords="82,63,105,80" id="leftPiaoClose" alt="" /><area shape="rect" coords="0,0,105,63" href="'+this.config.left.url+'" target="_blank" alt="" /><area shape="rect" coords="0,88,82,63" href="'+this.config.left.url+'" target="_blank" alt="" /></map></div>')}this.left=document.getElementById(this.config.left.id);if(this.config.right!='undefined'&&this.config.right.status){document.write('<div id="'+this.config.right.id+'" style="position:absolute;width:'+this.config.right.width+'px;height:'+this.config.right.height+'px;z-index:90;left:'+this.config.right.margin+'px;top:'+this.config.right.top+'px;overflow:hidden;visibility:hidden;" onfocus="this.blur()"><img src="'+this.config.right.src+'" border="0" usemap="#right_piao"><map name="right_piao" id="right_piao"> <area shape="rect" coords="82,63,105,80" id="rightPiaoClose" alt="" /><area shape="rect" coords="0,0,105,63" href="'+this.config.right.url+'" target="_blank" alt="" /><area shape="rect" coords="0,88,82,63" href="'+this.config.right.url+'" target="_blank" alt="" /></map></div>');this.right=document.getElementById(this.config.right.id)}},resize:function(){if(typeof window.pageYOffset!='undefined'){scroll_top=window.pageYOffset}else if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){scroll_top=document.documentElement.scrollTop}else if(typeof document.body!='undefined'){scroll_top=document.body.scrollTop}var ClientW=document.body.clientWidth;if(this.left){this.left.style.left=this.config.right.margin+"px";this.left.style.top=scroll_top+this.config.left.top+"px"}if(this.right){this.right.style.left=ClientW-this.config.right.width-this.config.right.margin+"px";this.right.style.top=scroll_top+this.config.right.top+"px"}},close:function(){if(this.left){this.left.style.visibility="hidden"}if(this.right){this.right.style.visibility="hidden"}clearInterval(this.timer)},execute:function(){var objPtr=this;this.resize();if(this.left){this.left.style.visibility="visible";var leftClose=document.getElementById("leftPiaoClose");leftClose.onclick=function(){objPtr.close()}}if(this.right){this.right.style.visibility="visible";var rightClose=document.getElementById("rightPiaoClose");rightClose.onclick=function(){objPtr.close()}}this.timer=setInterval(function(){objPtr.resize()},500)}}
//sohu adm1.js
var ADM_DIV="ADAREA",ADM_LOADED=false,ADM_O1,ADM_O2,AD,ADM_Ver="1.0",ADM_S=new Array(),ADM_RESIZE=new Array(),ADM_F="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";var ADM_CE=document.all?1:(document.getElementById?0:-1);document.write("<div id='"+ADM_DIV+"'></div>");function InitSchedule(){ADM_S.sort(ADM_sort);for(iAI=0;iAI<ADM_S.length;iAI++)ADM_S[iAI].i=iAI;}function ADM_sort(a,b){return(a.p>b.p)?1:((a.p==b.p)?0:-1);}function ADM_Start(o){if(eval("typeof("+o.t+"_main)")=="function") eval(o.t+"_main(o)");}function DoSchedule(){var p=-1;for(dAI=0;dAI<ADM_S.length;dAI++){switch(ADM_S[dAI].s){case 0:if(p==-1)p=ADM_S[dAI].p;if(p==ADM_S[dAI].p){ADM_S[dAI].s=1;ADM_Start(ADM_S[dAI]);break;}case 1:setTimeout("DoSchedule()",300);return;default :}}}if(ADM_CE>-1){window.onload=function ADM_PUSH(){if(!ADM_LOADED){ADM_LOADED=true;InitSchedule();DoSchedule();}}
window.onresize=function(){for(oAI=0;oAI<ADM_RESIZE.length;oAI++)eval(ADM_RESIZE[oAI]);}}function WriteAd(id,s){var o0=document.getElementById(id);if(o0==null){o0=document.createElement("div");o0.id=id;if(ADM_CE==1)document.getElementById(ADM_DIV).insertAdjacentElement("beforeBegin",o0);else document.getElementById(ADM_DIV).insertBefore(o0,null);}o0.innerHTML=s;}function AddSchedule(oo){if(oo!=null && oo instanceof ADM)ADM_S[ADM_S.length]=oo;}function ADM(t,p){this.t=t;this.p=p;this.s=0;this.i=0;this.style="position:absolute;";}function ADM_Check(o){return o.CookieHour && ADM_CheckCookie(o.t+o.p+location.host.substring(0,location.host.indexOf(".")),o);}function ADM_CheckCookie(E,o){var Now=new Date();var s=String(Now.getYear())+String(Now.getMonth()+1)+String(Now.getDate());if(ADM_GetCookie(E)==s)return true;else{Now.setTime(Now.getTime()+(parseFloat(typeof(o.CookieHour)=="undefined"?24:parseFloat(o.CookieHour))*60*60*1000));ADM_SetCookie(E,s,Now);return false;}}function ADM_GetCookie(n){var args=n+"=";var aLength=args.length,cLength=document.cookie.length,AAi=0;while(AAi<cLength){var AAj=AAi+aLength;if(document.cookie.substring(AAi, AAj)==args)return ADM_GetCookieVal(AAj);AAi=document.cookie.indexOf(" ", AAi)+1;if(AAi==0)break;}return null;}function ADM_GetCookieVal(offset){var endstr=document.cookie.indexOf(";", offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset, endstr));}function ADM_SetCookie(name, value){var argv=ADM_SetCookie.arguments;var argc=ADM_SetCookie.arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;document.cookie=name+"="+escape(value)+((expires==null)?"":("; expires="+expires.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"");}function ADM_Media(a,w,h,o,id,href){var s="";if(a.indexOf(".swf")!=-1){if(ADM_CE==1){s="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='"+ADM_F +"' 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(typeof(o.loop)!="undefined")s+="<param name='loop' value='"+o.loop+"'>";s+="<param name='quality' value='autohigh'><param name='allowScriptAccess' value='always'></object>";}else{s="<embed ";if(o.style)s+=" style='"+o.style+"'";if(o.extfunc)s+=" "+o.extfunc+" ";s+=" src='"+a+"'"+" quality='autohigh' id='"+((id==null)?o.t:id)+"' name='"+((id==null)?o.t:id)+"' width='"+w+"' height='"+h+"' ";if(o.wmode&&o.wmode!="")s+=" allowScriptAccess='always' wmode='"+o.wmode+"' ";if(typeof(o.loop)!="undefined")s+=" loop='"+o.loop+"' ";s+="type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";}}else if(a.indexOf(".gif")!=-1||a.indexOf(".jpg")!=-1){s="<a href='"+((href==null)?o.href: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 ADM_FSCommand(o,id){var s="";if(ADM_CE==1){s="<Script language='Javascript' for='"+((id==null)?o.t:id)+"' event='FSCommand(command,args)'>\n" +""+((id==null)?o.t:id)+"_DoFSCommand(command,args);\n" +"<\/Script>\n";}return s;}function ADM_Close(o,n){ADM_S[o].s=2;var OBJ=document.getElementById(n);if(OBJ)OBJ.style.display="none";}function FULL_main(o){if(ADM_Check(o)){o.s=2;return;}var IS_Find=false;if(o.StartTime.length==o.EndTime.length && o.EndTime.length==o.src.length && o.src.length==o.href.length){for(FAi=0;FAi<o.src.length;FAi++){var ST=new Date(o.StartTime[FAi]);var ET=new Date(o.EndTime[FAi]);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=ADM_Media(o.src[FAi],760,480,o,"",o.href[FAi]);IS_Find=true;setTimeout("ADM_Close("+o.i+",'fullscreenad')",isNaN(parseInt(o.timeout))?7000:parseInt(o.timeout));return;}else{o.s=2;return;}}}if(!IS_Find)ADM_Close(o.i,"fullscreenad");}}function POP_STRUCT(o){o.s=2;var WN=(o.name)?o.name:"";var Wi=(o.superad)?(screen.width-9):(parseInt((o.width)?o.width:350)-4);var Wh=(o.superad)?(screen.height-56):(parseInt((o.height)?o.height:250)-4);var Wl=(o.t=="POPUP")?((o.left)?o.left:0):(screen.width+10);var Wt=(o.t=="POPUP")?((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=UTF-8'><title>";SK+=(o.title)?o.title:((o.superad)?("SOHU.com 背投广告"):("SOHU.com "+o.t+" Ad"));SK+="</title>";SK+="\n<Script language='Javascript'>\n";if(o.t=="POPUP"){SK+="function Load(){\n";if(ADM_CE==1)SK+="setTimeout('blur();',";else SK+="setTimeout('self.opener.focus()',";SK+=isNaN(parseInt(o.timeout))?7000:o.timeout;SK+=");\n}\n";}SK+="<\/Script>";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(ADM_CE==1)OK.blur();else OK.opener.focus();OK.moveTo(((o.left)?o.left:0),((o.top)?o.top:0));OK.document.write(POP_WINDOW(o));}}}function FLOAT_main(o){var HasBOOKTURN=false;for(CAI=0;CAI<ADM_S.length;CAI++){if(ADM_S[CAI].t=="BOOKTURN"){HasBOOKTURN=true;break;}}var HasCOUPLET=false;for(CAC=0;CAC<ADM_S.length;CAC++){if(ADM_S[CAC].t=="COUPLET"){HasCOUPLET=true;break;}}o.style+="z-index:10;";if(!o.leftHref)o.leftHref="";if(!o.rightHref)o.rightHref="";if(isNaN(parseInt(o.offsetX)))o.offsetX=30;if(screen.width<1024)o.offsetX+=100;if(isNaN(parseInt(o.offsetY)))o.offsetY=(HasBOOKTURN&&HasCOUPLET)?0:20;var s="";if(o.leftSrc && o.leftSrc!="")s+=ADM_Media(o.leftSrc,80,80,o,ADM_DIV+"left",o.leftHref);if(o.wmode2)o.wmode=o.wmode2;if(o.rightSrc && o.rightSrc!="")s+=ADM_Media(o.rightSrc,80,80,o,ADM_DIV+"right",o.rightHref);if(s!=""){WriteAd(ADM_DIV+"FLOAT",s);ADM_O1=document.getElementById(ADM_DIV+"left");ADM_O2=document.getElementById(ADM_DIV+"right");if(ADM_O1!=null||ADM_O2!=null){window.setInterval("FLOAT_position("+o.offsetX+","+(parseInt(o.offsetY)+80)+")",400);}}o.s=2;}function FLOAT_position(a,b){if(ADM_CE==1){if(ADM_O1!=null){ADM_O1.style.top=parseInt((parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"px";ADM_O1.style.left=parseInt((parseInt(document.body.scrollLeft)+a))+"px";}if(ADM_O2!=null){ADM_O2.style.top=parseInt((parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"px";	ADM_O2.style.left=parseInt((parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-80-a))+"px";}}else{if(ADM_O1!=null){ADM_O1.style.top=parseInt(0.75*(parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"pt";ADM_O1.style.left=parseInt(0.75*(parseInt(document.body.scrollLeft)+a))+"pt";}if(ADM_O2!=null){ADM_O2.style.top=parseInt(0.75*(parseInt(document.body.scrollTop)+parseInt(document.body.clientHeight)-b))+"pt";ADM_O2.style.left=parseInt(0.75*(parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-80-a))+"pt";}}}function LIUMEITI_main(o){if(ADM_Check(o)){o.s=2;return;}if(!o.width)o.width=200;if(!o.height)o.height=150;if(!o.top)o.top="0";if(!o.left)o.left="-0";if(o.src&&o.src!=""){o.style+="top:"+(parseInt(document.body.scrollTop)+((String(o.top).indexOf("-")==-1)?parseInt(o.top):(parseInt(document.body.clientHeight)+parseInt(o.top)-o.height)));o.style+=";left:"+((String(o.left).indexOf("-")==-1)?parseInt(o.left):(parseInt(document.body.clientWidth)-o.width+parseInt(o.left)));ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"lmt').style.left=(('"+o.left+"'.indexOf('-')==-1)?"+o.left+":(parseInt(document.body.clientWidth)-"+(o.width+parseInt(o.left))+"))";WriteAd(ADM_DIV+"LIUMEITI",ADM_Media(o.src,o.width,o.height,o,ADM_DIV+"lmt"));if(o.eval&&o.eval!="")eval(o.eval);setTimeout("ADM_Close("+o.i+",'"+ADM_DIV+"lmt')",isNaN(parseInt(o.timeout))?7000:parseInt(o.timeout));}}function isde($y){return!(typeof($y)=="undefined")}function BOOKTURN_main(o){self.scroll(0,0);if(!o.top)o.top="0";if(!o.left)o.left="-0";if(!o.loop)o.loop=false;if(!o.loop2)o.loop2=true;if(!o.CookieHour)o.CookieHour=0;o.width=isde(o.width)?parseInt(o.width):350;o.height=isde(o.height)?parseInt(o.height):250;o.width2=isde(o.width2)?parseInt(o.width2):80;o.height2=isde(o.height2)?parseInt(o.height2):80;if(o.src&&o.srcButton){var show=(ADM_Check(o));o.style+="z-index:10000;";if(show)o.style+="visibility:hidden;";o.style+="top:"+(parseInt(document.body.scrollTop)+(String(o.top).indexOf("-")==-1)?parseInt(o.top):(parseInt(document.body.clientHeight)+parseInt(o.top)-o.height))+"px";o.style+=";left:"+((String(o.left).indexOf("-")==-1)?parseInt(o.left):(parseInt(document.body.clientWidth)-o.width+parseInt(o.left)))+"px";var s1=ADM_Media(o.src,o.width,o.height,o,ADM_DIV+"book1");o.wmode=(o.wmode2)?o.wmode2:"";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(document.body.scrollTop)+(String(o.top).indexOf("-")==-1)?parseInt(o.top):(parseInt(document.body.clientHeight)+parseInt(o.top)-o.height))+"px";o.style+=";left:"+((String(o.left).indexOf("-")==-1)?parseInt(o.left):(parseInt(document.body.clientWidth)-o.width2+parseInt(o.left)))+"px";s1+=ADM_Media(o.srcButton,o.width2,o.height2,o,ADM_DIV+"book2");ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"book1').style.left=(('"+o.left+"'.indexOf('-')==-1)?"+o.left+":(parseInt(document.body.clientWidth)-"+(o.width+parseInt(o.left))+"))";ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"book2').style.left=(('"+o.left+"'.indexOf('-')==-1)?"+o.left+":(parseInt(document.body.clientWidth)-"+(o.width2+parseInt(o.left))+"))";s1+=ADM_FSCommand(o,ADM_DIV+"book1");s1+=ADM_FSCommand(o,ADM_DIV+"book2");WriteAd(ADM_DIV+"book",s1);document.getElementById(ADM_DIV).i=o.i;if(show)o.s=2}else o.s=2}function ADAREAbook1_DoFSCommand(commands,args){ADM_S[document.getElementById(ADM_DIV).i].s=2;document.getElementById(ADM_DIV+"book1").style.visibility='hidden';var OBJ=document.getElementById(ADM_DIV+"book2");OBJ.style.visibility='visible';OBJ.style.display='block';}function ADAREAbook2_DoFSCommand(commands,args){document.getElementById(ADM_DIV+"book2").style.visibility='hidden';var OBJ=document.getElementById(ADM_DIV+"book1");OBJ.style.visibility='visible';OBJ.style.display='block';OBJ.Play();}function COUPLET_main(o){if(((ADM_CE==1)&&(screen.width<1000))||((ADM_CE==0)&&(document.body.scrollWidth<1000))){o.s=2;return;}var HasBOOKTURN=false;for(CAI=0;CAI<ADM_S.length;CAI++){if(ADM_S[CAI].t=="BOOKTURN"){HasBOOKTURN=true;break;}}if(ADM_Check(o)){o.s=2;return;}if(!o.offsetX)o.offsetX=0;if(!o.offsetY)o.offsetY=(HasBOOKTURN)?250:100;if(o.src||o.src2){if(!o.src)o.src=o.src2;if(!o.wmode)o.wmode="opaque";if(!o.src2)o.src2=o.src;var UseCache=(o.src.toLowerCase()==o.src2.toLowerCase());o.style+="top:"+o.offsetY;o.style+=";left:"+(parseInt(document.body.scrollLeft)+o.offsetX);var s1=ADM_Media(o.src,120,270,o,ADM_DIV+"Couplet1");o.style=o.style.substring(0,o.style.lastIndexOf("left:"));o.style+="left:"+((parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-120-o.offsetX ));if(!UseCache){if(o.wmode2)o.wmode=o.wmode2;s1+=ADM_Media(o.src2,120,270,o,ADM_DIV+"Couplet2");s1+=ADM_FSCommand(o,ADM_DIV+"Couplet2");ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"Couplet2').style.left=parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-"+(120+o.offsetX);}else s1+="<div id='"+ADM_DIV+"CoupletCache' style='display:none'>"+o.i+"</div>";s1+=ADM_FSCommand(o,ADM_DIV+"Couplet1");if(ADM_CE==1&&UseCache){s1+="\n<Script language='javascript' for='"+ADM_DIV+"Couplet1' event='OnReadyStateChange(a)'>\n";s1+=""+ADM_DIV+"Couplet1_Cache(a);\n";s1+="<\/Script>";}WriteAd(ADM_DIV+"Couplet",s1);if(ADM_CE==1&&UseCache&&document.getElementById(ADM_DIV+"Couplet1").PercentLoaded()==100)ADAREACouplet1_Cache(4);else if(ADM_CE==0&&UseCache)ADAREACouplet1_Check();if(o.timeout)setTimeout("ADAREACouplet1_DoFSCommand()",o.timeout);}o.s=2;}function ADAREACouplet1_Check(){if(document.getElementById(ADM_DIV+"Couplet1").PercentLoaded()==100){ADAREACouplet1_Cache(4);return;}setTimeout("ADAREACouplet1_Check()",100);}function ADAREACouplet1_Cache(a){if(a==4){var OBJ=document.getElementById(ADM_DIV+"CoupletCache");var o=ADM_S[parseInt(OBJ.innerHTML)];OBJ.innerHTML=ADM_Media(o.src,120,270,o,ADM_DIV+"Couplet2")+ADM_FSCommand(o,ADM_DIV+"Couplet2");OBJ.style.display="block";ADM_RESIZE[ADM_RESIZE.length]="document.getElementById('"+ADM_DIV+"Couplet2').style.left=parseInt(document.body.scrollLeft)+parseInt(document.body.clientWidth)-"+(120+o.offsetX);}}function ADAREACouplet1_DoFSCommand(commands,args){document.getElementById(ADM_DIV+"Couplet1").style.visibility='hidden';document.getElementById(ADM_DIV+"Couplet2").style.visibility='hidden';}function ADAREACouplet2_DoFSCommand(commands,args){ADAREACouplet1_DoFSCommand(commands,args);}function VIDEO_main(o){if(ADM_CE!=1 ||(ADM_Check(o))){o.s=2;return;}if(!o.codebase)o.codebase="http://videoad.sohu.com/video/videoadserver16/version1024/mcadplayer.cab";if(!o.adpicurl)o.adpicurl="http://videoad.sohu.com/video/videoadserver16/back.jpg";if(!o.title)o.title="SUPERCAST";if(!o.cx)o.cx=350;if(!o.cy)o.cy=280;if(!o.popx)o.popx=screen.width-o.cx+1;if(!o.popy)o.popy=screen.height-o.cy-25;if(!o.billserver)o.billserver="61.135.145.33";if(!o.loop)o.loop=-1;if(!o.soundtime)o.soundtime=1;if(!o.mode)o.mode=1;if(!o.buttonmode)o.buttonmode=2;if(!o.slidemode)o.slidemode=2;if(!o.timeout)o.timeout=7000;if(!o.playcount)o.playcount=2;if(!o.wmppopx)o.wmppopx=screen.width-350;if(!o.hideafterplayover)o.hideafterplayover=0;if(!o.wmppopy)o.wmppopy=screen.height;if(!o.popuphtmurl)o.popuphtmurl="http://videoad.sohu.com/video/videoadserver16/brimilk1/popuphtm1.htm";if(o.divxadurl&&o.divxadurl!=""){if(ADM_GetCookie("VIDEO")!=null)VIDEO_media(o.i);else VIDEO_code(o);}o.s=2;}function VIDEO_code(o){var s="<OBJECT classid='clsid:2D0C7226-747E-11D6-83F0-00E04C4A2F90' codebase='"+o.codebase+"' onerror='VIDEO_media("+o.i+")' style='width:0px;height:0px'><param name='adurl' value='"+o.divxadurl+"'><param name='adpicurl' value='"+o.adpicurl+"'><param name='clickurl' value='"+o.adclickurl+"'><param name='cx' value='"+o.cx+"'><param name='cy' value='"+o.cy+"'><param name='popx' value='"+o.popx+"'>";s+="<param name='popy' value='"+o.popy+"'><param name='billserver' value='"+o.billserver+"'><param name='loop' value='"+o.loop+"'><param name='soundtime' value='"+o.soundtime+"'><param name='mode' value='"+o.mode+"'><param name='buttonmode' value='"+o.buttonmode+"'><param name='hideafterplayover' value='"+o.hideafterplayover+"'><param name='windowtitle' value='"+o.title+"'><param name='SlideMode' value='"+o.slidemode+"'></OBJECT>";WriteAd(ADM_DIV+"Video",s);}function VIDEO_media(o){if(ADM_GetCookie("VIDEO")==null){var Now=new Date();Now.setTime(Now.getTime()+(o.plugindelay?parseFloat(o.plugindelay)*60*60*1000:7*24*60*60*1000));ADM_SetCookie("VIDEO","videodelay",Now);}o=ADM_S[o];if(o.wmvadurl&&o.wmvadurl!=""){var s=o.popuphtmurl+"?OpenerName="+window.location+"&wmvadurl="+o.wmvadurl+"&adpicurl="+o.adpicurl+"&adclickurl="+o.adclickurl+"&timeout="+o.timeout+"&soundtime="+o.soundtime+"&playcount="+o.playcount+"&windowtitle="+o.title;if(o.download)s+="&download="+o.download+"&";window.open(s,"","left="+o.wmppopx+",top="+o.wmppopy+", width=350, height=250");}}function IMVIDEO_main(o){if((ADM_Check(o))){o.s=2;return;}if(!o.IMWidth)o.IMWidth=350;if(!o.IMHeight)o.IMHeight=250;if(!o.Str)o.Str="IM";if(o.VideoID>0){var width=o.IMWidth;var height=o.IMHeight+26;var left=screen.availWidth-width-10;var top=screen.availHeight;var popUrl="http://im.imchina.com.cn/client/client.aspx?id="+o.VideoID+	"&url="+"http://im.imchina.com.cn/cgi-bin/adgate.cgi" +	"&width="+o.IMWidth +	"&height="+o.IMHeight;var params="left="+left+",top="+top+",width="+width+",height="+height+",scrollbars=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,directories=0,dependent=0,titlebar=0";var winid=o.Str+o.VideoID;window.open(popUrl, winid, params);}o.s=2;}//setTimeout("ADM_PUSH()",2000);