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