var URLswf='http://webstat.pl/rek/heyo.swf';
var timeOutInSeconds = 15;
var draging=false;
var psX=0;
var psY=0;
var FlashMode = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) ? 1:0;
var RodzajReklamy = "Layer"; // "Layer" albo nic jak ma byc okienko
var hiddeS = document.getElementsByTagName("SELECT","IFRAME","APPLET","EMBED");
browser_type = navigator.appName;
function odliczam()
{
setTimeout("toggle_visibility();",timeOutInSeconds*2000);
}
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;
}
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;
}
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('uniqued=') == -1)
{
var expd3 = new Date(_dat.getTime() - ((_dat.getHours()+1) * (_dat.getMinutes()+1) * (_dat.getSeconds()+1) * 1000) + (1 * 24 * 60 * 60 * 1000));
document.cookie= "uniqued=true; expires=" + expd3.toGMTString() + "; path=/;";
}
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('
');
document.write('');
}