var MonItorUsCounter = { ACCOUNT_NUMBER : "", CURRENT_DATE : null, SECONDS_TIME :0, DOMAIN_HASH: null, COOKIE_NAME : "__miu_vt", TRACKER_GIF_PATH : "http://monitis.com/fcgi-bin/threaded", SECURE_TRACKER_GIF_PATH : "https://ssl.trackmon.itor.us/fcgi-bin/threaded", DOCUMENT_LOCATION : document.location, DOCUMENT_LOCATION_HREF:"", DOMAIN_NAME : "auto", ANALYSED_FLAG : false, COOKIE_EXPIRATION_TIME : "Sun, 18 Jan 2038 00:00:00 GMT", COOKIE_PATH : "/", PERSISTANT_COOKIE_ENABLED : false, SESSION_COOKIE_ENABLED : false, PREFIX_LENGTH : 2, SID_LENGTH : 30, IP : "66.8.165.156", UID : null, SID : null, counter : function( page ) { if (this.DOCUMENT_LOCATION.hash) this.DOCUMENT_LOCATION_HREF = this.DOCUMENT_LOCATION.href.substring(this.DOCUMENT_LOCATION.href.indexOf('#')); if (this.DOCUMENT_LOCATION.protocol=="https:") TRACKER_GIF_path = this.SECURE_TRACKER_GIF_PATH; if (!this.COOKIE_PATH || this.COOKIE_PATH=="") this.COOKIE_PATH="/"; if ( this.DOCUMENT_LOCATION.protocol == "file:" ) return; if (this.ANALYSED_FLAG && (!page || page=="")) return; this.get_domain(); this.DOMAIN_HASH = this.code(this.DOMAIN_NAME); this.CURRENT_DATE = new Date(); this.SECONDS_TIME = this.CURRENT_DATE.getTime()+(this.CURRENT_DATE.getTimezoneOffset()*60000); this.__mon_send_req(); this.ANALYSED_FLAG = true; }, get_IPB : function(){var ip_hash = this.code( this.IP ) + "";return this.addPrefix( ip_hash.length, this.PREFIX_LENGTH ) + ip_hash;}, get_TIMEB : function(){return this.addPrefix( (this.SECONDS_TIME+"").length, this.PREFIX_LENGTH ) + this.SECONDS_TIME;}, get_SIDB : function(){var session_cookie_v=this.getC(document.cookie,this.COOKIE_NAME +"_S_"+ this.DOMAIN_HASH,";");if( session_cookie_v != null)this.SID = session_cookie_v.substr( session_cookie_v.indexOf('.')+1);else this.SID=this.getChaos(this.SID_LENGTH);return this.addPrefix( this.SID.length, this.PREFIX_LENGTH ) + this.SID;}, get_UIDB : function() { var permanent_cookie_v = this.getC(document.cookie,this.COOKIE_NAME +"_P_"+ this.DOMAIN_HASH,";"); var session_cookie_v = this.getC(document.cookie,this.COOKIE_NAME +"_S_"+ this.DOMAIN_HASH,";"); var _uuid_update_ = this.hex_md5(this.encode( this.code( this.IP ) + this.navigatorInfo())); if( permanent_cookie_v != null ) { permanent_cookie_v = permanent_cookie_v.substr( (this.COOKIE_NAME +"_P_"+ this.DOMAIN_HASH + "=").length ); this.UID = permanent_cookie_v.substr(0, permanent_cookie_v.indexOf('.')); } else if( session_cookie_v != null ) { session_cookie_v = session_cookie_v.substr((this.COOKIE_NAME +"_S_"+ this.DOMAIN_HASH + "=").length ); this.UID = session_cookie_v.substr(0, session_cookie_v.indexOf('.')); } var _ret = this.addPrefix(_uuid_update_.length,2)+_uuid_update_; if(this.UID && (this.UID != _uuid_update_) && (this.hex_md5(this.UID) != _uuid_update_)) _ret += "O"+this.addPrefix(this.UID.length,3)+this.UID; this.UID = _uuid_update_; return _ret; }, __mon_send_req : function() { var cdomain = ""; var request = ""; var __uid = this.get_UIDB(); var __sid = this.get_SIDB(); var cookieValue = this.UID + "." + this.SID; cookieValue = escape(cookieValue); if(this.DOMAIN_NAME && this.DOMAIN_NAME!="") cdomain = " domain=" +this.DOMAIN_NAME+ ";"; document.cookie = this.COOKIE_NAME +"_S_"+ this.DOMAIN_HASH +"=" + cookieValue + "; path=/"; if( this.getCookieValue(this.COOKIE_NAME +"_S_"+this.DOMAIN_HASH) != null ) this.SESSION_COOKIE_ENABLED = true; document.cookie = this.COOKIE_NAME +"_P_"+ this.DOMAIN_HASH +"=" + cookieValue + "; path="+this.COOKIE_PATH+"; expires=" + this.COOKIE_EXPIRATION_TIME +";" + cdomain; if( this.getCookieValue(this.COOKIE_NAME +"_P_"+this.DOMAIN_HASH) != null ) this.PERSISTANT_COOKIE_ENABLED = true; var pers_cookie_enabled = Math.round( Math.random() * 8 ); if( this.PERSISTANT_COOKIE_ENABLED ) request += ( pers_cookie_enabled % 2 )?pers_cookie_enabled+1:pers_cookie_enabled; else request += ( pers_cookie_enabled % 2 )?pers_cookie_enabled:pers_cookie_enabled+1; var sess_cookie_enabled = Math.round( Math.random() * 8 ); if( this.SESSION_COOKIE_ENABLED )request += ( sess_cookie_enabled % 2 )?sess_cookie_enabled+1:sess_cookie_enabled; else request += ( sess_cookie_enabled % 2 )?sess_cookie_enabled:sess_cookie_enabled+1; var interval = Math.round( Math.random()*3 + 2 ); request += interval + this.getChaos( interval )+ this.get_IPB() + this.getChaos( interval ) + this.get_TIMEB() + this.getChaos( interval ) + __sid; var img = new Image(1,1); img.src = this.TRACKER_GIF_PATH + "?ac=" + this.ACCOUNT_NUMBER +"&ssid="+ request + "&uuid=" + __uid + this.getSEng(); img.onload=function() { this.ankap_function(); } }, getSEng : function() { var _sEng=new Array(); var _sKwd=new Array(); _sEng[0]="gigablast"; _sKwd[0]="q"; _sEng[1]="mamma"; _sKwd[1]="query"; _sEng[2]="msn"; _sKwd[2]="q"; _sEng[3]="netscape"; _sKwd[3]="query"; _sEng[4]="teoma"; _sKwd[4]="q"; _sEng[5]="aol"; _sKwd[5]="query"; _sEng[6]="voila"; _sKwd[6]="kw"; _sEng[7]="lycos"; _sKwd[7]="query"; _sEng[8]="virgilio"; _sKwd[8]="qs"; _sEng[9]="ask"; _sKwd[9]="q"; _sEng[10]="google"; _sKwd[10]="q"; _sEng[11]="altavista"; _sKwd[11]="q"; _sEng[12]="alltheweb"; _sKwd[12]="q"; _sEng[13]="search"; _sKwd[13]="q"; _sEng[14]="earthlink"; _sKwd[14]="q"; _sEng[15]="cnn"; _sKwd[15]="query"; _sEng[16]="looksmart"; _sKwd[16]="key"; _sEng[17]="about"; _sKwd[17]="terms"; _sEng[18]="yahoo"; _sKwd[18]="p"; _sEng[19]="excite"; _sKwd[19]="qkw"; var _sIkw=new Array(); var _sIrfd=new Array(); var _curDoc=document; var _curDocLoc=_curDoc.location; var _RefUrl = _curDoc.referrer; if (_RefUrl=="0" || _RefUrl=="" || _RefUrl=="-") return ""; var i=0,h,k,n; if ((i=_RefUrl.indexOf("://")) < 0) return ""; h=_RefUrl.substring(i+3,_RefUrl.length); if (h.indexOf("/") > -1){h=h.substring(0,h.indexOf("/"));} for (var ii=0;ii<_sEng.length;ii++) { if (h.toLowerCase().indexOf(_sEng[ii].toLowerCase()) > -1) { if ((i=_RefUrl.indexOf("?"+_sKwd[ii]+"=")) > -1 || (i=_RefUrl.indexOf("&"+_sKwd[ii]+"=")) > -1) { k=_RefUrl.substring(i+_sKwd[ii].length+2,_RefUrl.length); if ((i=k.indexOf("&")) > -1) k=k.substring(0,i); for(var yy=0;yy<_sIkw.length;yy++)if(_sIkw[yy].toLowerCase()==k.toLowerCase())return ""; return "&sEng="+this._cSpaces(_sEng[ii])+"&sKwd="+((!k)?"no":this._cSpaces(k)); } } } if ((i=_RefUrl.indexOf("://"))<0) return ""; h=_RefUrl.substring(i+3,_RefUrl.length); if(h.indexOf("/") > -1){k=h.substring(h.indexOf("/"),h.length);if(k.indexOf("?") > -1)k=k.substring(0,k.indexOf("?"));h=h.substring(0,h.indexOf("/"));} h=h.toLowerCase(); n=h; if ((i=n.indexOf(":")) > -1) n=n.substring(0,i); for (var ii=0;ii<_sIrfd.length;ii++)if((i=n.indexOf(_sIrfd[ii].toLowerCase())) > -1 && n.length==(i+_sIrfd[ii].length))return "";if(h.indexOf("www.")==0) h=h.substring(4,h.length);return "&refr="+this._cSpaces(h)+"&refu="+((!k)?"no":this._cSpaces(k)); }, _cSpaces : function(s){var n="";if (!s || s=="") return "";for (var i=0;i -1){i2=l.indexOf(s,i);if(i2 < 0){i2=l.length;}i3=n.indexOf("=")+1;c=l.substring((i+i3),i2);}return c;}, navigatorInfo : function() { var user_navigator = navigator; var user_document = document; var user_self = self; var user_screen = screen; var screen_resolution="-",color_depth="-",user_language="-",flash="-",java_enabled=1; if (user_self.screen) { screen_resolution=user_screen.width+"x"+user_screen.height; color_depth=user_screen.colorDepth+"-bit"; } else if (user_self.java) { var j=java.awt.Toolkit.getDefaultToolkit(); var s=j.getScreenSize(); screen_resolution=s.width+"x"+s.height; } if (user_navigator.language) user_language=user_navigator.language.toLowerCase(); else if (navigator.browserLanguage) user_language=user_navigator.browserLanguage.toLowerCase(); java_enabled=user_navigator.javaEnabled()?1:0; flash = this.get_flash_info(); var app_version = user_navigator["appVersion"]; var system_language = user_navigator["systemLanguage"]; var document_charset = user_document.charset || user_document.characterSet; var core_plugins = this.get_core_plugins(); var info = ""; info += "sr=" + screen_resolution; info += "&cd=" + color_depth; info += "&ul=" + user_language; info += "&f=" + flash; info += "&je=" + java_enabled; info += "&av=" + app_version; info += "&sl=" + system_language; info += "&dc=" + document_charset; info += "&cp=" + core_plugins; return info; }, get_flash_info : function() { var flash="-"; if (navigator.plugins && navigator.plugins.length) { for (var i=0; i=2; i--) { try { var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+i+"');"); if (fl) { flash=i + '.0'; break; } } catch(e) {} } } return flash; }, detectIE : function(ClassID,name){var result = false;document.write("\n");if(result){return name+',';} else {return '';}}, detectNS : function(ClassID,name){var n="";var nse="";for(var i=0;i 0) pluginlist = pluginlist.substring(0,pluginlist.length-1); return pluginlist; }, getChaos : function(len){var tab = "0123456789";var size = tab.length;var s = '';for (var i = 0; i < len; i++) s += tab.charAt( Math.round(Math.random() * 10 - 0.5 ));return s;}, addPrefix : function( str, maxlength ){str += "";var prefix = "";var size = maxlength-str.length;for( var i=0; i < size; i++)prefix += "0";return prefix + str;}, get_domain : function(){if (!this.DOMAIN_NAME || this.DOMAIN_NAME=="" || this.DOMAIN_NAME=="none"){this.DOMAIN_NAME="";return 1;}if(this.DOMAIN_NAME=="auto"){this.DOMAIN_NAME=document.domain;if(this.DOMAIN_NAME.substring(0,4)=="www.") this.DOMAIN_NAME=this.DOMAIN_NAME.substring(4,this.DOMAIN_NAME.length);}}, encode : function(str){var hashcode = "";for( var i=0; i< str.length; i++ ) hashcode += str.charCodeAt(i);return hashcode;}, code : function( value_ ){var hex = "";var parts = value_.split('.');var size = parts.length;for( var i=0; i< size; i++ )hex += this.d2h( parseInt(parts[i]));return this.h2d(hex);}, hD : "0123456789ABCDEF", d2h : function(d){d = parseInt(d);var h = this.hD.substr(d&15,1);while(d>15) {d>>=4;h=this.hD.substr(d&15,1)+h;}return h.length>1?h:"0"+h;}, tohex : function(i){a2 = '';ihex=this.hexQuot(i);idiff=eval(i + '-(' + ihex + '*16)');a2=this.itohex(idiff)+a2;while(ihex >= 16){itmp=this.hexQuot(ihex);idiff=eval(ihex + '-(' + itmp + '*16)');a2=this.itohex(idiff)+a2;ihex=itmp;}a1=this.itohex(ihex);return a1+a2;}, hexQuot : function(i) {return Math.floor(eval(i +'/16'));}, itohex : function(i){return "0123456789ABCDEF".charAt(i); }, h2d : function(h) {return parseInt(h,16);}, getCookieValue : function(cookieName){var exp = new RegExp(escape(cookieName)+"=([^;]+)");if(exp.test(document.cookie+";")){exp.exec(document.cookie+";");return unescape(RegExp.$1);}return null;}, hexcase : 0, chrsz : 8, hex_md5 : function(s){ return this.binl2hex(this.core_md5(this.str2binl(s), s.length * this.chrsz));}, binl2hex : function(binarray){var hex_tab=this.hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i < binarray.length * 4;i++){str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) + hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);}return str;}, str2binl : function(str){var bin = Array();var mask = (1 << this.chrsz) - 1;for(var i = 0; i < str.length * this.chrsz; i += this.chrsz)bin[i>>5] |= (str.charCodeAt(i / this.chrsz) & mask) << (i%32);return bin;}, core_md5 : function(x, len) { /* append padding */ x[len >> 5] |= 0x80 << ((len) % 32); x[(((len + 64) >>> 9) << 4) + 14] = len; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for(var i = 0; i < x.length; i += 16) { var olda = a; var oldb = b; var oldc = c; var oldd = d; a = this.md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936); d = this.md5_ff(d, a, b, c, x[i+ 1], 12, -389564586); c = this.md5_ff(c, d, a, b, x[i+ 2], 17, 606105819); b = this.md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330); a = this.md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897); d = this.md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426); c = this.md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341); b = this.md5_ff(b, c, d, a, x[i+ 7], 22, -45705983); a = this.md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416); d = this.md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417); c = this.md5_ff(c, d, a, b, x[i+10], 17, -42063); b = this.md5_ff(b, c, d, a, x[i+11], 22, -1990404162); a = this.md5_ff(a, b, c, d, x[i+12], 7 , 1804603682); d = this.md5_ff(d, a, b, c, x[i+13], 12, -40341101); c = this.md5_ff(c, d, a, b, x[i+14], 17, -1502002290); b = this.md5_ff(b, c, d, a, x[i+15], 22, 1236535329); a = this.md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510); d = this.md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632); c = this.md5_gg(c, d, a, b, x[i+11], 14, 643717713); b = this.md5_gg(b, c, d, a, x[i+ 0], 20, -373897302); a = this.md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691); d = this.md5_gg(d, a, b, c, x[i+10], 9 , 38016083); c = this.md5_gg(c, d, a, b, x[i+15], 14, -660478335); b = this.md5_gg(b, c, d, a, x[i+ 4], 20, -405537848); a = this.md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438); d = this.md5_gg(d, a, b, c, x[i+14], 9 , -1019803690); c = this.md5_gg(c, d, a, b, x[i+ 3], 14, -187363961); b = this.md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501); a = this.md5_gg(a, b, c, d, x[i+13], 5 , -1444681467); d = this.md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784); c = this.md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473); b = this.md5_gg(b, c, d, a, x[i+12], 20, -1926607734); a = this.md5_hh(a, b, c, d, x[i+ 5], 4 , -378558); d = this.md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463); c = this.md5_hh(c, d, a, b, x[i+11], 16, 1839030562); b = this.md5_hh(b, c, d, a, x[i+14], 23, -35309556); a = this.md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060); d = this.md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353); c = this.md5_hh(c, d, a, b, x[i+ 7], 16, -155497632); b = this.md5_hh(b, c, d, a, x[i+10], 23, -1094730640); a = this.md5_hh(a, b, c, d, x[i+13], 4 , 681279174); d = this.md5_hh(d, a, b, c, x[i+ 0], 11, -358537222); c = this.md5_hh(c, d, a, b, x[i+ 3], 16, -722521979); b = this.md5_hh(b, c, d, a, x[i+ 6], 23, 76029189); a = this.md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487); d = this.md5_hh(d, a, b, c, x[i+12], 11, -421815835); c = this.md5_hh(c, d, a, b, x[i+15], 16, 530742520); b = this.md5_hh(b, c, d, a, x[i+ 2], 23, -995338651); a = this.md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844); d = this.md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415); c = this.md5_ii(c, d, a, b, x[i+14], 15, -1416354905); b = this.md5_ii(b, c, d, a, x[i+ 5], 21, -57434055); a = this.md5_ii(a, b, c, d, x[i+12], 6 , 1700485571); d = this.md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606); c = this.md5_ii(c, d, a, b, x[i+10], 15, -1051523); b = this.md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799); a = this.md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359); d = this.md5_ii(d, a, b, c, x[i+15], 10, -30611744); c = this.md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380); b = this.md5_ii(b, c, d, a, x[i+13], 21, 1309151649); a = this.md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); d = this.md5_ii(d, a, b, c, x[i+11], 10, -1120210379); c = this.md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); b = this.md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); a = this.safe_add(a, olda); b = this.safe_add(b, oldb); c = this.safe_add(c, oldc); d = this.safe_add(d, oldd); } return Array(a, b, c, d); }, md5_cmn : function(q, a, b, x, s, t){return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a, q), this.safe_add(x, t)), s),b);}, md5_ff : function(a, b, c, d, x, s, t){return this.md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);}, md5_gg : function(a, b, c, d, x, s, t){return this.md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);}, md5_hh : function(a, b, c, d, x, s, t){return this.md5_cmn(b ^ c ^ d, a, b, x, s, t);}, md5_ii : function(a, b, c, d, x, s, t){return this.md5_cmn(c ^ (b | (~d)), a, b, x, s, t);}, safe_add : function(x, y){var lsw = (x & 0xFFFF) + (y & 0xFFFF);var msw = (x >> 16) + (y >> 16) + (lsw >> 16);return (msw << 16) | (lsw & 0xFFFF);}, bit_rol : function(num, cnt){return (num << cnt) | (num >>> (32 - cnt));} } function start_mon_counter() { MonItorUsCounter.ACCOUNT_NUMBER = monitorus_account_number; MonItorUsCounter.counter(); }