// JavaScript Document
function Browser()
{
	this.NETSCAPE = "Netscape";
	this.Microsoft_Internet_Explorer = "Microsoft Internet Explorer";
	this.browserName = "";
	this.browserVer = -1;
	
	this.setBrowserName = function()
	{
		this.browserName=navigator.appName; 
		if (this.browserName=="Netscape")
		{ 
 			//alert("Hi Netscape User!");
		}
		else 
		{ 
		  	if (this.browserName=="Microsoft Internet Explorer")
		  	{
		  		//alert("Hi, Explorer User!");
		 	}
		 	else
		  	{
				//alert("What ARE you browsing with here?");
		  	}
		}
	}
	this.setBrowserVersion = function()
	{
		this.browserVer=parseInt(navigator.appVersion); 
		if (this.browserVer >= 4)
		{
		}
		else
		{
		}
	}
	this.setBrowserName();
	this.setBrowserVersion();
	
	this.iCanAddRoundBorders = function()
	{
		if(this.browserName == this.Microsoft_Internet_Explorer && parseInt(this.browserVer) <= 4)return false;
		return true;
	}
}
var browser = new Browser();
