function InitMenus(id) {
  // get all list elements
  if ($(id)) {
    $A($(id).childNodes).each(function(child) {
			// does this LI have a sub-menu?
      if (child.nodeName == 'LI' && $(child.id+'-menu')) {
				// Add 'over' class to all LI's with a sub-menu
				Event.observe(child, 'mouseover', function(){ child.className += 'over'; });
				Event.observe(child, 'mouseout',  function(){ child.className = ''; });
      }
    });
  }
}