function GetValue( Offset ) { var End = document.cookie.indexOf (";", Offset); if( End == -1 ) End = document.cookie.length; return unescape( document.cookie.substring( Offset, End) ); } function GetCookie( Name ) { var Len = Name.length; var i = 0; while( i < document.cookie.length ) { var j = i + Len + 1; if( document.cookie.substring( i, j) == (Name + "=") ) return GetValue( j ); i = document.cookie.indexOf( " ", i ) + 1; if( i == 0) break; } var a = ""; return a; } var postnummer = GetCookie( "peakcounterpostnummer" ); var ref; ref=document.referrer; window.defaultOnError = window.onerror; window.onerror=doCount; if(top.document.referrer!=null) ref=top.document.referrer; window.onerror=window.defaultOnError; doCount(); function doCount(){ function getBrowser(agt) { var PF = ''; if (agt.indexOf("Mozilla")!=-1) { PF = 'Netscape'; } if (agt.indexOf("Mozilla4")!=-1) { PF = 'Netscape 4.x'; } if (agt.indexOf("MSIE")!=-1) { PF = 'Internet Explorer'; } if (agt.indexOf("MSIE 6.0")!=-1) { PF = 'Internet Explorer 6.0'; } if (agt.indexOf("MSIE 5.5")!=-1) { PF = 'Internet Explorer 5.5'; } if (agt.indexOf("MSIE 5.01")!=-1) { PF = 'Internet Explorer 5.01'; } if (agt.indexOf("MSIE 5.0")!=-1) { PF = 'Internet Explorer 5.0'; } if (agt.indexOf("MSIE 4.01")!=-1) { PF = 'Internet Explorer 4.01'; } if (agt.indexOf("MSIE 4.0")!=-1) { PF = 'Internet Explorer 4.0'; } if (agt.indexOf("MSIE 3.0")!=-1) { PF = 'Internet Explorer 3.0'; } if (agt.indexOf("MSIE 2.0")!=-1) { PF = 'Internet Explorer 2.0'; } if (agt.indexOf("Netscape6")!=-1) { PF = 'Netscape 6'; } if (agt.indexOf("Opera")!=-1) { PF = 'Opera'; } if (agt.indexOf("Opera 5.0")!=-1) { PF = 'Opera 5.0'; } if (agt.indexOf("Opera 6.0")!=-1) { PF = 'Opera 6.0'; } return PF; } function getPlatform(agt) { var PF = ''; if ((agt.indexOf("Win95")!=-1)||(agt.indexOf("Windows 95")!=-1)) { PF = 'Windows 95'; } if ((agt.indexOf("Win98")!=-1)||(agt.indexOf("Windows 98")!=-1)) { PF = 'Windows 98'; } if ((agt.indexOf("Win 9x 4.90")!=-1)||(agt.indexOf("winME")!=-1)) { PF = 'Windows ME'; } if ((agt.indexOf("WinNT")!=-1)||(agt.indexOf("Windows NT")!=-1)) { PF = 'Windows NT'; } if ((agt.indexOf("Win2000")!=-1)||(agt.indexOf("Windows 2000")!=-1)) { PF = 'Windows 2000'; } if ((agt.indexOf("WinNT5")!=-1)||(agt.indexOf("Windows NT 5")!=-1)) { PF = 'Windows 2000'; } if ((agt.indexOf("Windows NT 5.1")!=-1)) { PF = 'Windows XP'; } if ((agt.indexOf("Opera")!=-1)||(agt.indexOf("Opera")!=-1)) { PF = 'Opera'; } if ((agt.indexOf("Win16")!=-1)||(agt.indexOf("Windows 3.1")!=-1)) { PF = 'Windows 3.x'; } if ((agt.indexOf("WinXP")!=-1)||(agt.indexOf("Windows XP")!=-1)) { PF = 'Windows XP'; } if ((agt.indexOf("Mac_PowerPC")!=-1)) { PF = 'Mac PowerPC'; } if (agt.indexOf("Macintosh")!=-1) { if (agt.indexOf("PC)")!=-1) { PF = 'Mac PPC'; } else { PF = 'Mac 68K'; } } return PF; } var reso = escape(screen.width + 'x' + screen.height); document.write(''); return true;}