function stats(dt,sn,ws,pf) { var _l = dt.location + ''; var _r = dt.referrer + ''; var _c = sn.colorDepth; var _x = sn.width; var _y = sn.height; var _k = 0; var _q = ''; var _t; var _on = 0; var _uni = 0; var _dat = new Date(); if (document.cookie.indexOf('online=') == -1) { var expd1 = new Date(_dat.getTime() + (15 * 60 * 1000)); document.cookie= "online=true; expires=" + expd1.toGMTString() + "; path=/;"; _on = 1; } var _new = 0; if (document.cookie.indexOf('uniqueall=') == -1) { var expd4 = new Date(_dat.getTime() + (100 * 24 * 60 * 60 * 1000)); document.cookie= "uniqueall=true; expires=" + expd4.toGMTString() + "; path=/;"; _new = 1; } if (document.cookie.indexOf('unique=') == -1) { var expd2 = new Date(_dat.getTime() - ((_dat.getHours()+1) * (_dat.getMinutes()+1) * (_dat.getSeconds()+1) * 1000) + (24 * 60 * 60 * 1000)); document.cookie= "unique=true; expires=" + expd2.toGMTString() + "; path=/;"; _uni = 1; } document.cookie = 't=1'; if (document.cookie.indexOf('t=') != -1) _k = 1; if ((_t = _l.indexOf('?')) != -1) _l = _l.substr(0,_t); if ((_t = _r.indexOf('?')) != -1) { _q = _r.substr(_t+1); _q = _q.replace(/=/g,"@@"); _q = _q.replace(/&/g,"||"); _r = _r.substr(0,_t); } document.write('prowebstat'); }