If you would like assistance with downloading a new version of your browser then please call our support team on 08085 546546.' + ''; } else { var isreseturl=parseUrl(); if(!isreseturl) { window.location.href='./indexajs.html'; } } } function parseUrl() { var url=window.location.href; var index=url.indexOf("#/passwordRecovery?forgottenKey"); if(index!==-1) { var key=getUrlVars()["forgottenKey"]; if(key) { window.location = url.replace("index.html", "indexajs.html"); return true; } } return false; } function getUrlVars() { var vars = {}; var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) { vars[key] = value; }); return vars; } function getInternetExplorerVersion() { var rv = -1; if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } else if (navigator.appName == 'Netscape') { var ua = navigator.userAgent; var re = new RegExp("Trident/.*rv:([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } function isIEbrowser() { var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); if (msie > 0 || !!navigator.userAgent.match("Trident/.*rv:([0-9]{1,}[\.0-9]{0,})")) return true; return false; } function iOSversion() { if (/iP(hone|od|ad)/.test(navigator.platform)) { /* supports iOS 2.0 and later: */ var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); return [parseInt(v[1], 10)]; } }