function displayElement(elementId, showElement)
{
	var elem;
	if(document.getElementById)
	{
		// DOM
		elem = document.getElementById(elementId);
	}
	else if(document.all)
	{
    	// Proprietary DOM
		elem = document.all[elementId];
	}
	if(!elem)
	{
		/* The page has not loaded, or the browser claims to
		support document.getElementById or document.all but
		cannot actually use either */
		return;
	}
	//Reference the style ...
	if(elem.style)
	{
		elem = elem.style;
	}
	if(typeof(elem.display) == 'undefined')
	{
		//The browser does not allow us to change the display style
		//Alert something sensible (not what I have here ...)
		window.alert('Unsupported browser.');
		return;
	}
	//Change the display style
	if (showElement)
	{
		elem.display = "";
	}
	else
	{
		elem.display = "none";
	}
}

/*
function displayElement(obj, show)
{
	if (show)
	{
		obj.style.display = "block";
	}
	else
	{
		obj.style.display = "none";
	}
}
*/