function showMenu(id) {
	var ele = document.getElementById(id);
	ele.style.display = (ele.style.display != 'block') ? "block" : "none";
}

/******************************************************
 * Window Opener
 *
 * This method opens a new method with the specified
 * size and url.
 *
 * @author:		Stephen Batts
 *****************************************************/
function openWin(URL, width, height, name)
	{
	var settings = "toolbar=0,location=0,statusbar=0,menubar=0,resizable=1";
	var windowname = (name != null) ? name : 'openwin';
	if (name == null)
		{
		if (URL.indexOf(".aspx") > -1) windowname = URL.substring(0,URL.indexOf(".aspx"));
		while (windowname.indexOf("/") > -1)
			{ windowname = windowname.substring(windowname.indexOf("/")+1); }
		if (windowname.length > 20) windowname = windowname.substring(0,20);
		}

	/** scrollbars */
	settings += ",scrollbars=1";

	/** dimensions for specific pages */
	if (width == null) settings += ",width=450,height=350";
	else settings += ",width="+width+",height="+height;

	window.child = window.open(URL, windowname, settings);
	if (window.opener == null) window.opener = self;
	child.focus();
	}