var browserDetect = {
	
	changeZ: function()
	{
		// browserName holds the name of the browser, Element holds the object being modified (in this case, a CSS layer)
		var browserName = new String;
		var Element;
		
		// Gets the name of the browser the user is using and stores it in the browserName variable.
		browserName = navigator.appName;
		
		// Gets the CSS to be modified (by its name - "main") and puts it in the Element variable.
		Element = document.getElementById("main");
		
		// Alert used for debugging.
		//alert(browserName, Element);
		
		// New index is the z-index value that Element will need if the user is using Internet Explorer
		var newIndex = -1; 
		
		// Tests whether or not the browser name stored in the browserName variable is Microsoft Internet Explorer.  If so, then 
		// the z-index of Element is changed to newIndex (-1).  Otherwise, nothing is changed, because this layer already has a z-index set which is correct 
		// in any browser except Internet Explorer.
		if(browserName == "Microsoft Internet Explorer")
		{
		    Element.style.zIndex = newIndex; 
		}
	}
}