/** * browserCheck class * * Check if Browser is compatible with Contenido. * * @author Jan Lengowski * @copyright four for business AG * @version 0.9 */ function browserCheck() { var agent = navigator.userAgent.toLowerCase(); this.IE = false; this.NS = false; if (agent.indexOf("msie") >= 0) { this.IE = true; this.version = parseInt(agent.appVersion); return; } if (agent.indexOf("netscape") >= 0 || agent.indexOf("mozilla") >= 0) { this.NS = true; this.version = parseInt(agent.appVersion); return; } } // browserCheck is = new browserCheck();