// -----------------------------------------------
// Original   : BlueMars, www.bluemars.com
// Modified By: Alex Wernhardt, www.helpmakers.com
// -----------------------------------------------
<!--
function BrowserCheck() {
	var b = navigator.userAgent.toLowerCase()
	this.major = this.v = parseInt(navigator.appVersion)
	this.minor = parseFloat(navigator.appVersion)

	// IE
	this.ie = (this.major >= 4 && ((b.indexOf("msie") != -1) && (b.indexOf("spoofer") == -1) && (b.indexOf("opera") == -1) && (b.indexOf("webtv") == -1)))
	if (this.ie){
	 this.ie4 = (b.indexOf("msie 4") != -1)
	 this.ie4up = (this.ie && (this.major >= 4))
	 this.ie5 = (b.indexOf("msie 5") != -1)
	 this.ie5up = (this.ie && (parseInt(b.substr(b.indexOf("msie")+5)) >= 5 || this.ie5))
	 this.ie6 = (b.indexOf("msie 6") != -1)
	 this.ie6up = (this.ie && (parseInt(b.substr(b.indexOf("msie")+5)) >= 6 || this.ie6))
	 if (this.ie5up){
	 	this.major = parseInt(b.substr(b.indexOf("msie")+5))
	 	this.minor = parseInt(b.substr(b.indexOf("msie")+6+this.major.toString().length))
	 }
	}

	// Netscape 
	this.ns = (this.major >= 4 && ((b.indexOf("mozilla") != -1) && (b.indexOf("spoofer") == -1) && (b.indexOf("compatible") == -1) && (b.indexOf("opera") == -1) && (b.indexOf("webtv") == -1)))
	if (this.ns){
	 this.ns4 = (this.ns && (this.major == 4))
	 this.ns4up = (this.ns && (this.major >= 4))
	 this.ns5 = (this.ns && (this.major == 5))
	 this.ns5up = (this.ns && (this.major >= 5))
	 this.ns6 = (this.ns && ((this.major == 6) || (b.indexOf("netscape6") != -1)))
	 this.ns6up = (this.ns && ((this.major >= 6) || this.ns6))
	}

	// Opera 
	this.opera = (b.indexOf("opera") != -1)
	if (this.opera){
	 this.opera5 = (b.indexOf("opera 5") != -1 || (this.opera && this.major == 5))
	 this.opera6 = (b.indexOf("opera 6") != -1 || (this.opera && this.major == 6))
 	this.ns = this.ie = false
 }

	// Konqueror
	this.konqueror = (b.indexOf("konqueror") != -1)
	if (this.konqueror) {
		this.ns = this.ns5 = this.konqueror
		this.major = parseInt(b.substr(b.indexOf("konqueror/")+10))
		this.minor = parseFloat(b.substr(b.indexOf("konqueror/")+11+this.major.toString().length))
	}

	this.min = (this.ie || this.ns || this.opera || this.konqueror)
	
	// Platforms 
	this.win = this.pc = (b.indexOf("win") != -1 || b.indexOf("16bit") != -1)
	this.mac = (b.indexOf("mac") != -1)
	this.linux = (b.indexOf("linux") != -1)
	
	// Objects
	this.all = (document.all) ? true : false
	this.layers = (document.layers) ? true : false
	this.dom = (document.getElementById) ? true : false
	this.java = (navigator.javaEnabled())
	this.print = (window.print) ? true : false
	this.images = (document.images) ? true : false

	// JavaScript 
	if ((this.ns4 && this.minor <= 4.05) || this.ie4) this.js = 1.2
	else if ((this.ns4 && this.minor > 4.05) || this.ie5up || this.opera) this.js = 1.3
	else if (this.ns5 && !this.ns6up) this.js = 1.4
	else if (this.ns6up || this.konqueror) this.js = 1.5
}

is = new BrowserCheck()
// -->// -----------------------------------------------
// Original   : BlueMars, www.bluemars.com
// Modified By: Alex Wernhardt, www.helpmakers.com
// -----------------------------------------------
<!--
function BrowserCheck() {
	var b = navigator.userAgent.toLowerCase()
	this.major = this.v = parseInt(navigator.appVersion)
	this.minor = parseFloat(navigator.appVersion)

	// IE
	this.ie = (this.major >= 4 && ((b.indexOf("msie") != -1) && (b.indexOf("spoofer") == -1) && (b.indexOf("opera") == -1) && (b.indexOf("webtv") == -1)))
	if (this.ie){
	 this.ie4 = (b.indexOf("msie 4") != -1)
	 this.ie4up = (this.ie && (this.major >= 4))
	 this.ie5 = (b.indexOf("msie 5") != -1)
	 this.ie5up = (this.ie && (parseInt(b.substr(b.indexOf("msie")+5)) >= 5 || this.ie5))
	 this.ie6 = (b.indexOf("msie 6") != -1)
	 this.ie6up = (this.ie && (parseInt(b.substr(b.indexOf("msie")+5)) >= 6 || this.ie6))
	 if (this.ie5up){
	 	this.major = parseInt(b.substr(b.indexOf("msie")+5))
	 	this.minor = parseInt(b.substr(b.indexOf("msie")+6+this.major.toString().length))
	 }
	}

	// Netscape 
	this.ns = (this.major >= 4 && ((b.indexOf("mozilla") != -1) && (b.indexOf("spoofer") == -1) && (b.indexOf("compatible") == -1) && (b.indexOf("opera") == -1) && (b.indexOf("webtv") == -1)))
	if (this.ns){
	 this.ns4 = (this.ns && (this.major == 4))
	 this.ns4up = (this.ns && (this.major >= 4))
	 this.ns5 = (this.ns && (this.major == 5))
	 this.ns5up = (this.ns && (this.major >= 5))
	 this.ns6 = (this.ns && ((this.major == 6) || (b.indexOf("netscape6") != -1)))
	 this.ns6up = (this.ns && ((this.major >= 6) || this.ns6))
	}

	// Opera 
	this.opera = (b.indexOf("opera") != -1)
	if (this.opera){
	 this.opera5 = (b.indexOf("opera 5") != -1 || (this.opera && this.major == 5))
	 this.opera6 = (b.indexOf("opera 6") != -1 || (this.opera && this.major == 6))
 	this.ns = this.ie = false
 }

	// Konqueror
	this.konqueror = (b.indexOf("konqueror") != -1)
	if (this.konqueror) {
		this.ns = this.ns5 = this.konqueror
		this.major = parseInt(b.substr(b.indexOf("konqueror/")+10))
		this.minor = parseFloat(b.substr(b.indexOf("konqueror/")+11+this.major.toString().length))
	}

	this.min = (this.ie || this.ns || this.opera || this.konqueror)
	
	// Platforms 
	this.win = this.pc = (b.indexOf("win") != -1 || b.indexOf("16bit") != -1)
	this.mac = (b.indexOf("mac") != -1)
	this.linux = (b.indexOf("linux") != -1)
	
	// Objects
	this.all = (document.all) ? true : false
	this.layers = (document.layers) ? true : false
	this.dom = (document.getElementById) ? true : false
	this.java = (navigator.javaEnabled())
	this.print = (window.print) ? true : false
	this.images = (document.images) ? true : false

	// JavaScript 
	if ((this.ns4 && this.minor <= 4.05) || this.ie4) this.js = 1.2
	else if ((this.ns4 && this.minor > 4.05) || this.ie5up || this.opera) this.js = 1.3
	else if (this.ns5 && !this.ns6up) this.js = 1.4
	else if (this.ns6up || this.konqueror) this.js = 1.5
}

is = new BrowserCheck()
// -->
