(function(){var c={id:"01fc154214f914949f06945dfd0e5d2d",dm:["leho.com","baidu.com","youa.baidu.com","alipay.com","youa.com","co.youa.com"],etrk:[],js:"tongji.baidu.com/hm-web/js/",icon:'',br:false,ctrk:false,align:-1,nv:0,vdur:1800000,age:31536000000,rec:0,rp:0,rs:0,trust:0,vcard:0,se:[[1,'baidu.com','word|wd|w',1,'news,tieba,zhidao,,image,video,hi,baike,wenku,opendata,jingyan'],[2,'google.com','q',0,'tbm=isch,tbm=vid,tbm=nws|source=newssearch,tbm=blg,tbm=frm'],[4,'sogou.com','query|keyword',1,'news,mp3,pic,v,gouwu,zhishi,blogsearch'],[6,'search.yahoo.com','p',1,'news,images,video'],[7,'yahoo.cn','q',1,'news,image,music'],[8,'soso.com','w|key',1,'image,video,music,sobar,wenwen,news,baike'],[11,'youdao.com','q',1,'image,news,,mp3,video'],[12,'gougou.com','search',1,',movie,,,,,video'],[13,'bing.com','q',2,'images,videos,news'],[14,'so.com','q',1,'video,news'],[15,'jike.com','q',1,'news,image,video'],[16,'qihoo.com','kw',0,''],[17,'etao.com','q',1,'s,8'],[18,'soku.com','keyword',2,'a'],[19,'easou.com','q',0,''],[20,'glb.uc.cn','keyword|word|q',0,'']]};var g=!0,h=null,k=!1;function q(a,b){var d=a.match(RegExp("(^|&|\\?|#)("+b+")=([^&#]*)(&|$|#)",""));return d?d[3]:h}function r(a){return(a=(a=a.match(/^(https?:\/\/)?([^\/\?#]*)/))?a[2].replace(/.*@/,""):h)?a.replace(/:\d+$/,""):a};function s(a,b){if(window.sessionStorage)try{window.sessionStorage.setItem(a,b)}catch(d){}}function z(a){return window.sessionStorage?window.sessionStorage.getItem(a):h};function A(a,b,d){var e;d.f&&(e=new Date,e.setTime(e.getTime()+d.f));document.cookie=a+"="+b+(d.domain?"; domain="+d.domain:"")+(d.path?"; path="+d.path:"")+(e?"; expires="+e.toGMTString():"")+(d.r?"; secure":"")};function C(a,b){var d=new Image,e="mini_tangram_log_"+Math.floor(2147483648*Math.random()).toString(36);window[e]=d;d.onload=d.onerror=d.onabort=function(){d.onload=d.onerror=d.onabort=h;d=window[e]=h;b&&b(a)};d.src=a};var D;function F(){if(!D)try{D=document.createElement("input"),D.type="hidden",D.style.display="none",D.addBehavior("#default#userData"),document.getElementsByTagName("head")[0].appendChild(D)}catch(a){return k}return g}function G(a,b,d){var e=new Date;e.setTime(e.getTime()+d||31536E6);try{window.localStorage?(b=e.getTime()+"|"+b,window.localStorage.setItem(a,b)):F()&&(D.expires=e.toUTCString(),D.load(document.location.hostname),D.setAttribute(a,b),D.save(document.location.hostname))}catch(f){}}
function aa(a){if(window.localStorage){if(a=window.localStorage.getItem(a)){var b=a.indexOf("|"),d=a.substring(0,b)-0;if(d&&d>(new Date).getTime())return a.substring(b+1)}}else if(F())try{return D.load(document.location.hostname),D.getAttribute(a)}catch(e){}return h};function I(a,b,d){a.attachEvent?a.attachEvent("on"+b,function(b){d.call(a,b)}):a.addEventListener&&a.addEventListener(b,d,k)};(function(){function a(){if(!a.b){a.b=g;for(var b=0,d=e.length;b<d;b++)e[b]()}}function b(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}var d=k,e=[],f;document.addEventListener?f=function(){document.removeEventListener("DOMContentLoaded",f,k);a()}:document.attachEvent&&(f=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",f),a())});(function(){if(!d)if(d=g,"complete"===document.readyState)a.b=g;else if(document.addEventListener)document.addEventListener("DOMContentLoaded",
f,k),window.addEventListener("load",a,k);else if(document.attachEvent){document.attachEvent("onreadystatechange",f);window.attachEvent("onload",a);var e=k;try{e=window.frameElement==h}catch(y){}document.documentElement.doScroll&&e&&b()}})();return function(b){a.b?b():e.push(b)}})().b=k;var ba=navigator.cookieEnabled,ca=navigator.javaEnabled(),da=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage||"",ea=window.screen.width+"x"+window.screen.height,ka=window.screen.colorDepth;c.se.push([14,"so.360.cn","q",1,",news"]);c.se.push([14,"v.360.cn","q",1,"so"]);var O=0,P=Math.round(+new Date/1E3),Q="https:"==document.location.protocol?"https:":"http:",la="cc cf ci ck cl cm cp cw ds ep et fl ja ln lo lt nv rnd sb se si st su sw sse v cv lv u api tt".split(" ");function ma(){if("undefined"==typeof window["_bdhm_loaded_"+c.id]){window["_bdhm_loaded_"+c.id]=g;var a=this;a.a={};a.q=[];a.p={push:function(){a.k.apply(a,arguments)}};a.c=0;a.h=k;na(a)}}
ma.prototype={getData:function(a){try{var b=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie);return(b?b[2]:h)||z(a)||aa(a)}catch(d){}},setData:function(a,b,d){try{A(a,b,{domain:oa(),path:pa(),f:d}),d?G(a,b,d):s(a,b)}catch(e){}},k:function(a){if(function(a){if("[object Array]"!==Object.prototype.toString.call(a))return k;for(var b=a.length-1;0<=b;b--){var d=a[b];if(("[object Number]"!=={}.toString.call(d)||!isFinite(d))&&"[object String]"!=={}.toString.call(d)&&d!==g&&d!==k)return k}return g}(a)){var b=
function(a){return a.replace?a.replace(/'/g,"'0").replace(/\*/g,"'1").replace(/!/g,"'2"):a};switch(a[0]){case "_trackPageview":if(1<a.length&&a[1].charAt&&"/"==a[1].charAt(0)){this.a.api|=4;this.a.et=0;this.a.ep="";this.h?(this.a.nv=0,this.a.st=4):this.h=g;var b=this.a.u,d=this.a.su;this.a.u=Q+"//"+document.location.host+a[1];this.a.su=document.location.href;R(this);this.a.u=b;this.a.su=d}break;case "_trackEvent":2<a.length&&(this.a.api|=8,this.a.nv=0,this.a.st=4,this.a.et=4,this.a.ep=b(a[1])+"*"+
b(a[2])+(a[3]?"*"+b(a[3]):"")+(a[4]?"*"+b(a[4]):""),R(this));break;case "_setCustomVar":if(4>a.length)break;var d=a[1],e=a[4]||3;if(0<d&&6>d&&0<e&&4>e){this.c++;for(var f=(this.a.cv||"*").split("!"),n=f.length;n<d-1;n++)f.push("*");f[d-1]=e+"*"+b(a[2])+"*"+b(a[3]);this.a.cv=f.join("!");a=this.a.cv.replace(/[^1](\*[^!]*){2}/g,"*").replace(/((^|!)\*)+$/g,"");""!==a?this.setData("Hm_cv_"+c.id,encodeURIComponent(a),c.age):qa()}}}}};
function ra(){var a=z("Hm_unsent_"+c.id);if(a)for(var a=a.split(","),b=0,d=a.length;b<d;b++)C(Q+"//"+decodeURIComponent(a[b]).replace(/^https?:\/\//,""),function(a){S(a)})}function S(a){var b=z("Hm_unsent_"+c.id)||"";b&&((b=b.replace(RegExp(encodeURIComponent(a.replace(/^https?:\/\//,"")).replace(/([\*\(\)])/g,"\\$1")+"(%26u%3D[^,]*)?,?","g"),"").replace(/,$/,""))?s("Hm_unsent_"+c.id,b):window.sessionStorage&&window.sessionStorage.removeItem("Hm_unsent_"+c.id))}
function sa(a,b){var d=z("Hm_unsent_"+c.id)||"",e=a.a.u?"":"&u="+encodeURIComponent(document.location.href),d=encodeURIComponent(b.replace(/^https?:\/\//,"")+e)+(d?","+d:"");s("Hm_unsent_"+c.id,d)}function R(a){a.a.rnd=Math.round(2147483647*Math.random());a.a.api=a.a.api||a.c?a.a.api+"_"+a.c:"";var b=Q+"//hm.baidu.com/hm.gif?"+ta(a);a.a.api=0;a.c=0;sa(a,b);C(b,function(a){S(a)})}
function ua(a){return function(){a.a.nv=0;a.a.st=4;a.a.et=3;a.a.ep=(new Date).getTime()-a.e.j+","+((new Date).getTime()-a.e.d+a.e.i);R(a)}}
function na(a){try{var b,d,e,f,n,y,l;O=a.getData("Hm_lpvt_"+c.id)||0;13==O.length&&(O=Math.round(O/1E3));a:if(document.referrer){for(var p=0,wa=c.se.length;p<wa;p++)if(RegExp("(^|\\.)"+c.se[p][1].replace(/\./g,"\\.")).test(r(document.referrer))){var x=q(document.referrer,c.se[p][2])||"";if(x||!(2!=c.se[p][0]&&14!=c.se[p][0]&&17!=c.se[p][0])){1==c.se[p][0]&&-1<document.referrer.indexOf("cpro.baidu.com")&&(x="");a.a.se=c.se[p][0];for(var xa=a.a,m=c.se[p],H=0,ya=2==m[3]?m[1]+"\\/":"",za=1==m[3]?"\\."+
m[1]:"",T=m[4].split(","),m=0,Aa=T.length;m<Aa;m++)if(""!==T[m]&&RegExp(ya+T[m]+za).test(document.referrer)){H=m+1;break}xa.sse=H;a.a.sw=x;d=2;break a}}x=k;U(document.referrer)&&U(document.location.href)?x=g:(H=r(document.referrer),x=Z(H||"",document.location.hostname));d=x?P-O>c.vdur?1:4:3}else d=P-O>c.vdur?1:4;b=4!=d?1:0;if(y=a.getData("Hm_lvt_"+c.id)){l=y.split(",");for(var E=l.length-1;0<=E;E--)13==l[E].length&&(l[E]=""+Math.round(l[E]/1E3));for(;2592E3<P-l[0];)l.shift();n=4>l.length?2:3;for(1===
b&&l.push(P);4<l.length;)l.shift();y=l.join(",");f=l[l.length-1]}else y=P,f="",n=1;a.setData("Hm_lvt_"+c.id,y,c.age);a.setData("Hm_lpvt_"+c.id,P);e=P==a.getData("Hm_lpvt_"+c.id)?"1":"0";if(0==c.nv&&U(document.location.href)&&(""==document.referrer||U(document.referrer)))b=0,d=4;a.a.nv=b;a.a.st=d;a.a.cc=e;a.a.lt=f;a.a.lv=n;a.a.si=c.id;a.a.su=document.referrer;a.a.ds=ea;a.a.cl=ka+"-bit";a.a.ln=da;a.a.ja=ca?1:0;a.a.ck=ba?1:0;a.a.lo="number"==typeof _bdhm_top?1:0;var J=a.a;b="";if(navigator.plugins&&
navigator.mimeTypes.length){var V=navigator.plugins["Shockwave Flash"];V&&V.description&&(b=V.description.replace(/^.*\s+(\S+)\s+\S+$/,"$1"))}else if(window.ActiveXObject)try{var fa=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");fa&&(b=fa.GetVariable("$version"))&&(b=b.replace(/^.*\s+(\d+),(\d+).*$/,"$1.$2"))}catch(Fa){}J.fl=b;var K=a.a,J="";try{external.twGetVersion(external.twGetSecurityID(window))&&-1<external.twGetRunPath.toLowerCase().indexOf("360se")&&(J=17)}catch(Ga){}K.sb=J;a.a.v="1.0.47";
a.a.cv=decodeURIComponent(a.getData("Hm_cv_"+c.id)||"");1==a.a.nv&&(a.a.tt=document.title||"");a.a.api=0;var t=document.location.href;a.a.cm=q(t,"hmmd")||"";a.a.cp=q(t,"hmpl")||"";a.a.cw=q(t,"hmkw")||"";a.a.ci=q(t,"hmci")||"";a.a.cf=q(t,"hmsr")||"";0==a.a.nv?ra():S(".*");if(""!=c.icon){var u,v=c.icon.split("|"),W="http://tongji.baidu.com/hm-web/welcome/ico?s="+c.id,X=("http:"==Q?"http://eiv":"https://bs")+".baidu.com"+v[0]+"."+v[1];switch(v[1]){case "swf":var ga=v[2],ha=v[3],K="s="+W,t="HolmesIcon"+
P;u='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="'+t+'" width="'+ga+'" height="'+ha+'"><param name="movie" value="'+X+'" /><param name="flashvars" value="'+(K||"")+'" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" name="'+t+'" width="'+ga+'" height="'+ha+'" src="'+X+'" flashvars="'+(K||"")+'" allowscriptaccess="always" /></object>';break;case "gif":u='<a href="'+W+'" target="_blank"><img border="0" src="'+X+'" width="'+v[2]+'" height="'+
v[3]+'"></a>';break;default:u='<a href="'+W+'" target="_blank">'+v[0]+"</a>"}document.write(u)}var L=document.location.hash.substring(1),Ba=RegExp(c.id),Ca=-1<document.referrer.indexOf("baidu.com")?g:k;if(L&&Ba.test(L)&&Ca){var M=document.createElement("script");M.setAttribute("type","text/javascript");M.setAttribute("charset","utf-8");M.setAttribute("src",Q+"//"+c.js+q(L,"jn")+"."+q(L,"sx")+"?"+a.a.rnd);var ia=document.getElementsByTagName("script")[0];ia.parentNode.insertBefore(M,ia)}a.m&&a.m();
a.l&&a.l();if(c.rec||c.trust)a.a.nv?(a.g=encodeURIComponent(document.referrer),window.sessionStorage?s("Hm_from_"+c.id,a.g):G("Hm_from_"+c.id,a.g,864E5)):a.g=(window.sessionStorage?z("Hm_from_"+c.id):aa("Hm_from_"+c.id))||"";a.n&&a.n();a.o&&a.o();a.e=new va;I(window,"beforeunload",ua(a));var w=window._hmt;if(w&&w.length)for(u=0;u<w.length;u++){var B=w[u];switch(B[0]){case "_setAccount":1<B.length&&/^[0-9a-z]{32}$/.test(B[1])&&(a.a.api|=1,window._bdhm_account=B[1]);break;case "_setAutoPageview":if(1<
B.length){var Y=B[1];if(k===Y||g===Y)a.a.api|=2,window._bdhm_autoPageview=Y}}}if("undefined"===typeof window._bdhm_account||window._bdhm_account===c.id){window._bdhm_account=c.id;var N=window._hmt;if(N&&N.length)for(var w=0,Ea=N.length;w<Ea;w++)a.k(N[w]);window._hmt=a.p}if("undefined"===typeof window._bdhm_autoPageview||window._bdhm_autoPageview===g)a.h=g,a.a.et=0,a.a.ep="",R(a)}catch(ja){a=[],a.push("si="+c.id),a.push("n="+encodeURIComponent(ja.name)),a.push("m="+encodeURIComponent(ja.message)),
a.push("r="+encodeURIComponent(document.referrer)),C(Q+"//hm.baidu.com/hm.gif?"+a.join("&"))}}function ta(a){for(var b=[],d=0,e=la.length;d<e;d++){var f=la[d],n=a.a[f];"undefined"!=typeof n&&""!==n&&b.push(f+"="+encodeURIComponent(n))}return b.join("&")}
function qa(){var a="Hm_cv_"+c.id;try{if(A(a,"",{domain:oa(),path:pa(),f:-1}),window.sessionStorage&&window.sessionStorage.removeItem(a),window.localStorage)window.localStorage.removeItem(a);else if(F())try{D.load(document.location.hostname),D.removeAttribute(a),D.save(document.location.hostname)}catch(b){}}catch(d){}}function pa(){for(var a=0,b=c.dm.length;a<b;a++){var d=c.dm[a];if(-1<d.indexOf("/")&&Da(document.location.href,d))return d.replace(/^[^\/]+(\/.*)/,"$1")+"/"}return"/"}
function oa(){for(var a=document.location.hostname,b=0,d=c.dm.length;b<d;b++)if(Z(a,c.dm[b]))return c.dm[b].replace(/(:\d+)?[\/\?#].*/,"");return a}function U(a){for(var b=0;b<c.dm.length;b++)if(-1<c.dm[b].indexOf("/")){if(Da(a,c.dm[b]))return g}else{var d=r(a);if(d&&Z(d,c.dm[b]))return g}return k}function Da(a,b){a=a.replace(/^https?:\/\//,"");return 0==a.indexOf(b)}function Z(a,b){a="."+a.replace(/:\d+/,"");b="."+b.replace(/:\d+/,"");var d=a.indexOf(b);return-1<d&&d+b.length==a.length}
function va(){this.d=this.j=(new Date).getTime();this.i=0;"object"==typeof document.onfocusin?(I(document,"focusin",$(this)),I(document,"focusout",$(this))):(I(window,"focus",$(this)),I(window,"blur",$(this)))}function $(a){return function(b){if(!(b.target&&b.target!=window)){if("blur"==b.type||"focusout"==b.type)a.i+=(new Date).getTime()-a.d;a.d=(new Date).getTime()}}}new ma;})();
