
function browseCap()	{
	this.browser = navigator.appName;
	this.platform = "other";
	this.version = null;
	this.bcVersion = 20021126;
	this.seed = seedBrowseCap;
	this.seed();
	}
	
function seedBrowseCap()	
	{
	var ua = navigator.userAgent;
	var Win = /win/i;
	var Mac = /mac/i;
	var IE = /(MSIE )([0-9]{1}\.[0-9]{0,2})/i;
	var zilla = /(zilla\/)([0-9]{1,2}\.[0-9]{0,2})/i;
	var Netscape = /(netscape[0-9]?\/)([0-9]?\.[0-9]{0,2})/i;
	
	if (Win.test(ua)) { this.platform = "Windows"; }
	if (Mac.test(ua)) { this.platform = "Mac"; }
	if (navigator.appName == 'Netscape')	{ this.browser = "Netscape"; }
	if (IE.test(ua)) { this.browser = "IE" }
	
	if ( this.browser == "Netscape" ) 
		{
		answerArray = ua.match(zilla);
		this.version = answerArray[2];
		if (parseInt(this.version) == 5)
			{
			answerArray = ua.match(Netscape);
			this.version = answerArray[2];
			}  
		}
	
	if (this.browser == "IE" )
		{
		answerArray = ua.match(IE);
		this.version = answerArray[2];
		}
	}

	var bc = new browseCap();

	