(function(I,C){var g=I.document,T=g.location,M=g.referrer,B=I.screen,R=I.navigator,F="1.2",E=0,e="www.dianping.com",a={},A="http://hls.dianping.com/hippo.gif?",L="__hsr",J="__hsc",W="__hfv",Y="__hlt",c="__hlh",N="__hlr",S="__had",b="__ppp",H="__pv",X="__mv",Z,G=function(){var h=[],i=K;T&&T.href&&h.push(c+"="+i(T.href));if(M){h.push(N+"="+i(M))}if(B){if(B.width&&B.height){h.push(L+"="+B.width+"x"+B.height)}if(B.colorDepth){h.push(J+"="+B.colorDepth+"bit")}}h.push(W+"="+i(f()));h=h.join("&");return function(m,n){var j=i,l,k=[Y+"="+j(e),b+"="+j(E),S+"="+d(a)];if(D(n)==="array"){n=n.join("|")}if(Q(m,n)){l=m+"="+n}l&&k.push(l);h&&k.push(h);return k.join("&")}}(),D=function(){var j={},m="Boolean Number String Function Array Date RegExp Object".split(" "),l=0,h=m.length,k,n=Object.prototype.toString;for(;l<h;l++){k=m[l];j["[object "+k+"]"]=k.toLowerCase()}return function(i){return i==null?String(i):j[n.call(i)]||"object"}}(),d=typeof JSON!=="undefined"&&JSON.stringify?JSON.stringify:function(k){var i=[],h=K;for(var j in k){i.push('"'+h(j)+'":"'+h(k[j])+'"')}return"{"+i.join(",")+"}"};function K(h,i){return i?encodeURI(h):encodeURIComponent(h)}function U(j,i){for(var h in i){j[h]=i[h]}}function Q(i,k){var j=D(name),h=D(k);return j==="string"&&(h==="string"||h==="number"||h==="boolean")}function P(h,j){return h.indexOf(j)>-1}function f(){var l="ShockwaveFlash",v="Shockwave Flash",p,t,j="$version";var q=R?R.plugins:false;if(q){for(var o=0,s=q.length;o<s&&!t;o++){p=q[o];if(P(p.name,v)){t=p.description.split(v+" ")[1]}}}else{var m;p=l+"."+l;try{m=new ActiveXObject(p+".7");t=m.GetVariable(j)}catch(r){}if(!t){try{m=new ActiveXObject(p+".6");m.AllowScriptAccess="always";t="WIN 6,0,21,0";t=m.GetVariable(j)}catch(h){}}if(!t){try{m=new ActiveXObject(p);t=m.GetVariable(j)}catch(u){}}if(t){t=t.split(" ")[1].split(",");t=t[0]+"."+t[1]+" r"+t[2]}}return t?t:""}function O(h,j){var i=G(h,j);new Image(1,1).src=A+i}function V(h,i){if(!Z){Z=true;if(i){e=i}E=h}return V}U(V,{version:F,ext:function(h,j){if(D(h)==="object"){for(var i in h){arguments.callee(i,h[i])}}else{if(Q(h,j)){a[h]=j}}return V},rxt:function(h){if(D(h)==="string"){delete a[h]}else{if(h===C){a={}}}return V},pv:function(j,i,h){if(D(j)=="number"){channel=Number(i)||0;O(H,[j,i]);!h&&V.rxt()}return V},mv:function(j,h,i){if(Q(j,h)){O(X,[j,h]);!i&&V.rxt()}return V}});g.hippo=V})(window);