
(function(){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);}
return rv;}
function hidePinnedSitePrompt(d){if(d.length<1){return;}
document.getElementById(d).style.display="none";}
function showPinnedSitePrompt(d){if(d.length<1){return;}
var explorerVer=getInternetExplorerVersion();if(!!window.external&&('msIsSiteMode'in window.external)&&!window.external.msIsSiteMode()&&(/MSIE/).test(navigator.userAgent)){document.getElementById(d).style.display="block";}}
if(!window.bravofly){bravofly={};}
if(!bravofly.utils){bravofly.utils={};}
bravofly.utils.pinIE9={showPinnedSitePrompt:showPinnedSitePrompt,hidePinnedSitePrompt:hidePinnedSitePrompt};})();;
