(function(){var ah=window,l=document,A=navigator,ag=A.userAgent,p=ah.screen,s;try{s=ah.location.href}catch(au){s=document.URL}var af="https:"==ah.location.protocol?"https://s":"http://",v="beacon.sina.com.cn";var q=af+v+"/a.gif?",Q=af+v+"/g.gif?",z=af+v+"/d.gif?",f=af+v+"/e.gif?";var c=0;var U=l.referrer.toLowerCase();var E="SINAGLOBAL",b="Apache",al="ULV",n="SUP",ao="UOR",ab="_s_acc",S="_s_tentry";var am=0;var y=false;var aj=false,j=false;var ai="";var aa=16777215,I=0,W,d=0;var ak="",H="",G="";var k=[],K=[],ac=[];var aw=0;var Z=(function(){var i=window.localStorage,D,ax;if(i){return{get:function(e){return unescape(i.getItem(e))},set:function(e,az){i.setItem(e,escape(az))}}}else{if(window.ActiveXObject){D=document.documentElement;ax="localstorage";try{D.addBehavior("#default#userdata");D.save("localstorage")}catch(ay){}return{set:function(az,aA){try{D.setAttribute(az,aA);D.save(ax)}catch(aB){}},get:function(az){try{D.load(ax);return D.getAttribute(az)}catch(aA){}}}}else{return{get:h,set:t}}}})();function Y(ax,i){var D=l.getElementsByName(ax);var e=(i>0)?i:0;return(D.length>e)?D[e].content:""}function aq(aA,D,ay,ax){if(aA==""){return""}ax=(ax=="")?"=":ax;D+=ax;var az=aA.indexOf(D);if(az<0){return""}az+=D.length;var i=aA.indexOf(ay,az);if(iD){if(!i.test(ax.charAt(e-1))){break}e-=1}return ax.slice(D,e)}function N(e){return Object.prototype.toString.call(e)==="[object Array]"}function R(ax,aB){var aD=a(ax).split("&");var aC={};var D=function(i){if(aB){return decodeURIComponent(i)}else{return i}};for(var az=0,aA=aD.length;az1){D=D[1]}}}if(D==""&&i!=null&&i!=""){D=T(i)}if(/(\.weibo\.com|\.t\.sina\.com\.cn|\.t\.cn)$/i.test(D)||/^(weibo\.com|t\.sina\.com\.cn|t\.cn)$/i.test(D)||D==""){return""}return D}var x={screenSize:function(){return(aa&8388608==8388608)?p.width+"x"+p.height:""},colorDepth:function(){return(aa&4194304==4194304)?p.colorDepth:""},appCode:function(){return(aa&2097152==2097152)?A.appCodeName:""},appName:function(){return(aa&1048576==1048576)?((A.appName.indexOf("Microsoft Internet Explorer")>-1)?"MSIE":A.appName):""},cpu:function(){return(aa&524288==524288)?(A.cpuClass||A.oscpu):""},platform:function(){return(aa&262144==262144)?(A.platform):""},jsVer:function(){if(aa&131072!=131072){return""}var ay,e,aA,D=1,ax=0,i=(A.appName.indexOf("Microsoft Internet Explorer")>-1)?"MSIE":A.appName,az=A.appVersion;if("MSIE"==i){e="MSIE";ay=az.indexOf(e);if(ay>=0){aA=window.parseInt(az.substring(ay+5));if(3<=aA){D=1.1;if(4<=aA){D=1.3}}}}else{if(("Netscape"==i)||("Opera"==i)||("Mozilla"==i)){D=1.3;e="Netscape6";ay=az.indexOf(e);if(ay>=0){D=1.5}}}return D},network:function(){if(aa&65536!=65536){return""}var i="";i=(A.connection&&A.connection.type)?A.connection.type:i;try{l.body.addBehavior("#default#clientCaps");i=l.body.connectionType}catch(D){i="unkown"}return i},language:function(){return(aa&32768==32768)?(A.systemLanguage||A.language):""},timezone:function(){return(aa&16384==16384)?(new Date().getTimezoneOffset()/60):""},flashVer:function(){if(aa&8192!=8192){return""}var aA=A.plugins,ax,aB,aD;if(aA&&aA.length){for(var az in aA){aB=aA[az];if(aB.description==null){continue}if(ax!=null){break}aD=aB.description.toLowerCase();if(aD.indexOf("flash")!=-1){ax=aB.version?parseInt(aB.version):aD.match(/\d+/);continue}}}else{if(window.ActiveXObject){for(var ay=10;ay>=2;ay--){try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ay);if(D){ax=ay;break}}catch(aC){}}}else{if(ag.indexOf("webtv/2.5")!=-1){ax=3}else{if(ag.indexOf("webtv")!=-1){ax=2}}}}return ax},javaEnabled:function(){if(aa&4096!=4096){return""}var D=A.plugins,i=A.javaEnabled(),ax,ay;if(i==true){return 1}if(D&&D.length){for(var e in D){ax=D[e];if(ax.description==null){continue}if(i!=null){break}ay=ax.description.toLowerCase();if(ay.indexOf("java plug-in")!=-1){i=parseInt(ax.version);continue}}}else{if(window.ActiveXObject){i=(new ActiveXObject("JavaWebStart.IsInstalled")!=null)}}return i?1:0}};var g={pageId:function(i){var D=i||ak,aA="-9999-0-0-1";if((undefined==D)||(""==D)){try{var ax=Y("publishid");if(""!=ax){var az=ax.split(",");if(az.length>0){if(az.length>=3){aA="-9999-0-"+az[1]+"-"+az[2]}D=az[0]}}else{D="0"}}catch(ay){D="0"}D=D+aA}return D},sessionCount:function(){var e=h("_s_upa");if(e==""){e=0}return e},excuteCount:function(){return c},referrer:function(){if(aa&2048!=2048){return""}var e=/^[^\?&#]*.swf([\?#])?/;if((U=="")||(U.match(e))){var i=aq(s,"ref","&","");if(i!=""){return escape(i)}}return escape(U)},isHomepage:function(){if(aa&1024!=1024){return""}var D="";try{l.body.addBehavior("#default#homePage");D=l.body.isHomePage(s)?"Y":"N"}catch(i){D="unkown"}return D},PGLS:function(){return(aa&512==512)?Y("stencil"):""},ZT:function(){if(aa&256!=256){return""}var e=Y("subjectid");e.replace(",",".");e.replace(";",",");return escape(e)},mediaType:function(){return(aa&128==128)?Y("mediaid"):""},domCount:function(){return(aa&64==64)?l.getElementsByTagName("*").length:""},iframeCount:function(){return(aa&32==32)?l.getElementsByTagName("iframe").length:""},onloadTime:function(){var e;if(typeof __GLOBAL_STATS_PAGESTART_TIME__!="undefined"&&typeof __GLOBAL_STATS_PAGEONLOAD_TIME__!="undefined"){e=__GLOBAL_STATS_PAGEONLOAD_TIME__-__GLOBAL_STATS_PAGESTART_TIME__}return(aa&16==16)?e||"":""},domReadyTime:function(){var e;if(typeof __GLOBAL_STATS_PAGESTART_TIME__!="undefined"&&typeof __GLOBAL_STATS_DOMREADY_TIME__!="undefined"){e=__GLOBAL_STATS_DOMREADY_TIME__-__GLOBAL_STATS_PAGESTART_TIME__}return(aa&8==8)?e||"":""},bigpipe:function(){return(typeof $CONFIG!="undefined"&&typeof $CONFIG.bigpipe!="undefined"&&$CONFIG.bigpipe=="true")?1:0},getRealURL:function(){var e="";if(typeof STK!="undefined"&&typeof STK.historyM!="undefined"&&typeof STK.historyM.parseURL!="undefined"){e=escape(STK.historyM.parseURL().url)}return e}};var P={visitorId:function(){if(""!=E){var e=h(E);if(""==e){e=h(b);t(E,e,3650)}return e}else{return""}},sessionId:function(){var e=h(b);if(""==e){var i=new Date();e=Math.random()*10000000000000+"."+i.getTime();t(b,e)}return e},lastVisit:function(){var D=h(b);var ay=h(al);var ax=ay.split(":");var az="",i;if(ax.length>=6){if(D!=ax[4]){i=new Date();var e=new Date(window.parseInt(ax[0]));ax[1]=window.parseInt(ax[1])+1;if(i.getMonth()!=e.getMonth()){ax[2]=1}else{ax[2]=window.parseInt(ax[2])+1}if(((i.getTime()-e.getTime())/86400000)>=7){ax[3]=1}else{if(i.getDay()=1){aC=aA[0]}if(aA.length>=2){e=aA[1]}if(aA.length>=3){D=aA[2]}if(aB!=""){ax=1}if(ax){t(ao,aC+","+e+","+aB,365)}}},setAEC:function(e){if(""==e){return}var i=h(ab);if(i.indexOf(e+",")<0){i=i+e+","}t(ab,i,7)}};var av={picList:[{url:"http://ww1.sinaimg.cn/large/53d96fe3tw1diw52tyd28j.jpg",size:23243},{url:"http://ww2.sinaimg.cn/large/53d96fe3tw1diw52tyd28j.jpg",size:23243},{url:"http://ww3.sinaimg.cn/large/53d96fe3tw1diw52tyd28j.jpg",size:23243},{url:"http://ww4.sinaimg.cn/large/53d96fe3tw1diw52tyd28j.jpg",size:23243}],picOk:false,picData:[],picture:function(){if((I&8)!=8){av.picOk=true;return""}var ax=new Date().getTime();var az=[],D;for(var ay=0,e=av.picList.length;ay0){av.picture();av.portait();av.jsSpeed();av.cssSpeed()}}function J(){if(I>0&&av.picOk&&av.porOk&&av.jsOk&&av.cssOk){var e=Q+[u.V(),"PI=pic:"+av.picData+"|por:"+av.porData+"|js:"+av.jsData+"|css:"+av.cssData+"|nld:"+g.onloadTime()+"|drd:"+g.domReadyTime(),u.P_UI(),u.EX(),u.R()].join("&");C(e)}Z.set("sudaPerformance",new Date().getTime())}function L(e,ax){if((""==e)||(undefined==e)){return}P.setAEC(e);if(0==ax){return}var D="AcTrack||"+h(E)+"||"+h(b)+"||"+P.userNick()+"||"+e+"||";var i=f+D+u.EXT()+"&gUid_"+new Date().getTime();ae(i)}function O(aA,aB,e){e=e||{};var aD="UATrack||"+h(E)+"||"+h(b)+"||"+P.userNick()+"||"+aA+"||"+aB+"||"+g.referrer()+"||"+(e.href||"")+"||"+(e.realUrl||"")+"||";var D=f+aD+u.EXT()+"&gUid_"+new Date().getTime();ae(D,e);if(e.urls){if(e.urls.replace(/\s/g,"")!=""){var az=e.urls.split(",");if(az.length>0){for(var ax=0,ay=az.length;ax=D)&&(l.body.clientWidth>=i))?false:true}catch(ax){return true}}})(320,240);j=(function(){return false})();ad();if(typeof $CONFIG!="undefined"&&typeof $CONFIG.bigpipe!="undefined"&&$CONFIG.bigpipe==="true"&&typeof STK!="undefined"&&typeof STK.historyM!="undefined"&&typeof STK.historyM.onpopstate!="undefined"){STK.historyM.onpopstate(function(e,i){if(i==true){ad()}})}if(k.length>0){m(k,function(i,e){w.apply(null,i)})}if(K.length>0){m(K,function(i,e){L.apply(null,i)})}if(ac.length>0){m(ac,function(i,e){O.apply(null,i)})}window.SUDA=window.SUDA||[];SUDA.log=function(){w.apply(null,arguments)};SUDA.acTrack=function(){L.apply(null,arguments)};SUDA.uaTrack=function(){O.apply(null,arguments)};r(l.body,"click",F)})();