  var active = '';  // This is for the currently showing menu

  function openMenu( show ) {
    if ( active ) document.getElementById(active).style.display = 'none';
    document.getElementById(show).style.display = 'block';
    active = show;
  }
  
  
  