// JavaScript Document
window.onload = hideSubs;

/**Hides the sub menus onload, and when toggleSubMenu is chosen**/
function hideSubs() {
	/*
	The following array is used to identify the various sub menus
	Add to the number of submenus for additional submenus
	*/
	var numSubMenus = 3;
	for (var j = 1; j <= numSubMenus; j++)
		{
			if (document.getElementById( "subNav" + j ))
				{
				document.getElementById( "subNav" + j ).style.display="none";
				}
		}
}

function toggleSubMenu(whichSubUL) {
	hideSubs(); //hide them first, only display the one chosen.
	document.getElementById(whichSubUL).style.display="block";
}

