var outdatedBrowser=function(n){function o(n){t.style.opacity=n/100;t.style.filter="alpha(opacity="+n+")"}function s(n){o(n);1==n&&(t.style.display="block");100==n&&(r=!0)}function u(){var i=document.getElementById("btnCloseUpdateBrowser"),n=document.getElementById("btnUpdateBrowser");t.style.backgroundColor=bkgColor;t.style.color=txtColor;t.children[0].style.color=txtColor;t.children[1].style.color=txtColor;n.style.color=txtColor;n.style.borderColor&&(n.style.borderColor=txtColor);i.style.color=txtColor;i.onmousedown=function(){return t.style.display="none",!1};n.onmouseover=function(){this.style.color=bkgColor;this.style.backgroundColor=txtColor};n.onmouseout=function(){this.style.color=txtColor;this.style.backgroundColor=bkgColor}}function h(){var n=!1;if(window.XMLHttpRequest)n=new XMLHttpRequest;else if(window.ActiveXObject)try{n=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{n=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){n=!1}}return n}function c(n){var t=h();return t&&(t.onreadystatechange=function(){l(t)},t.open("GET",n,!0),t.send(null)),!1}function l(n){var t=document.getElementById("outdated");return 4==n.readyState&&(t.innerHTML=200==n.status||304==n.status?n.responseText:e,u()),!1}var t=document.getElementById("outdated"),r,f,i,e;if(this.defaultOpts={bgColor:"#f25648",color:"#ffffff",lowerThan:"transform",languagePath:"../outdatedbrowser/lang/en.html"},n?("IE8"==n.lowerThan||"borderSpacing"==n.lowerThan?n.lowerThan="borderSpacing":"IE9"==n.lowerThan||"boxShadow"==n.lowerThan?n.lowerThan="boxShadow":"IE10"==n.lowerThan||"transform"==n.lowerThan||""==n.lowerThan||"undefined"==typeof n.lowerThan?n.lowerThan="transform":("IE11"==n.lowerThan||"borderImage"==n.lowerThan)&&(n.lowerThan="borderImage"),this.defaultOpts.bgColor=n.bgColor,this.defaultOpts.color=n.color,this.defaultOpts.lowerThan=n.lowerThan,this.defaultOpts.languagePath=n.languagePath,bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath):(bkgColor=this.defaultOpts.bgColor,txtColor=this.defaultOpts.color,cssProp=this.defaultOpts.lowerThan,languagePath=this.defaultOpts.languagePath),r=!0,f=function(){var n=document.createElement("div"),t="Khtml Ms O Moz Webkit".split(" "),i=t.length;return function(r){if(r in n.style)return!0;for(r=r.replace(/^[a-z]/,function(n){return n.toUpperCase()});i--;)if(t[i]+r in n.style)return!0;return!1}}(),!f(""+cssProp)){if(r&&"1"!==t.style.opacity)for(r=!1,i=1;100>=i;i++)setTimeout(function(n){return function(){s(n)}}(i),8*i);" "===languagePath||0==languagePath.length?u():c(languagePath);e='<h6>Your browser is out-of-date!<\/h6><p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now <\/a><\/p><p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;<\/a><\/p>'}}