<!--
// determine browser and version
function BrowserCheck() {
	var b = navigator.appName;
	this.majorv = parseInt(navigator.appVersion);
	if (b=="Netscape"){
		this.name = b;
		this.b = "ns";
		this.v = parseFloat(navigator.appVersion);
		if (navigator.userAgent.indexOf("Netscape6/") > 1){
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("Netscape6/")+10, 4);
			this.v = parseFloat(this.v);
		}
		else if (navigator.userAgent.indexOf("Netscape/7") > 1){
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("Netscape/")+9, 4);
			this.v = parseFloat(this.v);
		}
		if (navigator.userAgent.indexOf("Opera") > 1){
			this.name = "Opera";
			this.b = "op";
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("Opera ")+6, 4);
			this.v = parseFloat(this.v);
			this.majorv = parseInt(this.v);
		}
		else if (navigator.userAgent.indexOf("AOL") > 1){
			this.name = "AOL";
			this.b = "aol";
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("AOL ")+4, 3);
			this.v = parseFloat(this.v);
			this.majorv = parseInt(this.v);
		}
	}
	else if (b=="Microsoft Internet Explorer"){
		this.name = b;
		this.b = "ie";
		this.v = navigator.appVersion;
		this.v = this.v.substring(navigator.userAgent.indexOf("MSIE ")-3,this.v.length);
		this.v = parseFloat(this.v);
		this.majorv = parseInt(this.v);
		if (navigator.userAgent.indexOf("Opera") > 1){
			this.name = "Opera";
			this.b = "op";
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("Opera ")+6, 4);
			this.v = parseFloat(this.v);
			this.majorv = parseInt(this.v);
		}
		else if (navigator.userAgent.indexOf("AOL") > 1){
			this.name = "AOL";
			this.b = "aol";
			this.v = navigator.userAgent;
			this.v = this.v.substr(navigator.userAgent.indexOf("AOL ")+4, 3);
			this.v = parseFloat(this.v);
			this.majorv = parseInt(this.v);
		}
	}
	else if (b=="Opera"){
		this.name = b;
		this.b = "op";
		this.v = parseFloat(navigator.appVersion);
	}
	else{
		this.name = b;
		this.b = b;
		this.v = this.majorv;
	}

	this.pc = (navigator.userAgent.indexOf('Win')>0);
	this.mac = !(this.pc);

}

// check the browser and assign it to the "is" object
is = new BrowserCheck();

//-->
