var bikky = document.cookie; function getCookie(name) { var index = bikky.indexOf(name + "="); if (index == -1) return null; index = bikky.indexOf("=", index) + 1; var endstr = bikky.indexOf(";", index); if (endstr == -1) endstr = bikky.length; return unescape(bikky.substring(index, endstr)); } var today = new Date(); var expiry = new Date(today.getTime() + 30 * 60 * 1000); function setCookie(name, value) { if (value != null && value != "") document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString(); } var refz = escape(document.referrer)+""; if (!refz) { refz = "Priamy pristup"; }; var URLloc = escape(document.location)+""; var js = "1"; if (navigator.cookieEnabled) { cSupport = "1"; var jePristup = getCookie ("pristup"); if (jePristup == null) { jePristup = "1"; } else { jePristup = "0"; } setCookie ("pristup", "0"); } else { cSupport = "0"; jePristup = "0"; } var usd = screen.width + "x" + screen.height; var usc = screen.colorDepth; var st="www.pocitadlo.sk"; document.write(st+mi+dpass+en);