(function(){function C(I,J,K){var G,H;if(K){H=new Date();H.setTime(H.getTime()+(K*24*60*60*1000));G="; expires="+H.toGMTString()}else{G=""}document.cookie=I+"="+J+G+"; path=/"}function D(H){var J,G,K,I;J=H+"=";G=document.cookie.split(";");for(I=0;I<G.length;I++){K=G[I];while(K.charAt(0)===" "){K=K.substring(1,K.length)}if(K.indexOf(J)===0){return K.substring(J.length,K.length)}}return null}function B(H,G){var K,I,J;K=D(H);if(!K){J=new Date();I=Math.random()+"";K=I.substring(2,I.length)+J.getTime();C(H,K,G)}return K}function A(){var G={};if(document.referrer.length>0){G.referer=document.referrer}G.perm=B("statahol_perm",365*5);G.session=B("statahol_session","");return G}function F(J){var H,K,G,I;H="http://statahol.com/api/1/logo.gif";K=H;G="?";for(I in J){K+=G+I+"="+escape(J[I]);if(G==="?"){G="&"}}I=new Image();I.src=K}function E(){var G=A();F(G)}E()}());