(function(){var e="whoarewe",t="75team",n={COOKIE:"cookie",LOCALSTORAGE:"localstorage",FLASH:"flash"},r="BSAbility1",i={};i[n.COOKIE]=0,i[n.LOCALSTORAGE]=0,i[n.FLASH]=0;var s={"360se":"360se","360ee":"360ee",TT:"tencenttraveler",Maxthon:"maxthon",GreenBrowser:"greenbrowser",Sogou:"se 1.x / se 2.x",TheWorld:"theworld"},o=function(){var e=navigator.userAgent.toLowerCase();if(window.hao360&&hao360.is360se){if(hao360.is360se())return"360se";if(hao360.is360se6())return"360se6";if(hao360.is360ee())return"360ee"}for(var t in s)if(e.indexOf(s[t])>-1)return t;var n=e.match(/(msie|chrome|safari|firefox|opera)/)[0];return n=="msie"&&(n=e.match(/msie[^;]+/)),n}(),u=function(){var e=-1,t=navigator,n=window;if(t.plugins&&t.mimeTypes.length){var r=t.plugins["Shockwave Flash"];r&&r.description&&(e=r.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0")}else if(n.ActiveXObject&&!n.opera)try{var i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(i){var s=i.GetVariable("$version");e=s.replace(/WIN/g,"").replace(/,/g,".")}}catch(o){}return e=parseInt(e,10),e},a=function(e){if(!a[e]||typeof i[e]=="undefined")return;a[e]()};a[n.COOKIE]=function(){var r=qboot.cookie.get(e);r?i[n.COOKIE]=1:(qboot.cookie.set(e,t,{expires:2592e6}),i[n.COOKIE]=0)},a[n.LOCALSTORAGE]=function(){var r=(new AppData("api.hao.360.cn")).get(e);r?i[n.LOCALSTORAGE]=1:((new AppData("api.hao.360.cn")).set(e,t),i[n.LOCALSTORAGE]=0)},a[n.FLASH]=function(r){var s="";FlashStorage.get(e,function(r){r?i[n.FLASH]=1:(i[n.FLASH]=0,FlashStorage.set(e,t))})};var f=function(){if(!qboot.cookie.get(r+"_done")){var e=[];e.push(n.COOKIE+i[n.COOKIE]),e.push(n.LOCALSTORAGE+i[n.LOCALSTORAGE]),e.push(n.FLASH+i[n.FLASH]),LogHub.behavior(r,e.join("+")),LogHub.behavior("FlVersion",u());var t=[];t.push("c="+i[n.COOKIE]),t.push("ls="+i[n.LOCALSTORAGE]),t.push("fc="+i[n.FLASH]),qboot.cookie.set(r+"_done",1)}};a(n.COOKIE),a(n.LOCALSTORAGE),a(n.FLASH),setTimeout(function(){f()},5e3)})();