1 |
- try{if(!window.___is3b){window.___is3b="prepare"}function test3b(){window.___is3b="loading";var c=navigator.userAgent.toLowerCase();if(!c.match(/msie ([\d.]+)/)){window.___is3b="false";return}var a=new Image();var b="bdtest___"+Math.floor(Math.random()*2147483648).toString(36);window[b]=a;a.onload=function(){window.___is3b="true";a.onload=a.onerror=a.onabort=null;window[b]=null;a=null};a.onerror=function(){window.___is3b="false";a.onload=a.onerror=a.onabort=null;window[b]=null;a=null};a.src="res://360se.exe/2/2025"}if(window.___is3b==="prepare"){test3b()}}catch(ex){}finally{}var ___baseNamespaceName="CproNamespace";(function(){var c=___baseNamespaceName;var h=window,a=0,g=false,b=false;while((h!=window.top||h!=h.parent)&&a<10){g=true;try{h.parent.location.toString()}catch(f){b=true;break}a++;h=h.parent}if(a>=10){b=true}if(!b){var d="";try{d=top.location.href}catch(f){d=""}if(d){if(d.indexOf("union.baidu.com")>0||d.indexOf("unionqa.baidu.com")>0||d.indexOf("musicmini.baidu.com")>0||d.indexOf("qianqianmini.baidu.com")>0){b=true}}}var e=function(i,k,j){i.baseName=c;i.isInIframe=k;i.isCrossDomain=j;i.needInitTop=k&&!j;i.buildInObject={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object Window]":1};i.clone=function(p){var m=p,n,l;if(!p||p instanceof Number||p instanceof String||p instanceof Boolean){return m}else{if(p instanceof Array){m=[];var o=0;for(n=0,l=p.length;n<l;n++){m[o++]=this.clone(p[n])}}else{if("object"===typeof p){if(this.buildInObject[Object.prototype.toString.call(p)]){return m}m={};for(n in p){if(p.hasOwnProperty(n)){m[n]=this.clone(p[n])}}}}}return m};i.create=function(n,q){var m=Array.prototype.slice.call(arguments,0);m.shift();var o=function(r){this.initialize=this.initialize||function(){};this.initializeDOM=this.initializeDOM||function(){};this.initializeEvent=this.initializeEvent||function(){};this.initialize.apply(this,r);this.initializeDOM.apply(this,r);this.initializeEvent.apply(this,r)};o.prototype=n;var l=new o(m);for(var p in n){if(l[p]&&typeof l[p]==="object"&&l[p].modifier&&l[p].modifier.indexOf("dynamic")>-1){l[p]=this.clone(l[p])}}l.instances=null;n.instances=n.instances||[];n.instances.push(l);return l};i.registerMethod=function(p,l){var q={};var m={};var t,r,s;for(r in l){t=l[r];if(!r||!t){continue}if(typeof t==="object"&&t.modifier&&t.modifier==="dynamic"){p[r]=p[r]||{};this.registerMethod(p[r],t)}else{if(typeof t==="function"){q[r]=t}else{m[r]=t}}}for(r in q){t=q[r];if(r&&t){p[r]=t}}if(p&&p.instances&&p.instances.length&&p.instances.length>0){for(var n=0,o=p.instances.length;n<o;n++){s=p.instances[n];this.registerMethod(s,l)}}};i.registerObj=function(n,p){var m=Array.prototype.slice.call(arguments,0);m.shift();var o=function(q){this.register=this.register||function(){};this.register.apply(this,q)};o.prototype=n;o.prototype.instances=null;var l=new o(m);return l};i.registerNamespaceByWin=function(n,p){var p=n.win=p||window;var m=n.fullName.replace("$baseName",this.baseName);var t=m.split(".");var q=t.length;var u=p;var s;for(var o=0;o<q-1;o++){var l=t[o];if(u==p){u[l]=p[l]=p[l]||{};s=l;n.baseName=s}else{u[l]=u[l]||{}}u=u[l]}var r=u[t[q-1]]||{};if(r.fullName&&r.version){this.registerMethod(r,n)}else{r=this.registerObj(n);r.instances=null;u[t[q-1]]=r}};i.registerNamespace=function(l){if(!l||!l.fullName||!l.version){return}this.registerNamespaceByWin(l,window);if(this.needInitTop){this.registerNamespaceByWin(l,window.top)}};i.registerClass=i.registerNamespace;i.using=function(n,q){var l;if(!q&&this.isInIframe&&!this.isCrossDomain&&top&&typeof top==="object"&&top.document&&"setInterval" in top){q=top}else{q=q||window}n=n.replace("$baseName",this.baseName);var m=n.split(".");l=q[m[0]];for(var o=1,p=m.length;o<p;o++){if(l&&l[m[o]]){l=l[m[o]]}else{l=null}}return l}};window[c]=window[c]||{};e(window[c],g,b);if(g&&!b){window.top[c]=window.top[c]||{};e(window.top[c],g,b)}})();(function(b){var a={fullName:"$baseName.Utility",version:"1.0.0",register:function(){this.browser=this.browser||{};if(/msie (\d+\.\d)/i.test(navigator.userAgent)){this.browser.ie=document.documentMode||+RegExp["\x241"]}if(/opera\/(\d+\.\d)/i.test(navigator.userAgent)){this.browser.opera=+RegExp["\x241"]}if(/firefox\/(\d+\.\d)/i.test(navigator.userAgent)){this.browser.firefox=+RegExp["\x241"]}if(/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(navigator.userAgent)&&!/chrome/i.test(navigator.userAgent)){this.browser.safari=+(RegExp["\x241"]||RegExp["\x242"])}if(/chrome\/(\d+\.\d)/i.test(navigator.userAgent)){this.browser.chrome=+RegExp["\x241"]}try{if(/(\d+\.\d)/.test(window.external.max_version)){this.browser.maxthon=+RegExp["\x241"]}}catch(c){}this.browser.isWebkit=/webkit/i.test(navigator.userAgent);this.browser.isGecko=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);this.browser.isStrict=document.compatMode=="CSS1Compat"},browser:{},isWindow:function(e){var c=false;try{if(e&&typeof e==="object"&&e.document&&"setInterval" in e){c=true}}catch(d){c=false}return c},isInIframe:function(c){c=c||window;return c!=window.top&&c!=c.parent},isInCrossDomainIframe:function(g,d){var c=false;g=g||window;d=d||window.top;var f=0;if(!this.isWindow(d)||!this.isWindow(d.parent)){c=true}else{while((g!=d)&&f<10){f++;if(this.isWindow(g)&&this.isWindow(g.parent)){try{g.parent.location.toString()}catch(e){c=true;break}}else{c=true;break}g=g.parent}}if(f>=10){c=true}return c},g:function(d,c){c=c||window;if("string"===typeof d||d instanceof String){return c.document.getElementById(d)}else{if(d&&d.nodeName&&(d.nodeType==1||d.nodeType==9)){return d}}return d},sendRequestViaImage:function(d,f){var c=new Image();var e="cpro_log_"+Math.floor(Math.random()*2147483648).toString(36);f=f||window;f[e]=c;c.onload=c.onerror=c.onabort=function(){c.onload=c.onerror=c.onabort=null;f[e]=null;c=null};c.src=d},getDocument:function(c){if(!c){return document}c=this.g(c);return c.nodeType==9?c:c.ownerDocument||c.document},getWindow:function(c){c=this.g(c);var d=this.getDocument(c);return d.parentWindow||d.defaultView||null},getTopWindow:function(c){c=c||window;if(this.isInIframe(c)&&!this.isInCrossDomainIframe(c,c.top)&&this.isWindow(c.top)){return c.top}return c},bind:function(c,d,e){c=this.g(c);d=d.replace(/^on/i,"").toLowerCase();if(c.addEventListener){c.addEventListener(d,e,false)}else{if(c.attachEvent){c.attachEvent("on"+d,e)}}return c},unBind:function(c,d,e){c=this.g(c);d=d.replace(/^on/i,"").toLowerCase();if(c.removeEventListener){c.removeEventListener(d,e,false)}else{if(c.detachEvent){c.detachEvent("on"+d,e)}}return c},proxy:function(e,d,c){var g=e;var f=d;return function(){if(c&&c.length){return g.apply(f||{},c)}else{return g.apply(f||{},arguments)}}},getStyle:function(e,d){var c;e=this.g(e);var g=this.getDocument(e);var h="";if(d.indexOf("-")>-1){h=d.replace(/[-_][^-_]{1}/g,function(i){return i.charAt(1).toUpperCase()})}else{h=d.replace(/[A-Z]{1}/g,function(i){return"-"+i.charAt(0).toLowerCase()})}var f;if(g&&g.defaultView&&g.defaultView.getComputedStyle){f=g.defaultView.getComputedStyle(e,null);if(f){c=f.getPropertyValue(d)}if(typeof c!=="boolean"&&!c){c=f.getPropertyValue(h)}}else{if(e.currentStyle){f=e.currentStyle;if(f){c=f[d]}if(typeof c!=="boolean"&&!c){c=f[h]}}}return c},getPositionCore:function(c,p){p=p||{};c=this.g(c);var l=this.getDocument(c),f=this.browser,e=f.isGecko>0&&l.getBoxObjectFor&&this.getStyle(c,"position")=="absolute"&&(c.style.top===""||c.style.left===""),j={left:0,top:0},i=(f.ie&&!f.isStrict)?l.body:l.documentElement,m,d;if(c==i){return j}if(c.getBoundingClientRect){d=c.getBoundingClientRect();var g=d.left,o=d.top;if(!p.precise){g=Math.floor(g);o=Math.floor(o)}j.left=g+Math.max(l.documentElement.scrollLeft,l.body.scrollLeft);j.top=o+Math.max(l.documentElement.scrollTop,l.body.scrollTop);j.left-=l.documentElement.clientLeft;j.top-=l.documentElement.clientTop;var k=l.body,n=parseInt(this.getStyle(k,"borderLeftWidth")),h=parseInt(this.getStyle(k,"borderTopWidth"));if(f.ie&&!f.isStrict){j.left-=isNaN(n)?2:n;j.top-=isNaN(h)?2:h}}else{m=c;do{j.left+=m.offsetLeft;j.top+=m.offsetTop;if(f.isWebkit>0&&this.getStyle(m,"position")=="fixed"){j.left+=l.body.scrollLeft;j.top+=l.body.scrollTop;break}m=m.offsetParent}while(m&&m!=c);if(f.opera>0||(f.isWebkit>0&&this.getStyle(c,"position")=="absolute")){j.top-=l.body.offsetTop}m=c.offsetParent;while(m&&m!=l.body){j.left-=m.scrollLeft;if(!f.opera||m.tagName!="TR"){j.top-=m.scrollTop}m=m.offsetParent}}return j},getPosition:function(j,i,e){i=i||window;e=e||{};var f=this.g(j,i);if(!f){return}var c=this.getPositionCore(f,e);var d;var h=10,g=0;while(i!=i.parent&&g<h){g++;d={top:0,left:0};if(!this.isInCrossDomainIframe(i,i.parent)&&i.frameElement){d=this.getPositionCore(i.frameElement,e)}else{break}c.left+=d.left;c.top+=d.top;i=i.parent}return c},getOuterWidth:function(e,d){e=this.g(e);d=d||false;var c=e.offsetWidth;if(d){var g=this.getStyle(e,"marginLeft").toString().toLowerCase().replace("px","").replace("auto","0");var f=this.getStyle(e,"marginRight").toString().toLowerCase().replace("px","").replace("auto","0");c=c+parseInt(g||0)+parseInt(f||0)}return c},getOuterHeight:function(e,d){e=this.g(e);d=d||false;var c=e.offsetHeight;if(d){var f=this.getStyle(e,"marginTop").toString().toLowerCase().replace("px","").replace("auto","0");var g=this.getStyle(e,"marginBottom").toString().toLowerCase().replace("px","").replace("auto","0");c=c+parseInt(f||0)+parseInt(g||0)}return c},getTopIframe:function(f){var c=this.g(f);var d=this.getWindow(c);var e=0;if(this.isInIframe(window)&&!this.isInCrossDomainIframe(window)){while(d.parent!=window.top&&e<10){e++;d=d.parent}if(e<10){c=d.frameElement||c}}return c},getOpacityInWin:function(k){var j=this.g(k);var h=this.getWindow(j);var c=100;var f=j;var i;try{while(f&&f.tagName){i=100;if(this.browser.ie){if(this.browser.ie>5){try{i=f.filters.alpha.opacity||100}catch(g){}}c=c>i?i:c}else{try{i=(h.getComputedStyle(f,null).opacity||1)*100}catch(g){}c=c*(i/100)}f=f.parentNode}}catch(d){}return c||100},getOpacity:function(i){var h=this.g(i);var g=this.getWindow(h);var c=this.getOpacityInWin(h);var d=100;var e=0,f=10;while(this.isInIframe(g)){e++;if(!this.isInCrossDomainIframe(g,g.parent)){d=100;if(g.frameElement){d=this.getOpacityInWin(g.frameElement)}c=c*(d/100)}else{break}g=g.parent}return c},dateToString:function(d,c){var g={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours()%12==0?12:d.getHours()%12,"H+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()};var f={"0":"\u65e5","1":"\u4e00","2":"\u4e8c","3":"\u4e09","4":"\u56db","5":"\u4e94","6":"\u516d"};if(/(y+)/.test(c)){c=c.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))}if(/(E+)/.test(c)){c=c.replace(RegExp.$1,((RegExp.$1.length>1)?(RegExp.$1.length>2?"\u661f\u671f":"\u5468"):"")+f[d.getDay()+""])}for(var e in g){if(new RegExp("("+e+")").test(c)){c=c.replace(RegExp.$1,(RegExp.$1.length==1)?(g[e]):(("00"+g[e]).substr((""+g[e]).length)))}}return c},param:function(h,i){var c=new Array(),g,f,d;for(var e in h){d=true;if(i){g=i[e]?i[e]:e;d=i[e]?true:false}if(!d){continue}var f=h[e];switch(typeof f){case"string":case"number":c.push(g+"="+f.toString());break;case"boolean":c.push(g+"="+(f?"1":"0"));break;case"object":if(f instanceof Date){c.push(g+"="+this.dateToString(f,"yyyyMMddhhmmssS"))}break;default:break}}return c.join("&")},getLength:function(e){var c=0;if(typeof e==="object"){if(e instanceof Array){c=e.length}else{var d;for(d in e){if(d){c++}}}}return c},md5:function(s){function N(d,c){return(d<<c)|(d>>>(32-c))}function M(F,d){var H,c,x,G,k;x=(F&2147483648);G=(d&2147483648);H=(F&1073741824);c=(d&1073741824);k=(F&1073741823)+(d&1073741823);if(H&c){return(k^2147483648^x^G)}if(H|c){if(k&1073741824){return(k^3221225472^x^G)}else{return(k^1073741824^x^G)}}else{return(k^x^G)}}function r(c,k,d){return(c&k)|((~c)&d)}function q(c,k,d){return(c&d)|(k&(~d))}function p(c,k,d){return(c^k^d)}function n(c,k,d){return(k^(c|(~d)))}function u(G,F,ac,ab,k,H,I){G=M(G,M(M(r(F,ac,ab),k),I));return M(N(G,H),F)}function g(G,F,ac,ab,k,H,I){G=M(G,M(M(q(F,ac,ab),k),I));return M(N(G,H),F)}function J(G,F,ac,ab,k,H,I){G=M(G,M(M(p(F,ac,ab),k),I));return M(N(G,H),F)}function t(G,F,ac,ab,k,H,I){G=M(G,M(M(n(F,ac,ab),k),I));return M(N(G,H),F)}function e(F){var I;var x=F.length;var k=x+8;var d=(k-(k%64))/64;var H=(d+1)*16;var ab=Array(H-1);var c=0;var G=0;while(G<x){I=(G-(G%4))/4;c=(G%4)*8;ab[I]=(ab[I]|(F.charCodeAt(G)<<c));G++}I=(G-(G%4))/4;c=(G%4)*8;ab[I]=ab[I]|(128<<c);ab[H-2]=x<<3;ab[H-1]=x>>>29;return ab}function D(k){var d="",x="",F,c;for(c=0;c<=3;c++){F=(k>>>(c*8))&255;x="0"+F.toString(16);d=d+x.substr(x.length-2,2)}return d}function L(k){k=k.replace(/\r\n/g,"\n");var d="";for(var F=0;F<k.length;F++){var x=k.charCodeAt(F);if(x<128){d+=String.fromCharCode(x)}else{if((x>127)&&(x<2048)){d+=String.fromCharCode((x>>6)|192);d+=String.fromCharCode((x&63)|128)}else{d+=String.fromCharCode((x>>12)|224);d+=String.fromCharCode(((x>>6)&63)|128);d+=String.fromCharCode((x&63)|128)}}}return d}var E=Array();var R,i,K,v,h,aa,Z,Y,X;var U=7,S=12,P=17,O=22;var B=5,A=9,z=14,y=20;var o=4,m=11,l=16,j=23;var W=6,V=10,T=15,Q=21;s=L(s);E=e(s);aa=1732584193;Z=4023233417;Y=2562383102;X=271733878;for(R=0;R<E.length;R+=16){i=aa;K=Z;v=Y;h=X;aa=u(aa,Z,Y,X,E[R+0],U,3614090360);X=u(X,aa,Z,Y,E[R+1],S,3905402710);Y=u(Y,X,aa,Z,E[R+2],P,606105819);Z=u(Z,Y,X,aa,E[R+3],O,3250441966);aa=u(aa,Z,Y,X,E[R+4],U,4118548399);X=u(X,aa,Z,Y,E[R+5],S,1200080426);Y=u(Y,X,aa,Z,E[R+6],P,2821735955);Z=u(Z,Y,X,aa,E[R+7],O,4249261313);aa=u(aa,Z,Y,X,E[R+8],U,1770035416);X=u(X,aa,Z,Y,E[R+9],S,2336552879);Y=u(Y,X,aa,Z,E[R+10],P,4294925233);Z=u(Z,Y,X,aa,E[R+11],O,2304563134);aa=u(aa,Z,Y,X,E[R+12],U,1804603682);X=u(X,aa,Z,Y,E[R+13],S,4254626195);Y=u(Y,X,aa,Z,E[R+14],P,2792965006);Z=u(Z,Y,X,aa,E[R+15],O,1236535329);aa=g(aa,Z,Y,X,E[R+1],B,4129170786);X=g(X,aa,Z,Y,E[R+6],A,3225465664);Y=g(Y,X,aa,Z,E[R+11],z,643717713);Z=g(Z,Y,X,aa,E[R+0],y,3921069994);aa=g(aa,Z,Y,X,E[R+5],B,3593408605);X=g(X,aa,Z,Y,E[R+10],A,38016083);Y=g(Y,X,aa,Z,E[R+15],z,3634488961);Z=g(Z,Y,X,aa,E[R+4],y,3889429448);aa=g(aa,Z,Y,X,E[R+9],B,568446438);X=g(X,aa,Z,Y,E[R+14],A,3275163606);Y=g(Y,X,aa,Z,E[R+3],z,4107603335);Z=g(Z,Y,X,aa,E[R+8],y,1163531501);aa=g(aa,Z,Y,X,E[R+13],B,2850285829);X=g(X,aa,Z,Y,E[R+2],A,4243563512);Y=g(Y,X,aa,Z,E[R+7],z,1735328473);Z=g(Z,Y,X,aa,E[R+12],y,2368359562);aa=J(aa,Z,Y,X,E[R+5],o,4294588738);X=J(X,aa,Z,Y,E[R+8],m,2272392833);Y=J(Y,X,aa,Z,E[R+11],l,1839030562);Z=J(Z,Y,X,aa,E[R+14],j,4259657740);aa=J(aa,Z,Y,X,E[R+1],o,2763975236);X=J(X,aa,Z,Y,E[R+4],m,1272893353);Y=J(Y,X,aa,Z,E[R+7],l,4139469664);Z=J(Z,Y,X,aa,E[R+10],j,3200236656);aa=J(aa,Z,Y,X,E[R+13],o,681279174);X=J(X,aa,Z,Y,E[R+0],m,3936430074);Y=J(Y,X,aa,Z,E[R+3],l,3572445317);Z=J(Z,Y,X,aa,E[R+6],j,76029189);aa=J(aa,Z,Y,X,E[R+9],o,3654602809);X=J(X,aa,Z,Y,E[R+12],m,3873151461);Y=J(Y,X,aa,Z,E[R+15],l,530742520);Z=J(Z,Y,X,aa,E[R+2],j,3299628645);aa=t(aa,Z,Y,X,E[R+0],W,4096336452);X=t(X,aa,Z,Y,E[R+7],V,1126891415);Y=t(Y,X,aa,Z,E[R+14],T,2878612391);Z=t(Z,Y,X,aa,E[R+5],Q,4237533241);aa=t(aa,Z,Y,X,E[R+12],W,1700485571);X=t(X,aa,Z,Y,E[R+3],V,2399980690);Y=t(Y,X,aa,Z,E[R+10],T,4293915773);Z=t(Z,Y,X,aa,E[R+1],Q,2240044497);aa=t(aa,Z,Y,X,E[R+8],W,1873313359);X=t(X,aa,Z,Y,E[R+15],V,4264355552);Y=t(Y,X,aa,Z,E[R+6],T,2734768916);Z=t(Z,Y,X,aa,E[R+13],Q,1309151649);aa=t(aa,Z,Y,X,E[R+4],W,4149444226);X=t(X,aa,Z,Y,E[R+11],V,3174756917);Y=t(Y,X,aa,Z,E[R+2],T,718787259);Z=t(Z,Y,X,aa,E[R+9],Q,3951481745);aa=M(aa,i);Z=M(Z,K);Y=M(Y,v);X=M(X,h)}var w=function(x){var c=x;for(var d=0,k=8-x.length;d<k;d++){c="0"+c}return c};var C=((parseInt("0x"+D(aa),16)+parseInt("0x"+D(Z),16))%4294967296).toString(16);var f=((parseInt("0x"+D(Y),16)+parseInt("0x"+D(X),16))%4294967296).toString(16);if(C.length<8){C=w(C)}if(f.length<8){f=w(f)}return C+f},getScrollWidth:function(d){try{d=d||window;if(d.document.compatMode==="BackCompat"){return d.document.body.scrollWidth}else{return d.document.documentElement.scrollWidth}}catch(c){return 0}},getScrollHeight:function(d){try{d=d||window;if(d.document.compatMode==="BackCompat"){return d.document.body.scrollHeight}else{return d.document.documentElement.scrollHeight}}catch(c){return 0}},getClientWidth:function(d){try{d=d||window;if(d.document.compatMode==="BackCompat"){return d.document.body.clientWidth}else{return d.document.documentElement.clientWidth}}catch(c){return 0}},getClientHeight:function(d){try{d=d||window;if(d.document.compatMode==="BackCompat"){return d.document.body.clientHeight}else{return d.document.documentElement.clientHeight}}catch(c){return 0}},getScrollTop:function(c){c=c||window;var e=c.document;return window.pageYOffset||e.documentElement.scrollTop||e.body.scrollTop},getScrollLeft:function(c){c=c||window;var e=c.document;return window.pageXOffset||e.documentElement.scrollLeft||e.body.scrollLeft},escapeToEncode:function(d){var c=d||"";if(c){c=c.replace(/%u[\d|\w]{4}/g,function(e){return encodeURIComponent(unescape(e))})}return c},template:function(e,d){var c=/{(.*?)}/g;return e.replace(c,function(h,g,f,i){return d[g]||""})},extend:function(e,c){for(var d in c){if(c.hasOwnProperty(d)){e[d]=c[d]}}return e},log:function(f,d){d=typeof d==="undefined"?true:false;if(!this.logMsg){this.logMsg=document.getElementById("baiduCproLogMsg");if(!this.logMsg){return}}var c=new Array();if(typeof(f)==="object"){for(var e in f){if(e!=="analysisUrl"){c.push(e+":"+f[e])}}}else{c.push(""+f)}this.logMsg.innerHTML=d?this.logMsg.innerHTML:"";this.logMsg.innerHTML+=c.join("<br/>")+"<br/>"},getCookieRaw:function(d,h){var c;var h=h||window;var g=h.document;var e=new RegExp("(^| )"+d+"=([^;]*)(;|\x24)");var f=e.exec(g.cookie);if(f){c=f[2]}return c},setCookieRaw:function(e,f,d){d=d||{};var c=d.expires;if("number"==typeof d.expires){c=new Date();c.setTime(c.getTime()+d.expires)}document.cookie=e+"="+f+(d.path?"; path="+d.path:"")+(c?"; expires="+c.toGMTString():"")+(d.domain?"; domain="+d.domain:"")+(d.secure?"; secure":"")},removeCookie:function(d){var c=new Date();c.setTime(c.getTime()-86400);this.setCookieRaw(d,"",{path:"/",expires:c})},jsonToObj:function(c){return(new Function("return "+c))()},getUrlQueryValue:function(d,e){if(d&&e){var f=new RegExp("(^|&|\\?|#)"+e+"=([^&]*)(&|\x24)","");var c=d.match(f);if(c){return c[2]}}return null},parseUrlQuery:function(d,p){d=d||"";p=p||"?";var l=arguments.callee;if(!l.hasOwnProperty[p]){l[p]={}}var c=l[p];if(c.hasOwnProperty(d)){return c[d]}var k={},n=d.indexOf(p),h=d.substring(n+1),e=h.split("&");if(n!==-1){for(var g=0,j=e.length;g<j;g++){var f=e[g].split("="),o=decodeURIComponent(f[0]),m=decodeURIComponent(f[1]);k[o]=m}}c[d]=k;return k},ready:function(h,d,g){g=g||this.win||window;var f=g.document;d=d||0;this.domReadyMonitorRunTimes=0;this.readyFuncArray=this.readyFuncArray||[];this.readyFuncArray.push({func:h,delay:d,done:false});var c=this.proxy(function(){var n=false;this.domReadyMonitorRunTimes++;var p=false;try{if(g.frameElement){p=true}}catch(o){p=true}if(this.browser.ie&&this.browser.ie<9&&!p){try{f.documentElement.doScroll("left");n=true}catch(o){}}else{if(f.readyState==="complete"||this.domContentLoaded){n=true}else{if(this.domReadyMonitorRunTimes>300000){if(this.domReadyMonitorId){g.clearInterval(this.domReadyMonitorId);this.domReadyMonitorId=null}return}}}if(n){try{if(this.readyFuncArray&&this.readyFuncArray.length){for(var k=0,m=this.readyFuncArray.length;k<m;k++){var l=this.readyFuncArray[k];if(!l||!l.func||l.done){continue}if(!l.delay){l.done=true;l.func()}else{l.done=true;g.setTimeout(l.func,l.delay)}}}}catch(j){throw j}finally{if(this.domReadyMonitorId){g.clearInterval(this.domReadyMonitorId);this.domReadyMonitorId=null}}}},this);var e=this.proxy(function(){this.domContentLoaded=true;c()},this);if(!this.domReadyMonitorId){this.domReadyMonitorId=g.setInterval(c,50);if(f.addEventListener){f.addEventListener("DOMContentLoaded",e,false);g.addEventListener("load",e,false)}else{if(f.attachEvent){g.attachEvent("onload",e,false)}}}},canFixed:function(){var c=true;if(this.browser.ie&&(this.browser.ie<7||document.compatMode==="BackCompat")){c=false}return c},getPara:function(k){var j={};if(k&&typeof k=="string"&&k.indexOf("?")>-1){var f=k.split("?")[1].split("&");for(var g=0,c=f.length;g<c;g++){var d=f[g].split("=");var e=d[0];var h=d[1];j[e]=h}}return j},noop:function(){}};b.registerNamespace(a)})(window[___baseNamespaceName]);(function(b){var c={fullName:"$baseName.BusinessLogic",version:"1.0.0",register:function(){this.G=b.using("$baseName",this.win);this.U=b.using("$baseName.Utility",this.win)},randomArray:[],clientTree:{},displayCounter:1,displayTypeCounter:{},adsArray:[],adsWrapStore:{},winFocused:true,cproServiceUrl:"http://cpro.baidu.com/cpro/ui/uijs.php",iframeIdPrefix:"cproIframe",isAsyn:false,currentWindowOnUnloadHandler:null,getSlotDataFromUnion:function(f,N,h,d){var l="http://pos.baidu.com/ecom?";if(!f||!N||!window[N]){return null}var j=f instanceof Array?true:false;var n=j?f.length:1;var e=this.G.create(this.G.BusinessLogic.Param,{currentWindow:window,timeStamp:(new Date()).getTime()});var k="";if(j){k=[];var u=f.length;while(u--){k.push(e.get("did"))}k=k.join(",")}else{k=e.get("did")}var I=this.U.isInCrossDomainIframe(window);var M=this.U.isWindow(top)?top:window;var F=I?window:M;var G="";try{var p=document.getElementsByTagName("script");var v=p[p.length-1];if(h){for(var K=0;K<n;K++){var w=j?f[K]:f.toString();var o="cpro_"+w;var r=this.U.g(o,window);if(r){var D=this.U.getPosition(v,window);if(K>0){G+=","}G+=D.top+"x"+D.left}}}else{var m="cproTemp"+parseInt(Math.random()*10000).toString();document.write('<div style="width:0px; height:0px;" id="'+m+'">-</div>');var s=this.U.g(m,window);var D=null;if(s){D=this.U.getPosition(s,window);s.parentNode.removeChild(s);s=null}if(!D){D.top="-1";D.left="-1"}G=D.top+"x"+D.left;if(j){for(var K=1;K<n;K++){G+=","+D.top+"x"+D.left}}}if(!G){G="-1x-1"}}catch(E){G="-1x-1"}var H="";try{if(!j){var x=this.Param.getSlot2UIMapping(e);H=this.getStyleApi(f.toString(),e,null,x,true);H=H.slice(1)}}catch(E){H=""}if(d){if(H&&H.length){H+="&rs="+d}else{H="rs="+d}}function A(){var i=window.location.href.toString().slice(0,400);if(i==="about:blank"||i.indexOf("http")<0){try{i=window.top.location.toString().slice(0,400);i=""}catch(O){}}return i}var J=[["di",j?f.join(","):f.toString()],["dcb",N],["dtm","BAIDU_CPRO_SETJSONADSLOT"],["dai",k],["jn",e.get("jn")],["ltu",encodeURIComponent(e.get("word").slice(0,400))],["liu",encodeURIComponent(A())],["ltr",encodeURIComponent(e.get("refer").slice(0,400))],["ps",G],["psr",e.get("csp").toString().replace(",","x")],["par",e.get("csn").toString().replace(",","x")],["pcs",this.U.getClientWidth(F)+"x"+this.U.getClientHeight(F)],["pss",this.U.getScrollWidth(F)+"x"+this.U.getScrollHeight(F)],["pis",this.U.getClientWidth(window)+"x"+this.U.getClientHeight(window)],["cfv",e.get("fv")],["ccd",e.get("ccd")],["col",e.get("csl")],["coa",encodeURIComponent(H)],["cec",((document.characterSet?document.characterSet:document.charset)||"")],["tpr",e.get("prt")],["kl",e.get("k")],["dis",e.get("if")]];try{var y=L(this);var C=f;var g;var t;if(y&&C==y.sid){l=l+"mid="+y.mid+"&sid="+y.vc+"&"}}catch(E){}var z=J.length;while(z--){var q=J.shift();l+=q[0]+"="+q[1]+"&"}l=l.replace(/&$/,"");if(/u\d+/.test(f)){if(h){var B=document.createElement("script");B.setAttribute("type","text/javascript");B.setAttribute("src",l);document.getElementsByTagName("head")[0].appendChild(B)}else{document.write('<script type="text/javascript" charset="utf-8" src="'+l+'"><\/script>')}}else{window[N](null,{_html:f})}function L(T){if(T.U.isInCrossDomainIframe()){var S=window.location.search.slice(1)}else{var S=top.location.search.slice(1)}var i=T.U.getUrlQueryValue(S,"baidu_clb_preview_sid");var P=T.U.getUrlQueryValue(S,"baidu_clb_preview_mid");var Q=T.U.getUrlQueryValue(S,"baidu_clb_preview_vc");var R=+T.U.getUrlQueryValue(S,"baidu_clb_preview_ts");var O=+new Date;if(O-R<=30*1000){return{sid:i,mid:P,vc:Q}}else{return null}}},getSlotDataFromCB:function(f,e){var d=null;f=f||window.tempClbCproAdSlotId;e=e||window.tempClbCproAdObj;if(f&&e){d={};d[f]={_html:e._html}}return d},clearSlotDataFromCB:function(){window.tempClbCproAdSlotId=null;window.tempClbCproAdObj=null},parseSlotDataFromUnion:function(e){var m={};var f="";for(var d in e){if(d&&e.hasOwnProperty(d)){f=d;break}}m.slotId=f;if(e[f]&&e[f]._html){var g=e[f]._html.split("|");var k,l;for(var h=0,j=g.length;h<j;h++){k=g[h];if(k){l=k.split("=");m[l[0]]=l[1]}}}else{if(e[f]){if(e[f].sw){m.cpro_w=e[f].sw}if(e[f].sh){m.cpro_h=e[f].sh}m.cpro_at="all"}}return m},getSlotDataFromUserOpenApi:function(){var d=null;if(window.cproApi&&typeof window.cproApi==="object"&&(this.U.getLength(window.cproApi)>0)){var f=window.cproApi;d={};window.cproApi=null;for(var e in f){if(e&&f[e]){d["cpro_"+e]=f[e]}}}return d},getStyleApi:function(g,z,m,p,C){var j={};var v,d;for(d in m){if(d&&m[d]&&m.hasOwnProperty(d)){if(!p[d]&&typeof j[d]==="undefined"){j[d.replace("cpro_","")]=encodeURIComponent(m[d]);if(d==="cpro_titFF"){j[d.replace("cpro_","")]=encodeURIComponent(j[d.replace("cpro_","")])}}}}if(window.cproStyleApi&&g&&window.cproStyleApi[g]){for(var D in window.cproStyleApi[g]){if(D&&typeof window.cproStyleApi[g][D]!=="undefined"){var A=window.cproStyleApi[g][D];if(z[D]){if(C){j[D]=encodeURIComponent(A).toString()}else{z.set(D,A)}}else{j[D]=encodeURIComponent(A).toString()}A=null}}}if(z.get("tn")==="baiduTlinkInlay"&&z.displayType==="inlay"){var B=3;var q=3;var n=parseInt(j.titFS)||12;var l=parseInt(j.conBW)||0;var u=parseInt(z.get("rsi0"))-2*l;var t=parseInt(z.get("rsi1"))-2*l;var y=7;var w=y*n;var i=n+6;var x=7;var h=w+2*x;var s=i;var f=Math.floor(u/h);var k=Math.floor(t/s);var o=parseInt(z.get("adn"))||6;if(o>f*k){B=f;q=k}else{if(o<f){B=o;q=1}else{B=f;q=Math.ceil(o/f)}}j.hn=q||3;j.wn=B||3}var r="";for(var e in j){if(e&&typeof j[e]!=="undefined"&&j.hasOwnProperty(e)){r+="&"+e+"="+j[e]}}return r.slice(0,1000)},isPreview:function a(q,l,k,d,f){var r=false;var j;if(f){j=f.substring(f.indexOf("?"))}else{if(this.U.isInCrossDomainIframe()){j=window.location.search.slice(1)}else{j=top.location.search.slice(1)}}var g=document.referrer;var i=k==="inlay"||k==="ui"?"bd_cpro_prev":"bd_cpro_fprev";var n="";var m;var p;try{p=document.cookie}catch(o){}if(j.indexOf(i)!==-1){n=this.U.getUrlQueryValue(j,i)}if(!n&&p&&p.indexOf(i)!==-1){n=this.U.getCookieRaw(i)}if(!n&&g.indexOf(i)!==-1){n=this.U.getUrlQueryValue(g,i)}if(n){n=decodeURIComponent(n).replace(/\\x1e/g,"&").replace(/\\x1d/g,"=").replace(/\\x1c/,"?").replace(/\\x5c/,"\\");m=this.U.jsonToObj(n);if(d==undefined){d=1}if(m.type!=1&&(d&2)==2){r=(parseInt(m.imgWidth)===parseInt(q)&&parseInt(m.imgHeight)===parseInt(l))}else{if(m.type==1&&((d&1)==1||(d&64)==64||(d&32)==32)){r=true}}}return r},getAdsDomId:function(d){d=d||1;return this.iframeIdPrefix+d},checkAdsCounter:function(f,h,e){var d=false;var g;if(e&&(e.indexOf("tlink")>-1||e.indexOf("baiduTlinkInlay")>-1||e.indexOf("baiduCustSTagLinkUnit")>-1)){f="linkunit"}if(e&&e.indexOf("float_xuanfuwin")>-1){f="xuanfuwin"}switch(f.toLowerCase()){case"inlay":g=4;break;case"linkunit":g=6;break;case"float":g=2;break;case"xuanfuwin":g=1;break;case"ui":g=3;if(e=="baiduDEFINE"){g=4}if(e=="baiduTpclickedDEFINE"||e=="baiduTpclickedDEFINE_mob"){g=30}break;default:g=3;break}h.__bdcpro__displayTypeCounter=h.__bdcpro__displayTypeCounter||{};h.__bdcpro__displayTypeCounter[f]=h.__bdcpro__displayTypeCounter[f]||0;if(h.__bdcpro__displayTypeCounter[f]>=g){d=true}return d},addAdsCounter:function(e,f,d){if(d&&(d.indexOf("tlink")>-1||d.indexOf("baiduTlinkInlay")>-1||d.indexOf("baiduCustSTagLinkUnit")>-1)){e="linkunit"}if(d&&d.indexOf("float_xuanfuwin")>-1){e="xuanfuwin"}f.__bdcpro__displayTypeCounter=f.__bdcpro__displayTypeCounter||{};f.__bdcpro__displayTypeCounter[e]=f.__bdcpro__displayTypeCounter[e]||0;f.__bdcpro__displayTypeCounter[e]++;return true},getAdsWrapArray:function(e){var d=[];if(e&&typeof e=="string"){var j=e.split(",");var g=0;for(var f=0,h=j.length;f<h;f++){if(/u\d+/.test(j[f])&&!this.adsWrapStore[j[f]]){d[g]=j[f];g++;this.adsWrapStore[j[f]]=true}}}return d},getLinkUnitMaxCount:function(i){var h=parseInt(i.get("titFS"));var l=parseInt(i.get("conBW"));var d=parseInt(i.get("rsi0"))-2*l;var m=parseInt(i.get("rsi1"))-2*l;var f=7;var e=f*h;var g=h+6;var k=7;var n=e+2*k;var j=g;return{VerticalCount:Math.floor(d/n),HorizontalCount:Math.floor(m/j)}},initParam:function(d){if(!this.U.isInIframe()){return}var d=d||window;this.currentWindowOnUnloadHandler=this.U.proxy(this.currentWindowOnUnload,this,[d]);this.U.bind(d,"beforeunload",this.currentWindowOnUnloadHandler)},currentWindowOnUnload:function(d){this.clientTree={};this.displayCounter=1;var d=d||window;this.U.unBind(d,"beforeunload",this.currentWindowOnUnloadHandler)},checkFloatLu:function(h){var d={"test.com":true,"people.com.cn":true,"chinanews.com":true,"cri.cn":true,"chinadaily.com":true,"cnki.com.cn":true,"cnki.net":true,"ku6.com":true,"tgbus.com":true,"5068.com":true,"yzz.cn":true,"aipai.com":true,"stockstar.com":true};h=h||window;var g="";var e=h.document.domain.split(".");var f=e.length;if(f&&f>2){if(e[f-1]==="cn"&&e[f-2]==="com"){g=e[f-3]+"."+e[f-2]+"."+e[f-1]}else{g=e[f-2]+"."+e[f-1]}}else{if(f){g=h.document.domain}}if(g&&d[g]){return false}return true},noop:function(){}};b.registerNamespace(c)})(window[___baseNamespaceName]);(function(b){var a={fullName:"$baseName.BusinessLogic.Param",version:"1.0.0",register:function(){this.G=b.using("$baseName",this.win);this.U=b.using("$baseName.Utility",this.win);this.BL=b.using("$baseName.BusinessLogic",this.win)},initialize:function(c){this.currentWindow=c.currentWindow;this.doc=this.win.document;this.nav=this.win.navigator;this.scr=this.win.screen;this.displayType=c.displayType||"inlay";this.startTime=(new Date());this.BL.pnTypeArray=this.BL.pnTypeArray||[];this.BL.pnTypeArray[this.displayType]=this.BL.pnTypeArray[this.displayType]||[];this.timeStamp=c.timeStamp||(new Date()).getTime()},getSlot2UIMapping:function(e){var d={};var c;for(c in e){if(c&&e[c]&&e[c].slotParamName){d[e[c].slotParamName]=c}}return d},getCust2UIMapping:function(e){var d={};var c;for(c in e){if(c&&e[c]&&e[c].custParamName){d[e[c].custParamName]=c}}return d},mergeSlot2UI:function(f,e,d){if(!f||!e||!d){return null}var c,g;for(g in e){if(g&&e[g]&&e.hasOwnProperty(g)){c=d[g];if(c){f.set(c,e[g])}}}return f},serialize:function(f){var e=[];var d,c;for(d in f){if(d&&f[d]&&(typeof f[d]==="object")&&f[d].isUIParam&&f[d].isUIParam[f.displayType]){if(d==="pn"&&!f.get(d)){continue}c=f.get(d);if(c==null){continue}if(f.displayType=="ui"&&c=="baiduCADS"){continue}if(f[d].encode||f.displayType=="ui"){c=encodeURIComponent(c)}if(f[d].limit){c=c.substr(0,f[d].limit)}e.push(d+"="+c)}}return e.join("&")},snap:function(f){var e={};var d,c;for(d in f){if(d&&f[d]&&(typeof f[d]==="object")&&f[d].defaultValue){c=f.get(d);if(c==null){continue}if(f[d].encode||f.displayType=="ui"){c=encodeURIComponent(c)}e[d]=c}}return e},get:function(e){var c;if(!this[e]){return c}if(this[e].get&&this[e].get!=="default"){var d=Array.prototype.slice.call(arguments,0);d.shift();if(!this[e]._init){this[e]._value=this[e].defaultValue[this.displayType]}c=this.U.proxy(this[e].get,this,d)()}else{if(!this[e]._init){c=this[e].defaultValue[this.displayType]}else{c=this[e]._value}}return c},set:function(e,f){var c=false;if(this[e].set&&this[e].set!=="default"){var d=Array.prototype.slice.call(arguments,0);d.shift();c=this.U.proxy(this[e].set,this,d)()}else{this[e]._value=f;this[e]._init=true;c=true}return c},k:{slotParamName:"k",custParamName:"k",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:""},encode:false,isUIParam:{inlay:false,"float":false,ui:true,post:false,custInlay:false,captcha:false},get:"default",set:"default"},cf:{slotParamName:"cf",custParamName:"cf",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:""},encode:false,isUIParam:{inlay:false,"float":false,ui:true,post:false,custInlay:false,captcha:false},get:"default",set:"default"},tp2jk:{slotParamName:"tp2jk",custParamName:"tp2jk",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:""},encode:false,isUIParam:{inlay:false,"float":false,ui:true,post:false,custInlay:false,captcha:false},get:"default",set:"default"},rs:{slotParamName:"cpro_rs",custParamName:"rs",modifier:"dynamic",defaultValue:{inlay:0,"float":0,ui:0,post:0,custInlay:0,captcha:0},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:false,custInlay:false,captcha:false},get:"default",set:"default"},tu:{slotParamName:"slotId",custParamName:"tu",modifier:"dynamic",defaultValue:{inlay:"","float":"",captcha:""},encode:false,isUIParam:{inlay:true,"float":true,custInlay:true,captcha:true,ui:true},get:"default",set:"default"},tn:{slotParamName:"cpro_template",custParamName:"tn",modifier:"dynamic",defaultValue:{inlay:"text_default_125_125","float":"float_xuanfusld_120_270",ui:null,post:null,custInlay:"baiduCust",captcha:"vcode_captchaF_254_218",pad:"pad_tiepian_400_300"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},n:{slotParamName:"cpro_client",custParamName:"n",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},adn:{slotParamName:"cpro_161",modifier:"dynamic",defaultValue:{inlay:"1","float":"1",captcha:"1"},encode:false,isUIParam:{inlay:true,"float":false,custInlay:true,captcha:false},get:"default",set:"default"},rsi1:{slotParamName:"cpro_h",custParamName:"h",modifier:"dynamic",defaultValue:{inlay:"125","float":"270",ui:null,custInlay:null,captcha:"218",pad:null},encode:false,isUIParam:{inlay:true,"float":true,ui:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},rsi3:{slotParamName:"cpro_adw",custParamName:"adw",modifier:"dynamic",defaultValue:{pad:"430"},encode:false,isUIParam:{inlay:false,"float":false,ui:false,custInlay:false,captcha:false,pad:true},get:"default",set:"default"},rsi4:{slotParamName:"cpro_adh",custParamName:"adh",modifier:"dynamic",defaultValue:{pad:"350"},encode:false,isUIParam:{inlay:false,"float":false,ui:false,custInlay:false,captcha:false,pad:true},get:"default",set:"default"},rsi0:{slotParamName:"cpro_w",custParamName:"w",modifier:"dynamic",defaultValue:{inlay:"125","float":"120",ui:null,custInlay:null,captcha:"254",pad:null},encode:false,isUIParam:{inlay:true,"float":true,ui:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},rsi2:{custParamName:"bu",modifier:"dynamic",defaultValue:{ui:null},encode:true,isUIParam:{ui:true},get:"default",set:"default"},rad:{slotParamName:"cpro_rad",custParamName:"rad",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,post:null,custInlay:"",captcha:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true},get:"default",set:"default"},rss0:{slotParamName:"cpro_cbd",custParamName:"bd",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,custInlay:true,captcha:true},get:"default",set:"default"},rss1:{slotParamName:"cpro_cbg",custParamName:"bg",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,post:null,custInlay:"",captcha:"",pad:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},conOP:{slotParamName:"cpro_conOP",modifier:"dynamic",defaultValue:{inlay:0},encode:true,isUIParam:{inlay:true,"float":false,ui:false,post:false,custInlay:true,captcha:false},get:"default",set:"default"},rss2:{slotParamName:"cpro_ctitle",custParamName:"tt",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,post:null,custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,post:true,custInlay:true,captcha:true},get:"default",set:"default"},rss3:{slotParamName:"cpro_cdesc",custParamName:"ct",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,post:null,custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,post:true,custInlay:true,captcha:true},get:"default",set:"default"},rss4:{slotParamName:"cpro_curl",custParamName:"url",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,post:null,custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,post:true,custInlay:"",captcha:true},get:"default",set:"default"},rss5:{slotParamName:"cpro_clink",custParamName:"bdl",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:null,captcha:""},encode:true,isUIParam:{inlay:true,"float":false,ui:true,captcha:true},get:"default",set:"default"},rssl0:{custParamName:"ta",modifier:"dynamic",defaultValue:{ui:null,post:null},encode:true,isUIParam:{ui:true,post:true},get:"default",set:"default"},rssl1:{custParamName:"tl",modifier:"dynamic",defaultValue:{ui:null,post:null},encode:true,isUIParam:{ui:true,post:true},get:"default",set:"default"},rss6:{slotParamName:"cpro_cflush",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":false,custInlay:true,captcha:true},get:"default",set:"default"},rsi5:{slotParamName:"cpro_flush",custParamName:"nfr",modifier:"dynamic",defaultValue:{inlay:"4","float":"",ui:null,custInlay:"4",captcha:"4"},encode:false,isUIParam:{inlay:true,"float":false,ui:true,custInlay:true,captcha:true},get:"default",set:"default"},rsi6:{slotParamName:"cpro_ctoph",modifier:"dynamic",defaultValue:{inlay:-1,"float":-1},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},rsi7:{slotParamName:"cpro_ptoph",modifier:"dynamic",defaultValue:{inlay:"0","float":"0"},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},ts:{slotParamName:"cpro_ts",modifier:"dynamic",defaultValue:{inlay:"1","float":"",captcha:"1"},encode:false,isUIParam:{inlay:true,"float":false,captcha:true},get:"default",set:"default"},at:{slotParamName:"cpro_at",custParamName:"at",modifier:"dynamic",defaultValue:{inlay:"all","float":"image_flash",ui:"",post:"",custInlay:"text_tuwen",captcha:"image_flash",pad:"image_flash"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var k=0;var c=this["at"]._value;var e=new RegExp("(text){1}","g");var h=new RegExp("(image){1}|(flash){1}","g");var j=new RegExp("(image){1}_(flash){1}","g");var f=new RegExp("(image){1}","g");var g=new RegExp("(video){1}","g");var i=new RegExp("(tuwen){1}","g");var d=new RegExp("(all){1}","g");if(this.displayType=="ui"&&this["tn"]._value!="baiduCPROiknow"){if(e.test(c)){k|=1;k|=64}if(f.test(c)){k|=2}if(j.test(c)){k|=2;k|=4}if(i.test(c)){k|=32}return k}if(e.test(c)){k|=1;k|=64}if(g.test(c)){k|=8}if(i.test(c)){k|=32}if(this["tn"]._value=="template_inlay_all_mobile"){if(f.test(c)){k|=2}if(d.test(c)){k|=99}}else{if(h.test(c)){k|=2;k|=4}if(d.test(c)){k|=103}}if(this["n"]._value=="54009059_cpr"){k=2}return k},set:"default"},ch:{slotParamName:"cpro_channel",custParamName:"channel",modifier:"dynamic",defaultValue:{inlay:"0","float":"0",ui:"0",custInlay:"0",captcha:"0",pad:"0"},encode:true,isUIParam:{inlay:true,"float":true,ui:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},cad:{slotParamName:"cpro_cad",custParamName:"cad",modifier:"dynamic",defaultValue:{inlay:"1","float":"1",ui:"0",post:"0",custInlay:"1",captcha:"1",pad:"1"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},aurl:{slotParamName:"cpro_aurl",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:"",captcha:"",pad:""},encode:true,isUIParam:{inlay:true,"float":true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},rss7:{slotParamName:"cpro_acolor",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:"",captcha:"",pad:""},encode:true,isUIParam:{inlay:true,"float":true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},cpa:{slotParamName:"cpro_uap",custParamName:"uap",modifier:"dynamic",defaultValue:{inlay:"1","float":"0",ui:"0",custInlay:"1",captcha:"1",pad:"0"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},fv:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"0","float":"0",ui:"",post:"",custInlay:"0",captcha:"0",pad:"0"},encode:true,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var c="ShockwaveFlash.ShockwaveFlash",g=this.nav,d,h;if(this.nav.plugins&&g.mimeTypes.length){d=g.plugins["Shockwave Flash"];if(d&&d.description){return d.description.replace(/[^\d\.]/g,"").split(".")[0]}}else{if(this.U.browser.ie){h=ActiveXObject;try{d=new h(c+".7")}catch(f){try{d=new h(c+".6");d.AllowScriptAccess="always";return 6}catch(f){}try{d=new h(c)}catch(f){}}if(d!=null){try{return d.GetVariable("$version").split(" ")[1].split(",")[0]}catch(f){}}}}return 0},set:"default"},cn:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){if(!this["n"]||!this["n"].get){return 1}var c=0;var d=this.get("n");var e=this.get("ch")||"0";if(d){this.BL.clientTree=this.BL.clientTree||{};if(!this.BL.clientTree[d]){c+=1;if(e&&e!=="0"){c+=2}return c}if(e&&e!=="0"&&this.BL.clientTree[d]&&(!this.BL.clientTree[d][e])){c+=2}}return c},set:function(){var c=this.get("n");var d=this.get("ch")||"0";if(c){this.BL.clientTree=this.BL.clientTree||{};if(!this.BL.clientTree[c]){this.BL.clientTree[c]={}}if(d&&d!=="0"&&(!this.BL.clientTree[c][d])){this.BL.clientTree[c][d]=true}}return true}},"if":{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"0","float":"0",ui:"0",post:"0",custInlay:"0",captcha:"0",pad:"0"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var d=0;var g=this.currentWindow;if(this.U.isInIframe(g)){d+=1}if(this.U.isInCrossDomainIframe(g,g.top)){d+=2}if(!this["rsi0"]||!this["rsi0"].get||!this["rsi1"]||!this["rsi1"].get){return d}var c=this.get("rsi0");var f=this.get("rsi1");var e=this.U.getClientWidth(this.currentWindow);var h=this.U.getClientHeight(this.currentWindow);if(e<40||h<10){d+=4}else{if(e<c||h<f){d+=8}}if((e>=2*c)||(h>=2*f)){d+=16}return d},set:"default"},word:{slotParamName:"",custParamName:"",modifier:"dynamic",limit:700,defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:true,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var j=this.currentWindow;var p,l=10,c=0;var g,m;if(window.dpClient&&window.dpClientDomain){return"http://"+window.dpClientDomain+"/domain_parking.htm?site="+encodeURIComponent(window.location.href).substring(0,700)}try{g=this.get("rsi0")||0;m=this.get("rsi1")||0}catch(k){g=200,m=60}p=j.document.location.href;if(this.U.isInIframe(j)){var d,f,e;for(c=0;c<l;c++){if(!this.U.isInCrossDomainIframe(j,j.parent)){d=this.U.getClientWidth(j);f=this.U.getClientHeight(j);e=j.document.location.href;j=j.parent;if(g>0&&m>0&&d>2*g&&f>2*m){p=e;break}if(!this.U.isInIframe(j,j.parent)){p=j.location.href;break}}else{p=j.document.referrer||j.document.location.href;break}}if(c>=10){p=j.document.referrer||j.document.location.href}}if(((p.search(/cpro.baidu.com/i)!=-1)||(p.search(/\?hide=1/i)!=-1))&&p.search(/t=tpclicked/i)!=-1){var o=p.indexOf("?");var p=p.substring(o+1);var n=p.split("&");for(var h=0;h<n.length;h++){if(n[h].search(/^u=/i)!=-1){p=n[h].replace(/^u=/i,"");break}}}return p},set:"default"},refer:{slotParamName:"",custParamName:"",modifier:"dynamic",limit:700,defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:true,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var c;try{c=this.win.opener?this.win.opener.document.location.href:this.doc.referrer}catch(d){c=this.doc.referrer}return this.U.escapeToEncode(c)},set:"default"},ready:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:""},encode:true,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true},get:function(){var d={uninitialized:0,loading:1,loaded:2,interactive:3,complete:4};try{return d[this.doc.readyState]}catch(c){return 5}},set:"default"},jk:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){if(!this["jk"]._value){this["jk"]._value=this.U.md5(this.BL.randomArray.join("")+Math.random()*1000000+this.doc.location.href+this.doc.cookie);this["jk"]._init=true}return this["jk"]._value},set:function(){this["jk"]._value=""}},jn:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"3","float":"3",ui:"3",post:"3",custInlay:"3",captcha:"3",pad:"3"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return 3},set:"default"},js:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"c","float":"f",ui:"ui",post:"post",custInlay:"custInlay",captcha:"y"},encode:false,isUIParam:{inlay:false,"float":false,ui:true,post:true,custInlay:true,captcha:true},get:"default",set:"default"},lmt:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return Date.parse(this.doc.lastModified)/1000},set:"default"},csp:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.scr.width+","+this.scr.height},set:"default"},csn:{slotParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:"",captcha:""},encode:false,isUIParam:{inlay:true,"float":true,custInlay:true,captcha:true},get:function(){return this.scr.availWidth+","+this.scr.availHeight},set:"default"},ccd:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.scr.colorDepth||0},set:"default"},chi:{slotParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,custInlay:true,captcha:true,pad:true},get:function(){return this.win.history.length||0},set:"default"},cja:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.nav.javaEnabled().toString()},set:"default"},cpl:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.nav.plugins.length||0},set:"default"},cmi:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.nav.mimeTypes.length||0},set:"default"},cce:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return this.nav.cookieEnabled||0},set:"default"},csl:{uuserApiName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return encodeURIComponent(this.nav.language||this.nav.browserLanguage||this.nav.systemLanguage).replace(/[^a-zA-Z0-9\-]/g,"")},set:"default"},did:{uuserApiName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"1","float":"1",ui:"1",post:"1",custInlay:"1",captcha:"1",pad:"1"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){this.win.__bdcpro__displayTypeCounter=this.win.__bdcpro__displayTypeCounter||{};if(this.get("tn")&&this.get("tn").toLowerCase().indexOf("tlink")>-1){return this.win.__bdcpro__displayTypeCounter.lu_total||1}else{return this.win.__bdcpro__displayTypeCounter.total||1}},set:function(){if(this.get("tn")&&this.get("tn").toLowerCase().indexOf("tlink")>-1){this.win.__bdcpro__displayTypeCounter.lu_total=this.win.__bdcpro__displayTypeCounter.lu_total||1;this.win.__bdcpro__displayTypeCounter.lu_total++}else{this.win.__bdcpro__displayTypeCounter.total=this.win.__bdcpro__displayTypeCounter.total||1;this.win.__bdcpro__displayTypeCounter.total++}return true}},rt:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){var c=0;if(this.startTime){c=(new Date()).getTime()-this.startTime.getTime()}return c},set:"default"},dt:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:function(){return Math.round((new Date).getTime()/1000)},set:"default"},pn:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",custInlay:"",captcha:""},encode:false,isUIParam:{inlay:true,"float":true,ui:true,custInlay:true,captcha:true},get:function(){var c="";var f,j,h,k=[],d=[],g=[];var e=this.BL.pnTypeArray[this.displayType]=this.BL.pnTypeArray[this.displayType]||[];if(e&&e.length>0){for(f=0,j=e.length;f<j;f++){h=e[f];if(!h||!h.name||!h.num||!h.at){continue}k.push(h.name);d.push(h.num);g.push(h.at)}c=d.join(":")+"|"+k.join(":")+"|"+g.join(":")}return c},set:function(d,f,e){var c=true;if(!d||!f||!e){d=this.get("tn");if(this.displayType=="ui"){f=this.get("hn")*this.get("wn")||0}else{f=this.get("adn")||0}e=this.get("at")||103}if(!d||!f||!e){c=false}else{if(this.displayType!="ui"&&this.BL.pnTypeArray[this.displayType].length==2){c=false}else{if(this.displayType=="ui"&&this.BL.pnTypeArray[this.displayType].length==3){c=false}else{this.BL.pnTypeArray[this.displayType]=this.BL.pnTypeArray[this.displayType]||[];this.BL.pnTypeArray[this.displayType].push({name:d,num:f,at:e})}}}return c}},ev:{slotParamName:"",modifier:"dynamic",defaultValue:{inlay:"","float":"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":true,captcha:true,pad:true},get:function(){var c=this.get("adn");var d=this.get("tn");if(d&&d.indexOf("tlink_default")>-1){c=0}c=c<<24;return c},set:"default"},c01:{slotParamName:"",modifier:"dynamic",defaultValue:{inlay:"0","float":"0",captcha:""},encode:false,isUIParam:{inlay:true,"float":true,captcha:true},get:"default",set:"default"},prt:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"0","float":"0",ui:"0",post:"0",custInlay:"0",captcha:"0"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true},get:function(){var e=4*60*1000;var f=(new Date()).getTime();var d;var e=4*60*1000;var c;try{window.top.location.toString();c=window.top}catch(g){c=window}d=c.BAIDU_DUP2_pageFirstRequestTime;if(!d){d=c.BAIDU_DUP2_pageFirstRequestTime=f}else{if(f-d>=e){d=c.BAIDU_DUP2_pageFirstRequestTime=f}}return d||""},set:"default"},fa:{slotParamName:"cpro_float",modifier:"dynamic",defaultValue:{inlay:1,"float":1,captcha:"1"},encode:false,isUIParam:{inlay:false,"float":true,captcha:false},get:"default",set:"default"},ls:{slotParamName:"cpro_location",modifier:"dynamic",defaultValue:{inlay:3,"float":3},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},pt:{slotParamName:"cpro_position",modifier:"dynamic",defaultValue:{inlay:1,"float":1},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},flw:{slotParamName:"cpro_follow",modifier:"dynamic",defaultValue:{inlay:1,"float":1},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},ct:{slotParamName:"cpro_close",modifier:"dynamic",defaultValue:{inlay:1,"float":1},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},ccw:{slotParamName:"cpro_contw",modifier:"dynamic",defaultValue:{inlay:900,"float":900},encode:false,isUIParam:{inlay:false,"float":true},get:function(){if(typeof this["ccw"]._value==="undefined"||!this["ccw"]._value||this["ccw"]._value<720){return 10000}else{return this["ccw"]._value}},set:"default"},ww:{slotParamName:"cpro_clientw",modifier:"dynamic",defaultValue:{inlay:4095,"float":4095},encode:false,isUIParam:{inlay:false,"float":true},get:"default",set:"default"},cm:{custParamName:"cm",modifier:"dynamic",defaultValue:{ui:0,post:0},encode:true,isUIParam:{ui:true,post:true},get:"default",set:"default"},um:{custParamName:"um",modifier:"dynamic",defaultValue:{ui:0,post:0},encode:true,isUIParam:{ui:true,post:true},get:"default",set:"default"},wn:{custParamName:"wn",modifier:"dynamic",defaultValue:{ui:null,post:null,custInlay:1},encode:true,isUIParam:{ui:true,post:true,custInlay:true},get:"default",set:"default"},tm:{custParamName:"tm",modifier:"dynamic",defaultValue:{ui:0,post:0},encode:true,isUIParam:{ui:true,post:true},get:"default",set:"default"},func:{custParamName:"func",modifier:"dynamic",defaultValue:{ui:"renderBaiduCproAds"},encode:true,isUIParam:{ui:true},get:"default",set:"default"},hn:{custParamName:"hn",modifier:"dynamic",defaultValue:{ui:null,post:null,custInlay:4},encode:true,isUIParam:{ui:true,post:true,custInlay:true},get:"default",set:"default"},ie:{custParamName:"charset",modifier:"dynamic",defaultValue:{ui:null,custInlay:"utf8"},encode:true,isUIParam:{ui:true,custInlay:true},get:function(){if(typeof(this["ie"]._value)=="string"){switch(this["ie"]._value.toLowerCase()){case"gb2312":case"gbk":return"0";break;case"utf8":case"utf-8":return"1";break;default:return null;break}}},set:"default"},i3:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"p","float":"p",ui:"p",post:"p",custInlay:"p",captcha:"p"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true},get:function(){var c="p";switch(window.___is3b){case"loading":c="l";break;case"true":c="t";break;case"false":c="f";break;default:c="p";break}return c},set:"default"},anatp:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:0,"float":0,ui:0,post:0,custInlay:0,captcha:0},encode:false,isUIParam:{inlay:true,"float":true,ui:false,post:false,custInlay:false,captcha:false},get:"default",set:"default"},stid:{slotParamName:"cpro_stid",custParamName:"",modifier:"dynamic",defaultValue:{inlay:0,"float":0,ui:0,post:0,custInlay:0,captcha:0},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:false,custInlay:false,captcha:false},get:function(){try{if(this.displayType==="ui"){var f=this.currentWindow;if(!this.U.isInIframe(f)){var c=document.location.href;var e=this.U.getPara(c)["stid"];if(e){return e}}}if(this.BL.checkFloatLu&&this.BL.checkFloatLu(this.win)&&this.G.BusinessLogic.Distribute.dispatch("floatLu",{displayType:this.displayType,displayWidth:this.get("rsi0"),displayHeight:this.get("rsi1")})){if(this.G.BusinessLogic.Distribute.dispatch("floatLuShow",{displayType:this.displayType,displayWidth:this.get("rsi0"),displayHeight:this.get("rsi1")})){return 2}else{return 1}}else{return this["stid"]._value}}catch(d){return this["stid"]._value}},set:"default"},distp:{slotParamName:"",custParamName:"",modifier:"dynamic",defaultValue:{inlay:"1001","float":"2001",ui:"1001",post:"1001",custInlay:"1001",pad:"3001",captcha:"4001"},encode:false,isUIParam:{inlay:true,"float":true,ui:true,post:true,custInlay:true,captcha:true,pad:true},get:"default",set:"default"},lunum:{slotParamName:"cpro_lunum",custParamName:"",modifier:"dynamic",defaultValue:{inlay:0,"float":0,ui:0,post:0,custInlay:0,captcha:0},encode:false,isUIParam:{inlay:true,"float":true,ui:false,post:false,custInlay:false,captcha:false},get:function(){if((typeof this["lunum"]._value!=="undefined")&&(typeof this["lunum"]._init!=="undefined")){this["lunum"]._value=parseInt(this["lunum"]._value);if(this["lunum"]._value>0){return 6}else{return 0}}else{try{if(this.BL.checkFloatLu&&this.BL.checkFloatLu(this.win)&&this.G.BusinessLogic.Distribute.dispatch("floatLu",{displayType:this.displayType,displayWidth:this.get("rsi0"),displayHeight:this.get("rsi1")})){if(this.G.BusinessLogic.Distribute.dispatch("floatLuShow",{displayType:this.displayType,displayWidth:this.get("rsi0"),displayHeight:this.get("rsi1")})){return 6}}else{if(this.displayType==="inlay"){return 6}}}catch(c){}return 0}},set:"default"},scale:{slotParamName:"cpro_scale",custParamName:"scale",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":false,ui:false,post:false,custInlay:false,captcha:false,pad:false},get:"default",set:"default"},skin:{slotParamName:"cpro_skin",custParamName:"skin",modifier:"dynamic",defaultValue:{inlay:"","float":"",ui:"",post:"",custInlay:"",captcha:"",pad:""},encode:false,isUIParam:{inlay:true,"float":false,ui:false,post:false,custInlay:false,captcha:false,pad:false},get:"default",set:"default"},noop:{custParamName:"",modifier:"dynamic",defaultValue:{ui:null,post:null},encode:false,isUIParam:{ui:false,post:false},get:"default",set:"default"}};b.registerClass(a)})(window[___baseNamespaceName]);(function(b){var a={fullName:"$baseName.UI.DynamicFloatAds",version:"1.0.0",register:function(){this.G=b.using("$baseName",this.win);this.U=b.using("$baseName.Utility",this.win)},uiParams:null,initialize:function(d){this.canFixed=this.U.canFixed();this.xuantingRoofAttribute="baiduCproXuantingRoof";this.xuantingId=d.xuantingId;this.xuantingIframeId=d.xuantingIframeId;this.topSpace=5;this.xuantingTop=this.topSpace;this.xuantingDom=this.U.g(this.xuantingId);this.xuantingCloseButton=this.U.g(d.xuantingCloseButtonId);this.xuanting4CloseButtonId=this.U.g(d.xuanting4CloseButtonId);this.dockTo=d.dockTo;this.slotId=d.slotId;this.jk=d.jk||0;this.closeFor=d.closeFor||0;if(this.closeFor<0){this.closeFor=0}var f="bd_close_"+this.slotId;var e=this.U.getCookieRaw(f,this.win);this.cookieKey=f;if(this.dockTo){this.animDuration=500;this.animRunning=false;this.visible=true;this.delayIn=d.delayIn||0;this.delayOut=d.delayOut||0;if(this.delayIn<0){this.delayIn=0}if(this.delayOut<0){this.delayOut=0}this.sessionSync=d.sessionSync||false;if(this.sessionSync){this.closeFor=0}this.userClosed=!!e}this.xuanting=d.xuanting;var c=this.U.g(this.xuantingIframeId);if(this.xuanting==0){if(c){var g=c.getAttribute("_src");if(g){c.setAttribute("src",c.getAttribute("_src"))}}return}else{if(isNaN(this.xuanting)){c.parentNode.removeChild(c);return}}this.xuantingDomWidth=d.xuantingDomWidth?d.xuantingDomWidth:0;this.xuantingDomHeight=d.xuantingDomHeight?d.xuantingDomHeight:0;this.clientWidth=this.U.getClientWidth(window);this.clientHeight=this.U.getClientHeight(window);this.mobile=d.mobile||false},initializeDOM:function(e){if(this.mobile){return}if(+this.xuanting){var r=this.xuanting,m=this.xuantingDom,f=this.U;var n=0,l=0,t="",j=1;if(r==2){n=-30;t="top";j=2}else{if(r==3){n=0;t="bottom";j=1}else{if(r!=1&&r!=0){if(this.xuantingDom){this.xuantingDom.style.display="none";return}}}}for(var i=1;i<=2;i++){(function(w){var x="bkimg_"+(+new Date())+Math.floor(Math.random()*100000);var v=window[x]=new Image();v.onload=v.onerror=function(){v.onload=v.onerror=null;window[x]=null;v=null};v.src="http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+w+".png"})(i)}if(t&&!this.canFixed){if(this.xuantingDom){document.body.appendChild(this.xuantingDom)}}var c=(r==2||r==3);var o=(r>1)?"display:none;":"";var u=(r==1)?"width:"+this.xuantingDomWidth+"px;":"";if(t&&!this.canFixed){u=f.getClientWidth(window)+"px"}var d;if(f.canFixed()){if(r==2){d="position:fixed;top:0;width:100%;"}else{if(r==3){d="position:fixed;bottom:0;width:100%;"}}}else{if(r==2){d="position:absolute;top:0;width:100%;"}else{if(r==3){var s=f.getScrollTop(window)+f.getClientHeight(window)-this.xuantingDomWidth;d="position:absolute;top:"+s+"px;width:100%;"}}}var p="";if(this.U.browser.ie&&this.U.browser.ie<7){p="_background-image:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+j+".png');"}if(this.xuantingDom){var h=c?'<div id="'+this.xuantingId+'Toggle" style="z-index:2147483646;cursor:pointer;position:absolute;right:0;'+t+':0;width:40px;height:100%;background-color:#3f3f3f;"><div style="width:20px;height:22px;position:absolute;top:50%;margin-top:-11px;left:50%;margin-left:-10px;background:no-repeat url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk'+j+".png);"+p+'"></div></div>':"";var k=c?'<div id="'+this.xuantingId+'Bk" style="'+t+':0;left:0;position:absolute;width:100%;height:100%;background-color:#666;-moz-opacity:.6;filter:alpha(opacity=60);opacity:.6;"></div>':"";var q="position:relative;margin:5px 0;";m.insertAdjacentHTML("afterBegin",k+h);this.xuantingIframe=this.xuantingDom.getElementsByTagName("IFRAME")[0]}else{this.xuantingIframe=this.U.g(this.xuantingIframeId)}if(c){this.xuantingToggleButton=document.getElementById(this.xuantingId+"Toggle");this.xuantingToggleButtonArrow=this.xuantingToggleButton.getElementsByTagName("DIV")[0];this.xuantingBk=document.getElementById(this.xuantingId+"Bk");if(t){m.setAttribute("dockTo",t)}this.xuantingBk.style.height=(this.xuantingDomHeight+10)+"px";this.xuantingToggleButton.style.height=(this.xuantingDomHeight+10)+"px";var g=o+u+"height:"+(this.xuantingDomHeight+10)+"px;right:0;z-index:2147483646;text-align:center;font-size:0;_overflow-y:hidden;"+d;m.style.cssText=g;this.xuantingIframe.style.cssText=q}this.setPositionOnChange()}},initializeEvent:function(d){this.U.ready(this.U.proxy(this.onReadyHandler,this));this.U.bind(this.win,"scroll",this.U.proxy(this.setPositionOnChange,this));this.U.bind(this.win,"resize",this.U.proxy(this.setPositionOnChange,this));if(this.mobile){var c="onorientationchange" in window?"orientationchange":"resize";this.U.bind(this.win,c,this.U.proxy(this.setPositionOnChange,this))}if(this.xuantingToggleButton){this.U.bind(this.xuantingToggleButton,"click",this.U.proxy(this.toggleVisibility,this))}if(this.xuantingCloseButton){this.U.bind(this.xuantingCloseButton,"click",this.U.proxy(this.xuantingCloseButtonHandler,this))}if(this.xuanting4CloseButtonId){this.U.bind(this.xuanting4CloseButtonId,"click",this.U.proxy(this.xuanting4CloseButtonHandler,this))}},onReadyHandler:function(){var d=this.xuantingDom=this.U.g(this.xuantingId);if(d){d.setAttribute("baiduxuanting",this.xuantingRoofAttribute)}this.xuantingIframe=this.xuantingIframe||this.U.g(this.xuantingIframeId);if(this.dockTo){var c=this;if(!this.userClosed){setTimeout(function(){var e=c.xuantingIframe;var f=e.getAttribute("_src");if(f){e.setAttribute("src",e.getAttribute("_src"))}if(c.xuantingDom){c.xuantingDom.style.display="block"}},this.delayIn);if(this.delayOut){setTimeout(function(){c.xuantingDom.style.display="none";if(c.xuantingDom){d.parentNode.removeChild(d)}},this.delayIn+this.delayOut)}}else{d.parentNode.removeChild(d)}}},setCloseCookie:function(){var c={path:""};if(this.closeFor){var d=new Date();d.setTime(d.getTime()+this.closeFor);c.expires=d}this.U.setCookieRaw(this.cookieKey,1,c)},xuantingCloseButtonHandler:function(){var c=this.U.g(this.xuantingId);c.parentNode.removeChild(c);this.U.removeCookie(this.cookieKey);if(this.sessionSync||this.closeFor){this.setCloseCookie()}document.body.removeChild(this.U.g(this.xuantingIframeId+"Wrap_placeholder"))},xuanting4CloseButtonHandler:function(){var c=this.U.g(this.xuantingIframeId);if(c.parentNode.style.visibility=="hidden"){c.parentNode.style.visibility="visible";this.xuanting4CloseButtonId.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_shouqi.png)";this.xuanting4CloseButtonId.innerHTML="\u6536\u8D77"}else{c.parentNode.style.visibility="hidden";this.xuanting4CloseButtonId.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_logo.png)";this.xuanting4CloseButtonId.innerHTML=""}},toggleVisibility:function(){if(this.visible){this.hide()}else{this.show()}},setVisibility:function(h){if(this.animRunning){return}this.animRunning=true;var m=this.xuantingDom,j=this.U,i=this.xuantingBk,n=this.xuantingIframe,k=this.dockTo,o=m.offsetHeight,e=this.animDuration,d=Math.round(e/o),c=0,l=this;if(h){m.style.width="100%"}var g=+new Date();var f=setInterval(function(){var p=+new Date();var s=p-g;c=Math.round(s/d);var r=c;var t=r;if(h){t=o-r}i.style[k]=-t+"px";n.style[k]=-t+"px";if(r>=o){l.animRunning=false;l.visible=h;var q=(h&&k==="top")||(!h&&k==="bottom");if(q){if(j.browser.ie&&(j.browser.ie<7)){l.xuantingToggleButtonArrow.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png');"}else{l.xuantingToggleButtonArrow.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png)"}}else{if(j.browser.ie&&(j.browser.ie<7)){l.xuantingToggleButtonArrow.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png');"}else{l.xuantingToggleButtonArrow.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png)"}}t=o;if(h){t=0}i.style[k]=-t+"px";n.style[k]=-t+"px";clearInterval(f)}},d)},show:function(){if(this.sessionSync){this.U.removeCookie(this.cookieKey)}this.setVisibility(true)},hide:function(){if(this.sessionSync||this.closeFor){this.setCloseCookie()}this.setVisibility(false)},setPositionOnChange:function(c){this.clientWidth=this.U.getClientWidth(window);this.clientHeight=this.U.getClientHeight(window);if(this.dockTo&&!this.mobile){if(this.xuantingDom){this.xuantingDom.style.width=this.clientWidth+"px"}if(this.xuantingBk){this.xuantingBk.style.width=this.clientWidth+"px"}}if(this.setPositionTimer){clearTimeout(this.setPositionTimer)}this.setPositionTimer=setTimeout(this.U.proxy(this.onScrollHandler,this),5)},onScrollHandler:function(){var c=this.U.getStyle(document.body,"position").toString();var e=this.xuantingDom||document.getElementById(this.xuantingId);if(!e){return}if(this.U.canFixed()){e.style.zIndex=2147483646;if(this.xuanting==1){if(e.style.position=="fixed"){this.adjustLeft();if(this.backToHolder()){e.style.cssText=null;this.removeAdPlaceHolder()}}else{var d=this.touchRoof();if(d){this.createAdPlaceHolder();e.style.position="fixed";e.style.top=d+"px";this.adjustLeft()}}}if(this.xuanting==4){if(!this.xuanting4bottom){this.xuanting4bottom=e.style.bottom.replace("px","")}if(this.U.getClientHeight()<361){e.style.bottom=Math.min(60,this.xuanting4bottom)+"px"}else{e.style.bottom=this.xuanting4bottom+"px"}}}else{this.setPosition(this.xuantingId)}},createAdPlaceHolder:function(c){if(c){var f=document.getElementById(c);var e=c+"placeholder"}else{var f=this.xuantingDom||document.getElementById(this.xuantingId);var e=this.xuantingId+"placeholder"}var d=document.createElement("div");d.id=e;if(d.align){d.align=f.getAttribute("align")}d.style.width=f.getAttribute("width")+"px";d.style.height=f.getAttribute("height")+"px";d.style.margin="0";d.style.padding="0";d.style.background="none";d.style.border="none";(f.parentNode).insertBefore(d,f);return true},removeAdPlaceHolder:function(c){if(c){var f=document.getElementById(c);var e=c+"placeholder"}else{var f=this.xuantingDom||document.getElementById(this.xuantingId);var e=this.xuantingId+"placeholder"}var d=document.getElementById(e);(d.parentNode).removeChild(d);d=null;return true},touchRoof:function(e){var d=this.topSpace;if(e){var f=document.getElementById(e)}else{var f=this.xuantingDom||document.getElementById(this.xuantingId)}var c=this.getAdPosition(f);if(c.top<d){return d}else{return false}},touchRoof_abs:function(e){var d=this.topSpace;if(e){var f=document.getElementById(e)}else{var f=this.xuantingDom||document.getElementById(this.xuantingId)}var c=this.getAdPosition(f);if(c.top<d){return d}else{return false}},backToHolder:function(d){if(d){var g=document.getElementById(d);var e=document.getElementById(d+"placeholder")}else{var g=this.adDom||document.getElementById(this.xuantingId);var e=document.getElementById(this.xuantingId+"placeholder")}if(g&&e){var f=this.getAdPosition(e).top_abs;var c=this.getAdPosition(g).top_abs;if(c<=f){return true}}return false},adjustLeft:function(c){if(c){var f=document.getElementById(c);var d=document.getElementById(c+"placeholder")}else{var f=this.adDom||document.getElementById(this.xuantingId);var d=document.getElementById(this.xuantingId+"placeholder")}if(f&&d){var e=this.getAdPosition(d).left;f.style.left=e+"px"}},getAdPosition:function(h){var g=this.U.getPositionCore(h);var f=this.U.getScrollLeft(window);var e=this.U.getScrollTop(window);var d=this.U.getOuterWidth(h,false);var c=this.U.getOuterHeight(h,false);return{top:g.top-e,bottom:g.top-e+c,left:g.left-f,right:g.left-f+d,top_abs:g.top,bottom_abs:g.top+c,left_abs:g.left,right_abs:g.left+d}},setPosition:function(i){var c=this.U.getScrollTop(window);var f=this.U.getStyle(document.body,"position").toString();var j=this.U.getPositionCore(document.body);var d=j.left;var k=j.top;var g=document.getElementById(i);if(!g){return}g.style.position="absolute";g.style.zIndex=2147483646;if(this.xuanting==1){if(document.getElementById(i+"placeholder")){var l=document.getElementById(i+"placeholder");var h=this.getAdPosition(l);g.style.top=c+this.xuantingTop+"px";g.style.left=h.left_abs+"px";if(f=="relative"){g.style.top=c+this.xuantingTop-k+"px";g.style.left=h.left_abs-d+"px"}g.style.visibility="visible";var e=this.getAdPosition(g);if(h.top_abs>=e.top_abs){g.parentNode.removeChild(g);(l.parentNode).insertBefore(g,l);(l.parentNode).removeChild(l);l=null;g.style.cssText=null}return}var m=this.touchRoof_abs(i);if(m){this.xuantingTop=m;this.createAdPlaceHolder(i);var l=document.getElementById(i+"placeholder");var h=this.getAdPosition(l);g.parentNode.removeChild(g);document.body.appendChild(g);g.style.zIndex=2147483646;g.style.top=c+this.xuantingTop+"px";g.style.left=h.left_abs+"px";if(f=="relative"){g.style.top=c+this.xuantingTop-k+"px";g.style.left=h.left_abs-d+"px"}g.style.visibility="visible";g.style.position="absolute"}}else{if(this.xuanting==2){g.style.top=c+"px"}else{if(this.xuanting==3){g.style.top=c+this.clientHeight-(this.xuantingDomHeight+10)+"px"}else{if(this.xuanting==4){if(!this.xuanting4bottom){this.xuanting4bottom=xuantingDom.style.bottom.replace("px","")}if(this.U.getClientHeight()<361){xuantingDom.style.bottom=Math.min(60,this.xuanting4bottom)+c+"px"}else{xuantingDom.style.bottom=this.xuanting4bottom+c+"px"}}}}}}};b.registerClass(a)})(window[___baseNamespaceName]);(function(j){var j=j;var d=j.using("$baseName.Utility");var g=j.using("$baseName.BusinessLogic");var c;var a="cm";var e="inlay";var h="BAIDU_CPRO_MOBILE_RENDER";var i=false;g.randomArray.push(Math.random()*1000000);var f=window[h]=function(au,r){var p;for(p in au){if(au.hasOwnProperty(p)){var aj=au[p];break}}if(aj._isMlt&&aj._isMlt==3){return}else{if(aj._isMlt&&aj._isMlt===4){var ar=j.create(g.Param,{displayType:e,currentWindow:window,timeStamp:(new Date()).getTime()});if(g.checkAdsCounter(e,window,ar.get("tn"))){return}var aK;if(!aj.qn){aK='<div style="width:{iframeWidth};height:{iframeHeight}"></div>'}else{aK='<div style="display:none">-</div> <iframe id="{iframeId}"src="{adxServiceUrl}?{paramString}" width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" ></iframe>'}var R="";if(aj._location.toLowerCase()==="e"){R="http://esnippet.pos.baidu.com/bfp/snippetcacher.php"}else{R="http://snippet.pos.baidu.com/bfp/snippetcacher.php"}var an=g.getAdsDomId(ar.get("did"));var E={iframeId:an,paramString:"qn="+aj.qn,iframeWidth:aj.sw,iframeHeight:aj.sh,adxServiceUrl:R};var ac=r||"cpro_"+ar.get("tu");var aJ=d.g(ac,window);var aE=aJ?true:false;if(aE||r){if(aJ){aJ.innerHTML=d.template(aK,E)}}else{document.write(d.template(aK,E))}var o=g.Param.snap(ar);g.adsArray.push({domId:an,uiParamSnap:o,win:window,js:a});g.addAdsCounter(e,window,ar.get("tn"));ar.set("cn");ar.set("pn");ar.set("did");g.initParam(window);return}}var q={};var I=null;var Q={};var az={};var ar={};var P=0;g.randomArray.push(Math.random()*1000000);q=g.parseSlotDataFromUnion(au);I=g.getSlotDataFromUserOpenApi();if(I){P=1;Q=d.extend(q,I)}else{Q=q}ar=j.create(g.Param,{displayType:e,currentWindow:window,timeStamp:(new Date()).getTime()});az=g.Param.getSlot2UIMapping(ar);ar=g.Param.mergeSlot2UI(ar,Q,az);ar.set("js",a);if(P){ar.set("c01",1)}var u=g.getStyleApi(ar.get("tu"),ar,Q,az);var ac=r||"cpro_"+ar.get("tu");var aJ=d.g(ac,window);var aE=aJ?true:false;var w=i?ar.get("rsi0"):Math.max(320,Math.min(window.innerWidth,window.innerHeight));if(isNaN(w)){w=Math.min(d.getClientWidth(),d.getClientHeight())}if(!ar.get("scale")){ar.set("scale","20.3")}var ay=ar.get("scale").split(".");var v=Math.ceil(w/ay[0]*ay[1]);if(ar.get("n")=="19076084_1_cpr"||ar.get("n")=="19076084_12_cpr"){var T=document.getElementsByTagName("meta");var aF=1;for(var X=0;X<T.length;X++){if(T[X].name=="viewport"){var F=T[X].content;if(F.indexOf("initial-scale")>-1){aF=F.match(/initial-scale=(\d(.\d)*)/)[1]}}}w=w/aF;v=v/aF}var D=false;if(!ar.get("skin")){ar.set("skin","mobile_skin_white_red");D=true}var af=ar.get("tu");if(window.cproStyleApi&&af&&window.cproStyleApi[af]){if(window.cproStyleApi[af].conW){w=parseInt(window.cproStyleApi[af].conW)}if(window.cproStyleApi[af].conH){v=parseInt(window.cproStyleApi[af].conH)}if(window.cproStyleApi[af].stid){var aA=parseInt(window.cproStyleApi[af].stid);ar.set("stid",aA)}}if(ar.get("stid")===0){if(ar.get("scale")==="20.3"){ar.set("rsi0","580");ar.set("rsi1","90")}else{if(ar.get("scale")==="6.5"){ar.set("rsi0","360");ar.set("rsi1","300")}else{ar.set("rsi0",w);ar.set("rsi1",v)}}}else{ar.set("rsi0",w);ar.set("rsi1",v)}var aG=ar.get("at");var n=ar.at._value;var K=ar.get("tn").toString();if(g.isPreview(w,v,e,aG)){if(aE){window.cproPreviewArray=window.cproPreviewArray||[];window.cproPreviewArray.push({domId:ac,template:K,width:w.toString(),height:v.toString(),at:n});var at=document.createElement("SCRIPT");at.setAttribute("type","text/javascript");at.setAttribute("src","http://cpro.baidu.com/cpro/ui/inlayPreview.js");var aB=document.getElementsByTagName("script")[0];aB.parentNode.insertBefore(at,aB)}else{window.cpro_isSyncPreview=true;window.cpro_template=ar.get("tn").toString();window.cpro_w=w.toString();window.cpro_h=v.toString();window.cpro_at=ar.at._value;document.write('<script type="text/javascript" language="javascript" src="http://cpro.baidu.com/cpro/ui/inlayPreview.js"><\/script>')}}else{var W=Q.cpro_xuanting;var aD=0;var ae="";var S=0;var l="";var aI=0;var C=0;var B=false;var N=0;var ab=1;var aH=1;var aa="";var Y="";var V="";var U="";var ak=5;var ad=160;if(((window.cproStyleApi&&af&&window.cproStyleApi[af]&&window.cproStyleApi[af]["xuanting"])||(W!=null))&&ar.get("scale")!=="20.5"){var al=window.cproStyleApi||{};var M=al[af]||{};aD=M.xuanting||W;N=M.closeFor||0;aI=M.delayIn||0;C=M.delayOut||0;B=M.sessionSync||false;ab=M.xuantingClose||1;aH=M.opacity||0.9;aa=M.rss0||"#e60012";Y=M.rss1||"#000";V=M.rss2||"#fff";U=M.rss3||"#999";ak=M.xuantingLeft||5;ad=M.xuantingBottom||160;var av=40;var L=40;var ag=0;var ai=1;if(ab){if(ar.get("scale")=="20.2"){ai=v/64;av=64*ai;L=64*ai;ag=16*ai;l='<div id="xuantingCloseBtn_'+af+'"style="position:absolute;right:'+ag+"px;top:"+(v-L)/2+"px;width:"+av+"px;height:"+L+"px;overflow:hidden;display:block;background:url('http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose20.2.png') no-repeat 0 0; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=none, src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose20.2.png');_background:none;cursor:pointer;background-position:center;background-size:100%,100%;\"> </div>"}if(ar.get("scale")=="20.3"){ai=v/96;av=80*ai;L=80*ai;ag=16*ai;l='<div id="xuantingCloseBtn_'+af+'"style="position:absolute;right:'+ag+"px;top:"+(v-L)/2+"px;width:"+av+"px;height:"+L+"px;overflow:hidden;display:block;background:url('http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose.png') no-repeat 0 0; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=none, src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose.png');_background:none;cursor:pointer;background-position:center;background-size:100%,100%;\"> </div>"}}S=(d.getClientWidth(window)-w)/2;ae="opacity:"+aH+";"}if(d.canFixed()){if(aD==2){ae+="position:fixed;top:0;background-color:"+Y+";"}else{if(aD==3){ae+="position:fixed;bottom:0;background-color:"+Y+";"}else{if(aD==4){ae="position:fixed;bottom:"+ad+"px;left:"+ak+"px;"}}}}else{if(aD==2){ae+="position:absolute;top:0;background-color:"+Y+";"}else{if(aD==3){var A=d.getScrollTop(window)+d.getClientHeight(window)-v;ae+="position:absolute;top:"+A+"px;background-color:"+Y+";"}else{if(aD==4){ae="position:absolute;bottom:"+ad+"px;left:"+ak+"px;"}}}}var ap;if(aD==2){ap="top"}else{if(aD==3){ap="bottom"}}switch(aD){case 0:ar.set("distp","1001");break;case 2:ar.set("distp","2005");break;case 3:ar.set("distp","2006");break;case 4:ar.set("distp","2007");break}if(aD&&D){ar.set("skin","mobile_skin_black_white")}var s=g.Param.serialize(ar);if(aD){var y=av+2*ag;var aq=12*w/640;s=s+"&conbw=0&conbl="+aq+"&conpr="+y}var H="100%";if(aF!=1&&(ar.get("n")=="19076084_1_cpr"||ar.get("n")==" 19076084_12_cpr")){H=window.innerWidth+"px"}var m=(aD==0||aD==1)?"src":"_src";var k=(aD==0||aD==1)?"block":"none";var aK='<div style="display:none">-</div><div id="{iframeId}Wrap" style="text-align:center;display:'+k+";font-size:0;width:"+H+";height:"+v+"px;"+ae+'"><div style="width:'+w+"px;height:"+v+'px;position:relative;margin:0 auto;">'+l+'<iframe id="{iframeId}" '+m+'="{cproServiceUrl}?{paramString}" width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="margin-left:{iframMarginLeft}px" ></iframe></div></div>';if(aD==4){aK='<div id="{iframeId}Wrap" style="text-align:center;font-size:0;width:32px;height:154px;'+ae+'"><div style="width:32px;height:117px;position:relative;margin:0 auto;cursor:pointer"><iframe id="{iframeId}" src="{cproServiceUrl}?{paramString}" width="32" height="117" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true"></iframe></div><div id="xuanting4CloseBtn_'+af+"\" style=\"width:32px;height:24px;margin-top:5px;background:url('http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_shouqi.png') no-repeat 0 0; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=none, src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_lu_shouqi.png');_background:none;background-size:contain;cursor:pointer;color:#fff;font-size:10px;padding-top:8px;line-height:18px;\">\u6536\u8D77</div></div>"}var an=g.getAdsDomId(ar.get("did"));var O=ar.get("tn").toLowerCase();if(O&&(O.indexOf("tlink")>-1||O.indexOf("linkunit_1")>-1)){an+=(new Date()).getTime().toString()}var aC=ar.get("n").toString();if(aC=="07095078_1_cpr"||aC=="07095078_cpr"||aC=="71049059_cpr"||aC=="68056018_cpr"){s=s+"&titSU=0"}var J="BaiduCproExpansion"+an,ao=!!(/(iPhone|iPad|iPod|iOS)/i.test(window.navigator.userAgent)),Z="postMessage" in window;if(!ao&&(window.cproStyleApi&&af&&window.cproStyleApi[af]&&window.cproStyleApi[af]["expansion"])&&Z){var aw=document.createElement("div"),G=Math.min(d.getClientWidth(),d.getClientHeight()),ax=Math.max(d.getClientWidth(),d.getClientHeight()),z=aw.style;z.position="fixed";z.left="0";z.top=ax+"px";z.zIndex=2147483647;z.background="#ffffff";z.transition=z.WebkitTransition=z.MozTransition=z.OTransition="top 1s ease-in-out";document.body.appendChild(aw);u=u||"";u+="&expToken="+J;d.bind(window,"message",function(aS){var aP,aR;var aQ=d.g(an);if(typeof aS=="object"&&aS.data){aP=aS.data;if(aP.indexOf(J)===0){aP=aP.slice(J.length);var aO='<iframe id="{lpIframeId}" src="{clickUrl}" width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0" marginheight="0" frameborder="0"></iframe><div id="{lpIframeId}_closeBtn" style="position:absolute;right:0;top:0;width:{closeBtnSize}px;height:{closeBtnSize}px;overflow:hidden;display:block;background:url(\'http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose.png\') no-repeat 0 0; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=none, src=\'http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose.png\');_background:none;cursor:pointer;background-position:center;background-size:100%,100%;"> </div>';aw.innerHTML=d.template(aO,{lpIframeId:an+"ExpansionLP",clickUrl:aP,iframeWidth:d.getClientWidth(),iframeHeight:d.getClientHeight(),closeBtnSize:80*G/640});aw.style.top="0";var aL=d.g(an+"ExpansionLP"),aM=function(){var aT=d.getClientWidth(),aU=d.getClientHeight();aL.style.width=aT+"px";aL.style.height=aU+"px";aL.setAttribute("widht",aT);aL.setAttribute("height",aU)};d.bind(window,"resize",aM);var aN=d.g(an+"ExpansionLP_closeBtn");d.bind(aN,"click",function(){aw.style.top=ax+"px";aw.innerHTML="";d.unBind(aN,"click",arguments.callee);d.unBind(window,"resize",aM)})}}})}s+=u||"";s+="&conW="+w+"&conH="+v;var E={iframeId:an,paramString:s,iframeWidth:w,iframeHeight:v,cproServiceUrl:g.cproServiceUrl};var ah="bd_close_"+af;var t=d.getCookieRaw(ah,this.win);if(N!=0&&t){return}if(aE||r){if(aJ){aJ.innerHTML=d.template(aK,E)}}else{document.write(d.template(aK,E))}if(aF!=1&&ar.get("n")=="19076084_1_cpr"){var x="onorientationchange" in window?"orientationchange":"resize";d.bind(window,x,function(){setTimeout(function(){d.g(an+"Wrap").style.width=window.innerWidth+"px"},window.PageAds.isAndroid?1000:0)})}if(aD){j.create(j.UI.DynamicFloatAds,{xuantingId:an+"Wrap",xuantingIframeId:an,xuanting:aD,xuantingDomWidth:w,xuantingDomHeight:v,xuantingCloseButtonId:"xuantingCloseBtn_"+af,jk:ar.get("jk"),slotId:af,closeFor:N,mobile:true,dockTo:ap,delayIn:aI,delayOut:C,sessionSync:B,xuanting4CloseButtonId:"xuanting4CloseBtn_"+af});var am=document.createElement("div");am.id=an+"Wrap_placeholder";am.style.width="100%";am.style.height=v+"px";am.style.margin="0";am.style.padding="0";am.style.background="none";am.style.border="none";if(aD==2){document.body.insertBefore(am,document.body.firstChild)}else{if(aD==3){d.bind(window,"load",function(){document.body.appendChild(am)})}}}var o=g.Param.snap(ar);g.adsArray.push({domId:an,uiParamSnap:o,win:window,js:a});g.addAdsCounter(e,window,K);ar.set("did");ar.set("cn");ar.set("pn");g.initParam(window)}};var b=window.BAIDU_CLB_CPROMSLOT=function(l){l._html=l.data;var k=g.getSlotDataFromCB(l.id,l);if(k){f(k,l.domid)}};window.PageAds={isAndroid:(/android/gi).test(navigator.userAgent),init:function(k){this.G=k;this.renderAds()},fastClone:function(l){var k=function(){};k.prototype=l;return new k()},renderAds:function(){if(window.BAIDU_CLB_ASYNSLOTS&&window.BAIDU_CLB_ASYNSLOTS.length>0){for(var n in window.BAIDU_CLB_ASYNSLOTS){b(window.BAIDU_CLB_ASYNSLOTS[n])}window.BAIDU_CLB_ASYNSLOTS=[]}if(window.cpro_mobile_slot){var l=[];for(var n=0,p=window.cpro_mobile_slot.length;n<p;n++){var k=this.fastClone(window.cpro_mobile_slot[n]);var o=k.id;l.push(o);window.cproStyleApi=window.cproStyleApi||{};window.cproStyleApi[o]=window.cproStyleApi[o]||{};for(var m in k){if(m&&m!=="id"){window.cproStyleApi[o][m]=k[m]}}}if(l&&l.length>0){this.G.BusinessLogic.getSlotDataFromUnion(l,h,true)}window.cpro_mobile_slot=[]}if(window.cpro_id){var o=window.cpro_id;if(o&&/cpro_template=/gi.test(o)){i=true;window[h]({"0":{_html:o}})}else{if(o){g.getSlotDataFromUnion(o,h)}}}}};PageAds.init(j)})(window[___baseNamespaceName]);
|