/* MENU TOGGLE FUNCTIONS */

function toggleMenu(menuId) {
	
	// Get reference to submenu element.
	var thisMenu = document.getElementById(menuId);

	// If submenu is block...
	if (thisMenu.style.display == "block") {
	
		// Set display property to none.
		thisMenu.style.display = "none";
	}
	else {
		// Set display property to block.
		thisMenu.style.display = "block";
	}
}
