// JavaScript Document
function toggleClamShellMenu(objectID) 

{
	/* Ivey Designs
	* by: Shea Ivey iveysh@onid.orst.edu
	* This code is free, but please keep this comment.
	*/
	var menu = document.getElementById(objectID);

	var obj = document.getElementsByTagName("*")

 	var tagList = "div;DIV;"	

 	for (var i=0;i < obj.length;i++) 

	{	
		if (tagList.indexOf(obj[i].tagName+";")>=0) 

		{
			if(obj[i].id.match("menu")=="menu" && obj[i].id!=objectID)
			// hide all the SPAN tags that have a id tage that has the words menu in it
			document.getElementById(obj[i].id).style.display='none';
		}
	}

	// show the menu clicked

	if (menu.style.display =='block')
		menu.style.display='none';
	else
		menu.style.display='block';
	return;
	}
