(function(){
	var c = {
	siteid:"ce33fb4f31a7648af00de3f1c3efa830",
	domain:["022zy.com"],
	listener:[],
	_js_path:"tongji.baidu.com/hm-web/js/",
	icon:'',
	bridge:false,
	clickTracker:false,
	pageAlign:-1,
	hour:1800000,
	_curh:0,
	year:31536000000,
	sindex : [1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13],
sengin : ["baidu.com", "baidu.com", "google.com", "google.cn", "sogou.com", "zhongsou.com", "search.yahoo.com", "one.cn.yahoo.com", "soso.com", "114search.118114.cn", "search.live.com", "youdao.com", "gougou.com", "bing.com"],
sword : ["word", "wd", "q", "q", "query", "w", "p", "p", "w", "kw", "q", "q", "search", "q"],
version:"1.0",iconLink:"http://tongji.baidu.com/hm-web/welcome/ico",apiName:"",rcv:"hm.baidu.com/hm.gif",allowDomain:"baidu.com",hmmd:"hmmd",hmpl:"hmpl",hmkw:"hmkw",hmci:"hmci",hmsr:"hmsr",_n:(new Date()).getTime(),isSent:0,clicksMaxTime:10*60*1000,clicksMaxLength:10,clicksUrlMaxLength:1024,clicksInclueEmbedObject:1,maxInt:2147483647,_t:["cc","cf","ci","ck","cl","cm","cp","cw","ds","ep","et","fl","ja","ln","lo","lt","nv","rnd","sb","se","si","st","su","sw"]};var a=document;var h=a.location;var e=a.referrer;var d=window;var j=encodeURIComponent;function g(m,l,k){l=l.replace(/^on/i,"").toLowerCase();if(m.attachEvent){m.attachEvent("on"+l,function(n){k.call(m,n)})}else{if(m.addEventListener){m.addEventListener(l,k,false)}}}function i(k){return a.getElementById(k)||null}function f(){this.tags={};this.clicks=[];this.getTracker()}f.prototype={getValue:function(m,n){var l=new RegExp("(^|&|\\?)"+m+"=([^&]*)(&|\x24|#)");var k=n.match(l);return k?k[2]:""},swf:function(p,l,k,m,o){var n='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+k+'" height="'+m+'" id="'+p+'" align="middle">';n+='<param name="allowscriptaccess" value="always">';n+='<param name="quality" value="high">';n+='<param name="movie" value="'+l+'">';n+='<param name="flashvars" value="'+o+'">';n+='<embed src="'+l+'" flashvars="'+o+'" quality="high" width="'+k+'" height="'+m+'" name="'+p+'" align="middle" allowscriptaccess="always" wmode="window" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">';n+="</object>";return n},setCookie:function(l,m,q,o,k){var n=new Date();n.setTime(n.getTime()+k);a.cookie=l+"="+m+((k==null)?"":"; expires="+n.toGMTString())+"; domain="+q+(o?"; path="+o:"")},getCookie:function(l){var m=new RegExp("(^| )"+l+"=([^;]*)(;|\x24)");var k=m.exec(a.cookie);if(k){return k[2]||""}return""},getDs:function(){this.tags.ds=(d.screen.width+"x"+d.screen.height)},getCl:function(){this.tags.cl=(d.screen?d.screen.colorDepth+"-bit":"")},getSb:function(){this.tags.sb="0";try{if(external.twGetVersion(external.twGetSecurityID(window))&&external.twGetRunPath.toLowerCase().indexOf("360se")>-1){this.tags.sb=17}}catch(k){}},getCk:function(){this.tags.ck=(navigator.cookieEnabled?"1":"0")},getFl:function(){var q=navigator;if(navigator.plugins&&navigator.mimeTypes.length){var k=navigator.plugins["Shockwave Flash"];if(k&&k.description){this.tags.fl=parseInt(k.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,"."))+".0"}}else{if(d.ActiveXObject){var m=0;for(var l=10;l>=2;l--){try{var p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+l);if(p){m=l+".0";break}}catch(o){}}this.tags.fl=parseInt(m)+".0"}}},getJa:function(){this.tags.ja=(navigator.javaEnabled()?"1":"0")},getLn:function(){var k;var l=navigator;if(l.systemLanguage){k=l.systemLanguage}else{if(l.browserLanguage){k=l.browserLanguage}else{if(l.language){k=l.language}else{if(l.userLanguage){k=l.userLanguage}else{k="-"}}}}this.tags.ln=k.toLowerCase()},getSi:function(){this.tags.si=this.siteid},getSu:function(){var k=e;this.tags.su=k?k:""},samDom:function(s,v){if(v.constructor==String){s=s.replace(/:\d+/,"");v=v.replace(/:\d+/,"");var t=s.indexOf(v);return(t>=0&&t+v.length==s.length)?true:false}else{var k=v.length;for(var p=0;p<k;p++){var o=v[p];var l=o.length;var q=s.indexOf(o);var r=(q>=0&&(q+l)==s.length);if(r){return o}}}return s},samDir:function(r,q){if(q.constructor==String){var k=r.indexOf(q);return(k>=0&&k<=8)?true:false}else{var s=q.length;for(var p=0;p<s;p++){var o=q[p];var m=o.indexOf("/");if(m>-1){var k=r.indexOf(o);var l=(k>=0&&k<=8);if(l){return o}}}return false}},isRight:function(){var o=this.domain;var p=o.length;for(var m=0;m<p;m++){var l=o[m];var k=l.indexOf("/");if(k>-1){if(this.samDir(h.href,l)){return true}}else{if(this.samDom(h.hostname,l)){return true}}}return false},getDom:function(){return this.samDom(h.hostname,this.domain)},getPath:function(){var k=this.samDir(h.href,this.domain);if(k){return k.replace(/^(https?:\/\/)?[^\/]+(\/.*)/,"$2")+"/"}else{return"/"}},getSt:function(){var x=null;var k=e;if(!k){if((c._n-c._curh)>this.hour){this.tags.st="1";return}else{this.tags.st="4";return}}else{var w=this.sengin;var u=this.sword;var q=this.sindex;for(var o=0;o<w.length;o++){if((k.indexOf(w[o])>-1)&&(this.getValue(u[o],k))){this.tags.sw=this.getValue(u[o],k);this.tags.se=q[o];this.tags.st="2";return}}}var s=false;if(this.isRight()){var v=this.domain;var m=v.length;for(var o=0;o<m;o++){var l=v[o];var p=l.indexOf("/");if(p>-1){if(this.samDir(k,l)){s=true}}else{if(this.samDom(k.replace(/^(http|https):\/\//i,"").split("/")[0],l)){s=true}}}}else{s=this.samDir(k,h.hostname)}if(s){if((c._n-c._curh)>this.hour){this.tags.st="1";return}this.tags.st="4";return}this.tags.st="3"},getCmpwi:function(){var k=h.href;this.tags.cm=this.getValue(c.hmmd,k)||"";this.tags.cp=this.getValue(c.hmpl,k)||"";this.tags.cw=this.getValue(c.hmkw,k)||"";this.tags.ci=this.getValue(c.hmci,k)||"";this.tags.cf=this.getValue(c.hmsr,k)||""},getNvLt:function(){var l="";c._curh=this.getCookie("Hm_lpvt_"+this.siteid)||0;this.getSt();if(this.tags.st!="4"||!c._curh){l+=1}else{l+=0}this.setCookie("Hm_lpvt_"+this.siteid,c._n,this.getDom(),this.getPath());var m="";var k=this.getCookie("Hm_lvt_"+this.siteid);if(l=="1"){this.setCookie("Hm_lvt_"+this.siteid,c._n,this.getDom(),this.getPath(),this.year)}var n=(this.getCookie("Hm_lpvt_"+this.siteid)==c._n)?"1":"0";this.tags.cc=n;this.tags.lt=(k?Math.round((k-0)/1000):"");this.tags.nv=l},getRnd:function(){var k=Math.round(Math.random()*c.maxInt);this.tags.rnd=k},getTop:function(){this.tags.lo=((typeof(_bdhm_top)=="number")?"1":"0")},JTQ:function(l){var r=[];var p=c._t;for(var q=0,t=p.length;q<t;q++){var o=p[q],m;var k=l[o];switch(o){case"se":m=k?o+"="+j(k):false;if(m){r.push(m)}break;case"sw":m=k?o+"="+j(k):false;if(m){r.push(m)}break;default:m=l[o]?o+"="+j(l[o]):o+"=";r.push(m)}}return r.join("&")},getPar:function(){this.getNvLt();this.getCmpwi();this.getSu();this.getSi();this.getLn();this.getJa();this.getFl();this.getCk();this.getCl();this.getDs();this.getSb();this.getTop();this.tags.et="0";this.tags.ep=""},protocol:function(){return(h.protocol=="https:"?"https://":"http://")},init:function(){try{this.initBridge();this.getPar();this.postData();this.addLocLis();this.addIcon();this.addEvtLis();this.adDocEvt()}catch(m){var k=[];k.push("si="+this.siteid);k.push("m="+j(m.message));k.push("n="+j(m.name));var l=new Image(1,1);l.src=this.protocol()+this.rcv+"?"+k.join("&")}},initBridge:function(){if(this.bridge){var l=this.getH(this.siteid);var k=l%1000;a.write(unescape("%3Cscript charset='utf-8' src='"+this.protocol()+"rqiao.baidu.com/site/"+k+"/"+this.siteid+"/b.js' type='text/javascript'%3E%3C/script%3E"))}},getH:function(o){var m=5381;var n=o.length;for(var l=0;l<n;l++){var k=new Number(o.charCodeAt(l));m=(m*33+k)%4294967296}if(m>2147483648){m=m-2147483648}return m},adDocEvt:function(){if(this.clickTracker){g(a,"mouseup",this.trackClick());g(d,"beforeunload",this.sendHandler());setInterval(this.sendHandler(),c.clicksMaxTime)}g(a,"click",this.evHandle())},evHandle:function(){var k=this;return function(q){var q=q||d.event;var v=q.clientX+":"+q.clientY;var r=q.srcElement||q.target;var u=r.getAttribute("HM_fix");if(u&&(u==v)){r.removeAttribute("HM_fix");return}else{var l=k.listener.length;if(l>0){var m={};var t=r;while(t&&t!=a.body){if(t.id){m[t.id]=""}t=t.parentNode}for(var o=0;o<l;o++){var p=k.listener[o];if(m.hasOwnProperty(p.id)){k.tags.et="1";k.tags.ep="{id:"+p.id+",eventType:"+q.type+"}";k.postData()}}}}}},ie:function(){var k=/msie (\d+\.\d)/i.test(navigator.userAgent);return k},trackClick:function(){var k=this;return function(o){var n=k.getClick(o);if(""==n){return}var l=(k.protocol()+k.rcv+"?"+k.JTQ(k.tags).replace(/ep=[^&]*/,"ep="+encodeURIComponent("["+n+"]"))).length;if(l+(c.maxInt+"").length>c.clicksUrlMaxLength){return}var m=l+encodeURIComponent(k.clicks.join(",")+(k.clicks.length?",":"")).length;if(m+(c.maxInt+"").length>c.clicksUrlMaxLength){k.sendClick()}k.clicks.push(n);if(k.clicks.length>=c.clicksMaxLength||/t:a/.test(n)){k.sendClick()}}},getClick:function(o){var o=o||d.event;if(!c.clicksInclueEmbedObject){var p=o.target||o.srcElement;var l=p.tagName.toLowerCase();if(l=="embed"||l=="object"){return""}}var s,q;if(this.ie()){var k=Math.max(a.documentElement.scrollTop,a.body.scrollTop);var m=Math.max(a.documentElement.scrollLeft,a.body.scrollLeft);s=o.clientX+m;q=o.clientY+k}else{s=o.pageX;q=o.pageY}var r=d.innerWidth||document.documentElement.clientWidth||document.body.offsetWidth;switch(this.pageAlign){case 0:break;case 1:s=s-r/2;break;case 2:s=s-r;break;default:break}var t="{x:"+s+",y:"+q+",";var p=o.target||o.srcElement;var n=this.getAncestor(p,"a",true);if(n){t+="t:a,u:"+encodeURIComponent(n.href)+"}"}else{t+="t:b}"}return t},getAncestor:function(n,l,m){var k=m?n:n.parentNode;while(k&&k.tagName){if(k.tagName.toLowerCase()==l){return k}else{k=k.parentNode}}return false},sendClick:function(){if(this.clicks.length==0){return}this.tags.et=2;this.tags.ep="["+this.clicks.join(",")+"]";this.postData();this.clicks=[]},sendHandler:function(){var k=this;return function(l){k.sendClick()}},postData:function(){this.getRnd();var k=new Image(1,1);k.onload=function(){c.isSent=1};k.src=this.protocol()+this.rcv+"?"+this.JTQ(this.tags)},addIcon:function(){if(this.icon!=""){var k;var l=this.icon.split("|");var n=this.iconLink+"?s="+this.siteid;var m=l[0]+"."+l[1];switch(l[1]){case"swf":k=this.swf("HolmesIcon"+c._n,m,l[2],l[3],"s="+n);break;case"gif":k='<a href="'+n+'" target="_blank"><img border="0" src="'+m+'" width="'+l[2]+'" height="'+l[3]+'"></a>';break;default:k='<a href="'+n+'" target="_blank">'+l[0]+"</a>"}a.write(k)}},addEvtLis:function(){var o=this.listener.length;if(o>0){for(var l=0;l<o;l++){var k=this.listener[l];var m=i(k.id);if(m){g(m,k.eventType,this.evtH())}}}},evtH:function(){var k=this;return function(m){var m=m||d.event;var n=m.target||m.srcElement;var l=m.clientX+":"+m.clientY;n.setAttribute("HM_fix",l);k.tags.et="1";k.tags.ep="{id:"+this.id+",eventType:"+m.type+"}";k.postData()}},getTracker:function(){for(var k in c){if(k.indexOf("_")!=0){this[k]=c[k]}}if(c.apiName==""){if(typeof window["hm_loaded_"+c.siteid]=="undefined"){window["hm_loaded_"+c.siteid]=true;this.init()}}},addLocLis:function(){var n=h.hash.substring(1);var m=new RegExp(this.siteid);var l=e.indexOf(c.allowDomain)>-1?true:false;if(n&&m.test(n)&&l){var k=a.createElement("script");k.setAttribute("charset","utf-8");k.setAttribute("type","text/javascript");k.setAttribute("src",this.protocol()+c._js_path+this.getValue("jn",n)+"."+this.getValue("sx",n)+"?"+this.tags.rnd);a.getElementsByTagName("head")[0].appendChild(k)}}};var b=new f();if(c.apiName!=""){d[c.apiName]=f}})();
