//v1.2 29/08/2002

function BrowserCheck() {
	var u = navigator.userAgent;
	var b = navigator.appName;
	var v = this.version = navigator.appVersion;
	this.v = parseInt(v);
	this.ns = (b=="Netscape");
	this.mz = (b=="Netscape" && u.indexOf("Netscape")<0 && u.indexOf("rv:1")>0);
	this.ie = (b=="Microsoft Internet Explorer");
	this.opera = navigator.userAgent.indexOf("Opera")>0;
	if (this.ns) {
		this.v = parseInt(v);
		this.ns4 = (this.v==4);
		this.ns6 = (this.v>=5);
		this.mz1 = (u.indexOf("Netscape")<0 && u.indexOf("rv:1.0")>0);
		this.mz11 = (u.indexOf("Netscape")<0 && u.indexOf("rv:1.1")>0);
	}
	else if (this.ie) {
		this.ie4 = this.ie5 = this.ie55 = this.ie6 = false;
		if (v.indexOf('MSIE 4')>0) {this.ie4 = true; this.v = 4;}
		else if (v.indexOf('MSIE 5.5')>0) {this.ie55 = true; this.v = 5.5;}
		else if (v.indexOf('MSIE 5')>0) {this.ie5 = true; this.v = 5;}
		else if (v.indexOf('MSIE 6')>0) {this.ie6 = true; this.v = 6;}
	}
	else if (this.opera) {
		this.v = parseInt(v);
	}
	else {
		this.supported = false;
		return;
	}
	this.w3c = (this.ie5 || this.ie55 || this.ie6)
	this.w3cDOM = (this.ie5 || this.ie55 || this.ie6 || this.ns6 || this.mz)
}

is = new BrowserCheck();

