verification of redundant code - menu - 0
<p>The code I commented out appear redundant and I plan to remove it.  </p>

<p>clearTimeout should set this value to 0, i.e. the value I set to 0.</p>

<p>When I test the code in my browser the commented out code appears to do nothing.  Just wanted to verify.</p>

<p>Likewise with the second line commented out.  It looked like it does nothing so I removed it and the code works fine.  Logically it does not appear to make sense.</p>

<pre><code>/*
Menu Mechanics
*/

// called when mousing over the top menu item
function top_mouse_over(id) 
  {
  bottom_mouse_over();
  // if(local.menu_element)local.menu_element.style.visibility='hidden'; //this does not make sense
  // removed - 1
  local.menu_element=document.getElementById(id);
  local.menu_element.style.visibility='visible';
  }

// keeps the menu open by clearing the timer when mousing over the menu items
function bottom_mouse_over() 
  {
  if(local.menu_timer)
    {
    window.clearTimeout(local.menu_timer);
    }
  }

// set the timer to hide the menu
function mouse_out() 
  {
  local.menu_timer=window.setTimeout(hide_menu, 1000);
  // local.menu_timer=0; revmoed - 2
  }

// hide the menu when the timer runs out
function hide_menu() 
  {
  if(local.menu_element)local.menu_element.style.visibility='hidden';
  }
</code></pre>
