(function(){var c={id:"0fc379c9bf25da4f0f92d5827713f87c",dm:["tuntron.com"],etrk:[],js:"tongji.baidu.com/hm-web/js/",icon:'',br:false,ctrk:true,align:1,nv:-1,vdur:1800000,age:31536000000,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=true,h=null,i=false;function k(a,b,d){var e;d.i&&(e=new Date,e.setTime(e.getTime()+d.i));document.cookie=a+"="+b+(d.domain?"; domain="+d.domain:"")+(d.path?"; path="+d.path:"")+(e?"; expires="+e.toGMTString():"")+(d.N?"; secure":"")};(function(){function a(){if(!a.e){a.e=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=i,e=[],f;document.addEventListener?f=function(){document.removeEventListener("DOMContentLoaded",f,i);a()}:document.attachEvent&&(f=function(){document.readyState==="complete"&&(document.detachEvent("onreadystatechange",f),a())});(function(){if(!d)if(d=g,document.readyState==="complete")a.e=g;else if(document.addEventListener)document.addEventListener("DOMContentLoaded",
f,i),window.addEventListener("load",a,i);else if(document.attachEvent){document.attachEvent("onreadystatechange",f);window.attachEvent("onload",a);var e=i;try{e=window.frameElement==h}catch(l){}document.documentElement.doScroll&&e&&b()}})();return function(b){a.e?b():e.push(b)}})().e=i;function m(a,b){if(window.sessionStorage)try{window.sessionStorage.setItem(a,b)}catch(d){}}function n(a){return window.sessionStorage?window.sessionStorage.getItem(a):h};function o(a,b){var d=a.match(RegExp("(^|&|\\?|#)("+b+")=([^&#]*)(&|$|#)",""));return d?d[3]:h}function p(a){var b;return(b=(a=a.match(/^(https?:\/\/)?([^\/\?#]*)/))?a[2].replace(/.*@/,""):h,a=b)?a.replace(/:\d+$/,""):a};var q=/msie (\d+\.\d+)/i.test(navigator.userAgent),r=navigator.cookieEnabled,s=navigator.javaEnabled(),t=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage||"",u=window.screen.width+"x"+window.screen.height,v=window.screen.colorDepth;function w(a,b){var d=new Image,e="mini_tangram_log_"+Math.floor(Math.random()*2147483648).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};function x(a,b,d){a.attachEvent?a.attachEvent("on"+b,function(b){d.call(a,b)}):a.addEventListener&&a.addEventListener(b,d,i)};var y;function z(){if(!y)try{y=document.createElement("input"),y.type="hidden",y.style.display="none",y.addBehavior("#default#userData"),document.getElementsByTagName("head")[0].appendChild(y)}catch(a){return i}return g};c.se.push([14,"so.360.cn","q",1,",news"]);c.se.push([14,"v.360.cn","q",1,"so"]);var A=0,C=Math.round(+new Date/1E3),D=window.location.protocol=="https:"?"https:":"http:",E="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".split(",");function F(){if(typeof window["_bdhm_loaded_"+c.id]=="undefined")window["_bdhm_loaded_"+c.id]=g,this.a={},this.b=[],this.p={},this.f=0,this.F()}
F.prototype={C:function(){var a="";try{external.twGetVersion(external.twGetSecurityID(window))&&external.twGetRunPath.toLowerCase().indexOf("360se")>-1&&(a=17)}catch(b){}return a},j:function(a,b){var a="."+a.replace(/:\d+/,""),b="."+b.replace(/:\d+/,""),d=a.indexOf(b);return d>-1&&d+b.length==a.length},q:function(a,b){a=a.replace(/^https?:\/\//,"");return a.indexOf(b)==0},d:function(a){for(var b=0;b<c.dm.length;b++)if(c.dm[b].indexOf("/")>-1){if(this.q(a,c.dm[b]))return g}else{var d=p(a);if(d&&this.j(d,
c.dm[b]))return g}return i},n:function(){for(var a=window.location.hostname,b=0,d=c.dm.length;b<d;b++)if(this.j(a,c.dm[b]))return c.dm[b].replace(/(:\d+)?[\/\?#].*/,"");return a},o:function(){for(var a=0,b=c.dm.length;a<b;a++){var d=c.dm[a];if(d.indexOf("/")>-1&&this.q(window.location.href,d))return d.replace(/^[^\/]+(\/.*)/,"$2")+"/"}return"/"},D:function(){if(document.referrer)for(var a=0,b=c.se.length;a<b;a++){if(RegExp("(^|\\.)"+c.se[a][1].replace(/\./g,"\\.")).test(p(document.referrer))){var d=
o(document.referrer,c.se[a][2])||"";if(d||!(c.se[a][0]!=2&&c.se[a][0]!=14&&c.se[a][0]!=17)){c.se[a][0]==1&&document.referrer.indexOf("cpro.baidu.com")>-1&&(d="");this.a.se=c.se[a][0];for(var b=this.a,e=c.se[a],a=0,f=e[3]==2?e[1]+"\\/":"",j=e[3]==1?"\\."+e[1]:"",e=e[4].split(","),l=0,B=e.length;l<B;l++)if(e[l]!==""&&RegExp(f+e[l]+j).test(document.referrer)){a=l+1;break}b.sse=a;this.a.sw=d;return 2}}}else return C-A>c.vdur?1:4;d=i;return(d=this.d(document.referrer)&&this.d(window.location.href)?g:this.j(p(document.referrer)||
"",window.location.hostname))?C-A>c.vdur?1:4:3},getData:function(a){try{var b,d=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie);if(!(b=d?d[2]:h)){var e;if(!(e=n(a)))a:{if(window.localStorage){var f=window.localStorage.getItem(a);if(f){var j=f.indexOf("|"),l=f.substring(0,j)-0;if(l&&l>(new Date).getTime()){e=f.substring(j+1);break a}}}else if(z())try{y.load(window.location.hostname);e=y.getAttribute(a);break a}catch(B){}e=h}b=e}return b}catch(M){}},setData:function(a,b,d){try{if(k(a,b,{domain:this.n(),
path:this.o(),i:d}),d){var e=new Date;e.setTime(e.getTime()+d||31536E6);try{if(window.localStorage)b=e.getTime()+"|"+b,window.localStorage.setItem(a,b);else if(z())y.expires=e.toUTCString(),y.load(window.location.hostname),y.setAttribute(a,b),y.save(window.location.hostname)}catch(f){}}else m(a,b)}catch(j){}},H:function(a){try{if(k(a,"",{domain:this.n(),path:this.o(),i:-1}),window.sessionStorage&&window.sessionStorage.removeItem(a),window.localStorage)window.localStorage.removeItem(a);else if(z())try{y.load(window.location.hostname),
y.removeAttribute(a),y.save(window.location.hostname)}catch(b){}}catch(d){}},K:function(){var a,b,d,e,f;A=this.getData("Hm_lpvt_"+c.id)||0;A.length==13&&(A=Math.round(A/1E3));b=this.D();a=b!=4?1:0;if(d=this.getData("Hm_lvt_"+c.id)){e=d.split(",");for(f=e.length-1;f>=0;f--)e[f].length==13&&(e[f]=""+Math.round(e[f]/1E3));for(;C-e[0]>2592E3;)e.shift();f=e.length<4?2:3;for(a===1&&e.push(C);e.length>4;)e.shift();d=e.join(",");e=e[e.length-1]}else d=C,e="",f=1;this.setData("Hm_lvt_"+c.id,d,c.age);this.setData("Hm_lpvt_"+
c.id,C);d=C==this.getData("Hm_lpvt_"+c.id)?"1":"0";if(c.nv==0&&this.d(window.location.href)&&(document.referrer==""||this.d(document.referrer)))a=0,b=4;this.a.nv=a;this.a.st=b;this.a.cc=d;this.a.lt=e;this.a.lv=f},w:function(){for(var a=[],b=0,d=E.length;b<d;b++){var e=E[b],f=this.a[e];typeof f!="undefined"&&f!==""&&a.push(e+"="+encodeURIComponent(f))}return a.join("&")},L:function(){this.K();this.a.si=c.id;this.a.su=document.referrer;this.a.ds=u;this.a.cl=v+"-bit";this.a.ln=t;this.a.ja=s?1:0;this.a.ck=
r?1:0;this.a.lo=typeof _bdhm_top=="number"?1:0;var a=this.a,b="";if(navigator.plugins&&navigator.mimeTypes.length){var d=navigator.plugins["Shockwave Flash"];d&&d.description&&(b=d.description.replace(/^.*\s+(\S+)\s+\S+$/,"$1"))}else if(window.ActiveXObject)try{if(d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))(b=d.GetVariable("$version"))&&(b=b.replace(/^.*\s+(\d+),(\d+).*$/,"$1.$2"))}catch(e){}a.fl=b;this.a.sb=this.C();this.a.v="1.0.37";this.a.cv=decodeURIComponent(this.getData("Hm_cv_"+c.id)||
"");this.a.api=0;a=window.location.href;this.a.cm=o(a,"hmmd")||"";this.a.cp=o(a,"hmpl")||"";this.a.cw=o(a,"hmkw")||"";this.a.ci=o(a,"hmci")||"";this.a.cf=o(a,"hmsr")||""},F:function(){var a=this;try{a.L();a.a.nv==0?a.J():a.k(".*");a.z();a.B();a.m&&a.m();a.l&&a.l();a.h=new G;x(window,"beforeunload",a.I());if(a.G()){var b=window._hmt;if(b&&b.length)for(var d=0,e=b.length;d<e;d++)a.t.call(a,b[d]);a.p.push=function(){a.t.apply(a,arguments)};window._hmt=a.p}if(typeof window._bdhm_autoPageview==="undefined"||
window._bdhm_autoPageview===g)a.a.et=0,a.a.ep="",a.c()}catch(f){b=[],b.push("si="+c.id),b.push("n="+encodeURIComponent(f.name)),b.push("m="+encodeURIComponent(f.message)),b.push("r="+encodeURIComponent(document.referrer)),w(D+"//hm.baidu.com/hm.gif?"+b.join("&"))}},I:function(){var a=this;return function(){a.a.et=3;a.a.ep=(new Date).getTime()-a.h.r+","+((new Date).getTime()-a.h.g+a.h.s);a.c()}},c:function(){var a=this;a.a.rnd=Math.round(Math.random()*2147483647);a.a.api=a.a.api||a.f?a.a.api+"_"+a.f:
"";var b=D+"//hm.baidu.com/hm.gif?"+a.w();a.a.api=0;a.f=0;a.A(b);w(b,function(b){a.k(b)})},z:function(){if(c.icon!=""){var a,b=c.icon.split("|"),d="http://tongji.baidu.com/hm-web/welcome/ico?s="+c.id;a=(D=="http:"?"http://eiv":"https://bs")+".baidu.com"+b[0]+"."+b[1];switch(b[1]){case "swf":var e=b[2],b=b[3],d="s="+d,f="HolmesIcon"+C;a='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="'+f+'" width="'+e+'" height="'+b+'"><param name="movie" value="'+a+'" /><param name="flashvars" value="'+
d+'" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" name="'+f+'" width="'+e+'" height="'+b+'" src="'+a+'" flashvars="'+d+'" allowscriptaccess="always" /></object>';break;case "gif":a='<a href="'+d+'" target="_blank"><img border="0" src="'+a+'" width="'+b[2]+'" height="'+b[3]+'"></a>';break;default:a='<a href="'+d+'" target="_blank">'+b[0]+"</a>"}document.write(a)}},B:function(){var a=window.location.hash.substring(1),b=RegExp(c.id),d=document.referrer.indexOf("baidu.com")>
-1?g:i;a&&b.test(a)&&d&&(b=document.createElement("script"),b.setAttribute("type","text/javascript"),b.setAttribute("charset","utf-8"),b.setAttribute("src",D+"//"+c.js+o(a,"jn")+"."+o(a,"sx")+"?"+this.a.rnd),a=document.getElementsByTagName("script")[0],a.parentNode.insertBefore(b,a))},t:function(a){if(function(a){if(Object.prototype.toString.call(a)!=="[object Array]")return i;for(var b=a.length-1;b>=0;b--){var d=a[b];if(!("[object Number]"==Object.prototype.toString.call(d)&&isFinite(d))&&"[object String]"!=
Object.prototype.toString.call(d)&&d!==g&&d!==i)return i}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(a.length>1&&a[1].charAt&&a[1].charAt(0)=="/"){this.a.api|=4;this.a.et=0;this.a.ep="";var b=this.a.u,d=this.a.su;this.a.u=D+"//"+window.location.host+a[1];this.a.su=window.location.href;this.c();this.a.u=b;this.a.su=d}break;case "_trackEvent":if(a.length>2)this.a.api|=8,this.a.et="4",this.a.ep=
b(a[1])+"*"+b(a[2])+(a[3]?"*"+b(a[3]):"")+(a[4]?"*"+b(a[4]):""),this.c();break;case "_setCustomVar":if(a.length<4)break;var d=a[1],e=a[4]||3;if(d>0&&d<6&&e>0&&e<4){this.f++;for(var f=(this.a.cv||"*").split("!"),j=f.length;j<d-1;j++)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):this.H("Hm_cv_"+c.id)}}}},G:function(){if(window._bdhm_account&&window._bdhm_account!==
c.id)return i;var a=window._hmt;if(!a||!a.length)return g;for(var b=g,d=0;d<a.length;d++){var e=a[d];switch(e[0]){case "_setAccount":if(e.length>1&&/^[0-9a-z]{32}$/.test(e[1]))this.a.api|=1,window._bdhm_account=e[1],e[1]!==c.id&&(b=i);break;case "_setAutoPageview":if(e.length>1&&(e=e[1],i===e||g===e))this.a.api|=2,window._bdhm_autoPageview=e}}return b},A:function(a){var b=n("Hm_unsent_"+c.id)||"",d=this.a.u?"":"&u="+encodeURIComponent(window.location.href),b=encodeURIComponent(a.replace(/^https?:\/\//,
"")+d)+(b?","+b:"");m("Hm_unsent_"+c.id,b)},k:function(a){var b=n("Hm_unsent_"+c.id)||"";b&&((b=b.replace(RegExp(encodeURIComponent(a.replace(/^https?:\/\//,"")).replace(/([\*\(\)])/g,"\\$1")+"(%26u%3D[^,]*)?,?","g"),"").replace(/,$/,""))?m("Hm_unsent_"+c.id,b):window.sessionStorage&&window.sessionStorage.removeItem("Hm_unsent_"+c.id))},J:function(){var a=this,b=n("Hm_unsent_"+c.id);if(b)for(var b=b.split(","),d=0,e=b.length;d<e;d++)w(D+"//"+decodeURIComponent(b[d]).replace(/^https?:\/\//,""),function(b){a.k(b)})}};
F.prototype.m=function(){x(document,"click",H(this));for(var a=c.etrk.length,b=0;b<a;b++){var d=c.etrk[b],e=document.getElementById(d.id);e&&x(e,d.eventType,I(this))}};function I(a){return function(b){(b.target||b.srcElement).setAttribute("HM_fix",b.clientX+":"+b.clientY);a.a.et=1;a.a.ep="{id:"+this.id+",eventType:"+b.type+"}";a.c()}}
function H(a){return function(b){var d=b.target||b.srcElement,e=d.getAttribute("HM_fix"),f=b.clientX+":"+b.clientY;if(e&&e==f)d.removeAttribute("HM_fix");else if(e=c.etrk.length,e>0){for(f={};d&&d!=document.body;)d.id&&(f[d.id]=""),d=d.parentNode;for(d=0;d<e;d++){var j=c.etrk[d];if(f.hasOwnProperty(j.id))a.a.et=1,a.a.ep="{id:"+j.id+",eventType:"+b.type+"}",a.c()}}}}
F.prototype.l=function(){var a=this;c.ctrk&&(x(document,"mouseup",J(this)),x(window,"beforeunload",function(){K(a)}),setInterval(function(){K(a)},6E5))};
function J(a){return function(b){var d,e;q?(e=Math.max(document.documentElement.scrollTop,document.body.scrollTop),d=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),d=b.clientX+d,e=b.clientY+e):(d=b.pageX,e=b.pageY);var f=window.innerWidth||document.documentElement.clientWidth||document.body.offsetWidth;switch(c.align){case 1:d-=f/2;break;case 2:d-=f}d="{x:"+d+",y:"+e+",";b=b.target||b.srcElement;if(b.tagName.toLowerCase()!="a")a:{for(e="A";(b=b.parentNode)&&b.nodeType==1;)if(b.tagName==
e)break a;b=h}d+=b?"t:a,u:"+encodeURIComponent(b.href)+"}":"t:b}";b=d;if(""!=b)d=(D+"//hm.baidu.com/hm.gif?"+a.w().replace(/ep=[^&]*/,"ep="+encodeURIComponent("["+b+"]"))).length,d+10>1024||(d+encodeURIComponent(a.b.join(",")+(a.b.length?",":"")).length+10>1024&&K(a),a.b.push(b),(a.b.length>=10||/t:a/.test(b))&&K(a))}}function K(a){if(a.b.length!=0)a.a.et=2,a.a.ep="["+a.b.join(",")+"]",a.c(),a.b=[]}
function G(){this.g=this.r=(new Date).getTime();this.s=0;typeof document.M=="object"?(x(document,"focusin",L(this)),x(document,"focusout",L(this))):(x(window,"focus",L(this)),x(window,"blur",L(this)))}function L(a){return function(b){if(!(b.target&&b.target!=window)){if(b.type=="blur"||b.type=="focusout")a.s+=(new Date).getTime()-a.g;a.g=(new Date).getTime()}}}new F;})();
