function checkBrowser()
	{
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.usr=navigator.userAgent;

	//Browser:
	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.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5);

	//Platform:
	this.pc=(this.usr.indexOf("Win")>-1)?1:0;
	this.mac=(this.usr.indexOf("Mac")>-1)?1:0;
	this.linux=(this.usr.indexOf("Linux")>-1)?1:0;
	
	return this
	}
	
bw=new checkBrowser()

//if (!bw.bw)
//window.location="oldbrowser.htm";