	

	/** ----------------------------- doEditMenuChange --------------------------- **
		This routine merely hides or displays the various menus
		These menus are defined in nhccutils.php
			menu_row = the id name of the <tr> tag containing the table we hide or show
			menu_img = the little graphic either on or off
			menu_status = a hidden field for storing the current state between pages
	**/
	
	function doEditMenuChange(menu_row,menu_img,menu_status) 	{
		var f = self.document.form1;
		
		obj = self.document.getElementById(menu_row);
		img = self.document.getElementById(menu_img);
		stat = self.document.getElementById(menu_status);
		var status = stat.value;

		if (status == "off") {
			obj.style.display = "table-row";
			img.src = "/grfs/onTiny.jpeg";
			stat.value = "on";
			
		} else {
			obj.style.display = "none";
			img.src = "/grfs/offTiny.jpeg";
			stat.value = "off";
		}
		
		
	}



	/** ----------------------------- goPage --------------------------- **
		This routine simply navigates to a page by calling a submit so we can have our post
		and have our various menu status variable go with us
	**/
	
	function goPage(dest, proc) 	{
		var f = self.document.form1;

		f.action = dest;
		f.proc.value = proc;
		return f.submit();
		
	}



	
