function detectBrowser(){var i={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(i){for(var n=0;n<i.length;n++){var r=i[n].string,e=i[n].prop;if(this.versionSearchString=i[n].versionSearch||i[n].identity,r){if(-1!==r.indexOf(i[n].subString))return i[n].identity}else if(e)return i[n].identity}},searchVersion:function(i){var n=i.indexOf(this.versionSearchString);if(-1!==n)return parseFloat(i.substring(n+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.userAgent,subString:"iPad",identity:"iPad"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};i.init();var n=i.browser,r=i.version,e="/unsupported_browser",t="/unsupported_mobile_browser",o=document.querySelector("#user-agent-target");if(o){var a=o.textContent;if(a){var s=new RegExp(a);if(s.test(navigator.userAgent))return void(window.location=e)}o.parentNode.removeChild(o)}var g,d=document.querySelector("#min-ie-version");d&&(g=d.textContent,g&&(g=parseInt(g.textContent,10)),d.parentNode.removeChild(d)),g||(g=11);var u=document.querySelector("#allow-iphone"),v=!1;if(u){var c=u.textContent;c&&"true"===c.trim()&&(v=!0),u.parentNode.removeChild(u)}var l=["/business/ui/claimPlace"];l.forEach(function(i){(location.search.match(encodeURIComponent(i))||location.search.match(i))&&(v=!0)});var S;if(S=v?/Android.*Mobile|webOS|BlackBerry|IEMobile|Opera Mini/i:/Android.*Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i,S.test(navigator.userAgent)) if("Explorer"===n){if(g>r)return void(window.location=e)}else if("Chrome"===n){if(28>r)return void(window.location=e)}else if("Firefox"===n){if(22>r)return void(window.location=e)}else"Safari"===n&&6>r&&(window.location=e);return i}navigator.cookieEnabled||(window.location="/cookies_not_enabled");var BrowserInfo=detectBrowser();