function BrowserCheck() {
	var b = navigator.appName		
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.v = parseInt(navigator.appVersion)
	this.ns = (this.b=="ns")
	this.ns3 = (this.b=="ns" && this.v<4)
	this.ns4 = (this.b=="ns" && this.v==4)	
	this.ns6 = (navigator.userAgent.indexOf('Netscape 6')>0)
	this.ns7 = (navigator.userAgent.indexOf('Netscape/7')>0)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	this.ie6 = (navigator.userAgent.indexOf('MSIE 6')>0)	
	this.opera=(navigator.userAgent.indexOf('Opera')>0)
	this.opera4=(navigator.userAgent.indexOf('Opera 4')>0)
	this.opera5=(navigator.userAgent.indexOf('Opera 5')>0)
	this.opera6=(navigator.userAgent.indexOf('Opera 6')>0)
	this.moz=(navigator.userAgent.indexOf('Gecko/')>0)?true:false;
	if(this.ie5) this.v = 5
	if(this.ns6) this.v = 6
	if(this.ns7) this.v=7	
	if(this.ns6) this.moz=false;
	this.win=(navigator.appVersion.indexOf('Win')>0)
	this.mac=(navigator.appVersion.indexOf('Macintosh')>0)	
}
var is = new BrowserCheck();