// ===================== // Paragona Tricks 1.5 // Web Statistics // (c) 2006 Paragona HB // www.paragona.se // ===================== function enc(str) { var i; str = escape(str); for (i = 0; i < str.length; i++) { str = str.replace("?", "*QUERY*"); str = str.replace("=", "*EQUALS*"); str = str.replace("&", "*AND*"); str = str.replace("+", "*PLUS*"); } return str; } function tricks_GetPath() { var url = self.location.href.substring(7); var path = url.substring(url.indexOf("/")); return enc(path); } function tricks_GetResolution() { var resolution; if (navigator.userAgent.toLowerCase().indexOf("netscape") > -1 && parseInt(navigator.appVersion) < 5){ var tools = new Packages.java.awt.Toolkit.getDefaultToolkit(); screen=tools.getScreenSize(); } resolution = screen.width + "x" + screen.height; return resolution; } function open_tricks_frame() { try { var tricks_ifr = document.createElement("iframe"); tricks_ifr.style.display = "block"; tricks_ifr.style.visibility = "hidden"; tricks_ifr.style.position = "absolute"; tricks_ifr.style.left = "0px"; tricks_ifr.style.top = "0px"; tricks_ifr.style.width = "1px"; tricks_ifr.style.height = "1px"; tricks_ifr.src = "http://tricks.paragona.se/Reg.aspx?sid=5yvqlv45neftsa45v5jx3ajz&domain=banqsoft.no&host=" + enc(self.location.host) + "&path=" + tricks_GetPath() + "&title=" + enc(document.title) + "&referer=" + enc(document.referrer) + "&resolution=" + tricks_GetResolution() + "&color=" + screen.colorDepth; document.body.appendChild(tricks_ifr); } catch (e) { } } if (self.location.href.indexOf("banqsoft.no/") > -1) open_tricks_frame();