/*! Copyright 2015 Baidu Inc. All Rights Reserved. */;(function(){var l=void 0,m=!0,p=null,s=!1;function u(e){return function(){return e}}var E={t1:+new Date,t2:0,t3:0,t4:0},I=["search!"],aa=3,ma="BAIDU_DUP2_replacement",na="http://dup.baidustatic.com/painter/",J=document,L={},oa=0,pa=1,M=2,N=3,O=4,qa=5;function ra(e){var f=sa(e),c=f[0],f=f[1];this.id=e;this.name=f;this.uri=P(f);this.Id=!f;this.status=oa;c&&f&&(this.Ud=R(S(c+"!"))||{load:function(){}});this.Ua=[]}
var X=window.BAIDU_DUP2_require||function(e,f,c){T(e,function(){for(var c=[],b=0;b<e.length;b++)c[b]=R(S(e[b]));W(f)&&f.apply(window,c)},c)};
function T(e,f,c){var i=e.length;if(0===i)f();else for(var b=i,j=0;j<i;j++)(function(g){function d(){if(g.status<M)a();else{for(var d=g.Ua,b=[],k=0;k<d.length;k++){var j=d[k];j&&S(j).status<N&&b.push(j)}0===b.length?a():T(b,a,c)}}function a(){g&&g.status<N&&(g.status=N);0===--b&&f()}var k=g.Ud;k&&(k.normalize&&(g.name=k.normalize(g.name,P)),k.name2url&&(g.uri=k.name2url(g.name)));g.status<M?k&&W(k.load)?k.load(g.name,X,function(d){Y(g.id,[],function(){return d});a()}):ta(g,d,c):d()})(S(e[j]))}
var Z={},$={},ua={};function ta(e,f,c){e.status=pa;ua[e.id]?f():$[e.id]?Z[e.id].push(f):($[e.id]=m,Z[e.id]=[f],0===e.uri.indexOf("http://pos.baidu.com/acom?")&&(E.t2=+new Date),c?(f=e.uri,e=J.createElement("script"),e.charset="utf-8",e.async=m,e.src=f,f=J.getElementsByTagName("head")[0]||J.body,f.insertBefore(e,f.firstChild)):J.write('<script charset="utf-8" src="'+e.uri+'"><\/script>'))}
var Y=window.BAIDU_DUP2_define||function(e,f,c){8<e.length&&0===e.indexOf("request!")&&(E.t3=+new Date);var i=S(e);i.status<M&&(i.Ua=f,i.factory=c,i.status=i.Id?N:M);if($[e]){delete $[e];ua[e]=m;f=Z[e];for(delete Z[e];e=f.shift();)e()}};function R(e){if(!e)return p;if(e.status>=O)return e.pc;if(e.status<N&&e.pc===l)return p;e.status=O;for(var f=[],c=0;c<e.Ua.length;c++)f[c]=R(S(e.Ua[c]));var i=c=e.factory;W(c)&&(i=c.apply(window,f));e.status=qa;return e.pc=i}
function P(e){return/^https?:\/\//.test(e)?e:na+e+".js"}function S(e){return L[e]||(L[e]=new ra(e))}function sa(e){var f,c=e?e.indexOf("!"):-1;-1<c&&(f=e.slice(0,c),e=e.slice(c+1,e.length));return[f,e]}function W(e){return"[object Function]"===Object.prototype.toString.call(e)}
Y("util/lang",[],function(){function e(c){for(var e={},b="Array Boolean Date Error Function Number RegExp String".split(" "),j=0,g=b.length;j<g;j++)e["[object "+b[j]+"]"]=b[j].toLowerCase();return c==p?"null":e[Object.prototype.toString.call(c)]||"object"}var f=Object.prototype.hasOwnProperty;return{Xa:f,m:e,getAttribute:function(c,e){for(var b=c,j=e.split(".");j.length;){if(b===l||b===p)return;b=b[j.shift()]}return b},Ec:function(c){if("object"!==e(c))return"";var i=[],b;for(b in c)f.call(c,b)&&
i.push(b+"="+encodeURIComponent(c[b]));return i.join("&")},pa:function(c){var f=[];switch(e(c)){case "object":f=Array.prototype.slice.call(c);break;case "array":f=c;break;case "number":case "string":f.push(c)}return f},unique:function(c){for(var e=[],b={},j=c.length,g=0;g<j;g++){var d=c[g];b[d]||(e[e.length]=d,b[d]=m)}return e},removeItem:function(c,e){for(var b=[].slice.call(c),j=b.length-1;0<=j;j--)b[j]===e&&b.splice(j,1);return b},Ac:function(){}}});
Y("util/browser",["util/lang"],function(e){var f={},c=navigator.userAgent,i=window.RegExp;/msie (\d+\.\d)/i.test(c)&&(f.d=document.documentMode||+i.$1);/opera\/(\d+\.\d)/i.test(c)&&(f.opera=+i.$1);/firefox\/(\d+\.\d)/i.test(c)&&(f.kd=+i.$1);/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(c)&&!/chrome/i.test(c)&&(f.ce=+(i.$1||i.$2));if(/chrome\/(\d+\.\d)/i.test(c)){f.kc=+i.$1;var b;try{b="scoped"in document.createElement("style")}catch(j){b=s}b&&(f.$d=m)}try{/(\d+\.\d)/.test(e.getAttribute(window,
"external.max_version"))&&(f.Nd=+i.$1)}catch(g){}e="Android iPad iPhone Linux Macintosh Windows".split(" ");i="";for(b=0;b<e.length&&!(i=e[b],c.match(RegExp(i.toLowerCase(),"i")));b++);f.platform=i;return f});
Y("util/dom",["util/lang"],function(e){function f(b){try{if(b&&"object"===typeof b&&b.document&&"setInterval"in b)return m}catch(g){}return s}function c(b,g){g=2===arguments.length?g:b.parent;return b!=g||!f(b)}function i(b,g){for(var g=2===arguments.length?g:b.parent,d=0;10>d++&&c(b,g);){var a;try{a=!!b.parent.location.toString()}catch(k){a=s}if(!a)return m;b=b.parent}return 10<=d}function b(b){return 9===b.nodeType?b:b.ownerDocument||b.document}return{c:function(b,g){return"string"===e.m(b)&&0<
b.length?(g||window).document.getElementById(b):b.nodeName&&(1===b.nodeType||9===b.nodeType)?b:p},$a:f,G:c,T:i,Ia:b,$:function(c){c=b(c);return c.parentWindow||c.defaultView||p},ia:function(c){c=f(c)?c.document:b(c);return"CSS1Compat"===c.compatMode?c.documentElement:c.body},Fb:function(b,g){1===arguments.length&&"number"===e.m(arguments[0])&&(g=arguments[0],b=l);for(var g=g||10,d=window,a=0;a++<g&&c(d)&&!i(d)&&(!b||!b(d));)d=d.parent;return d}}});
Y("util/style",["util/lang","util/dom","util/browser"],function(e,f,c){function i(d,a){if(!d)return"";var b="",b=-1<a.indexOf("-")?a.replace(/[-][^-]{1}/g,function(a){return a.charAt(1).toUpperCase()}):a.replace(/[A-Z]{1}/g,function(a){return"-"+a.charAt(0).toLowerCase()}),h=f.$(d);if(h&&h.getComputedStyle){if(h=h.getComputedStyle(d,p))return h.getPropertyValue(a)||h.getPropertyValue(b)}else if(d.currentStyle)return h=d.currentStyle,h[a]||h[b];return""}function b(d){var a={top:0,left:0};if(d===f.ia(d))return a;
var b=f.Ia(d),h=b.body,b=b.documentElement;d.getBoundingClientRect&&(d=d.getBoundingClientRect(),a.left=Math.floor(d.left)+Math.max(b.scrollLeft,h.scrollLeft),a.top=Math.floor(d.top)+Math.max(b.scrollTop,h.scrollTop),a.left-=b.clientLeft,a.top-=b.clientTop,d=i(h,"borderLeftWidth"),h=i(h,"borderTopWidth"),d=parseInt(d,10),h=parseInt(h,10),a.left-=isNaN(d)?2:d,a.top-=isNaN(h)?2:h);return a}function j(d,a){var b=i(d,"margin"+a).toString().toLowerCase().replace("px","").replace("auto","0");return parseInt(b,
10)||0}function g(d){for(var a=f.$(d),b=100;d&&d.tagName;){var h=100;if(c.d){if(5<c.d)try{h=parseInt(e.getAttribute(d,"filters.alpha.opacity"),10)||100}catch(g){}b=b>h?h:b}else{try{h=100*(a.getComputedStyle(d,p).opacity||1)}catch(n){}b*=h/100}d=d.parentNode}return 0===b?0:b||100}return{s:i,ga:b,Z:function(d){var a=f.c(d);if(!a)return s;d=b(a);a=f.$(a);if(!a)return d;for(var c=0;a!==a.parent&&10>c++&&!f.T(a)&&a.frameElement;){var h=b(a.frameElement);d.left+=h.left;d.top+=h.top;a=a.parent}return d},
Ce:j,wa:function(d,a){var b=f.c(d),h=b.offsetWidth;a&&(h+=j(b,"Left")+j(b,"Right"));return h},va:function(d,a){var b=f.c(d),h=b.offsetHeight;a&&(h+=j(b,"Top")+j(b,"Bottom"));return h},Gb:g,tc:function(d){for(var a=f.c(d),d=f.$(a),a=g(a),b=0;10>b++&&f.G(d)&&!f.T(d);){var h=d.frameElement?g(d.frameElement):100,a=a*(h/100);d=d.parent}return a},Jb:function(d){try{var a=f.ia(d||window).scrollWidth;if(a||0===a)return a}catch(b){}return-1},Ib:function(d){try{var a=f.ia(d||window).scrollHeight;if(a||0===
a)return a}catch(b){}return-1},o:function(d){try{var a=f.ia(d||window).clientWidth;if(a||0===a)return a}catch(b){}return-1},j:function(d){try{var a=f.ia(d||window).clientHeight;if(a||0===a)return a}catch(b){}return-1},F:function(d){var a=f.ia(d);return d.pageYOffset||a.scrollTop},Ja:function(d){var a=f.ia(d);return d.pageXOffset||a.scrollLeft}}});
Y("util/url",["util/dom"],function(e){return{uc:function(e,c,i){e=e.match(RegExp("(\\?|&|#)"+c+"=([^&#]*)(&|#)?"));c="";e&&(c=e[2]);i&&(c=decodeURIComponent(c));return c},Kb:function(f){var f=e.Fb(f),c="";e.G(f)&&(c=f.document.referrer);return c=c||f.location.href}}});
Y("util/event",["util/dom"],function(e){return{bind:function(f,c,i){if(f=e.$a(f)?f:e.c(f))if(f.addEventListener)f.addEventListener(c,i,s);else if(f.attachEvent)f.attachEvent("on"+c,i);else{var b=f["on"+c];f["on"+c]=function(){b&&b.apply(this,arguments);i.apply(this,arguments)}}return f}}});
Y("util/cookie",["util/lang"],function(e){return{get:function(e,c){var i=RegExp("(^| )"+e+"=([^;]*)(;|$)").exec(document.cookie);return i?c?decodeURIComponent(i[2]):i[2]:""},set:function(f,c,i,b){var j=i.expires;"number"===e.m(j)&&(j=new Date,j.setTime(+j+i.expires));document.cookie=f+"="+(b?encodeURIComponent(c):c)+(i.path?"; path="+i.path:"")+(j?"; expires="+j.toGMTString():"")+(i.domain?"; domain="+i.domain:"")}}});
Y("util/data",["util/lang","util/dom"],function(e,f){function c(a,b,h){var h=h?d:j,c;if("string"===e.m(a)){for(a=a.split(".");a.length;)c=a.shift(),h[c]=a.length?h[c]!==l?h[c]:{}:b,h=h[c];c=b}return c}function i(a,b){var h=b?d:j,c;"string"===e.m(a)&&(c=e.getAttribute(h,a));return c}function b(a,d,b){if(!a||!d)return s;var g=i(a)||{};switch(b){case "+1":b=g[d]||0;g[d]=++b;break;default:g[d]=parseInt(b,10)}c(a,g);return g[d]}var j={},g=f.Fb(),d=g.BAIDU_DUP2_info||(g.BAIDU_DUP2_info={});return{ra:function(a,
d){var b=window;return b[a]?b[a]:b[a]=d},ua:function(a){var d=window,b=d[a];d[a]=l;return b},U:c,C:i,Dc:function(a,b){var h=b?d:j;switch(e.m(a)){case "string":for(var c=a.split(".");c.length;){var g=c.shift();if(c.length&&h[g]!==l)h=h[g];else return delete h[g],m}}return s},ic:function(a,d,h){return h?(this.H=this.H||{},this.H[h]=this.H[h]||0,!this.H[h]&&document.getElementById(h)&&(this.H[h]=1),this.H[h]):b(a,d,"+1")},Le:function(a,d,h){return b(a,d,h)},count:b,pd:function(a,d,b){return b?(this.H=
this.H||{},this.H[b]=this.H[b]||0,document.getElementById(b)||delete this.H[b],this.H[b]||0):!a||!d?s:(i(a)||{})[d]||0},Zd:function(a,d){if(!a||!d)return s;var b=i("pageConfig")||{};b[a]=d;c("pageConfig",b);return m},od:function(a){return!a?s:(i("pageConfig")||{})[a]}}});
Y("util/storage",[],function(){function e(b,e,g){if(c)try{c.setItem(b,g?encodeURIComponent(e):e)}catch(d){}}function f(b,e){if(c){var g=c.getItem(b);return e&&g?decodeURIComponent(g):g}return p}var c;try{c=window.localStorage}catch(i){}return{Vc:function(){var b=s;try{c.removeItem("BAIDU_DUP_storage_available"),e("BAIDU_DUP_storage_available","1"),f("BAIDU_DUP_storage_available")&&(b=m),c.removeItem("BAIDU_DUP_storage_available")}catch(j){}return b},setItem:e,getItem:f,Qc:function(b,j,g){if(c){j=
g?encodeURIComponent(j):j;g=f(b)||"";try{e(b,g+((g&&"|")+j))}catch(d){}}},Jc:function(b,j,g){if(c)if(j=g?encodeURIComponent(j):j,g=f(b)||"",g=g.replace(RegExp(j+"\\|?","g"),"").replace(/\|$/,""))try{e(b,g)}catch(d){}else c.removeItem(b)}}});
Y("util/log",["util/lang","util/event","util/storage"],function(e,f,c){function i(c,g){var d=new Image,a="BAIDU_DUP_log_"+Math.floor(2147483648*Math.random()).toString(36);window[a]=d;d.onload=d.onerror=d.onabort=function(){d.onload=d.onerror=d.onabort=p;d=window[a]=p;g&&g(b,c,m)};d.src=c}var b="BAIDU_DUP_log_storage";return{Ld:i,Me:function(){var e=c.getItem(b);if(e)for(var e=e.split("|"),g=0,d=e.length;g<d;g++)i(decodeURIComponent(e[g]),c.Jc)},hb:function(j){var j="object"===e.m(j)?j:{},g=j.url||
"http://cbjslog.baidu.com/log",d=j.option||"now",j=e.Ec(j.data||{}),g=g+((0<=g.indexOf("?")?"&":"?")+j+(j?"&":"")+"rdm="+ +new Date);switch(d){case "now":i(g);break;case "block":break;default:c.Qc(b,g,m),f.bind(window,"unload",function(){i(g,c.Jc)})}}}});Y("util","util/lang,util/dom,util/style,util/url,util/event,util/cookie,util/data,util/storage,util/log,util/browser".split(","),function(e,f,c,i,b,j,g,d,a,k){return{lang:e,p:f,style:c,url:i,event:b,cookie:j,data:g,Re:d,log:a,f:k}});
Y("biz",["util","slot"],function(e,f){function c(b,d){var a=/^[0-9a-zA-Z]+$/;return!b||!a.test(b)||!d?[]:d="array"===e.lang.m(d)?d:Array.prototype.slice.call(arguments,1)}function i(c,d,a){if(!d||!d.length)return s;var a=a||{ec:s,zc:s,Bc:s},k=a.zc?e.data.C(b):{},h=a.ec?j:b,k=a.Bc?{}:e.data.C(h)||k,a={},o;for(o in k)e.lang.Xa.call(k,o)&&(a[o]="array"===e.lang.m(k[o])?k[o].slice():k[o]);var k=a[c]||[],n=d.length;for(o=0;o<n;o++){var f=d[o];"string"===typeof f&&(f=encodeURIComponent(f),100>=f.length&&
(k[k.length]=f))}if(!k.length)return s;a[c]=e.lang.unique(k);e.data.U(h,a);return m}var b="bizOrientations",j="bizUrgentOrientations";return{jc:function(b,d){var a=c.apply(this,arguments);return i(b,a)},Rc:function(b,d){var a=c.apply(this,arguments);return i(b,a,{ec:m,zc:m})},fe:function(b,d){var a=c.apply(this,arguments);return i(b,a,{ec:m,Bc:m})},yd:function(c){var c=Math.max(0,Math.min(c||500,500)),d=[],a=e.data.C(j)||e.data.C(b)||{};if("object"===e.lang.m(a))for(var k in a)e.lang.Xa.call(a,k)&&
(d[d.length]=k+"="+a[k].join(","));e.data.U(j,l);d.sort(function(a,d){return a.length-d.length});a="";k=d.length;for(var h=0;h<k&&!(a.length+d[h].length>=c);h++)a+=(h?"&":"")+d[h];return a},Sc:function(b,d){f.he(b);f.Tc(d)}}});
Y("preview",["biz","util"],function(e,f){function c(){function e(a){var d=f.url.uc;return d(b,"baidu_clb_preview_"+a)||d(b,"baidu_dup_preview_"+a)}var b=f.url.Kb(),j=e("sid"),g=e("mid"),d=e("vc"),a=+e("ts"),k=p;3E4>=+new Date-a&&(k={Gc:j,Od:g,oe:d});c=function(){return k};return k}return{Ad:function(e){var b=[],f=c();f&&e==f.Gc&&(b.push("mid="+f.Od),b.push("sid="+f.oe));return b.join("&")},C:function(){return c()},Za:function(c){var b=s;c?/cpro_template=/gi.test(c)&&(f.data.U("#unionPreviewSwitch",
m),b=m):b=!!f.data.C("#unionPreviewSwitch");return b},Bd:function(){var c=f.data.C("#unionPreviewData");return c?"prev="+encodeURIComponent(c)+"&pt=union":""},ie:function(c){f.data.U("#unionPreviewData",c)},ye:function(){f.data.Dc("#unionPreviewSwitch");f.data.Dc("#unionPreviewData")}}});
Y("slot",["util"],function(e){function f(){for(var d={response:{},holder:"",stack:[],errors:[],status:{}},b=a.length-1;0<=b;b--)d.status[a[b]]=0;return d}function c(a,d){var b=s;"fillAsync"===d&&(b=m);o[a]&&-1!==o[a].stack.join(" ").toLowerCase().indexOf("async")&&(b=m);return b}function i(a,d){if(!a)return"";var b=r+a;d&&(b+="_"+d);return b}function b(a,d,b){if(!a||!d)return s;b===l&&(b=+new Date);if(o[a]){o[a].status[d]=b;if("finish"===d){var d={},b=s,c;for(c in v)if(c&&v.hasOwnProperty(c)&&v[c]&&
0===(""+a).indexOf(""+c)&&o[a].response){var b=o[a].response.data,h=b._h||b.sh||b.height||0;d[a]=0===(b._w||b.sw||b.width||0)||0===h?s:m;b=m}b&&n.apply(window,[d])}return m}return s}function j(a,d){g(a,"errors",d)}function g(a,d,b){a&&d&&b&&(a=o[a])&&"array"===e.lang.m(a[d])&&a[d].push(b)}function d(a){return!a?o:o[a]||s}var a="add,create,request,response,render,finish".split(","),k=[],h={},o={},n,v={},r="BAIDU_DUP_wrapper_";return{add:function(){var a={ids:[],preloadIds:[]},c=e.lang.pa(arguments);
if(!c.length)return a;for(var c=c.join(",").split(","),n=[],g=[],j=c.length,v=0;v<j;v++){var i=c[v];if(h.hasOwnProperty(i)){var r=i+"_"+h[i],F=d(r).stack||[];if("preload"===F[F.length-1]){a.preloadIds.push(r);continue}h[i]+=1}else h[i]=0;i=i+"_"+h[i];o[i]=new f;b(i,"add");g.push(i);n.push(i)}k=k.concat(g);a.ids=n;return a},create:function(a,d,h){if(!a||!d)return s;var n=i(a),g=m;if(e.p.c(n))return o[a].holder=n,g;if(c(a,d)){h=h||"";o[a].holder=h;h=e.p.c(h);try{h&&(h.innerHTML='<div id="'+n+'"></div>',
o[a].holder=n)}catch(k){j(a,"Failed to insert wrapper"),g=s}}else if(document.write('<div id="'+n+'"></div>'),!e.p.c(n))try{var f=document.getElementsByTagName("script"),v=f[f.length-1];if(v){var r=v.parentNode;if(r){var y=document.createElement("div");y.id=i(a,"b");r.insertBefore(y,v)}}}catch(A){j(a,"Failed to create backup wrapper")}b(a,"create");return g},ed:c,sd:function(a){return c(a)?"async":"sync"},sc:function(a){return!a?"":(a=e.p.c(o[a].holder)||e.p.c(i(a))||e.p.c(i(a,"b")))&&a.id||""},Wa:d,
Xb:function(a,d){if(!a||!d)return s;return o[a]?(o[a].response=d,b(a,"response"),m):s},Aa:b,na:j,sb:function(a,d){g(a,"stack",d)},Eb:function(a){a=e.lang.pa(a);if(!a.length)return s;var d=[],b={},c;for(c=0;c<k.length;c++)b[k[c]]=c+1;for(c=0;c<a.length;c++){var h=b[""+a[c]];h===l&&(h=0);d.push(h)}return d},he:function(a){n=a},Tc:function(a){v[a]=m},Z:function(a){a=e.lang.pa(a);if(!a.length)return["-1x-1"];for(var d=[],b=0;b<a.length;b++){var c=a[b],h;try{var n=e.p.c(i(c))||e.p.c(i(c,"b"));if(n){var g=
e.style.Z(n);g&&(h=[g.top,g.left])}}catch(k){j(c,"Unable to get ps")}h=h?h:[-1,-1];d.push(h.join("x"))}return d}}});Y("api",["slot","util"],function(e,f){return{getDai:e.Eb,getSlots:e.Wa,getFillType:e.sd,getFillWrapperId:e.sc,setStatus:e.Aa,addErrorItem:e.na,addStackItem:e.sb,bind:f.event.bind,getType:f.lang.m,sendLog:f.log.hb,putInfo:f.data.U,getInfo:f.data.C,defineOnce:f.data.ra,addCount:f.data.ic,getCount:f.data.pd,getConfig:f.data.od}});
Y("param",["slot","preview","biz","util"],function(e,f,c,i){function b(a,d){for(var d=d||0,b=[],c=0,h=a.length;c<h;c++)b.push(a[c].split("_")[d]);return b.join(",")}function j(a){a=a||window.document.domain;0===a.indexOf("www.")&&(a=a.substr(4));"."===a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));var d=a.match(RegExp("([a-z0-9][a-z0-9\\-]*?\\.(?:com|cn|net|org|gov|info|la|cc|co|jp|us|hk|tv|me|biz|in|be|io|tk|cm|li|ru|ws|hn|fm|tw|ma|in|vn|name|mx|gd|im)(?:\\.(?:cn|jp|tw|ru|th))?)$","i"));return d?
d[0]:a}var g=window,d=g.document,a=g.screen,k=g.navigator,h=+new Date,o=[{key:"di",value:function(a){return b(a.id)}},{key:"dcb",value:u("BAIDU_DUP2_define")},{key:"dtm",value:u("BAIDU_DUP2_SETJSONADSLOT")},{key:"dbv",value:function(){var a=i.f;return a.$d?"1":a.kc?"2":"0"}},{key:"dci",value:function(a){for(var d="-1",b={fill:"0",fillOnePiece:"1",fillAsync:"2",preload:"3"},c=0;c<a.id.length;c++){var h=e.Wa(a.id[c]);if(h){var h=h.stack,g=h.length;if(1<=g){d=b[h[g-1]];break}}}return d}},{key:"dri",
value:function(a){return b(a.id,1)}},{key:"dis",value:function(){var a=0;i.p.G(g)&&(a+=1);i.p.T(g,g.top)&&(a+=2);var d=i.style.o(),b=i.style.j();if(40>d||10>b)a+=4;return a}},{key:"dai",value:function(a){return e.Eb(a.id).join(",")}},{key:"dds",value:function(){var a=i.data.C("dds");return i.lang.Ec(a)}},{key:"drs",value:function(){var a={uninitialized:0,loading:1,loaded:2,interactive:3,complete:4};try{return a[d.readyState]}catch(b){return-1}}},{key:"dvi",value:u("1428478665")},{key:"ltu",Ga:m,value:function(){var a=
i.url.Kb(function(a){var d=i.style.o(a),a=i.style.j(a);return 400<d&&120<a?m:s});0<a.indexOf("cpro_prev")&&(a=a.slice(0,a.indexOf("?")));return a}},{key:"liu",Ga:m,value:function(){return i.p.G(g)?d.URL:""}},{key:"ltr",Ga:m,value:function(){var a=i.p.Fb(),d="";try{d=a.opener?a.opener.document.location.href:""}catch(b){}return d||a.document.referrer}},{key:"lcr",Ga:m,value:function(a){if(a&&0!==a.id.length&&-1<a.id[0].indexOf("u"))return"";var a=d.referrer,b=a.replace(/^https?:\/\//,""),b=b.split("/")[0],
b=b.split(":")[0],b=j(b),c=j(),h=i.cookie.get("BAIDU_DUP_lcr");if(h&&c===b)return h;return c!==b?(i.cookie.set("BAIDU_DUP_lcr",a,{domain:c}),a):""}},{key:"ps",value:function(a){return e.Z(a.id).join(",")}},{key:"psr",value:function(){return[a.width,a.height].join("x")}},{key:"par",value:function(){return[a.availWidth,a.availHeight].join("x")}},{key:"pcs",value:function(){return[i.style.o(),i.style.j()].join("x")}},{key:"pss",value:function(){return[i.style.Jb(),i.style.Ib()].join("x")}},{key:"pis",
value:function(){return(i.p.G(g)?[i.style.o(),i.style.j()]:[-1,-1]).join("x")}},{key:"cfv",value:function(){var a=0;if(k.plugins&&k.mimeTypes.length){var d=k.plugins["Shockwave Flash"];d&&d.description&&(a=d.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0")}else if(g.ActiveXObject&&!g.opera)for(d=10;2<=d;d--)try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+d);b&&(a=b.GetVariable("$version").replace(/WIN/g,"").replace(/,/g,"."))}catch(c){}return parseInt(a,10)}},{key:"ccd",
value:function(){return a.colorDepth||0}},{key:"chi",value:function(){return g.history.length||0}},{key:"cja",value:function(){return k.javaEnabled().toString()}},{key:"cpl",value:function(){return k.plugins.length||0}},{key:"cmi",value:function(){return k.mimeTypes.length||0}},{key:"cce",value:function(){return k.cookieEnabled||0}},{key:"col",value:function(){return(k.language||k.browserLanguage||k.systemLanguage).replace(/[^a-zA-Z0-9\-]/g,"")}},{key:"cec",value:function(){return(d.characterSet?
d.characterSet:d.charset)||""}},{key:"cdo",value:function(){var a=window.orientation;a===l&&(a=-1);return a}},{key:"tsr",value:function(){var a=0,d=+new Date;h&&(a=d-h);return a}},{key:"tlm",value:function(){return Date.parse(d.lastModified)/1E3}},{key:"tcn",value:function(){return Math.round(+new Date/1E3)}},{key:"tpr",value:function(a){var a=a&&a.max_age?a.max_age:24E4,d=(new Date).getTime(),b,c;try{b=!!window.top.location.toString()}catch(h){b=s}c=b?window.top:window;(b=c.BAIDU_DUP2_pageFirstRequestTime)?
d-b>=a&&(b=c.BAIDU_DUP2_pageFirstRequestTime=d):b=c.BAIDU_DUP2_pageFirstRequestTime=d;return b||""}},{key:"_preview",value:function(a){return f.Ad(b(a.id))}},{key:"dpt",value:function(){var a="none";f.Za()&&(a="union");return a}},{key:"coa",Ga:m,value:function(a){var d=a.id,d=d[0].split("_")[0],a={},b=s,c=i.data.C("#novaOpenApi");if(c&&d&&c[d]){var b=m,d=c[d],h;for(h in d)h&&d.hasOwnProperty(h)&&"undefined"!==typeof d[h]&&(a[h]=encodeURIComponent(d[h]).toString())}b&&(a.c01=1);h=document.title;60<
h.length&&(h=h.substr(0,60));a.ti=h;h="";for(var g in a)g&&a.hasOwnProperty(g)&&"undefined"!==typeof a[g]&&(h+="&"+g+"="+a[g]);return h=h.slice(1)}},{key:"_unionpreview",value:function(){return f.Bd()}},{key:"baidu_id",value:u("")},{key:"_orientation",value:function(){return c.yd()}}];return{get:function(a,d){for(var b=[],c=0,h=o.length;c<h;c++){var g;try{var e=o[c],k=e.key,f=e.Ga,j=e.value,j="function"===typeof j?j(a):j,j=f?encodeURIComponent(j):j;if(d&&d===k)return j;g=k&&0!==k.indexOf("_")?k+"="+
j:j}catch(i){g=encodeURIComponent(i.toString()),g=g.slice(0,100)}g&&b.push(g)}b=b.join("&");return b.slice(0,2048)}}});
Y("request",["param","slot","util"],function(e,f,c){Y("request!",[],{name2url:function(c){return"http://pos.baidu.com/acom?"+e.get({id:c.split(",")})}});Y("batch!",[],{name2url:function(c){return"http://pos.baidu.com/acom?"+e.get({id:c.split(",")})}});return{send:function(e,b,j){if(!e||!b||j===l)return s;var g=[];if("array"!==c.lang.m(e))f.Aa(e,"request"),g=["request!"+e];else{for(g=0;g<e.length;g++)f.Aa(e[g],"request");g=1===e.length?["request!"+e[0]]:["batch!"+e.join(",")]}X(g,b,j);return m}}});
Y("control",["slot","request","preview","util"],function(e,f,c,i){function b(d,a,b){var c=a.deps,g=a.data,f=e.sc(d);b&&!f?e.na(d,"HolderNotFound"):c&&(0>c[0].indexOf("clb/")&&e.Aa(d,"finish"),X(c,function(a){if("object"===i.lang.m(g)){g.id=d;if(a.hasOwnProperty("validate"))try{var b=a.validate(g);b!==m&&i.log.hb({data:{type:b||"ResponseError",errorPainter:c[0],id:d,slotType:g._stype,materialType:g._isMlt,html:!!g._html}})}catch(k){e.na(d,"validateException")}if(a.hasOwnProperty("render"))try{e.Aa(d,
"render"),a.render(g,f)}catch(j){e.na(d,"RenderException")}else e.na(d,"RenderNotFound")}else e.na(d,"ResponseFormatError")},b))}function j(d,a,c){if(!d)return s;var c=c||"",h=e.add(d),d=h.ids[0]||h.preloadIds[0];i.data.U("timestampWathcer"+d,E);if(!d)return s;var g=e.ed(d,a);e.sb(d,a);e.create(d,a,c);h.ids.length?f.send(d,function(a){e.Xb(d,a);b(d,a,g)},g):h.preloadIds.length&&(a=e.Wa(d).response,b(d,a,g));return m}function g(d){for(var a=0,b=d+"_"+a;0!==e.Eb([b])[0];){var c=e.Wa(b);if((c=c&&c.response)&&
0===c.deps[0].indexOf("clb/")){var g=c.data,c=g._isMlt;(0===c&&""!==g._html||c===s&&g._fxp)&&e.Aa(b,"finish",0)}b=d+"_"+ ++a}if(d!==l&&(d=(a=window.BAIDU_CLB_SLOTS_MAP)&&a[d],d!==l&&(c=d._isMlt,0===c&&""!==d._html||c===s&&d._fxp)))d._done=s}window.BAIDU_CLB_prepareMoveSlot=g;return{fill:function(d){return j(d,"fill")},Ab:function(d,a){return j(d,"fillAsync",a)},Vd:function(){function d(a){f.send(a,function(d){if("array"===i.lang.m(d)){if(d&&d.length===a.length)for(var b=0;b<a.length;b++)e.Xb(a[b],
d[b])}else"object"===i.lang.m(d)&&d&&1===a.length&&e.Xb(a[0],d)},s)}var a=i.lang.pa(arguments),a=i.lang.unique(a),b=c.C();if(b)for(var h=0,g=a.length;h<g;h++)a[h]==b.Gc&&(a.splice(h,1),h--);for(a=e.add(a).ids;a.length;){b=a.splice(0,16);for(h=0;h<b.length;h++)e.sb(b[h],"preload");d(b)}},Xd:g}});
Y("global",["control","biz","util","preview"],function(e,f,c,i){function b(a){a=a.split(".");return k[a[0]]+a[1]}function j(){var b=a.BAIDU_DUP2;if(!("object"===c.lang.m(b)&&b.push)){if("array"===c.lang.m(b)&&b.length)for(var h=0;h<b.length;h++)g(b[h]);a.BAIDU_DUP2=l;c.data.ra("BAIDU_DUP2",{push:g});c.data.ra("BAIDU_DUP2_proxy",function(a){if(a)return function(){try{return g([a].concat(c.lang.pa(arguments)))}catch(d){0<aa--&&c.log.hb({data:{type:"ExecuteException",errorName:a,args:c.lang.pa(arguments).join("|"),
isQuirksMode:"CSS1Compat"!==document.compatMode,documentMode:document.documentMode||"",readyState:document.readyState||"",message:d.message}})}}});for(h in o)h&&c.lang.Xa.call(o,h)&&c.data.ra(h,a.BAIDU_DUP2_proxy(h));d()}}function g(a){if("array"!==c.lang.m(a))return s;var d=a.shift();c.data.ic("apiCount",d);return(d=o[d]||n[d]||s)&&d.apply(p,a)}function d(){function a(d){for(var b=0,c=I.length;b<c;b++)if(0===d.indexOf(I[b]))return m;return s}c.data.ra("BAIDU_DUP2_require",function(d){for(var b=0,
c=d.length;b<c;b++)if(a(d[b]))return;X.apply(p,arguments)});c.data.ra("BAIDU_DUP2_define",function(d,b){for(var c=0,h=b.length;c<h;c++)if(a(b[c]))return;Y.apply(p,arguments)})}var a=window,k={clb:"BAIDU_CLB_DUP2_",dan:"BAIDU_DAN_DUP2_",nova:"cpro",dup:"BAIDU_DUP_"},h=[{P:["clb.fillSlot","clb.singleFillSlot","clb.fillSlotWithSize"],Q:["fill"],O:e.fill},{P:["clb.fillSlotAsync"],Q:["fillAsync"],O:e.Ab},{P:["clb.preloadSlots"],Q:["preload"],O:e.Vd},{P:["clb.prepareMoveSlot"],Q:["prepareMove"],O:e.Xd},
{P:["clb.addOrientation"],Q:["addOrientation"],O:f.jc},{P:["clb.addOrientationOnce"],Q:["addOrientationOnce"],O:f.Rc},{P:["clb.setOrientationOnce"],Q:["setOrientationOnce"],O:f.fe},{P:["clb.setConfig"],Q:["putConfig"],O:c.data.Zd},{P:["clb.addSlot","clb.enableAllSlots","clb.SETHTMLSLOT"],Q:[],O:c.lang.Ac},{P:["dup.addSlotStatusCallback"],Q:[],O:f.Sc}],h=function(a){for(var d={},c={},h=0;h<a.length;h++){for(var g=a[h],e=g.P,f=g.Q,g=g.O;e.length;)d[b(e.shift())]=g;for(;f.length;)c[f.shift()]=g}return{Qd:d,
Yd:c}}(h),o=h.Qd,n=h.Yd;return{Dd:function(){var a=c.data.ua(b("clb.ORIENTATIONS"));if(a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&f.jc(d,a[d]);c.data.U("#novaOpenApi",c.data.ua("cproStyleApi"));var h=c.data.ua("cproArray");if(h)for(var a=0,g=h.length;a<g;a++)h[a]&&h[a].id&&e.Ab(h[a].id,"cpro_"+h[a].id);if(h=c.data.ua("cpro_mobile_slot")){a=0;for(g=h.length;a<g;a++){var k=h[a],o=k.id,n=c.data.C("#novaOpenApi")||{};n[o]||(n[o]={});for(d in k)d&&"id"!==d&&k.hasOwnProperty(d)&&(n[o][d]=
k[d]);c.data.U("#novaOpenApi",n);h[a]&&h[a].id&&e.Ab(h[a].id,"cpro_"+h[a].id)}}if(d=c.data.ua("cpro_id"))i.Za(d)&&(i.ie(d),d="u0"),e.fill(d);e.fill(c.data.ua(b("clb.SLOT_ID")));j()}}});Y("logService",["util/lang","util/event"],function(e,f){f.bind(window,"load",function(){X(["detect"],e.Ac,m)})});
Y("fingerprint","util/log,util/storage,util/event,util/browser,util/data,param".split(","),function(e,f,c,i,b,j){var g=window,d=s;i.d?6<=i.d&&(d=m):f.Vc()&&(d=m);0<=g.location.href.indexOf("wa.kuwo.cn")||(d&&(b.C("isFPLoaded",m)===m?d=s:b.U("isFPLoaded",m,m)),d&&c.bind(g,"load",function(){var a=g.document,d=a.body,b="http://pos.baidu.com/wh/o.htm?ltr="+j.get({},"ltr"),b=b+"&cf=u",c=a.createElement("div");c.id="BAIDU_DUP_fp_wrapper";c.style.position="absolute";c.style.left="-1px";c.style.bottom="-1px";
c.style.zIndex=0;c.style.width=0;c.style.height=0;c.style.overflow="hidden";c.style.visibility="hidden";c.style.display="none";a=a.createElement("iframe");a.id="BAIDU_DUP_fp_iframe";a.src=b;a.style.width=0;a.style.height=0;a.style.visibility="hidden";a.style.display="none";try{c.insertBefore(a,c.firstChild),d&&d.insertBefore(c,d.firstChild)}catch(e){}}),1E3>1E5*Math.random()&&e.Ld("http://release.baidu.com/coverage"))});
Y("replacement",["util"],function(e){function f(){var c=e.url.Kb(),i=e.url.uc(c,ma,m);f=function(){return i};return i}return{zd:function(){return f()}}});X(["replacement"],function(e){(e=e.zd())?X([e]):(X(["global"],function(e){e.Dd()}),X(["logService"]),X(["fingerprint"]))});
window.BAIDU_DUP2_define&&window.BAIDU_DUP2_define("detect",["api"],function(e){function f(c){c.url="";c.host=window.location.hostname;c.from="DUP";e.sendLog({data:c,Je:"now"})}try{setTimeout(function(){var c=e.getSlots(),b;for(b in c){var j=c[b],g=j.response,d=s;if("object"!==e.getType(g))d=m;else{var d=m,a;for(a in g)if(Object.prototype.hasOwnProperty.call(g,a)){d=s;break}}var k=j.status,j=j.stack;d?f({type:"preload"===j[0]?"preloadFail":"loadFail",id:b}):!k.render&&!k.finish&&f({type:"renderFail",
id:b,error:"preload"===j[0]?"PreloadNotFilled":"NotFilled",empty:!(!g.data||!g.data._html)})}},0)}catch(c){}});
window.BAIDU_DUP2_define&&window.BAIDU_DUP2_define("viewWatch",["util","param"],function(e,f){function c(){var a=+new Date,b=500;x===d&&q&&(b=a-q);q=a;for(var c in n)if(o.call(n,c)){x===j&&(x=g);var f=n[c];f.cb&&(f.Ob+=b);f.bb&&(f.Nb+=b);f.Sb=a-f.timestamp;if(x===d)z&&(f.Va+=a-f.ab);else if(72E5<=f.Sb)i(s);else{var k=f=l,v=l;for(v in n)if(o.call(n,v)){var r=n[v];if(z){var t=e.p.c(r.qe);if(!t)break;try{var K=h.o(B),ba=h.j(B),Q=h.Z(t);r.top=Q.top;r.left=Q.left;var ca=h.F(B),da=h.Ja(B),ea=h.wa(t),fa=
h.va(t),ga=Q.top-ca+0.35*fa,ha=Q.left-da+0.35*ea;r.cb=0<ga&&ga<ba&&0<ha&&ha<K;var va=ea*fa,ia=h.Z(t),U=ia.top-ca,V=ia.left-da,ja=h.wa(t),ka=h.va(t),la=t=0,t=0>U?Math.max(U+ka,0):Math.min(ka,Math.max(ba-U,0)),la=0>V?Math.max(V+ja,0):Math.min(ja,Math.max(K-V,0));f=la;k=t;r.bb=k*f>0.5*va}catch(wa){r.cb=s,r.bb=s}}else r.cb=s,r.bb=s}}}}function i(h){clearInterval(r);var f=document.domain.toLowerCase();if(!(-1<f.indexOf("autohome.com.cn")||-1<f.indexOf("sina.com.cn")||-1<f.indexOf("pconline.com.cn")||-1<
f.indexOf("pcauto.com.cn")||-1<f.indexOf("pclady.com.cn")||-1<f.indexOf("pcgames.com.cn")||-1<f.indexOf("pcbaby.com.cn")||-1<f.indexOf("pchouse.com.cn")||-1<f.indexOf("xcar.com.cn")))if(x!==g)x=d;else{x=d;c();var f=s,k;for(k in n)if(k&&n.hasOwnProperty(k)&&n[k]){var j=n[k];"block"===j.Md&&(f=m);j.total=v;e.log.hb({url:b(j)})}if(h&&f)if(h=+new Date,a.d)for(f=h+200;f>+new Date;);else{k=1E5;for(f=0;f<k;f++);f=+new Date;k=Math.min(200*k/(f-h),1E7);for(f=0;f<k;f++);}}}function b(a){var d=["tu="+a.id,"word="+
f.get(l,"ltu"),"if="+f.get(l,"dis"),"aw="+a.width,"ah="+a.height,"pt="+a.Sb,"it="+a.Ob,"vt="+a.Nb,"csp="+t,"bcl="+a.$c,"pof="+a.de,"top="+a.top,"left="+a.left,"total="+a.total];return a.url+(a.qc?a.qc+"&":"")+d.join("&")}var j=1,g=2,d=3,a=e.f,k=e.event.bind,h=e.style,o=e.lang.Xa,n=[],v=0,r=0,x=j,z=m,q=0,t=[1E4<screen.availWidth?0:screen.availWidth,1E4<screen.availHeight?0:screen.availHeight].join(),B=window;e.p.G(window)&&!e.p.T(window)&&(B=window.top);r=setInterval(c,500);(function(){function d(){var a=
+new Date,b;for(b in n)if(o.call(n,b)){var c=n[b];c.Va+=a-c.ab;c.ab=a}z=s}function b(){var a=+new Date,d;for(d in n)o.call(n,d)&&(n[d].ab=a);z=m}a.d?(k(document,"focusin",b),k(document,"focusout",d)):(k(window,"focus",b),k(window,"blur",d))})();k(window,"beforeunload",i);return{register:function(a){var d=+new Date,b=a.id,c=a.wrapperId,g=a.url||"http://eclick.baidu.com/a.js?",f=a.logType||"storage",a=a.extra||"";if(c&&!n[c]){var k=e.p.c(c);if(k){var j=h.Z(k);n[c]={id:b,qe:c,url:g,Md:f,qc:a,timestamp:d,
Ob:0,cb:s,Nb:0,bb:s,Sb:0,Va:0,ab:d,top:j.top,left:j.left,Ne:t,opacity:h.tc(k),$c:[h.o(),h.j()].join(),de:[h.Jb(),h.Ib()].join(),width:h.wa(k),height:h.va(k)};v++}}},getWatchCount:function(){return v}}});
Y&&Y("union/preview",["union/common/bom","union/common/logic","union/common/cookie"],function(e,f,c){function i(b){b=decodeURIComponent(b).replace(/\\x1e/g,"&").replace(/\\x1d/g,"=").replace(/\\x1c/g,"?").replace(/\\x5c/g,"\\");return f.Kd(b)}function b(b,g){var d;d=g?g.substring(g.indexOf("?")):e.T(window)?window.location.search.slice(1):window.top.location.search.slice(1);var a=document.referrer,k=0<=b.indexOf("inlay")||"ui"===b?"bd_cpro_prev":"bd_cpro_fprev",h="",o;try{o=document.cookie}catch(n){}-1!==
d.indexOf(k)&&(h=f.vc(d,k));!h&&o&&-1!==o.indexOf(k)&&(h=c.ha(k));!h&&-1!==a.indexOf(k)&&(h=f.vc(a,k));return h}return{Hb:function(c,g){var d=window.location.href,a=parseInt(c.rsi0,10),e=parseInt(c.rsi1,10),h=parseInt(c.at,10),f=s,n=b(g,d);if(n)if(n=i(n),h===l&&(h=1),1!==parseInt(n.type,10)&&2===(h&2))f=parseInt(n.imgWidth,10)===parseInt(a,10)&&parseInt(n.imgHeight,10)===parseInt(e,10);else if(1===parseInt(n.type,10)&&(1===(h&1)||64===(h&64)||32===(h&32)))f=m;return f?(a=0<=g.indexOf("inlay")||"ui"===
g?"bd_cpro_prev":"bd_cpro_fprev",d=b(g,d),e=c.tn,h=i(d),f=p,0<=g.indexOf("inlay")?f={serviceUrl:"http://cpro.baidu.com/cpro/ui/preview/templates/"+(1===parseInt(h.type,10)?e+".html":2===parseInt(h.type,10)?"image.html":4===parseInt(h.type,10)?"flash.html":"blank_tips.html")+"?",paramString:(""+a+"=#"+d+"&ut="+ +new Date).replace(/\.(?!swf)/g,"%252e")}:0<=g.indexOf("float")&&(h=parseInt(h.type,10),h="http://cpro.baidu.com/cpro/ui/preview/templates/"+(2===h?"float_image.html":4===h?"float_flash.html":
"blank_tips.html")+"?",d="tn="+e+("&"+a+"="+d).replace(/\./g,"%252e")+"&ut="+ +new Date,f={serviceUrl:h,paramString:d}),f):p}}});
Y&&Y("union/business/businessLogic",["union/preview","union/common/dom","api"],function(e,f,c){var i={inlay:8,"float":2,patch:2,linkunit:20,popup:1},b={inlay:{},"float":{},patch:{},linkunit:{},popup:{}},j={1001:"inlay-fixed",1002:"inlay-float",2001:"float-left-middle",2002:"float-right-middle",2003:"float-left-bottom",2004:"float-right-bottom",2005:"float-top",2006:"float-bottom",2007:"float-linkunit-left",3001:"patch-webpage",3002:"patch-flash",4001:"captcha-webpage"};return{fb:function(b){var d=
b._html||{},a="",f="http://pos.baidu.com/acom?",h=b.id.split("_")[0],j=parseInt(d.conW||0,10)||parseInt(b._w,10)||parseInt(b.sw,10)||parseInt(d.rsi0,10),n=parseInt(d.conH||0,10)||parseInt(b._h,10)||parseInt(b.sh,10)||parseInt(d.rsi1,10),i=b.displayType,r=d.tn||"",x=r.toLowerCase(),z=d.ch||0,q=b.qn||"",t=d.n||"",B=d.dai||0;d.dtm="BAIDU_DUP2_SETJSONADSLOT";d.dc="2";d.di=h;(a=c.getInfo("timestampWathcer"+b.id))&&(d.tt=a.t1+"."+(a.t2-a.t1)+"."+(a.t3-a.t1)+"."+(+new Date-a.t1));var a=[],w;for(w in d)w&&
d.hasOwnProperty(w)&&a.push(""+w+"="+encodeURIComponent(d[w].toString()));a=a.join("&");if((w=e.Hb(d,i))&&w.serviceUrl!==l&&w.paramString!==l)f=w.serviceUrl,a=w.paramString;return{slotId:h,slotWidth:j,slotHeight:n,displayType:i,styleType:x,iframeId:"cproIframe_"+h+"_"+d.dai,unionAccount:t,adIndex:B,channel:z,pvId:q,stuffType:"unknown",serviceUrl:f,paramString:a,delayIn:d.delayIn,delayOut:d.delayOut,sessionSync:d.sessionSync!==s&&"false"!==d.sessionSync,closeFor:d.closeFor,xuantingType:d.xuanting,
tn:r}},Ub:function(b){var d={};d.fd=(b.fd||"pc").toLowerCase();d.J=(b.J||"inlay-fixed").toLowerCase();d.z=(b.z||"template_inlay_all_normal").toLowerCase();d.ba=(b.ba||"text").toLowerCase();d.S=b.S;if(-1<d.z.indexOf("tlink")||-1<d.z.indexOf("linkunit"))d.J="linkunit-fixed";0<=d.z.indexOf("float_xuanfuwin")&&(d.J="popup-float");b=d.J.split("-");d.xb=b[0]||"inlay";d.ze=b[1]||"fixed";return d},ub:function(b){var b=this.Ub(b),d=b.xb;return this.nd(b)<i[d]},nd:function(c){var c=this.Ub(c),d=0,c=b[c.xb],
a;for(a in c)a&&c[a]&&c.hasOwnProperty(a)&&(f.c(a)?d++:c[a]=l);return d},ib:function(c){c=this.Ub(c);b[c.xb][c.S]=1;return m},Lb:function(b,d){var a=document.getElementById("cpro_"+b);a||(a=document.getElementById(d));return a},rd:function(b){return j[b]},kb:function(b){var d=b.slotId;X(["viewWatch"],function(a){a.register({id:d,wrapperId:b.iframeId,logType:"block",extra:"ch="+b.channel+"&jk="+b.pvId+"&n="+b.unionAccount})},m)}}});
Y&&Y("union/common/bom",[],function(){var e={};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(e.d=document.documentMode||+RegExp.$1);/opera\/(\d+\.\d)/i.test(navigator.userAgent)&&(e.opera=+RegExp.$1);/firefox\/(\d+\.\d)/i.test(navigator.userAgent)&&(e.kd=+RegExp.$1);/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(navigator.userAgent)&&!/chrome/i.test(navigator.userAgent)&&(e.ce=+(RegExp.$1||RegExp.$2));/chrome\/(\d+\.\d)/i.test(navigator.userAgent)&&(e.kc=+RegExp.$1);try{/(\d+\.\d)/.test(window.external.He)&&
(e.Nd=+RegExp.$1)}catch(f){}e.yc=/webkit/i.test(navigator.userAgent);e.Hd=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);e.xc="CSS1Compat"==document.compatMode;return{f:e,I:function(){var c=m;if(this.f.d&&(7>this.f.d||"BackCompat"===document.compatMode))c=s;return c},Jb:function(c){try{return c=c||window,"BackCompat"===c.document.compatMode?c.document.body.scrollWidth:c.document.documentElement.scrollWidth}catch(e){return 0}},Ib:function(c){try{return c=c||window,"BackCompat"===
c.document.compatMode?c.document.body.scrollHeight:c.document.documentElement.scrollHeight}catch(e){return 0}},o:function(c){try{return c=c||window,"BackCompat"===c.document.compatMode?c.document.body.clientWidth:c.document.documentElement.clientWidth}catch(e){return 0}},j:function(c){try{return c=c||window,"BackCompat"===c.document.compatMode?c.document.body.clientHeight:c.document.documentElement.clientHeight}catch(e){return 0}},F:function(c){c=(c||window).document;return window.pageYOffset||c.documentElement.scrollTop||
c.body.scrollTop},Ja:function(c){c=(c||window).document;return window.pageXOffset||c.documentElement.scrollLeft||c.body.scrollLeft},$a:function(c){var e=s;try{c&&"object"===typeof c&&c.document&&"setInterval"in c&&(e=m)}catch(b){e=s}return e},G:function(c){c=c||window;return c!=window.top&&c!=c.parent||!this.$a(c)},T:function(c,e){for(var e=2===arguments.length?e:c.parent,b=0;10>b++&&this.G(c,e);){var f;try{f=!!c.parent.location.toString()}catch(g){f=s}if(!f)return m;c=c.parent}return 10<=b?m:s},
ee:function(c,e){var b=new Image,f="cpro_log_"+Math.floor(2147483648*Math.random()).toString(36),e=e||window;e[f]=b;b.onload=b.onerror=b.onabort=function(){b.onload=b.onerror=b.onabort=p;b=e[f]=p};b.src=c},Ia:function(c){if(!c)return document;"string"===typeof c&&(c=document.getElementById(c));return 9===c.nodeType?c:c.ownerDocument||c.document},$:function(c){"string"===typeof c&&(c=document.getElementById(c));c=this.Ia(c);return c.parentWindow||c.defaultView||p},Ee:function(c){c=c||window;return this.G(c)&&
!this.T(c,c.top)&&this.$a(c.top)?c.top:c}}});
Y&&Y("union/common/cookie",[],function(){return{ha:function(e,f){var c,i=RegExp("(^| )"+e+"=([^;]*)(;|$)").exec((f||window).document.cookie);i&&(c=i[2]);return c},za:function(e,f,c){var c=c||{},i=c.sa;"number"==typeof c.sa&&(i=new Date,i.setTime(i.getTime()+c.sa));document.cookie=""+e+"="+f+(c.path?"; path="+c.path:"")+(i?"; expires="+i.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.Pe?"; secure":"")},remove:function(e){var f=new Date;f.setTime(f.getTime()-86400);this.za(e,"",{path:"/",sa:f})}}});
Y&&Y("union/common/dom",["union/common/oo","union/common/bom"],function(e,f){return e(function(c){var e=f.f;return{c:function(b,c){return"string"===typeof b||b instanceof String?(c||window).document.getElementById(b):b},wc:function(b,e){var g=m;if("string"===typeof e)return b.id===e;if(e.constructor===Object)return c.hd(e,function(a,d){var c=(b.getAttribute?b.getAttribute(d):b[d])||b[d];if("tagName"===d){if(c.toUpperCase()!=a.toUpperCase())return g=s}else if(c!=a)return g=s}),g;if(e.constructor===
Array){var d=e.concat([]);d.reverse();for(var a=b;a&&d.length;a=a.parentNode)this.wc(a,d[0])&&d.shift();return!d.length?m:s}},Nc:function(b,c){if(b&&c(b)!==s){var e=b.childNodes;if(e)for(var d=0,a=e.length;d<a;d++)if(this.Nc(e[d],c)===s)return s}},Kc:function(b,c){var e=this;b.constructor===Object&&(b=this.v(b));if("string"===typeof c){for(var d=document.getElementById(c),a=d;a;){if(a===b)return d;a=a.parentNode}return p}if(c.constructor===Object){var f=p;e.Nc(b,function(a){if(e.wc(a,c))return f=
a,s});return f}},v:function(b){if(b){if(b.nodeName)return b;1<arguments.length&&(b=Array.prototype.slice.call(arguments,0));if("string"===typeof b)return document.getElementById(b);if(b.constructor===Object)return this.Kc(document.documentElement,b);if(b.constructor===Array){for(var c=b.concat([]),e=document.documentElement;c.length&&e;)e=this.Kc(e,c.shift());return e}}},ae:function(b,f,g){var g=g||this.Ue||window,d=g.document;this.oc=0;this.xa=this.xa||[];this.xa.push({Db:b,nc:f||0,yb:s});var a=
c.k(function(){var a=s;this.oc++;var b=s;try{g.frameElement&&(b=m)}catch(c){b=m}if(e.d&&9>e.d&&!b)try{d.documentElement.doScroll("left"),a=m}catch(f){}else if("complete"===d.readyState||this.gd)a=m;else if(3E5<this.oc){this.ea&&(g.clearInterval(this.ea),this.ea=p);return}if(a)try{if(this.xa&&this.xa.length)for(var a=0,j=this.xa.length;a<j;a++){var r=this.xa[a];r&&r.Db&&!r.yb&&(r.nc?(r.yb=m,g.setTimeout(r.Db,r.nc)):(r.yb=m,r.Db()))}}catch(x){throw x;}finally{this.ea&&(g.clearInterval(this.ea),this.ea=
p)}},this),b=c.k(function(){this.gd=m;a()},this);this.ea||(this.ea=g.setInterval(a,50),d.addEventListener?(d.addEventListener("DOMContentLoaded",b,s),g.addEventListener("load",b,s)):d.attachEvent&&g.attachEvent("onload",b,s))},I:function(){var b=m;if(e.d&&(7>e.d||"BackCompat"===document.compatMode))b=s;return b},bind:function(b,c,e){"string"===typeof b&&(b=this.v(b));c=c.replace(/^on/i,"").toLowerCase();b.addEventListener?b.addEventListener(c,e,s):b.attachEvent&&b.attachEvent("on"+c,e);return b},
Oc:function(b,c,e){b=this.v(b);if(!b)return p;c=c.replace(/^on/i,"").toLowerCase();b.removeEventListener?b.removeEventListener(c,e,s):b.detachEvent&&b.detachEvent("on"+c,e);return b},s:function(b,c){var e;"string"===typeof b&&(b=this.v(b));var d=f.Ia(b),a="",a=-1<c.indexOf("-")?c.replace(/[-_][^-_]{1}/g,function(a){return a.charAt(1).toUpperCase()}):c.replace(/[A-Z]{1}/g,function(a){return"-"+a.charAt(0).toLowerCase()});d&&d.defaultView&&d.defaultView.getComputedStyle?((d=d.defaultView.getComputedStyle(b,
p))&&(e=d.getPropertyValue(c)),"boolean"!==typeof e&&!e&&(e=d.getPropertyValue(a))):b.currentStyle&&((d=b.currentStyle)&&(e=d[c]),"boolean"!==typeof e&&!e&&(e=d[a]));return e},Z:function(b,c){c=c||window;"string"===typeof b&&(b=this.v(b));if(b){for(var e=this.ga(b),d,a=0;c!=c.parent&&10>a;)a++,d=this.ga(c.frameElement),e.left+=d.left,e.top+=d.top,c=c.parent;return e}},ga:function(b){"string"===typeof b&&(b=this.v(b));var c=f.Ia(b),e=f.f;0<e.Hd&&c.getBoxObjectFor&&this.s(b,"position");var d={left:0,
top:0},a;if(b==(e.d&&!e.xc?c.body:c.documentElement)||!b)return d;if(b.getBoundingClientRect)b=b.getBoundingClientRect(),d.left=Math.floor(b.left)+Math.max(c.documentElement.scrollLeft,c.body.scrollLeft),d.top=Math.floor(b.top)+Math.max(c.documentElement.scrollTop,c.body.scrollTop),d.left-=c.documentElement.clientLeft,d.top-=c.documentElement.clientTop,b=c.body,c=parseInt(this.s(b,"borderLeftWidth"),10),b=parseInt(this.s(b,"borderTopWidth"),10),e.d&&!e.xc&&(d.left-=isNaN(c)?2:c,d.top-=isNaN(b)?2:
b);else{a=b;do{d.left+=a.offsetLeft;d.top+=a.offsetTop;if(0<e.yc&&"fixed"==this.s(a,"position")){d.left+=c.body.scrollLeft;d.top+=c.body.scrollTop;break}a=a.offsetParent}while(a&&a!=b);if(0<e.opera||0<e.yc&&"absolute"==this.s(b,"position"))d.top-=c.body.offsetTop;for(a=b.offsetParent;a&&a!=c.body;){d.left-=a.scrollLeft;if(!e.opera||"TR"!=a.tagName)d.top-=a.scrollTop;a=a.offsetParent}}return d},wa:function(b,c){var b=this.v(b),e=b.offsetWidth;if(c||s)var d=this.s(b,"marginLeft").toString().toLowerCase().replace("px",
"").replace("auto","0"),a=this.s(b,"marginRight").toString().toLowerCase().replace("px","").replace("auto","0"),e=e+(parseInt(d||0,10)+parseInt(a||0,10));return e},va:function(b,c){var b=this.v(b),e=b.offsetHeight;if(c||s)var d=this.s(b,"marginTop").toString().toLowerCase().replace("px","").replace("auto","0"),a=this.s(b,"marginBottom").toString().toLowerCase().replace("px","").replace("auto","0"),e=e+(parseInt(d||0,10)+parseInt(a||0,10));return e},De:function(b){var b=this.v(b),c=this.$(b),e=0;if(this.G(window)&&
!f.T(window)){for(;c.parent!=window.top&&10>e;)e++,c=c.parent;10>e&&(b=c.frameElement||b)}return b},Gb:function(b){var c=this.v(b),b=this.$(c),e=100,d;try{for(;c&&c.tagName;){d=100;if(this.f.d){if(5<this.f.d)try{d=c.Be.alpha.opacity||100}catch(a){}e=e>d?d:e}else{try{d=100*(b.getComputedStyle(c,p).opacity||1)}catch(f){}e*=d/100}c=c.parentNode}}catch(h){}return e||100},tc:function(b){for(var c=this.v(b),b=this.$(c),c=this.Gb(c),e=100,d=0;this.G(b);){d++;if(f.T(b,b.parent))break;else e=100,b.frameElement&&
(e=this.Gb(b.frameElement)),c*=e/100;b=b.parent}return c}}})});
Y&&Y("union/common/logic",[],function(){return{Ae:function(e){(e=e||"")&&(e=e.replace(/%u[\d|\w]{4}/g,function(e){return encodeURIComponent(unescape(e))}));return e},ja:function(e,f){return e.replace(/{(.*?)}/g,function(c,e){return f[e]||""})},Kd:function(e){var f="";window.JSON&&window.JSON.parse&&(f=window.JSON.parse(e));return f},vc:function(e,f){if(e&&f){var c=e.match(RegExp("(^|&|\\?|#)"+f+"=([^&]*)(&|$)",""));if(c)return c[2]}return p},Ke:function(e,f){var e=e||"",f=f||"?",c=arguments.callee;
c.hasOwnProperty[f]||(c[f]={});c=c[f];if(c.hasOwnProperty(e))return c[e];var i={},b=e.indexOf(f),j=e.substring(b+1).split("&");if(-1!==b)for(var b=0,g=j.length;b<g;b++){var d=j[b].split("="),a=decodeURIComponent(d[0]),d=decodeURIComponent(d[1]);i.hasOwnProperty(a)?(i[a].constructor!==Array&&(i[a]=[i[a]]),i[a].push(d)):i[a]=d}return c[e]=i}}});
Y&&Y("union/common/oo",[],function(){function e(b){var c=e.create(e);return b.call(c,c,c.hc)}function f(b,c){if(b.constructor===Array)for(var e=0,d=b.length;e<d;e++){if(c.call(b,b[e],e,b)===s)return s}else{var e=!{toString:1}.propertyIsEnumerable("toString"),a="toString,toLocaleString,valueOf,constructor,propertyIsEnumerable,hasOwnProperty,isPrototypeOf".split(",");for(d in b)if(b.hasOwnProperty(d)&&c.call(b,b[d],d,b)===s)return s;if(e){e=0;for(d=a.length;e<d;e++){var f=a[e];if(b.hasOwnProperty(f)&&
c.call(b,f,e,b)===s)return s}}}return m}function c(b,c,e){f(c,function(d,a){if(!b.hasOwnProperty(a)||e)b[a]=d})}function i(b){function c(){}if(Object.create)return Object.create(b);c.prototype=b;return new c}e.hc={};e.create=i;e.hd=f;e.pb=function(b){var e,f=b.hasOwnProperty("constructor")?b.constructor:function(){};f.prototype=b;f.prototype.constructor=f;e=e||{};e.Yb&&c(f,e.Yb);return f};e.extend=function(b,e,f){var d;d=e.hasOwnProperty("constructor")?e.constructor:function(){b.constructor.apply(this,
arguments)};d.prototype=i(b.prototype);c(d.prototype,e,m);d.prototype.constructor=d;d.prototype.ve=b.prototype;c(d,b);f=f||{};f.Yb&&c(d,f.Yb,m);return d};e.Ie=function(b){var c=this.hc;f(b.split("."),function(b){c.hasOwnProperty(b)||(c[b]={});c=c[b]});return c};e.k=function(b,c){var e;return function(){e=e||[];for(var d=0,a=arguments.length;d<a;d++)e.push(arguments[d]);return b.apply(c||{},e)}};return e});
Y&&Y("union/DynamicFloatDecorator",["union/common/bom","union/common/dom","union/common/cookie","union/common/oo"],function(e,f,c,i){var b=window,j;i(function(g){j=g.pb({constructor:function(d){this.Pb(d);this.Ed();this.Fd()},Pb:function(d){this.r=d.r;this.da=d.da;this.N=5;this.a=f.c(this.r);this.Pc=f.c(d.ue);this.Ca=f.c(d.se);this.g=d.g;this.l=d.l||0;0>this.l&&(this.l=0);this.R="bd_close_"+d.h;c.ha(this.R,b);if(this.g&&(this.tb=500,this.oa=s,this.Qa=m,this.A=d.A||0,this.B=d.B||0,0>this.A&&(this.A=
0),0>this.B&&(this.B=0),this.w=d.w||s))this.l=0;this.i=d.i;var a=f.c(this.da);0===this.i?a&&a.getAttribute("_src")&&a.setAttribute("src",a.getAttribute("_src")):isNaN(this.i)?a.parentNode.removeChild(a):(this.Sa=d.Sa?d.Sa:0,this.la=d.la?d.la:0,this.aa=d.aa||s)},Ed:function(){if(!this.aa){var d=f.I(),a;if(this.i){a=1;if(2===this.i)this.g="top",a=2;else if(3===this.i)this.g="bottom",a=1;else if(1!=this.i&&0!=this.i&&this.a){this.a.style.display="none";return}for(var c=1;2>=c;c++)(function(a){var d=
"bkimg_"+ +new Date+Math.floor(1E5*Math.random()),b=window[d]=new Image;b.onload=b.onerror=function(){b.onload=b.onerror=p;b=window[d]=p};b.src="http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+a+".png"})(c);this.g&&!d&&this.a&&document.body.appendChild(this.a);var c=2===this.i||3===this.i,h=1<this.i?"display:none;":"",g=1===this.i?"width:"+this.Sa+"px;":"";this.g&&!d&&(g=e.o(window)+"px");var n;f.I()?2===this.i?n="position:fixed;top:0;width:100%;":3===this.i&&(n="position:fixed;bottom:0;width:100%;"):
2===this.i?n="position:absolute;top:0;width:100%;":3===this.i&&(n="position:absolute;top:"+(e.F(b)+e.j(b)-this.Sa)+"px;width:100%;");d="";e.f.d&&7>e.f.d&&(d="_background-image:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+a+".png');");if(this.a){var i="",j="";c&&(i='<div id="'+this.r+'Toggle" style="z-index:2147483646;cursor:pointer;position:absolute;right:0;'+this.g+':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'+
a+".png);"+d+'"></div></div>',j='<div id="'+this.r+'Bk" style="'+this.g+':0;left:0;position:absolute;width:100%;height:100%;background-color:#666;-moz-opacity:.6;filter:alpha(opacity=60);opacity:.6;"></div>');var x="position:relative;margin:5px 0;";this.a.insertAdjacentHTML("afterBegin",j+i);a=this.a.getElementsByTagName("IFRAME")[0]}else a=f.c(this.da);c&&(this.nb=document.getElementById(this.r+"Toggle"),this.ob=this.nb.getElementsByTagName("DIV")[0],this.g&&this.a.setAttribute("dockTo",this.g),
this.ca=document.getElementById(this.r+"Bk"),this.ca.style.height=this.la+10+"px",this.nb.style.height=this.la+10+"px",this.a.style.cssText=h+g+"height:"+(this.la+10)+"px;right:0;z-index:2147483646;text-align:center;font-size:0;_overflow-y:hidden;"+n,a.style.cssText=x);this.W()}}},Fd:function(){f.ae(i.k(this.Pd,this));f.bind(b,"scroll",i.k(this.W,this));f.bind(b,"resize",i.k(this.W,this));this.aa&&f.bind(b,"onorientationchange"in window?"orientationchange":"resize",i.k(this.W,this));this.nb&&f.bind(this.nb,
"click",i.k(this.ac,this));this.Pc&&f.bind(this.Pc,"click",i.k(this.te,this));this.Ca&&f.bind(this.Ca,"click",i.k(this.re,this))},Pd:function(){if(this.a){var d=this;this.a.setAttribute("baiduxuanting","baiduCproXuantingRoof");this.g&&(c.ha(this.R,b)?this.a.parentNode.removeChild(this.a):(setTimeout(function(){if(d.a){var a=f.c(d.da);a.getAttribute("_src")&&a.setAttribute("src",a.getAttribute("_src"));d.a.style.display="block"}},this.A),this.B&&setTimeout(function(){d.a&&(d.a.style.display="none",
d.a.parentNode.removeChild(d.a))},this.A+this.B)))}},jb:function(){var d={path:""};if(this.l){var a=new Date;a.setTime(a.getTime()+this.l);d.sa=a}c.za(this.R,1,d)},te:function(){this.a&&(this.a.parentNode.removeChild(this.a),c.remove(this.R),(this.w||this.l)&&this.jb(),document.body.removeChild(f.c(this.da+"Wrap_placeholder")))},re:function(){var d=f.c(this.da);"hidden"===d.parentNode.style.visibility?(d.parentNode.style.visibility="visible",this.Ca.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_shouqi.png)",
this.Ca.innerHTML="\u6536\u8d77"):(d.parentNode.style.visibility="hidden",this.Ca.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/lu_logo.png)",this.Ca.innerHTML="")},ac:function(){this.Qa?this.Mb():this.show()},Oa:function(d){if(!this.oa){this.oa=m;var a=this.ca,b=f.c(this.da),c=this.g,g=this.a.offsetHeight,n=Math.round(this.tb/g),i=0;d&&(this.a.style.width="100%");var j=+new Date,x=this,z=setInterval(function(){var f=i=Math.round((+new Date-j)/n),t=f;d&&(t=g-f);
a.style[c]=-t+"px";b.style[c]=-t+"px";f>=g&&(this.oa=s,(x.Qa=d)&&"top"===c||!d&&"bottom"===c?e.f.d&&7>e.f.d?this.ob.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png');":this.ob.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png)":e.f.d&&7>e.f.d?this.ob.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png');":
this.ob.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png)",t=g,d&&(t=0),a.style[c]=-t+"px",b.style[c]=-t+"px",clearInterval(z))},n)}},show:function(){this.w&&c.remove(this.R);this.Oa(m)},Mb:function(){(this.w||this.l)&&this.jb();this.Oa(s)},W:function(){var d=e.o(b);this.g&&!this.aa&&(this.a&&(this.a.style.width=d+"px"),this.ca&&(this.ca.style.width=d+"px"));this.Fc&&clearTimeout(this.Fc);this.Fc=setTimeout(i.k(this.La,this),5)},La:function(){f.s(document.body,
"position");if(f.I()){this.a.style.zIndex=2147483646;if(1===this.i)if("fixed"===this.a.style.position)this.Da(),this.Gd()&&(this.a.style.cssText=p,this.Vb());else{var b=this.cc();b&&(this.Fa(),this.a.style.position="fixed",this.a.style.top=b+"px",this.Da())}4===this.i&&(this.ka||(this.ka=this.a.style.bottom.replace("px","")),this.a.style.bottom=361>e.j()?Math.min(60,this.ka)+"px":this.ka+"px")}else this.ya(this.r)},Fa:function(){var b=this.r+"placeholder",a=document.createElement("div");a.id=b;a.align&&
(a.align=this.a.getAttribute("align"));a.style.width=this.a.getAttribute("width")+"px";a.style.height=this.a.getAttribute("height")+"px";a.style.margin="0";a.style.padding="0";a.style.background="none";a.style.border="none";this.a.parentNode.insertBefore(a,this.a);return m},Vb:function(){var b=document.getElementById(this.r+"placeholder");b.parentNode.removeChild(b);return m},cc:function(){return 5>this.q(this.a).top?5:s},Jd:function(){return 5>this.q(this.a).top?5:s},Gd:function(){var b=document.getElementById(this.r+
"placeholder");return this.a&&b&&(b=this.q(b).X.top,this.q(this.a).X.top<=b)?m:s},Da:function(){var b=document.getElementById(this.r+"placeholder");this.a&&b&&(this.a.style.left=this.q(b).left+"px")},q:function(c){var a=f.ga(c),e=f.Ja(b),h=f.F(b),g=f.wa(c,s),c=f.va(c,s);return{top:a.top-h,bottom:a.top-h+c,left:a.left-e,right:a.left-e+g,X:{top:a.top,bottom:a.top+c,left:a.left,right:a.left+g}}},ya:function(){var c=e.F(b),a=f.s(b.document.body,"position").toString(),k=f.ga(b.document.body),h=k.left,
g=k.top;if(k=document.getElementById(this.r))if(k.style.position="absolute",k.style.zIndex=2147483646,1===this.i)if(document.getElementById(this.r+"placeholder")){var n=document.getElementById(this.r+"placeholder"),i=this.q(n);k.style.top=c+this.N+"px";k.style.left=i.X.left+"px";"relative"===a&&(k.style.top=c+this.N-g+"px",k.style.left=i.X.left-h+"px");k.style.visibility="visible";c=this.q(k);i.X.top>=c.X.top&&(k.parentNode.removeChild(k),n.parentNode.insertBefore(k,n),n.parentNode.removeChild(n),
k.style.cssText=p)}else{if(n=this.Jd())this.N=n,this.Fa(this.r),n=document.getElementById(this.r+"placeholder"),i=this.q(n),k.parentNode.removeChild(k),document.body.appendChild(k),k.style.zIndex=2147483646,k.style.top=c+this.N+"px",k.style.left=i.X.left+"px","relative"===a&&(k.style.top=c+this.N-g+"px",k.style.left=i.X.left-h+"px"),k.style.visibility="visible",k.style.position="absolute"}else 2===this.i?k.style.top=c+"px":3===this.i?k.style.top=c+e.j()-(this.la+10)+"px":4===this.i&&(this.ka||(this.ka=
this.a.style.bottom.replace("px","")),this.a.style.bottom=361>e.j()?Math.min(60,this.ka)+c+"px":this.ka+c+"px")}})});return{pe:function(b){new j(b)}}});
Y&&Y("nova/painter/inlayFixed1392089005",["union/business/businessLogic"],function(e){function f(c){return'<iframe id="{iframeId}" width="{slotWidth}" height="{slotHeight}" src="{serviceUrl}{paramString}" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true"></iframe>'.replace(/{(.*?)}/g,function(e,b){return c[b]||""})}return{render:function(c,i){c.displayType="inlay-fixed";var b=e.fb(c),j=e.Lb(b.slotId,i),g={J:b.displayType,z:b.styleType,ba:b.stuffType,
S:b.iframeId};if(!e.ub(g))return s;j.innerHTML=f(b);e.ib(g);e.kb(b,i)}}});
Y&&Y("nova/painter/xuanting1392089005","union/common/cookie,union/common/bom,union/common/dom,union/common/logic,union/common/oo,union/business/businessLogic".split(","),function(e,f,c,i,b,j){var g;b(function(b){g=b.pb({constructor:function(a){var b=a.Ra.id;this.Ra=c.v(a.Ra);this.type=+a.type;this.src=a.src;this.width=a.width;this.height=a.height;this.z=a.z||"";this.Zb=a.Zb||"";this.qa=a.qa||"0";this.Ba=a.Ba||"";this.Ma=a.Ma||"";this.N=this.bc=5;this.M=a.M;this.V=a.V;this.h=a.h;this.R="bd_close_"+
this.h;this.ne=!!e.ha(this.R);this.b=this.wd(this.h);this.u=b;this.g="";this.fileName="c";this.Ta=a.Ta||0;this.backgroundColor=a.backgroundColor;this.Ea=a.Ea;2===this.type?this.g="top":3===this.type&&(this.g="bottom");this.g&&(this.Qa=m,this.A=+a.A||0,this.B=+a.B||0,this.w=!!a.w||s,this.l=+a.l||0,this.tb=500);this.aa=a.aa||s},Fe:function(a){return"string"===typeof a?document.getElementById(a):a},ke:function(a,b){return(b||document).getElementsByTagName(a)[0]},Mc:function(a,b){return a.replace(/\{(.*?)\}/g,
function(a,c){return b.hasOwnProperty(c)?b[c]:a})},wd:function(a){return"cproIframe_"+a},f:f.f,jb:function(){var a={path:""};if(this.l&&!this.w){var b=new Date;b.setTime(b.getTime()+this.l);a.sa=b}e.za(this.R,1,a)},be:function(a){var b=new Date;b.setTime(b.getTime()-86400);e.za(a,"",{path:"/",sa:b})},W:function(){this.clientWidth=f.o(window);this.clientHeight=f.j(window);this.g&&(this.t&&(this.t.style.width=this.clientWidth+"px"),this.ca&&(this.ca.style.width=this.clientWidth+"px"));this.Na&&clearTimeout(this.Na);
this.Na=setTimeout(b.k(this.La,this),5)},La:function(){var a=this.t;if(a)if(c.I()){if(a.style.zIndex=2147483646,1===this.type)if("fixed"==a.style.position)this.Da(),this.Wc()&&(a.style.cssText=p,this.Vb());else{var b=this.cc();b&&(this.Fa(),a.style.position="fixed",a.style.top=b+"px",this.Da())}}else this.ya(this.t)},Wc:function(a){var b;a?(b=document.getElementById(a),a=document.getElementById(""+a+"placeholder")):(b=this.t||document.getElementById(this.u),a=document.getElementById(""+this.u+"placeholder"));
return b&&a&&(a=this.q(a).mb,this.q(b).mb<=a)?m:s},Da:function(a){var b;a?(b=document.getElementById(a),a=document.getElementById(""+a+"placeholder")):(b=this.t||document.getElementById(this.u),a=document.getElementById(""+this.u+"placeholder"));b&&a&&(a=this.q(a).left,b.style.left=a+"px")},q:function(a){var b=c.ga(a),d=f.Ja(window),e=f.F(window),g=c.wa(a,s),a=c.va(a,s);return{top:b.top-e,bottom:b.top-e+a,left:b.left-d,right:b.left-d+g,mb:b.top,xe:b.top+a,eb:b.left,Oe:b.left+g}},ya:function(){this.clientWidth=
f.o(window);this.clientHeight=f.j(window);var a=f.F(window),b=c.s(document.body,"position").toString(),d=c.ga(document.body),e=d.left,g=d.top;if(d=this.t)if(d.style.position="absolute",d.style.zIndex=2147483646,1===this.type)if(document.getElementById(""+this.u+"placeholder")){var i=document.getElementById(""+this.u+"placeholder"),j=this.q(i);d.style.top=""+(a+this.N)+"px";d.style.left=""+j.eb+"px";"relative"==b&&(d.style.top=a+this.N-g+"px",d.style.left=j.eb-e+"px");d.style.visibility="visible";
a=this.q(d);j.mb>=a.mb&&(d.parentNode.removeChild(d),i.parentNode.insertBefore(d,i),i.parentNode.removeChild(i),d.style.cssText=p)}else{if(i=this.le(this.u))this.N=i,this.Fa(this.u),i=document.getElementById(""+this.u+"placeholder"),j=this.q(i),d.parentNode.removeChild(d),document.body.appendChild(d),d.style.zIndex=2147483646,d.style.top=a+this.N+"px",d.style.left=j.eb+"px","relative"==b&&(d.style.top=a+this.N-g+"px",d.style.left=j.eb-e+"px"),d.style.visibility="visible",d.style.position="absolute"}else 2===
this.type?d.style.top=a+"px":3===this.type&&(d.style.top=a+this.clientHeight-(this.height+10)+"px")},Wb:function(){if(!this.aa){var a=this.type,b=this.width,d=this.height,e={srcAttrName:a===l||1==a?"src":"_src",iframeWidth:b,iframeHeight:d,iframeId:this.b,paramString:this.M||"",serviceUrl:this.V};this.Wd();var f=s;if(a&&(1===a||2===a||3===a)){var g=f="auto",i;if(1===a)i="inline-block",f=b+"px",g=d+"px";else if(2===a||3===a)i="block",f="100%",g=+d+10+"px";e.widthValue=f;e.heightValue=g;e.displayValue=
i;a=this.Ra;a.setAttribute("width",f);a.setAttribute("height",g);a.style.cssText=this.Mc("width:{widthValue};height:{heightValue};display:{displayValue};",e);f=m}e=this.Mc('<iframe id="{iframeId}" {srcAttrName}="{serviceUrl}{paramString}" width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" ></iframe>',e);this.Ra.innerHTML=e;this.Ya=c.v(this.b);f&&(this.t=this.Ya.parentNode);this.dd();this.me()}},
dd:function(){var a=this.type,b=this.Ya,d=this.t;if(a){var e=1;if(2===a)e=2;else if(3===a)e=1;else if(1!==a&&0!==a&&this.t){this.t.style.display="none";return}var g=2===a||3===a,i="";switch(a){case 2:case 3:var i="display:none;",j="";this.f.d&&7>this.f.d&&(j="_background-image:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+e+".png');");e=g?'<div id="'+this.b+'WrapToggle" style="z-index:2147483646;cursor:pointer;position:absolute;right:0;'+
this.g+":0;width:40px;height:100%;background-color:"+this.backgroundColor+';"><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'+e+".png);"+j+'"></div></div>':"";g=g?'<div id="'+this.b+'WrapBk" style="'+this.g+":0;left:0;position:absolute;width:100%;height:100%;background-color:"+this.backgroundColor+";-moz-opacity:"+this.Ea/100+";filter:alpha(opacity="+this.Ea+
");opacity:"+this.Ea/100+';"></div>':"";j="";c.I()?1===a?j="position:fixed;top:0;":2===a?j="position:fixed;top:0;width:100%;":3===a&&(j="position:fixed;bottom:0;width:100%;"):1===a?j="position:absolute;top:0;":2===a?j="position:absolute;top:0;width:100%;":3===a&&(j="position:absolute;top:"+(f.F(window)+f.j(window)-this.width)+"px;width:100%;");d.insertAdjacentHTML("afterBegin",g+e);d.style.cssText=[i,"height:",this.height+10,"px;right:0;z-index:2147483646;text-align:center;font-size:0;_overflow-y:hidden;",
j].join("");b.style.cssText="position:relative;margin:5px 0;";this.$b=c.v(""+this.b+"WrapToggle");this.lb=this.ke("DIV",this.$b);this.ca=c.v(this.b+"WrapBk");this.W()}}},kb:function(){var a=this.h,b=this.u,c=this;X(["viewWatch"],function(d){d.register({id:a,wrapperId:b,logType:"block",extra:"ch="+c.qa+"&jk="+c.Ma+"&n="+c.Ba})},m)},me:function(){var a=this,e=a.t,f=a.type,g=a.Ya,a=this;this.g?this.ne?e.parentNode.removeChild(e):(setTimeout(function(){e.style.display="block";if(2===f||3===f){var b=g.getAttribute("_src");
b&&(g.setAttribute("src",b),g.removeAttribute("_src"),a.kb())}},this.A),this.B&&setTimeout(function(){e.style.display="none"},this.A+this.B)):this.kb();this.$b&&(2===this.type||3===this.type)&&c.bind(this.$b,"click",b.k(this.ac,this));c.bind(window,"scroll",b.k(this.La,this));c.bind(window,"resize",b.k(this.La,this))},Wd:function(){for(var a=1;2>=a;a++)(function(a){var b="bkimg_"+ +new Date+Math.floor(1E5*Math.random()),c=window[b]=new Image;c.onload=c.onerror=function(){c.onload=c.onerror=p;c=window[b]=
p};c.src="http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk"+a+".png"})(a)},ac:function(){this.Qa?this.Mb():this.show()},Oa:function(a){if(!this.oa){this.oa=m;var b=this.t,c=this.ca,d=this.Ya,e=this.g,f=b.offsetHeight,g=Math.round(this.tb/f),i=0,j=this;a&&(b.style.width="100%");var q=+new Date,t=setInterval(function(){var b=i=Math.round((+new Date-q)/g),k=b;a&&(k=f-b);c.style[e]=-k+"px";d.style[e]=-k+"px";b>=f&&(j.oa=s,(j.Qa=a)&&"top"===e||!a&&"bottom"===e?j.f.d&&7>j.f.d?j.lb.style.filter=
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png');":j.lb.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk2.png)":j.f.d&&7>j.f.d?j.lb.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png');":j.lb.style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/toggle_btn_bk1.png)",k=f,a&&
(k=0),c.style[e]=-k+"px",d.style[e]=-k+"px",clearInterval(t))},g)}},show:function(){(this.w||this.l)&&this.be(this.R);this.Oa(m)},Mb:function(){(this.w||this.l)&&this.jb();this.Oa(s)},Fa:function(a){var b;a?(b=document.getElementById(a),a+="placeholder"):(b=this.t||document.getElementById(this.u),a=this.u+"placeholder");var c=document.createElement("div");c.id=a;c.align&&(c.align=b.getAttribute("align"));c.style.width=""+parseInt(b.getAttribute("width"),10)+"px";c.style.height=""+parseInt(b.getAttribute("height"),
10)+"px";c.style.margin="0";c.style.padding="0";c.style.background="none";c.style.border="none";1===this.type&&(c.style.display="inline-block");b.parentNode.insertBefore(c,b);return m},Vb:function(a){a=document.getElementById(a?a+"placeholder":this.u+"placeholder");a.parentNode.removeChild(a);return m},cc:function(a){var b=this.bc;return this.q(a?document.getElementById(a):this.t||document.getElementById(this.u)).top<b?b:s},le:function(a){var b=this.bc;return this.q(a?document.getElementById(a):this.t||
document.getElementById(this.u)).top<b?b:s}})});return{render:function(b,a){switch(parseInt(b._html.xuanting,10)){case 1:b.displayType="inlay-float";break;case 2:b.displayType="float-top";break;case 3:b.displayType="float-bottom";break;default:b.displayType="inlay-float"}var c=j.fb(b);c.backgroundColor=b._html.rss1||"#666";c.backgroundOpacity=parseInt(b._html.opacity||60,10);var e=j.Lb(c.slotId,a),f={J:c.displayType,z:c.styleType,ba:c.stuffType};if(!j.ub(f))return s;(new g({Ra:e,h:c.slotId,type:c.xuantingType,
src:"",width:c.slotWidth,height:c.slotHeight,backgroundColor:c.backgroundColor,Ea:c.backgroundOpacity,z:c.styleType,Zb:c.tn,qa:c.channel,Ba:c.unionAccount,Ta:c.adIndex,Ma:c.pvId,A:c.delayIn,B:c.delayOut,w:c.sessionSync,l:c.closeFor,M:c.paramString,V:c.serviceUrl})).Wb();j.ib(f)}}});
Y&&Y("union/floatad","union/common/oo,union/common/cookie,union/common/dom,union/common/bom,union/common/logic,union/business/businessLogic,union/preview,api".split(","),function(e,f,c,i,b,j,g,d){function a(a,b,c){if(!a||!a._html)return p;var e=j.rd(b),f=a._html,h="",i="http://pos.baidu.com/acom?",k=a.id.split("_")[0],B=parseInt(f.conW||0,10)||parseInt(f.rsi0,10)||parseInt(a._w,10)||parseInt(a.sw,10),w=parseInt(f.conH||0,10)||parseInt(f.rsi1,10)||parseInt(a._h,10)||parseInt(a.sh,10),h=f.tn||"",C=
h.toLowerCase(),D=f.n||"",F=parseInt(f.ch||0,10),y=parseInt(f.dai||0,10);f.dtm="BAIDU_DUP2_SETJSONADSLOT";f.dc="2";f.di=k;f.distp=b;(a=d.getInfo("timestampWathcer"+a.id))&&(f.tt=a.t1+"."+(a.t2-a.t1)+"."+(a.t3-a.t1)+"."+(+new Date-a.t1));0<=h.indexOf("float")&&(f.tn="template_float_all_normal");var a=[],A;for(A in f)A&&f.hasOwnProperty(A)&&a.push(""+A+"="+encodeURIComponent(f[A].toString()));h=a.join("&");if((A=g.Hb(f,e))&&A.serviceUrl!==l&&A.paramString!==l)i=A.serviceUrl,h=A.paramString;return{h:k,
Ic:B,Hc:w,J:e,Cb:parseInt(f.rsi6,10),Bb:parseInt(f.rsi7,10),wb:parseInt(f.ccw,10),vb:parseInt(f.ct,10),Ha:parseInt(f.pt,10),ta:c,K:parseInt(f.fa,10),md:parseInt(f.flw,10),Se:f.tn,gb:f.qn,z:C,V:i,M:h,b:"cproIframe"+(b||parseInt(100+100*Math.random(),10)),Ba:D,qa:F,Ta:y,ba:"unknown"}}function k(a){var b=a.h;X(["viewWatch"],function(c){c.register({id:b,wrapperId:a.b,logType:"block",extra:"ch="+a.qa+"&jk="+a.gb+"&n="+a.Ba})},m)}var h;e(function(a){h=a.pb({ld:{1:{gc:1,fc:150},2:{gc:0,fc:40},3:{gc:0,fc:0}},
constructor:function(b){this.b=b.b;this.V=b.V;this.M=b.M;this.S=this.b+"holder";this.K=b.K;this.ta=b.ta;this.Ha=b.Ha;this.rc=b.md;this.Y=b.Ic;this.ma=b.Hc;this.rb=b.Ic;this.qb=b.Hc;this.gb=b.gb;this.Cb=b.Cb;this.Bb=b.Bb;this.wb=b.wb;this.ma+=20;this.mc=1===this.K?0:5;this.Y+=10;this.ma+=10;this.Lc=this.ld;this.vb=b.vb;this.h=b.h;this.I=i.I();c.bind(window,"resize",a.k(this.W,this));c.bind(window,"scroll",a.k(this.W,this))},Wb:function(){var c=document.createElement("div");c.style.cssText=["box-sizing: content-box;maring:0;padding:0;display:block;visibility:visible;border:none;background:none;float:none;overflow:hidden;position:absolute;",
"z-index:"+(1===this.K?2147483646:2147483647)+";","width:"+this.Y+"px;","height:"+(this.ma+this.mc)+"px"].join("");c.id=this.S;var d="",e=document.createElement("div");e.id=this.b+"CloseBtnWrap";var f=document.createElement("div");f.id=this.b+"CloseBtn";1===this.K?(e.style.cssText=["box-sizing: content-box;position:absolute;top:275px;left:0;cursor:pointer;","width:"+this.Y+"px;","height:28px;z-index:100;opacity:0;filter:alpha(opacity=0);background-color:#999999;"].join(""),f.style.cssText=["box-sizing: content-box;position:absolute;",
"width:"+this.Y+"px;","height:20px;top:280px;left:0;cursor:pointer;background-color:#999999;color:#fff;font-size:12px;font-family: \u5fae\u8f6f\u96c5\u9ed1;text-align:center;line-height:20px;"].join(""),f.innerHTML="\u5173\u95ed"):(e.style.cssText=["box-sizing: content-box;position:absolute;top:0px;","left:"+(this.Y-61)+"px;","cursor:pointer;width:61px;height:20px;z-index:100;opacity:0;filter:alpha(opacity=0);background-color:#999999;margin:0;paddong:0;"].join(""),f.style.cssText=["box-sizing: content-box;position:absolute;width:61px;height:20px;top:0;",
"left:"+(this.Y-61)+"px;","margin:0;padding:0;margin-bottom:5px;cursor:pointer;overflow:hidden;"].join(""),f.innerHTML='<div style="box-sizing: content-box;width:40px;height:20px;background-color:#999999;color:#fff;float:left;margin-right:1px;font-size:12px;font-family:\u5fae\u8f6f\u96c5\u9ed1;text-align: center;line-height:20px;">\u5173\u95ed</div><a style="maring:0;padding:0;display:inline-block;border:none;overflow:hidden;height:20px;line-height:20px;cursor:pointer;width:20px;background:url(\'http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.1/xuanfu_close.png\') no-repeat 0 0;margin-bottom:3px;float:left" ></a>',
d="position:absolute;left:0;top:25px;");c.appendChild(e);c.appendChild(f);f=document.createElement("div");d=["box-sizing: content-box;","width:"+this.rb+"px;","height:"+this.qb+"px;","overflow:hidden;"+d];d.push("padding:4px;");d.push("border:#acacac 1px solid;");f.style.cssText=d.join("");this.M+="&adclass=1&conW="+this.rb+"&conH="+this.qb;f.innerHTML=b.ja('<div style="display:none">-</div><iframe id="{iframeId}" src="{cproServiceUrl}{paramString}" width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true"></iframe></div>',
{iframeId:this.b,cproServiceUrl:this.V,paramString:this.M,iframeWidth:this.rb,iframeHeight:this.qb});c.appendChild(f);this.ya(c);for(var d=document.body.children,f=d.length,h=10>d.length?d.length:10,g=document.body.lastChild,i=0;i<h;i++){var j=d[f-i-1].getAttribute("data-baidu-dan-id");if(j||""===j){g=d[f-i-1];break}}g.parentNode.insertBefore(c,g);e.onclick=a.k(this.Xc,this);e.onmouseover=a.k(this.Zc,this);e.onmouseout=a.k(this.Yc,this)},ud:function(){var a=2;return a=1===this.rc?this.I?1===this.Ha?
4:3:1===this.Ha?2:1:1===this.Ha?6:5},td:function(){var a=this.Bb;return a=0>a||9999<a?0:Math.floor(a)},vd:function(){var a=this.Cb;return a=0>a||9999<a?this.Lc[this.K].fc:Math.floor(a)},qd:function(){var a=this.wb;4095<a&&(a=4095);return a=Math.floor(a)},W:function(){this.Na&&clearTimeout(this.Na);this.Na=setTimeout(a.k(this.ge,this),50)},ge:function(){var a=document.getElementById(this.S);a&&this.ya(a)},ya:function(a){a.style.position=this.I?(1===this.K||2===this.K)&&2===this.rc?"absolute":"fixed":
"absolute";var b=i.F(window),d=i.Ja(window),e=i.o(window),f=i.j(window),h=this.Y,g=this.ma+this.mc,j=this.Lc[this.K].gc,k=c.s(document.body,"position").toString(),o=c.s(document.body,"width").toString().replace("px",""),D=this.ud(),F="right",y,A,G=this.td(),H=this.vd();y=this.qd();var K=c.Z(document.body).left;y=Math.floor((e-y)/2)-h-10;y=0<=y&&0==D%2?y:7;switch(D){case 1:case 2:"relative"===k&&"auto"!=o&&e>o?(h=e-y-h-K,d=d+y-K):(h=d+e-y-h,d+=y);F="left";A=Math.max(1===j?f>=g+H?b+H:b+f-g:f>=g+H?b+
f-H-g:b,G);break;case 3:case 4:d=h=y;1===j?A=Math.max(f>=g+H?H:f-g,G-b):(A=Math.min(b+f-G-g,H),A=Math.min(A,f-g));break;case 5:case 6:"relative"===k&&"auto"!=o&&e>o?(h=e-(e-o)/2-y-h,d=d+y-(e-o)/2):(h=d+e-y-h,d+=y);F="left";A=Math.max(1===j?H:f>=g+H?f-H-g:0,G);break;default:d=h=10}if(1===D%4||2===D%4)j=1;b=j?"top":"bottom";1===(this.ta&1)?(a=a.style,a.left=d+"px",a[b]=A+"px",a.visibility="visible"):2===(this.ta&2)&&(a=a.style,a[F]=h+"px",a[b]=A+"px",a.visibility="visible")},Xc:function(){var a=document.getElementById(this.S);
if(2===this.vb){var c="bd_close_"+this.h,d=f.ha(c,window),d=d?d|this.ta:this.ta;f.za(c,d,{path:"/"})}a.parentNode&&a.parentNode.removeChild?a.parentNode.removeChild(a):document.body.removeChild(a);a={jk:this.gb||"",dt:(new Date).getTime(),rnd:Math.floor(2147483648*Math.random())};try{i.ee(b.ja("http://eclick.baidu.com/fcb.jpg?jk={jk}&dt={dt}&rnd={rnd}",a),window)}catch(e){}},Zc:function(){var a=document.getElementById(this.b+"CloseBtn");a&&(1===this.K?a.style.backgroundColor="#0066cc":(a.getElementsByTagName("div")[0].style.backgroundColor=
"#0066cc",a.getElementsByTagName("a")[0].style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuanfu_mouseover_close.png)"))},Yc:function(){var a=document.getElementById(this.b+"CloseBtn");a&&(1===this.K?a.style.backgroundColor="#999999":(a.getElementsByTagName("div")[0].style.backgroundColor="#999999",a.getElementsByTagName("a")[0].style.backgroundImage="url(http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.1/xuanfu_close.png)"))}})});return{render:function(b){var c;
if(i.G())c=s;else if(c=parseInt(b._html.ww||0,10),4095<c&&(c=4095),c>=screen.width)c=s;else{var d=c=s;c=/iphone|ipod|android|blackberry|opera mini|opera mobi|skyfire|maemo|windows phone|palm|iemobile|symbian|symbianos|fennec/i.test(navigator.userAgent.toLowerCase());d=/ipad|android 3|sch-i800|playbook|tablet|kindle|gt-p1000|sgh-t849|shw-m180s|a510|a511|a100|dell streak|silk|SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-I9205|GT-P5200|GT-P5210|SM-T311|SM-T310|SM-T210|SM-T211|SM-P900|IdeaTab|S2110|S6000|K3011|A3000|A1000|A2107|A2109|A1107/i.test(navigator.userAgent.toLowerCase());
c=1024>screen.width&&c&&!d?s:m}if(c){if(b&&b._html){var e=b._html;c=parseInt(e.fa,10);var d=parseInt(e.ls,10),g=b.id.split("_")[0],z=0;2===parseInt(e.ct,10)&&(z=parseInt(f.ha("bd_close_"+g),10));e=[];1===c||2===c?(2===(d&2)&&2!==(z&2)&&e.push(a(b,"2002",2)),1===(d&1)&&1!==(z&1)&&e.push(a(b,"2001",1))):(d=3!==d?d:2,z!=d&&e.push(a(b,1===d?"2003":"2004",d)));b=e}else b=l;c=b.length;for(d=0;d<c;d++)if(z=b[d])e={J:z.J,z:z.z,ba:z.ba,S:z.b},j.ub(e)&&((new h(z)).Wb(),j.ib(e),k(z))}}}});
Y&&Y("union/mobile","union/business/businessLogic,union/common/logic,union/common/bom,union/common/dom,union/common/cookie,union/DynamicFloatDecorator,union/preview,api".split(","),function(e,f,c,i,b,j,g,d){function a(a,d,e,f,g){function j(){"top"==e?q.style.top=B+"px":"bottom"==e&&(q.style.bottom=B+"px")}function k(a,b){var c=a,d=setInterval(function(){c--;0>=c&&(clearInterval(d),b&&b())},1E3)}var f=f||5,g=g||0.5,q=document.getElementById(a+"Wrap");q.style.display="block";var t=document.getElementById(a),
a=document.getElementById("xuantingCloseBtn_"+d),B=-1*(parseInt(q.style.height,10)+parseInt(a.style.height,10)),w=s,C=s,D=s;j();q.style.cssText+="-webkit-transition: all .3s linear;-moz-transition: all .3s linear;-ms-transition: all .3s linear;-o-transition: all .3s linear;transition: all .3s linear;";this.Rb=c.F();this.Pa=0;var F,y,A=Math.max(document.documentElement.clientHeight,window.innerHeight||0)*g,G=this;i.bind(a,"click",function(){j();D=m;b.za("bd_close_"+d,1,{path:""})});i.bind(window,"scroll",
function(){F=c.F();y=F>G.Rb?"down":"top";G.Pa+=F-G.Rb;G.Rb=F;"top"===y&&!D&&Math.abs(G.Pa)>=A&&!C?("top"==e?q.style.top=0:q.style.bottom=0,w||(t.src=t.getAttribute("_src"),w=m),C=m,k(f,function(){j();C=s;G.Pa=0})):"down"===y&&(G.Pa=0)})}var k=window;return{Pb:function(a){this.h=a.id.split("_")[0];this.Ka=1;var b=a._html;this.b="cproIframe"+(b.dai||0);"u0"===this.h&&(this.Za=m);this.scale=b.scale||"20.3";this.e=parseInt(b.xuanting||0,10);"20.5"===this.scale&&(this.e=0);var c=this.scale.split(".");
this.L=2>this.e&&this.Cc?this.Cc:this.xd(b.rsi0);this.D=Math.ceil(this.L/c[0]*c[1]);this.Cd(b.n);this.zb="BaiduCproExpansion"+this.b;this.jd=parseInt(a._html.expansion||0,10)},fb:function(a){var b=a._html||{},c=a.displayType,e=b.tn||"",f=e.toLowerCase(),i=b.ch||0,j=parseInt(b.stid||0,10),k=a.qn||"",t=b.n||"",B=b.dai||0;b.hasOwnProperty("stid")&&(b.stid=j);(j=b.skin)||(j="mobile_skin_white_red");var w=parseInt(b.at||99,10);4===(w&4)&&(b.at=w^4);this.e&&"mobile_skin_white_red"===j&&(j="mobile_skin_black_white");
b.skin=j;b.rsi0=this.L;b.rsi1=this.D;(a=d.getInfo("timestampWathcer"+a.id))&&(b.tt=a.t1+"."+(a.t2-a.t1)+"."+(a.t3-a.t1)+"."+(+new Date-a.t1));this.e&&(this.Tb(),a=12*this.L/640,b.conbw=0,b.conbl=a);if(f&&(-1<f.indexOf("tlink")||-1<f.indexOf("linkunit_1")))this.b+=(new Date).getTime().toString();if("07095078_1_cpr"===t||"07095078_cpr"===t||"71049059_cpr"===t||"68056018_cpr"===t)b.titSU="0";b.dtm="BAIDU_DUP2_SETJSONADSLOT";b.dc="2";b.di=this.h;b.wt=1;switch(this.e){case 0:b.distp="1001";break;case 2:b.distp=
"2005";break;case 3:b.distp="2006";break;case 4:b.distp="2007"}if(!b.adn||0===parseInt(b.adn||0,10))b.adn=1;this.Qb()&&this.zb&&(b.expToken=this.zb);b.conW=this.L;b.conH=this.D;var a=[],C;for(C in b)C&&b.hasOwnProperty(C)&&a.push(""+C+"="+encodeURIComponent(b[C].toString()));C="http://pos.baidu.com/acom?";a=a.join("&");if((w=g.Hb(b,c))&&w.serviceUrl!==l&&w.paramString!==l)C=w.serviceUrl,a=w.paramString;return{h:this.h,L:this.L,D:this.D,J:c,z:f,Ba:t,Ta:B,qa:i,Ma:k,ba:"unknown",V:C,M:a,A:parseInt(b.delayIn||
0,10),B:parseInt(b.delayOut||0,10),w:b.sessionSync!==s&&"false"!==b.sessionSync,l:b.closeFor,e:this.e,Zb:e,Qe:j,b:this.b}},Cd:function(a){if("19076084_1_cpr"===a){for(var b=/android/gi.test(navigator.userAgent),a=document.getElementsByTagName("meta"),c=0;c<a.length;c++)if("viewport"==a[c].name){var d=a[c].content;if(-1<d.indexOf("initial-scale")){this.Ka=d.match(/initial-scale=(\d(.\d)*)/)[1];break}}this.L/=this.Ka;this.D/=this.Ka;1!==this.Ka&&i.bind(k,"onorientationchange"in k?"orientationchange":
"resize",function(){setTimeout(function(){i.c(this.b+"Wrap").style.width=k.innerWidth+"px"},b?1E3:0)})}},xd:function(a){a=this.Za?a:Math.max(320,Math.min(k.innerWidth,k.innerHeight));isNaN(a)&&(a=Math.min(c.o(),c.j()));return a},Td:function(a){var b=a.rss1||"#000",d="",d="opacity:"+parseFloat(a.opacity||0.9)+";",a="absolute";c.I()&&(a="fixed");this.e&&(d+="position:"+a+";");2===this.e?(this.Tb(),d+="top:0;background-color:"+b+";"):3===this.e&&("fixed"===a?d+="bottom:0;background-color:"+b+";":(a=
c.F(k)+c.j(k)-this.D,d+="top:"+a+"px;background-color:"+b+";"));return d},Rd:function(){if(!this.e)return"";var a=this.Tb();return f.ja("<div id=\"xuantingCloseBtn_{slotId}\" style=\"position:absolute;right:0;top:{top}px;width:{closeBtnWidth}px;height:{closeBtnHeight}px;overflow:hidden;display:block;background:url('{closeBtnImgUrl}') no-repeat 0 0;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=none, src='{closeBtnImgUrl}');_background:none;cursor:pointer;background-position:center;background-size:100% 100%;z-index:2147483647;\">&nbsp;</div>",
{slotId:this.h,right:""+a.bd,top:"20.2"===this.scale?this.D:"-"+a.lc,closeBtnWidth:""+a.cd,closeBtnHeight:a.lc,closeBtnImgUrl:"http://cpro.baidustatic.com/cpro/ui/noexpire/img/2.0.0/xuantingClose"+a.ad+".png"})},Sd:function(a){var b=this.Rd(a),c=this.Td(a),d="100%",a=a.n;1!=this.Ka&&"19076084_1_cpr"===a&&(d=k.innerWidth+"px");return['<div style="display:none">-</div>','<div id="{iframeId}Wrap" style="text-align:center;display:'+(0===this.e||1===this.e?"block":"none")+";font-size:0;width:"+d+";height:"+
this.D+"px;"+c+'">','<div style="width:'+this.L+"px;height:"+this.D+'px;position:relative;margin:0 auto;">',b,'<iframe id="{iframeId}" '+(0===this.e||1===this.e?"src":"_src")+'="{serviceUrl}{paramString}" ','width="{iframeWidth}" height="{iframeHeight}" align="center,center" marginwidth="0"  marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="margin-left:{iframMarginLeft}px" ></iframe><iframe src="http://cpro.baidustatic.com/cpro/ui/html/appDetect.html" width="0" height="0"align="center,center" marginwidth="0"  marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="margin-left:{iframMarginLeft}px" ></iframe></div></div>'].join("")},
je:function(){var a=document.createElement("div"),b=Math.min(c.o(),c.j()),d=Math.max(c.o(),c.j()),e=a.style;e.position="fixed";e.left="0";e.top=d+"px";e.zIndex=2147483647;e.background="#ffffff";e.width="100%";e.Te=e.WebkitTransition=e.MozTransition=e.we="top 1s ease-in-out";document.body.appendChild(a);var g=this.zb,j=this.b;i.bind(k,"message",function(d){i.c(j);if("object"===typeof d&&d.data&&(d=d.data,!(0>d.indexOf(g)))){d=d.slice(g.length);a.innerHTML=f.ja('<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%;">&nbsp;</div>',
{lpIframeId:j+"ExpansionLP",clickUrl:d,iframeWidth:c.o(),iframeHeight:c.j(),closeBtnSize:80*b/640});a.style.top="0";var e=i.c(j+"ExpansionLP"),n=function(){var a=c.o(),b=c.j();e.style.width=a+"px";e.style.height=b+"px";e.setAttribute("width",a);e.setAttribute("height",b)};i.bind(k,"resize",n);var v=i.c(j+"ExpansionLP_closeBtn");i.bind(v,"click",function(){a.style.top=Math.max(c.o(),c.j())+"px";a.innerHTML="";i.Oc(v,"click",arguments.callee);i.Oc(k,"resize",n)})}})},Tb:function(){var a=40,b="",b=2===
this.e?4:3,a=0.125*Math.max(document.documentElement.clientWidth,window.innerWidth||0);return{cd:a,lc:0.4*a,bd:16*(a/50),ad:b}},Qb:function(){var a=!!/(iPhone|iPad|iPod|iOS)/i.test(k.navigator.userAgent),b="postMessage"in k,c=!a&&1===this.jd&&b;this.Qb=function(){return c};return c},render:function(c,d){c.displayType="inlay-mobile";var g="true"===c._html.cpro_enable_hidden_float?m:s,v=parseInt(c._html.cpro_close_time,10)||5,v=3<=v?v:3,r=parseInt(c._html.cpro_show_dist,10)||5,r=5<=r?r:5;if(g){if(this.Uc)return s;
this.Uc=m}var x=e.Lb(c.id.split("_")[0],d);"true"===c._html.cpro_ftpc&&x&&x.parentElement.offsetWidth&&(this.Cc=x.parentElement.offsetWidth||0);var z=parseInt(c._isMlt||0,10);this.Pb(c);var q=this.fb(c),t={J:q.displayType,z:q.styleType,ba:q.stuffType,S:q.b},B=b.ha("bd_close_"+this.h,k);if(!(0!=q.l&&B)){var B=this.Sd(c._html,q),w={iframeId:q.b,serviceUrl:q.V,paramString:q.M,iframeWidth:q.L,iframeHeight:q.D,iframeMarginLeft:""};2===this.e||3===this.e&&document.body&&document.body.appendChild?(x=document.createElement("div"),
x.innerHTML=f.ja(B,w),document.body.appendChild(x)):x?x.innerHTML=f.ja(B,w):document.write(f.ja(B,w));this.Qb()&&this.je();if(this.e){var C;2===this.e?C="top":3===this.e&&(C="bottom");g&&"u0"!=c.id?a(q.b,q.h,C,v,(1/r).toFixed(2)):j.pe({r:q.b+"Wrap",da:q.b,i:this.e,Sa:this.L,la:this.D,ue:"xuantingCloseBtn_"+q.h,Ge:q.Ma,h:q.h,l:q.l,aa:m,g:C,A:q.A,B:q.B,w:q.w,se:"xuanting4CloseBtn_"+q.h});var D=document.createElement("div");D.id=this.b+"Wrap_placeholder";D.style.width="100%";D.style.height=this.D+"px";
D.style.margin="0";D.style.padding="0";D.style.background="none";D.style.border="none";2===this.e?document.body.insertBefore(D,document.body.firstChild):3===this.e&&i.bind(k,"load",function(){document.body.appendChild(D)})}4===z&&e.ib(t)}}}});})();
