var geewa=geewa?geewa:{};geewa.stats={frameUrl:"http://www.geewa.com/js/res/globalHit.htm",frameElement:null,gaCode:"UA-6053991-1",gaHits:[],customHits:[],globalHit:function(){try{var A=[];if(arguments.length>0&&arguments[0]){A.push("d="+arguments[0])}if(arguments.length>1&&arguments[1]){A.push("s="+arguments[1])}if(arguments.length>2&&arguments[2]){A.push("g="+arguments[2])}if(A.length>0){var B={};B.code=this.gaCode;B.url="/?"+A.join("&");this.gaHits.push(B);this._gaProcess();A.push("t="+(new Date()).valueOf());this.customHit(this.frameUrl+"?"+A.join("&"))}}catch(C){}},localHit:function(){try{var A={};A.code=arguments[0];if(arguments.length>1){A.url=arguments[1]}this.gaHits.push(A);this._gaProcess()}catch(B){}},customHit:function(C){try{if(this.frameElement){if(this._frameReady){this._frameReady=false;this.frameElement.src=C}else{this.customHits.push(C)}}else{var B=document.createElement("iframe");B.width=1;B.height=1;B.frameborder=0;B.src=C;B.style.position="absolute";B.style.left="-5px";B.style.top="-5px";B.frameborder="no";var A=this;B.onload=function(){A._onFrame()};document.body.appendChild(B);this.frameElement=B}}catch(D){}},_onFrame:function(){if(this.customHits.length>0){this._frameReady=false;this.frameElement.src=this.customHits.shift()}else{this._frameReady=true}},_gaProcess:function(){if(!this._gaState){this._gaInsert()}else{if(this._gaState==2&&this.gaHits.length>0){var B=this.gaHits.shift();var A=_gat._getTracker(B.code);if(B.url){A._trackPageview(B.url)}else{A._trackPageview()}this._gaProcess()}}},_gaInsert:function(){this._gaState=1;var A=document.createElement("script");A.src=("https:"==document.location.protocol?"https://ssl.":"http://www.")+"google-analytics.com/ga.js";A.type="text/javascript";var B=document.getElementsByTagName("head");if(B&&B.length>0){B[0].appendChild(A);this._onTime()}},_onTime:function(){window.clearTimeout(this._gaTimer);if(typeof(_gat)=="undefined"){var A=this;this._gaTimer=window.setTimeout(function(){A._onTime()},1000)}else{this._gaState=2;this._gaProcess()}}};