
function getos() { }

function getdo(s) { this.style = new getos(); }

function getns4o(id) { return(eval("document." + id)); }

function getieo(id) { return(eval("document.all." + id)); }

function cbrowser() {

	var ix, useragent = navigator.userAgent;

	this.pcursor = "pointer";

	if ((ix = useragent.indexOf("Opera")) != -1) {
	
		if ((this.ver = parseFloat(useragent.substr(ix + 6, 5))) >= 7.23)
			this.qaok = this.ieopera = this.opera = true;
		else
			this.oldbrowser = "Opera";
	
	} else if ((ix = useragent.indexOf("MSIE")) != -1) {
	
		if ((this.ver = parseFloat(useragent.substr(ix + 5, 5))) < 6)	
			this.pcursor = "hand";
		
		if (this.ver >= 5.5)
			this.qaok = this.ieopera = this.msie = true;
		else
			this.oldbrowser = "Microsoft";
	
	} else if ((ix = useragent.indexOf("Netscape")) != -1) {
	
		if ((this.ver = parseFloat(useragent.substr(useragent.indexOf("/", ix) + 1, 6))) >= 6.2)
			this.qaok = this.ns = this.nsmz = true;
		else
			this.oldbrowser = "Netscape";
	
	} else if (useragent.indexOf("Gecko") != -1) {

		if ((this.ver = parseFloat(useragent.substr(useragent.indexOf("rv:") + 3))) >= 1.4)
			this.qaok = this.mz = this.nsmz = true;
		else
			this.oldbrowser = "Mozilla";
	
	} else if ((ix = useragent.indexOf("Konqueror")) != -1) {
	
		if ((this.ver = parseFloat(useragent.substr(useragent.indexOf("/", ix) + 1))) >= 3.1)
			this.kq = true;
		else
			this.oldbrowser = "Konqueror";
	}
	
	if (! this.qaok && ! document.getElementById) {

		if (document.all)
			document.getElementById = getieo;
		else if (document.layers)
			document.getElementById = getns4o;
		else {
			document.getElementById = new getdo();
			window.open("warning_notDOM.html", "nodombr", "height=200, width=550");
		}
	}
}

var fsbrowser = new cbrowser();
