function browser()
{
	// USING MAC
	if (navigator.appVersion.indexOf("Mac") != -1)
	{
		this.isMac = true;
		this.isWin = false;
	}
	else
	{
		this.isWin = true;	
		this.isMac = false;
	}
	
	// USING NETSCAPE
	if (navigator.appName == "Netscape") 
	{
		if (parseFloat(navigator.appVersion) >= 5.0)
		{
			this.isNS6 = true;
			this.isNS47 = false;
			this.isIE = false;
		}
		else
		{
			this.isNS47 = true;
			this.isNS6 = false;
			this.isIE = false;
		}
	}
	else
	{
		this.isIE = true;
		this.isNS47 = false;
		this.isNS6 = false;
	}
}

	
	// GLOBAL VARS
	// DOCUMENT OBJECT
	var doc;
	// STYLE PROPERTY
	var sty;
	// VISIBILTY STRING VALUE
	var visStr;
	// HIDDEN STRING VALUE
	var hidStr;
	
	var browser = new browser()
	
function loadGlobals()
{
	// USING NETSCAPE 6
	if (browser.isNS6)
	{ 
		doc = "document.";
		sty = "style";
		visStr = "visible";
		hidStr = "hidden";
	}
 	// USING NETSCAPE 4.7
   	else if (browser.isNS47)
   	{
   		doc = "document.";
   		sty = "";
   		visStr = "show";
   		hidStr = "hide";
   	}
   	// USING IE
   	else
   	{
   		doc = "";
   		sty = "style";
   		visStr = "visible";
   		hidStr = "hidden";
	}
}