var taqHome;
(function(){function Da(){var a=h.getElementById("NewsEditionName"),b=h.getElementById("NewsEditionNumber"),d=h.getElementById("NewsArticleTitle"),e=h.getElementById("NewsArticleAuthor"),g=h.getElementById("NewsArticleID"),f=h.getElementById("NewsArticleType"),D=h.getElementById("NewsPaperName"),w=h.getElementById("NewsArticleSource"),t=h.getElementById("NewsArticlePubDay"),l=h.getElementById("SelfNewsArticleID"),p=h.getElementById("gscrumb"),r=h.getElementById("NewsArticleDepartmentOfAuthor"),k=
h.getElementById("ReserveCustomField");p&&(c.gc=n(p.innerHTML));if(b||g)g&&(c.a_id=n(g.innerHTML)),d&&(c.a_nt=Ea(n(d.innerHTML))),b&&(c.a_en=n(b.innerHTML)),a&&(c.a_ea=n(a.innerHTML)),f&&(c.a_tp=n(f.innerHTML)),D&&(c.a_pn=n(D.innerHTML)),w&&(c.a_src=n(w.innerHTML)),e&&(c.a_ar=n(e.innerHTML)),t&&(c.a_pd=n(t.innerHTML)),l&&(c.a_sid=n(l.innerHTML)),r&&(c.a_doa=n(r.innerHTML)),k&&(c.a_rcf=n(k.innerHTML));c.title="undefined"==typeof jQuery||"undefined"==typeof $?document.title||"":$(v).attr("title")||
""}function gb(a){P||(r("user state returned."),P=!0,(E=String(a))&&"null"!=E&&"undefined"!=E?(ja(V,E,"/",null,W(v.domain)),c.uid=E):(a=W(v.domain),ja(V,"","/",new Date(0),a)))}function Fa(a){return null==a||void 0==a?!0:"string"!=typeof a?!1:0==n(a).length}function n(a){return a.replace(/^\s+|\s+$/gm,"")}function s(a,b){return null==a||void 0==a?a:n(a).length>b?a.substring(0,b-3)+"...":a}function Ea(a){return a.replace(/<br.*?>/g," ")}function ka(a){var b=h.cookie.indexOf(a+"=");if(-1==b)return null;
b=b+a.length+1;a=h.cookie.indexOf(";",b);-1==a&&(a=h.cookie.length);return decodeURIComponent(h.cookie.substring(b,a))}function Ga(a,b,d,e,g){null==g||void 0==g||0==X(g)?h.cookie=a+"="+encodeURIComponent(b)+"; path="+d+"; expires="+e:h.cookie=a+"="+encodeURIComponent(b)+"; path="+d+"; domain="+g+"; expires="+e}function ja(a,b,d,e,g){a=encodeURIComponent(a)+"="+encodeURIComponent(b);d&&(a+="; path="+d);e instanceof Date&&(a+="; expires="+e.toGMTString());g&&(a+="; domain="+g);h.cookie=a}function Ha(a){if(Fa(a)||
"undefined"==a||"string"!=typeof a)return!0;if(24<a.length)return r("length="+a.length+": "+a),!0;var b=/^[^_=]{1,5}_\d+_[^_=]{8,9}$/;return/^[^_=]{8,9}_\d+_[^_=]{1,5}$/.test(a)||b.test(a)?!1:(r(a+" not valid"),!0)}function Ia(a){var b=parseInt(Math.floor(1E3*Math.random()+1)+""+Math.floor(1E3*Math.random()+1));return String((new Date).valueOf().toString(36).concat("_").concat(a).concat("_").concat(b.toString(36)))}function Ja(a){var b=parseInt(Math.floor(1E3*Math.random()+1)+""+Math.floor(1E3*Math.random()+
1));return String((a+"").concat("_").concat((new Date).valueOf().toString(36)).concat("_").concat(b.toString(36)))}function hb(){window.postMessage&&"complete"==document.readyState&&Y.postMessage({type:"contentSize",value:[document.body.scrollWidth,document.documentElement.scrollHeight]})}function ib(a){function b(){document.documentElement.scrollHeight!=e&&(d=document.body.scrollWidth,e=document.documentElement.scrollHeight,Y.postMessage({type:"contentSize",value:[d,e]}))}var d="",e="";a.data&&"taHeatShow"==
a.data.type&&(Ka||(Ka=!0,F(window,"resize",b)),d=document.body.scrollWidth,e=document.documentElement.scrollHeight,Y.postMessage({type:"contentSize",value:[d,e]}))}function r(a){if(window.console&&console.log)try{console.log(a)}catch(b){}}function jb(){var a;try{return a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),a.GetVariable("$version")}catch(b){}try{return a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),version="WIN 6,0,21,0",a.AllowScriptAccess="always",a.GetVariable("$version")}catch(d){}try{return a=
new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),a.GetVariable("$version")}catch(e){}try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),"WIN 3,0,18,0"}catch(g){}try{return new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),"WIN 2,0,0,11"}catch(f){return"-1"}}function kb(){var a="Shockwave Flash ";if(navigator.plugins&&0<navigator.plugins.length){var b=navigator.plugins["Shockwave Flash"];if(!b)return"-1";try{if(void 0!=b.version)return b.version}catch(d){}b=b.description;return-1!=
b.indexOf(a)?b.substring(a.length):b}for(var b=jb().split(","),e="",a="WIN ",g=0,f=b.length;g<f;g++)-1!=b[g].indexOf(a)?(e+=b[g].substring(a.length),e+="."):g==f-1?e+=b[g]:(e+=b[g],e+=".");return e}function Z(){var a=!c.uid&&!P&&3E3>(new Date).getTime()-La;if(!I)if("true"!=Ma)Da(),I=!0;else{var b="undefined"==typeof jQuery||"undefined"==typeof $?document.title:$(v).attr("title");X(b)?(Da(),I=!0):I=!1}b=!I&&3E3>(new Date).getTime()-Na;if(!J)if(1!=la)J=!0;else{var d=h.getElementById(Oa);null!=d?""!=
n(d.innerHTML)?(c.gc=n(d.innerHTML),J=!0):J=!1:J=!1}d=!J&&3E3>(new Date).getTime()-Pa;if(a||b||d)setTimeout(Z,500);else{var a="",e;for(e in c)Fa(c[e])||(""!=a&&(a+="&"),a+=e+"="+encodeURIComponent(c[e]));if(taqHome){Qa=!0;try{ma=(new Date).getTime(),Ra=c.mpId}catch(g){r(g)}e=new Image(1,1);e.src=taqHome+"/1.gif?"+a;G(e.src,"pv")}else r("no _taq.home!")}}function Sa(a){a=K.timing;try{if(0>=parseInt(a.loadEventEnd))setTimeout(function(){lb++;Sa(c)},50);else{var b=a.domainLookupEnd-a.domainLookupStart,
d=a.connectEnd-a.connectStart,e=a.responseStart-a.requestStart,g=a.domContentLoadedEventStart-a.fetchStart,f=a.responseEnd-a.navigationStart,D=mb(),w;-1!==k.navigator.userAgent.indexOf("Chrome")&&(c.p_fp=-1,k.chrome&&window.PerformancePaintTiming&&(w=((performance.getEntriesByType("paint")[0].startTime+performance.timeOrigin)/1E3).toFixed(3),c.p_fp=0<=w?w:-1));-1!=navigator.appName.indexOf("Microsoft Internet Explorer")&&document.all&&(w=a.msFirstPaint-a.navigationStart,c.p_fp=0<=w?w:-1);requestType=
K.navigation.type;var t=a.loadEventEnd-a.navigationStart;c.p_d=0<=b?b:-1;c.p_ct=0<=d?d:-1;c.p_st=0<=e?e:-1;c.p_nt=0<=f?f:-1;c.p_tt=0<=t?t:-1;c.p_dr=0<=g?g:-1;c.p_rt=requestType;c.p_c=0;c.p_tajs=0<=D?Math.floor(D):-1;1===requestType&&(c.p_c=0);0===a.requestStart&&(c.p_c=1);a.connectStart===a.connectEnd&&(c.p_c=1);if("getEntriesByType"in K&&K.getEntriesByType("resource")instanceof Array){var h=K.getEntriesByType("resource");c.p_rc=h.length}Z()}}catch(l){}}function mb(){var a=0;try{var b=h.getElementById("_trs_ta_js").src,
d=k.performance.getEntriesByName(b);0<d.length&&(a=d[0].duration)}catch(e){}return a}function nb(a){var b=a.getAttribute("data-trs-ta-event-key");if(null==b||"undefined"==b||""==b||"null"==b){for(;(a=a.parentNode)&&1==a.nodeType;)if(b=a.getAttribute("data-trs-ta-event-key"),null!=b&&"undefined"!=b&&""!=b&&"null"!=b)return a;return null}return a}function X(a){return"string"!=typeof a?!1:0<a.length}function z(a){return null==a||"undefined"==a||""==a||"null"==a?a:a.replace(/\t/g," ").replace(/(^\s*)|(\s*$)/g,
"").replace(/[\r\n]/g," ")}function Q(a){return null==a||"undefined"==a||""==a||"null"==a?a:a.replace(/(^\s*)|(\s*$)/g,"")}function l(a,b,d){null!=d&&"undefined"!=d&&""!=d&&"null"!=d&&(a+="&"+b+"="+d);return a}function R(){if("spa"==na){var a=s(document.URL,1024);return s(encodeURIComponent(a),1024)}return s(encodeURIComponent(S),1024)}function oa(a,b,d){var e=b.getAttribute("href"),g=e?e.match(/^#/):!1,f=g?e:b.href;f&&(f=s(Q(f),255));var D=s(b.id,255),e=s(z(b.innerText),255);d&&d.elemText&&(e=s(z(d.elemText),
255));e||(e=pa(b));d=s(b.type,255);var w=s(b.name,255);b=s(b.target,255);a=l(a,"mpId",Ra);a=l(a,"cs",c.cs);a=l(a,"cu",c.cu);a=l(a,"pv",c.pv);a=l(a,"e_id",D);a=l(a,"url",R());if(X(f)&&(a=l(a,"e_tu",encodeURIComponent(f)),!g)){var t,f=Q(f);0==f.indexOf("http")||0==f.indexOf("https")?(g=f.substring(0,f.indexOf("://")),f=f.substring(f.indexOf("://")+3),-1<f.indexOf("/")?t=f.substring(0,f.indexOf("/")):t=f):0==f.indexOf("//")?(g=null,f=f.substring(f.indexOf("//")+2),-1<f.indexOf("/")?t=f.substring(0,f.indexOf("/")):
t=f):-1<f.indexOf(":")?(g=f.substring(0,f.indexOf(":")),t=null):(g=null,t=parseDomain2(document.URL));a=l(a,"e_td",encodeURIComponent(t));a=l(a,"e_tp",encodeURIComponent(g))}a=l(a,"e_tt",d);a=l(a,"e_tx",encodeURIComponent(e));a=l(a,"e_en",w);return a=l(a,"e_ht",b)}function G(a,b){if(qa&&ra)for(var d=ra.split(","),e=!1,g=0;g<d.length;g++){switch(d[g]){case "0":e=!1;break;case "1":e="pv"!=b?!1:!0;break;case "2":e="click"!=b?!1:!0;break;case "3":e="track"!=b?!1:!0;break;default:return!1}if(e){a.split("/1.gif?");
for(var e=a.split("/1.gif?")[1],f=qa.split(","),c,w=/^(http(s)?:)?\/\//,t,g=0;g<f.length;g++)c=w.test(f[g])?f[g]:"//"+f[g],taqHome!=c&&(t=new Image(1,1),t.src=c+"/1.gif?"+e)}}}function sa(a){var b,d;b=Math.floor(a.pageX);d=Math.floor(a.pageY);var e=window.innerWidth||document.documentElement.clientWidth||document.body.offsetWidth;isNaN(b)&&(d=Math.max(document.documentElement.scrollTop,document.body.scrollTop),b=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),d=Math.floor(a.clientY+
d),b=Math.floor(a.clientX+b));return{x:b,y:d,z:Math.floor(b-e/2)}}function ob(a){for(var b={flag:!1},d=a;d&&1==d.nodeType;d=d.parentNode)if(d.getAttribute("href")){b.anchorEle=d;b.anchorText=function(){if("area"==d.nodeName.toLowerCase()){var a=d.parentNode,b=a.name||a.id,a=function(){for(var a=null,d=document.getElementsByTagName("img"),e=0;e<d.length;e++)if(d[e].getAttribute("usemap")=="#"+b){a=d[e];break}return a}();return pa(a)}a=s(z(Ta(d)),19);if(0<a.length)return a;a=s(z(d.title),19);if(0<a.length)return a;
var f;return(a=function(){for(var a="",b=d.childNodes,e=0;e<b.length;e++)if(1==b[e].nodeType&&(f||(f=b[e]),"img"==b[e].nodeName.toLowerCase())){a=b[e];break}return a}())?pa(a):f?f.nodeName.toLowerCase()+" "+s(z(Ta(f)),19):""}();b.flag=!0;break}return b}function pa(a){if(!a)return"";var b=a.getAttribute("alt")?Q(a.getAttribute("alt")):"",d=a.getAttribute("title")?Q(a.getAttribute("title")):"";a=a.getAttribute("src")?a.getAttribute("src"):"";return s(z(b?b:d?d:a),25)}function Ta(a){return a?"string"==
typeof a.textContent?a.textContent:a.innerText:""}function pb(a){if(document!=(a.target||a.srcElement)){var b=nb(a.target||a.srcElement);if(null!=b){var d=b.tagName.toLowerCase();if("a"==d||"input"==d||"button"==d){var e=s(b.getAttribute("data-trs-ta-event-key"),255),g=s(b.getAttribute("data-trs-ta-event-type"),255),f=s(z(b.getAttribute("data-trs-ta-event-itemtype")),255),c=s(z(b.getAttribute("data-trs-ta-event-item")),255),h=s(z(b.getAttribute("data-trs-ta-event-itemname")),255),t,n,k;k=sa(a);t=
k.x;n=k.y;k=k.z;var u=a.type;q=oa(q,b);q=l(q,"t_k",encodeURIComponent(e));q=l(q,"t_t",encodeURIComponent(g));q=l(q,"t_it",encodeURIComponent(f));q=l(q,"t_i",encodeURIComponent(c));q=l(q,"t_in",encodeURIComponent(h));q=l(q,"x",t);q=l(q,"y",n);q=l(q,"x2",k);q=l(q,"e_tn",d);q=l(q,"e_et",u);(new Image(1,1)).src=q;q=Ua}}b=a.target||a.srcElement;if(null!=b&&(f=s(b.tagName.toLowerCase(),255),g=sa(a),d=g.x,e=g.y,g=g.z,c=Va.collectable(b),h=ob(b),t="a"==f||"input"==f||"button"==f,"a"!=f&&"input"!=f&&"button"!=
f&&(L=""==L?"{"+d+","+e+","+g+"}":L+(";{"+d+","+e+","+g+"}"),ta()),t||c)){h.flag?(p=oa(p,h.anchorEle,{elemText:h.anchorText}),f=s(h.anchorEle.tagName.toLowerCase(),255),p=l(p,"e_tn",f),p=l(p,"e_iac","1")):(p=oa(p,b),p=l(p,"e_tn",f),p=l(p,"e_iac","0"));f=s(a.type,255);c="";h=0;try{var x=Wa.readXPath(b),m=new Wa.Base64,c=encodeURIComponent(m.encode(x));0!=ma&&(h=Math.floor(((new Date).getTime()-ma)/1E3))}catch(v){r("someting wrong for getting element xPath"),r(v)}p=l(p,"e_et",f);p=l(p,"e_nd",c);p=l(p,
"e_etd",h);p=l(p,"x",d);p=l(p,"y",e);p=l(p,"x2",g);if(isNaN(d))try{p=l(p,"p_err",JSON.stringify({isPage:a.pageX,isClient:a.clientX,isScroll:document.documentElement.scrollTop,isBodyScroll:document.body.scrollTop}))}catch(y){}x=new Image(1,1);x.src=p;G(x.src,"click","click_2");p=M+"&clicktype=2"}m=sa(a);a=m.x;x=m.y;m=m.z;""==H?(H="{x:"+a+",y:"+x+"}",T="{z:"+m+",y:"+x+"}"):(H+=",{x:"+a+",y:"+x+"}",T+=",{z:"+m+",y:"+x+"}");ua()}}function qb(){aa||Xa();var a=1>aa?aa:1,b=new Image(1,1),a=taqHome+"/1.gif?mpId="+
c.mpId+"&event=viewInfo&cu="+c.cu+"&cs="+c.cs+"&pv="+c.pv+"&vp="+a+"&url="+encodeURIComponent(c.url);b.src=a;G(a,"leave");ta();ua()}function ta(){if(""!=L){ba+="&pa=["+L+"]";L="";var a=new Image(1,1);a.src=ba+"&pv="+c.pv;G(a.src,"click","click_1");ba=M+"&clicktype=1&url="+R()}}function ua(){if(""!=H){A+="&br="+va+"*"+ca;A+="&pa=["+H+"]";A+="&pb=["+T+"]";T=H="";var a=new Image(1,1);a.src=A;G(a.src,"click","click_3");A=M+"&clicktype=3&url="+R()}}function W(a){for(var b=".com.cn .net.cn .org.cn .gov.cn .edu.cn .ac.cn .mil.cn .ah.cn .bj.cn .cq.cn .fj.cn .gd.cn .gs.cn .gz.cn .gx.cn .ha.cn .hb.cn .he.cn .hi.cn .hl.cn .hn.cn .jl.cn .js.cn .jx.cn .ln.cn .nm.cn .nx.cn .qh.cn .sc.cn .sd.cn .sh.cn .sn.cn .sx.cn .tj.cn .xj.cn .xz.cn .yn.cn .zj.cn .hk.cn .mo.cn .tw.cn .com .cn .net .cc .org .tv .edu .mil .info .mobi .biz .pro .travel .museum .int .areo .post .rec".split(" "),
d="",e=0;e<b.length;e++){var d=b[e],g=d.replace(".","\\."),g=new RegExp(g+"$");if(g.test(a)){a=a.replace(g,"");a=a.substring(a.lastIndexOf(".")+1,a.length);a+=d;break}}return a}function F(a,b,d){1<k.ta_count||(a.attachEvent?a.attachEvent("on"+b,d):a.addEventListener&&a.addEventListener(b,d,!1))}function Xa(a){a=document.documentElement&&document.documentElement.scrollHeight||document.body&&document.body.scrollHeight||0;var b=window.innerHeight||ca;wa=Math.max(document.documentElement.scrollTop||document.body.scrollTop,
wa);aa=Number((wa+b)/a).toFixed(4)}function rb(){var a=function(){return{Base64:function(){_keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";this.encode=function(a){var b="",g,f,c,h,l,k,n=0;for(a=_utf8_encode(a);n<a.length;)g=a.charCodeAt(n++),f=a.charCodeAt(n++),c=a.charCodeAt(n++),h=g>>2,g=(g&3)<<4|f>>4,l=(f&15)<<2|c>>6,k=c&63,isNaN(f)?l=k=64:isNaN(c)&&(k=64),b=b+_keyStr.charAt(h)+_keyStr.charAt(g)+_keyStr.charAt(l)+_keyStr.charAt(k);return b};this.decode=function(a){var b=
"",g,f,c,h,l,k=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");k<a.length;)g=_keyStr.indexOf(a.charAt(k++)),f=_keyStr.indexOf(a.charAt(k++)),h=_keyStr.indexOf(a.charAt(k++)),l=_keyStr.indexOf(a.charAt(k++)),g=g<<2|f>>4,f=(f&15)<<4|h>>2,c=(h&3)<<6|l,b+=String.fromCharCode(g),64!=h&&(b+=String.fromCharCode(f)),64!=l&&(b+=String.fromCharCode(c));return b=_utf8_decode(b)};_utf8_encode=function(a){a=a.replace(/\r\n/g,"\n");for(var b="",g=0;g<a.length;g++){var c=a.charCodeAt(g);128>c?b+=String.fromCharCode(c):
(127<c&&2048>c?b+=String.fromCharCode(c>>6|192):(b+=String.fromCharCode(c>>12|224),b+=String.fromCharCode(c>>6&63|128)),b+=String.fromCharCode(c&63|128))}return b};_utf8_decode=function(a){for(var b="",c=0,f=c1=c2=0;c<a.length;)f=a.charCodeAt(c),128>f?(b+=String.fromCharCode(f),c++):191<f&&224>f?(c2=a.charCodeAt(c+1),b+=String.fromCharCode((f&31)<<6|c2&63),c+=2):(c2=a.charCodeAt(c+1),c3=a.charCodeAt(c+2),b+=String.fromCharCode((f&15)<<12|(c2&63)<<6|c3&63),c+=3);return b}},readXPath:function(a){if(""!==
a.id)return"//*[@id='"+a.id+"']";for(var b=0,c=a.parentNode,f=a.parentNode.childNodes,h=0,l=f.length;h<l;h++){var k=f[h];if(k==a)return c==document.body?a.tagName.toLowerCase()+(1==b+1?"":"["+(b+1)+"]"):arguments.callee(a.parentNode)+"/"+a.tagName.toLowerCase()+(1==b+1?"":"["+(b+1)+"]");1==k.nodeType&&k.tagName==a.tagName&&b++}},indexOf:function(a,b){if(null!=Array.prototype.indexOf)return a.indexOf(b);for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1}}}(),b=["TEXTAREA","HTML","BODY"];return{tools:a,
collectable:function(c){if(c==document||!c)return!1;c=c.tagName.toUpperCase();return-1<a.indexOf(b,c)?!1:!0}}}function Ya(){}function Za(a){return a.offsetParent?Za(a.offsetParent)+a.offsetTop:a.offsetTop}function $a(a){return a.offsetParent?$a(a.offsetParent)+a.offsetLeft:a.offsetLeft}function sb(a){var b=[],c=document.getElementById("heatmap");if(c.getContext){var e=c.getContext("2d");c.width=document.body.scrollWidth;c.height=document.body.scrollHeight}else alert("\u6d4f\u89c8\u5668\u4e0d\u652f\u6301canvas!");
for(var g in a){var c=a[g].x,f=a[g].y,h=a[g].value,k=a[g].w,l=a[g].h,n=a[g].scale,p=a[g].ele;if("undefined"!=typeof p){var r=new Ya;r.init(c,f,h,k,l,n,p);r.draw(e);b.push(r)}}a=document.getElementById("heatmap");a=a.getContext("2d");var q=document.getElementById("tooltip"),m=[];document.getElementById("heatmap").onmousemove=function(a){var c=a.clientX;a=a.clientY;0==m.length&&(q.style.display="none");for(var d in b)if(0<c-(b[d].x-b[d].w)&&c-(b[d].x-b[d].w)<2*b[d].w&&0<a-(b[d].y-b[d].h)&&a-(b[d].y-
b[d].h)<2*b[d].h){if(0<m.length){if(b[d].w>m[0].w||b[d].h>m[0].h)continue;m.pop().ele.style.border=""}m.push(b[d]);m[0].ele.style.border="1px solid red";m[0].ele.style.width=2*b[d].w-2+"px";m[0].ele.style.height=2*b[d].h-2+"px";m[0].ele.style.boxSizing="border-box";q.style.display="block";c>document.body.clientWidth-200?(q.style.left=c-200+"px",q.style.top=a-10+"px"):(q.style.left=c+10+"px",q.style.top=a+10+"px");q.style.color="white";var e="\u70b9\u51fb\u91cf\uff1a"+m[0].value+"<br />\u70b9\u51fb\u7387\uff1a",
f;f=m[0].scale;0==f?f=0:(f=Number(100*f).toFixed(5),f+="%");q.innerHTML=e+f}else"undefined"!=typeof b[d].ele&&(b[d].ele.style.border="",b[d]==m[0]&&(m[0].ele.style.width=2*b[d].w+"px",m[0].ele.style.height=2*b[d].h+"px",m.pop()))}}var c={},k=window,ab=function(a,b){var c=a.match(RegExp("(^|&|\\?|#)("+b+")=([^&#]*)(&|$|#)",""));return c?c[3]:"null"}(k.location.hash.substring(1),"heatShow"),h=document,bb=!1,U=Q(function(){var a="",b=document.getElementsByTagName("meta");try{if(0<b.length)for(var c=
0;c<b.length;c++){var e=b[c],g=e.getAttribute("charset");if(g){a=g;break}else{var f=e.getAttribute("http-equiv");if(f&&"content-type"==f.toLowerCase()){var h=e.content.split(";"),g=1<h.length?h[1].split("=")[1]:null;if(g){a=g;break}}}}}catch(k){r("fail to parse charset: "+k)}return a.toUpperCase()}()),da=(h.characterSet?h.characterSet:h.charset).toUpperCase();c.bc=da;if(k.inTRSDesignMode)r("The current page existence the window.inTRSDesignMode,so exit!");else{if(X(U)){c.mc=U;var cb=/^GB/;if(!(U==
da||cb.test(U)&&cb.test(da))){r("the meta charset(["+U+"]) is different from browser charset(document.characterSet = ["+da+"]), so exit!");return}}try{bb=h.domain==top.document.domain}catch(tb){r("unable check top.document.domain: "+tb)}var v=bb?top.document:h;c.domain=v.domain||"";k&&k.screen&&(c.sh=k.screen.height||0,c.sw=k.screen.width||0,c.cd=k.screen.colorDepth||0);var db=h.getElementById("gscrumb");db&&(c.gc=n(db.innerHTML));var Ma=!1,Na,I=!1,la=!1,Oa="",Pa,J=!1,na=null,N=null,qa=null,ra=null;
if("undefined"!=typeof _taq){taqHome=_taq.home;for(var u in _taq)switch(_taq[u][0]){case "_mpId":c.mpId=_taq[u][1];break;case "_setUID":_taq[u][1]&&""!=_taq[u][1]&&(c.uid=_taq[u][1])}}else{var xa=h.getElementById("_trs_ta_js");if(!xa){r("not found _trs_ta_js script element, so just return!");return}var ea=xa.src.split("?")[1].split("&");for(u=0;u<ea.length;u++)try{var O=ea[u].split("=")[0],y=ea[u].split("=")[1];"mpid"==O?c.mpId=y:"waitTitle"==O?Ma=y:"waitAjaxElement"==O?""!=n(y)?(Oa=y,la=!0):la=!1:
"siteType"==O?na=y:"cPrefix"==O?(N=y,/^(http(s)?:)?\/\//.test(N)||(N="//"+N)):"srcMode"==O&&(4==y&&(y="1,2"),ra=y)}catch(wb){r("skip a param as it is not key=value format, i="+u+", myselfSrcParamArray="+ea)}taqHome=N?N:xa.src.split("/js/")[0];qa=document.getElementById("_trs_ta_js").srcsup||document.getElementById("_trs_ta_js").getAttribute("srcsup")||void 0}k.ta_count=k.ta_count||0;if("spa"==na)k.ta_count++;else{if(k["ta.js"])return;k["ta.js"]=!0}k.TA17Obj={};var fa=k.TA17Obj;fa.clearLoginUser=function(){var a=
W(v.domain);ja(V,"","/",new Date(0),a)};fa.track=function(a){if(k.inTRSDesignMode)r("The current page existence the window.inTRSDesignMode,so TA17Obj.track ignore!");else{if(!a.eventKey&&0!==a.eventKey)return r("eventKey\u503c\u4e3a\uff1a"+a.eventKey+"\u4e0d\u7b26\u5408\u547d\u540d\u89c4\u8303!"),!1;-1<a.eventKey.indexOf(".")&&(a.eventKey=a.eventKey.substring(a.eventKey.indexOf(".")+1)+"&t_t="+a.eventKey.split(".")[0]);var b,d,e=h.getElementById("NewsEditionName"),g=h.getElementById("NewsEditionNumber"),
f=h.getElementById("NewsArticleTitle"),l=h.getElementById("NewsArticleAuthor"),p=h.getElementById("NewsArticleID"),q=h.getElementById("NewsArticleType"),s=h.getElementById("NewsPaperName"),u=h.getElementById("NewsArticleSource"),v=h.getElementById("NewsArticlePubDay"),x=h.getElementById("SelfNewsArticleID");if(a.trackInfos&&0!=a.trackInfos.length)for(var m=0;m<a.trackInfos.length;m++)d=new Image(1,1),b=taqHome+"/1.gif?mpId="+c.mpId+"&event=jsapi&t_k="+a.eventKey+"&cu="+c.cu+"&cs="+c.cs+"&pv="+c.pv+
"&url="+encodeURIComponent(c.url),a.trackInfos[m].eventItem&&(b+="&t_i="+a.trackInfos[m].eventItem),a.trackInfos[m].eventItemType&&(b+="&t_it="+a.trackInfos[m].eventItemType),a.trackInfos[m].eventItemName&&(b+="&t_in="+a.trackInfos[m].eventItemName),a.trackInfos[m].commodity_num&&(b+="&t_num="+a.trackInfos[m].commodity_num),a.trackInfos[m].commodity_money&&(b+="&t_money="+a.trackInfos[m].commodity_money.toFixed(2)),a.trackInfos[m].target_page&&(b+="&e_tu="+a.trackInfos[m].target_page),a.trackInfos[m].customParam&&
(b+="&e_cus="+JSON.stringify(a.trackInfos[m].customParam)),p&&(b+="&a_id="+n(p.innerHTML)),f&&(b+="&a_nt="+Ea(n(f.innerHTML))),g&&(b+="&a_en="+n(g.innerHTML)),e&&(b+="&a_ea="+n(e.innerHTML)),q&&(b+="&a_tp="+n(q.innerHTML)),s&&(b+="&a_pn="+n(s.innerHTML)),u&&(b+="&a_src="+n(u.innerHTML)),l&&(b+="&a_ar="+n(l.innerHTML)),v&&(b+="&a_pd="+n(v.innerHTML)),x&&(b+="&a_sid="+n(x.innerHTML)),d.src=b,G(b,"track");else d=new Image(1,1),b=taqHome+"/1.gif?mpId="+c.mpId+"&event=jsapi&t_k="+a.eventKey+"&cu="+c.cu+
"&cs="+c.cs+"&pv="+c.pv+"&url="+c.url,d.src=b,G(b,"track")}};Na=(new Date).getTime();Pa=(new Date).getTime();var V="_trs_user",E=ka(V),La,P=!1;if(E)c.uid=E,r("get user id from cookie");else if("undefined"!=typeof window.TA17Callbacks_getAndSendLoginUser){La=(new Date).getTime();try{r("start to get user id"),window.TA17Callbacks_getAndSendLoginUser(gb)}catch(xb){r("no valid method for getting user was provided."),P=!0}}else r("no valid method for getting user was provided."),P=!0;var B,C;c.pv=Ja(c.mpId);
0<h.cookie.length&&(B=ka("_trs_ua_s_1"),C=ka("_trs_uv"));if(Ha(B)){var ub=B;B=Ia(c.mpId);r("sessionCookie expired: "+ub+", so create new: "+B)}if(Ha(C)){var vb=C;C=Ia(c.mpId);r("UVCookie expired: "+vb+", so create new: "+C)}var ya=new Date;ya.setDate(ya.getDate()+730);var eb=W(v.domain);Ga("_trs_uv",C,"/",ya.toGMTString(),eb);r("set UVCookie topLevelDomain: "+eb+", _trs_uv="+C);var za=new Date;za.setMinutes(za.getMinutes()+30);Ga("_trs_ua_s_1",B,"/",za.toGMTString());r("set sessionCookie: _trs_ua_s_1="+
B);c.cs=B||"";c.cu=C||"";c.title="undefined"==typeof jQuery||"undefined"==typeof $?document.title||"":$(v).attr("title")||"";c.url=v.URL||"";c.refer=v.referrer||"";if(1==ab){var ga=document.createElement("iframe"),Aa;Aa=document.referrer&&"function"==typeof document.referrer.indexOf&&0<=document.referrer.indexOf("/console/heatmap")?document.referrer.slice(0,document.referrer.indexOf("/console/heatmap")):taqHome;var Ba=document.documentElement.scrollWidth,ha=document.documentElement.scrollHeight,ia=
0;ga.src=Aa+"/agent.html#"+Ba+"*"+ha;document.body.appendChild(ga);ga.style.display="none";var fb=function(){document.documentElement.scrollHeight!=ha?(ia=0,Ba=document.documentElement.scrollWidth,ha=document.documentElement.scrollHeight,ga.src=Aa+"/agent.html?random="+Math.random()+"#"+Ba+"*"+ha):3>=ia?(ia++,setTimeout(fb,1E3)):ia=0};F(window,"resize",fb);ab=0}var Y={listenMessage:function(a){F(window,"message",a)},postMessage:function(a){try{window.parent.postMessage(a,"*")}catch(b){r(b.message)}}},
Ka=!1;Y.listenMessage(ib);document.onreadystatechange=hb;navigator&&(c.lang=navigator.language||navigator.browserLanguage||"",c.fl=kb(),c.je=navigator.javaEnabled()?1:0,c.ce=navigator.cookieEnabled?1:0);var K=k.performance,lb=0;K?Sa(c):Z();var ma=0,Ra=c.mpId,Qa=!1;/msie (\d+\.\d+)/i.test(navigator.userAgent);var Ua=taqHome+"/1.gif?event=click&sr="+screen.width+"*"+screen.height+"&url="+encodeURIComponent(document.URL),q=Ua,va=0,ca=0;document.all||document.captureEvents(Event.MOUSEMOVE);var va=document.documentElement&&
document.documentElement.scrollWidth||document.body&&document.body.scrollWidth||0,ca=document.documentElement&&document.documentElement.scrollHeight||document.body&&document.body.scrollHeight||0,Ca=window.devicePixelRatio||1,Ca=Number(Ca).toFixed(4),S=s(document.URL,1024);0<S.indexOf("#")&&(S=S.substring(0,S.indexOf("#")));var M=taqHome+"/1.gif?event=mousedown&sr="+screen.width+"*"+screen.height+"&br="+va+"*"+ca+"&dpr="+Ca,ba=M+"&clicktype=1&url="+R(),p=M+"&clicktype=2",A=M+"&clicktype=3&url="+R(),
L="",H="",T="";if(k.TAQueueArr){for(u=0;u<k.TAQueueArr.length;u++)fa.track(k.TAQueueArr[u][0]);k.TAQueueArr=[]}var Va=rb(),Wa=Va.tools;F(document,"mouseup",pb);F(window,"unload",qb);F(window,"scroll",Xa);var wa=0,aa;fa.urlChanged=function(){Qa&&(ta(),ua(),c.pv=Ja(c.mpId),c.title="undefined"==typeof jQuery?document.title||"":$(document).attr("title")||"",c.url=document.URL||"",c.refer=document.referrer||"",I=!1,Z())};Ya.prototype={init:function(a,b,c,e,g,f,h){this.x=a;this.y=b;this.value=c;this.w=
e;this.h=g;this.scale=f;this.ele=h},draw:function(a){a.beginPath();a.ellipse(this.x,this.y,this.w,this.h,0,0,2*Math.PI);a.closePath();var b=this.w>this.h?this.w:this.h;0==b&&(b=1);a.save();a.scale(this.w/b,this.h/b);var c=0==this.h/b?1:this.h/b,e=(this.x/(0==this.w/b?1:this.w/b)).toFixed(2),c=(this.y/c).toFixed(2),b=a.createRadialGradient(e,c,0,e,c,b);.001>this.scale?(b.addColorStop(0,"rgba(0,255,0,0.5)"),b.addColorStop(.5,"rgba(0,0,255,0.3)"),b.addColorStop(1,"rgba(148,0,211,0)")):.008>this.scale?
(b.addColorStop(0,"rgba(0,255,255,0.5)"),b.addColorStop(.5,"rgba(0,255,0,0.3)"),b.addColorStop(1,"rgba(0,0,255,0)")):(b.addColorStop(0,"rgba(255,0,0,0.5)"),b.addColorStop(.5,"rgba(255,255,0,0.3)"),b.addColorStop(1,"rgba(0,255,0,0)"));a.fillStyle=b;a.globalAlpha=Math.max(Math.min(2E3*this.scale,1),0);a.fill();a.restore()}};F(window,"message",function(a){if(a.data&&"dealXpath"==a.data.type){var b=document.createElement("canvas");b.setAttribute("id","heatmap");b.style.position="fixed";b.style.zIndex=
999;b.style.display="block";b.style.top=0;b.style.left=0;document.body.appendChild(b);b=document.createElement("div");b.setAttribute("id","tooltip");b.style.backgroundColor="black";b.style.width="150px";b.style.height="40px";b.style.padding="10px";b.style.position="fixed";b.style.display="none";b.style.top=0;b.style.left=0;b.style.zIndex=1E3;document.body.appendChild(b);a=a.data.data;for(var b=[],c=0;c<a.length;c++){""==a[c].xpath?a[c].xpath="html/body":"0"==a[c].xpath.substr(a[c].xpath.length-1,
1)?a[c].xpath="/html/body/"+a[c].xpath.substring(0,a[c].xpath.length-2):0!=a[c].xpath.indexOf("/")&&(a[c].xpath="/html/body/"+a[c].xpath);try{var e=document.evaluate(a[c].xpath,document).iterateNext();if(e&&(0==e.childNodes.length||0!=e.childNodes.length&&0==e.childNodes[0].childNodes.length)){var g=e.offsetWidth/2+$a(e),f=e.offsetHeight/2+Za(e);b.push({x:g,y:f,value:a[c].click,w:e.clientWidth/2,h:e.clientHeight/2,scale:a[c].click/a[c].sumClick,ele:e})}}catch(h){console.log(h)}}sb(b)}},!1)}})();
