(function(){try{"use strict";var ScriptVersion="/FDST201609010/";var PostURL="https://www.sparebank1.no/statistikk/";if(typeof XMLHttpRequest==="undefined")return false;var battery;if((typeof navigator.getBattery!=="undefined")&&navigator.getBattery){navigator.getBattery().then(function(batteryManager){battery=((batteryManager.charging?batteryManager.charging:"")+":"+(batteryManager.level?(batteryManager.level*100):""));}).catch(function(e){});} window.setTimeout(function(){try{var statValues;var cookies=document.cookie;statValues="location="+encodeURIComponent((window.location.href||""));statValues+="&referrer="+encodeURIComponent((document.referrer||""));if(window.name){statValues+="&name="+encodeURIComponent(window.name);} if((typeof document.visibilityState!=="undefined")&&document.visibilityState){statValues+="&visibility="+encodeURIComponent(document.visibilityState);} statValues+="&java="+(navigator.javaEnabled?navigator.javaEnabled():"");statValues+="&dnt="+(navigator.doNotTrack||"");statValues+="&agent="+encodeURIComponent((function(){var UA=navigator.userAgent;try{if(UA.indexOf((navigator.appVersion).replace(/\)$/,""))<0){UA=navigator.appCodeName+"/"+navigator.appVersion+" (TRUE)";} if((typeof navigator.oscpu!=="undefined")&&!UA.match(navigator.oscpu)){UA=UA.replace(/\(/,"("+navigator.oscpu+"; (TRUE); ");}}catch(e){} return UA;})());statValues+="&platform="+encodeURIComponent(((navigator.platform||"")+":"+ (navigator.oscpu||navigator.cpuClass||"")+":"+ (navigator.hardwareConcurrency||"")+":"+ (navigator.vendor||navigator.appName||"")));statValues+="&language="+encodeURIComponent((navigator.language||navigator.browserLanguage||"Missing"));statValues+="&languages="+encodeURIComponent((navigator.languages||navigator.userLanguage||navigator.systemLanguage||"Missing").toString());var locale=cookies.match(/SB1_Locale=([\w-]+)/);if(locale){statValues+="&locale="+encodeURIComponent(locale[1]);} statValues+="&tz="+encodeURIComponent((function(){var TZ="";try{if((typeof Intl!=="undefined")&&Intl&&Intl.DateTimeFormat){var format=Intl.DateTimeFormat();if(format&&format.resolved) TZ=format.resolved.timeZone;if(format&&format.resolvedOptions) TZ=format.resolvedOptions().timeZone;} if((!TZ||!TZ.match(/\//))&&(typeof Date!=="undefined")&&Date) TZ=(new Date).getTimezoneOffset();}catch(e){} return TZ;})());statValues+="&graphics="+encodeURIComponent(screen.availWidth+"x"+screen.availHeight+"x"+ screen.colorDepth+"("+((typeof screen.pixelDepth==="undefined")?"Missing":screen.pixelDepth)+"):"+ ((typeof screen.availLeft==="undefined")?"Missing":screen.availLeft)+"x"+((typeof screen.availTop==="undefined")?"Missing":screen.availTop));if((typeof navigator.maxTouchPoints!=="undefined")&&navigator.maxTouchPoints){statValues+="&touch="+navigator.maxTouchPoints;} statValues+="&advGraphics="+encodeURIComponent((function(){var webGLFingerprint="None";try{var canvas=document.createElement("canvas");if(canvas){var gl=canvas.getContext("webgl")||canvas.getContext("experimental-webgl")||canvas.getContext("moz-webgl");if(gl){webGLFingerprint=gl.getParameter(gl.VENDOR)+":"+gl.getParameter(gl.RENDERER)+":"+gl.getParameter(gl.VERSION)+":"+gl.getParameter(gl.SHADING_LANGUAGE_VERSION);var debuginfo=gl.getExtension("WEBGL_debug_renderer_info");if(debuginfo){webGLFingerprint+=":"+gl.getParameter(debuginfo.UNMASKED_VENDOR_WEBGL)+":"+gl.getParameter(debuginfo.UNMASKED_RENDERER_WEBGL);}}else{webGLFingerprint="NoWebGL";}}else{webGLFingerprint="NoCanvas";}}catch(e){} return webGLFingerprint;})());if(battery){statValues+="&battery="+encodeURIComponent(battery);} if((typeof navigator.connection!=="undefined")&&navigator.connection){statValues+="&connection="+encodeURIComponent((navigator.connection.type||"")+":"+(navigator.connection.downlinkMax||""));} if((typeof performance!=="undefined")&&performance&&performance.timing){var timing=performance.timing;statValues+="&connectTime="+encodeURIComponent((timing.connectEnd-timing.connectStart));statValues+="&responseTime="+encodeURIComponent((timing.responseEnd-timing.requestStart));} var spor=cookies.match(/Spor=([\d\.]+)/);if(spor){statValues+="&Spor="+encodeURIComponent(spor[1]);} var request=new XMLHttpRequest();if(request){request.open("POST",PostURL,true);if(typeof request.withCredentials!=="undefined"&&PostURL.indexOf(window.location.origin||window.location.hostname||window.location.host||".")<0){request.withCredentials=true;} request.setRequestHeader("Content-type","application/x-www-form-urlencoded");request.send(statValues);}}catch(e){}},404);return true;}catch(e){}})();