; ( function ( ) { /**
     * detect IE
     * returns version of IE or false, if browser is not Internet Explorer
     * From https://codepen.io/gapcode/pen/vEJNZN
     */ function detectIE ( ) { var ua = window . navigator . userAgent ; var msie = ua . indexOf ( 'MSIE ' ) ; if ( msie > 0 ) { return parseInt ( ua . substring ( msie + 5 , ua . indexOf ( '.' , msie ) ) , 10 ) ; } var trident = ua . indexOf ( 'Trident/' ) ; if ( trident > 0 ) { var rv = ua . indexOf ( 'rv:' ) ; return parseInt ( ua . substring ( rv + 3 , ua . indexOf ( '.' , rv ) ) , 10 ) ; } return false ; } var version = detectIE ( ) ; if ( version !== false && version < 11 ) { alert ( "You are using a deprecated browser, that we don't support. Please upgrade your browser to view this site." ) ; } } ) ( ) ;