function GetIEVersion() { var sAgent = window.navigator.userAgent; var Idx = sAgent.indexOf("MSIE"); if (Idx > 0) return parseInt(sAgent.substring(Idx+ 5, sAgent.indexOf(".", Idx))); else if (!!navigator.userAgent.match(/Trident\/7\./)) return 11; else return 0; } if (GetIEVersion() > 0) {document.write("This is IE " + GetIEVersion());document.write('

You are using an unsupported browser.

Try a different web browser:

  • Microsoft Edge
  • Google Chrome
  • Firefox
  • Opera
  • You are using Internet Explorer ' + GetIEVersion() +'

    ')} else {}