/* DEVELOPERS READ!! If you need to reference or include this file, you must use the wtdoc.jsfiles variable. As documented in defect 10392, there have been problems in the past with browsers caching js files, so we need to change the name of this file before *each* public release. This means you need to change the file name in CMVC using File -Rename and you need to change the file name in wtdoc.jsfiles before this file is released in a patch, or in a general product release. */ // Ultimate Client-Side JavaScript Client Sniffer // (C) Netscape Communications 1998. Permission granted to reuse and distribute. function Is () { // convert all characters to lowercase to simplify testing var agt = navigator.userAgent.toLowerCase() // *** BROWSER VERSION *** this.major = parseInt(navigator.appVersion) this.minor = parseFloat(navigator.appVersion) this.nav = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1))) this.nav2 = (this.nav && (this.major == 2)) this.nav3 = (this.nav && (this.major == 3)) this.nav4 = (this.nav && (this.major == 4)) this.navonly = (this.nav && (agt.indexOf(";nav") != -1)) this.ie = (agt.indexOf("msie") != -1) this.ie3 = (this.ie && (this.major == 2)) this.ie4 = (this.ie && (this.major == 4)) this.ie5 = (this.ie && (this.major == 5)) this.ie6 = (this.ie && (this.major == 5)) this.opera = (agt.indexOf("opera") != -1) // *** JAVASCRIPT VERSION CHECK *** // Useful to workaround Nav3 bug in which Nav3 // loads