function checkBrowser() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "NS"
	else if (b=="Microsoft Internet Explorer") this.b = "IE"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.NS = (this.b=="NS" && this.v>=4)
	this.NS4 = (this.b=="NS" && this.v==4)
	this.NS405 = (this.NS && parseFloat(this.version)==(4.05 || 4.06))
	this.NS5 = (this.b=="NS" && this.v==5)
	this.IE = (this.b=="IE" && this.v>=4)
	this.IE4 = (this.version.indexOf('MSIE 4')>0)
	this.IE5 = (this.version.indexOf('MSIE 5')>0)
	this.NorM = (this.NS||this.IE)
	this.os = navigator.userAgent
	this.WINDOWS = (this.os.indexOf("Windows")>=0)
	this.MACINTOSH = (this.os.indexOf("Macintosh")>=0)
}
browser = new checkBrowser()


