/* www.fishwasher.com sniffer.js */ function clientSniffer() { this.netscape = (navigator.appName.indexOf("Netscape") != -1); this.microsoft = (navigator.appName.indexOf("Microsoft") != -1); this.opera = (navigator.userAgent.indexOf("Opera") != -1); var fourPlus = (parseFloat(navigator.appVersion) >= 4); var gecko =(navigator.userAgent.indexOf("Gecko") != -1); //this.ns4 = ((this.netscape && fourPlus) && !(gecko || opera)); this.ns6 = gecko; //this.ie4 = ((this.microsoft && fourPlus) && !opera); this.ns = (this.netscape && !(this.opera)); this.ie = (this.microsoft && !(this.opera)); this.op5 = (this.opera && fourPlus); this.ie4 = document.all; this.ns4 = document.layers; this.dom1 = document.getElementById; this.layersOk = (this.dom1 || this.ie4 || this.ns4); } var is = new clientSniffer();