// ===================================================================
// 2007/01/24: 
// This function was created to toggle the display of a WAC in the EAZ
// Manual.
//
// Click a button to toggle the display value of a div
// The parameter is the 'id' of the div. The button 'name' will be
// 'ctl' + parameter:
//
//	---- example ----
//
//	WAC 388-513-1350 <input name="ctl388-513-1350" type="button" class="button" onClick="return toggleMe('388-513-1350')" value="hide">
//	<div id="388-513-1350" style="display:block">
//		<!--#include file="/manuals/WAC/388-513-1350.shtml"-->
//	</div>
// ------------------------------------------------------------------
function toggleMe(param){
	var buttonvar=document.getElementById("ctl"+param);
  var controlvar=document.getElementById(param);
  if(!controlvar)return true;
  if(controlvar.style.display=="none"){
    controlvar.style.display="block";
    buttonvar.value="hide";
  } else {
    controlvar.style.display="none";
    buttonvar.value="show";
  }
  return true;
}
