function Is () {
	var agt=navigator.userAgent.toLowerCase()
	this.major = parseInt(navigator.appVersion)
	if (agt.indexOf("msie ") != -1) {
		endCheck=agt.length;
		startCheck=agt.indexOf("msie ") + ("msie ").length
		this.minor=parseFloat(agt.substring(startCheck,endCheck))
		}
	else {
		this.minor = parseFloat(navigator.appVersion)
		}
	this.mac  =agt.indexOf("mac")!=-1
	this.nav  = (navigator.appName.indexOf("Netscape") != -1)
	this.ie   = (agt.indexOf("msie") != -1)
	this.other= (!this.nav && !this.ie)
	
  	this.ie5up = (this.ie  && (this.minor>=5)); //(agt.indexOf("msie 5") != -1);
  	this.nav6up = (this.nav && (this.major >= 5));
  	this.gecko = (agt.indexOf('gecko') != -1);
	
	this.navcss = this.nav && (this.minor > 4)
	this.iecss = this.ie && ((this.minor>4.01 && this.mac) || (this.minor>=4 && !this.mac))
	this.othercss= (this.other && this.minor>=4)
	this.brwsrcss = this.navcss||this.iecss||this.othercss||this.gecko
	}
var is = new Is();