//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum = 0;
menus = new Array();
_d = document;

function addmenu()
{
	menunum++;
  menus[menunum] = menu;
}

function dumpmenus()
{
  mt="<script language=javascript>";
  
  for(a=1; a<menus.length; a++)
  {
    mt += " menu"+a+"=menus["+a+"];"
  }
  
  mt += "<\/script>";
  _d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.
