function SniffBrowser(){ 
	//v1.01 - GD
	//v1.02 - GD Mac Added
	//v1.03 - GD Added IE6
	this.version="1.03"
	this.updated="20010910"

	this.ver=navigator.appVersion 
	this.mac=(this.ver.indexOf("Mac") > -1)?1:0
	this.win=(this.ver.indexOf("Win") > -1)?1:0

	this.dom=document.getElementById?1:0
	this.ie6=(this.ver.indexOf("MSIE 6") > -1 && this.dom)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5") > -1 && this.dom)?1:0
	this.ie4=(document.all && !this.dom)?1:0 
	this.ns5=(this.dom && parseInt(this.ver) >= 5)?1:0
	this.ns4=(document.layers && !this.dom)?1:0
	this.ok=(this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.dom)

	this.setOk=SB_setOk
}

function SB_setOk(statement) {
	this.ok=eval(statement)
}

 
oBrowser=new SniffBrowser() 

