function RegisterNamespaces(){for(var C=0;C<arguments.length;C++){var D=arguments[C].split("."),A=window;for(var B=0;B<D.length;B++){if(!A[D[B]]){A[D[B]]=new Object()}A=A[D[B]]}}}RegisterNamespaces("Inpl.GaRewrite");Inpl.GaRewrite=new function(){var G=this;var J=null;var K=63072000;var I=1800;var U=15768000;var N;var O=false;var H="__utma";var F="__utmb";var D="__utmc";var Q="__utmv";var S="__inpl_utmr";var C=".interia.pl";var L=false;var B=location.protocol+"//ga.interia.pl/h/";var R=location.protocol+"//ga.interia.pl/i/";function T(){if(J&&"none"!=J){domain=J}else{domain=location.host}domain=domain.toLowerCase().replace(/^www\./,"");if("."!=domain.substr(0,1)){domain="."+domain}return domain}this.set=function(W,V,Y,X){O=true;L=false;domain=T();if(P(H)!=W){M(H,W,K,domain);M(F,V,I,domain);M(D,Y,null,domain);M(S,1,K,domain)}};this.save=function(){if(!L){return }var W,V,f,Z,X;W=P(H);V=P(F);f=P(D);X=A(W)+A(V)+A(f);var Y=R;Y+="?a="+encodeURIComponent(W);Y+="&b="+encodeURIComponent(V);Y+="&c="+encodeURIComponent(f);Y+="&h="+encodeURIComponent(X);N=new Image();N.src=Y};this.init=function(V){J=V;if(".interia.pl"!=J&&!P(S)){L=true;document.write('<script type="text/javascript" src="'+B+'"><\/script>')}};this.moveParams=function(){if(P(S)){E();return }L=true;var W,V,Z,Y,X;M(S,1,K,C);W=P(H);if(!W){return }V=P(F);Z=P(D);E();M(H,W,K,C);M(F,V,I,C);M(D,Z,null,C)};function E(){var W=location.host.replace(/^www/,"").split("."),X;var V=-1000;X="."+W.pop();while(W.length){X="."+W.pop()+X;if(X==C){continue}M(H,"",V,W);M(F,"",V,W);M(D,"",V,W)}}function P(W){n=W;var V=null,k=n+"=",h=k.length,g=document.cookie,X=g.length,Z=0,Y,f;while(Z<X){Y=Z+h;if(g.substring(Z,Y)==k){f=g.indexOf(";",Y);if(f==-1){f=g.length}V=unescape(g.substring(Y,f));break}Z=g.indexOf(" ",Z)+1;if(Z==0){break}}return V}function M(W,Y,V,X){n=W;v=Y;e=V;p="/";d=X;s=false;document.cookie=n+"="+escape(v)+";"+(e?"expires="+new Date((new Date()).getTime()+e*1000).toGMTString()+";":"")+(p?"path="+p+";":"")+(d?"domain="+d+";":"")+(s?"; secure":"")}function A(X){var W=0;for(var V=0;V<X.length-1;V+=2){W+=(X.charCodeAt(V)<<2)-V}W=(W<<8)+X.length;return W}};
