var default_target = 'parent.main';
var image_path = '../images/menuGui/';
var item = new Array();

function GenMenu()
{
  /*-------------------------------------------------------------------------------------
    Function    : itemAdd(level, name, url);
    Parameters  : level
                  Level of the item
                  -1, itemRoot, itemSub, itemSubSub, etc
                : name
                  Name shown in the menu
                : url
                  Page link should point to
    Examples    : itemRoot = itemAdd(-1, 'rootItem','rootItem.html');
                    itemSub = itemAdd(itemRoot, 'subItem','subItem.html');
                      itemAdd(itemSub,'subItemSub','subItemSub.html');
                  itemRoot = itemAdd(-1, 'rootItem2');
                    itemSub = itemAdd(itemRoot, 'subItem2','subItem2.html');
                  itemRoot = itemAdd(-1, ' ');
                  itemRoot = itemAdd(-1, 'rootItem3','rootItem.html3');
    Result      : > rootItme
                    > subItem
                      subItemSub
                    rootItem2
                      subItem2
  
                    rootItem3
  -------------------------------------------------------------------------------------*/
  itemRoot = itemAdd(-1, 'home','frameset.asp?page=main.asp');
  itemRoot = itemAdd(-1, 'group pictures','frameset.asp?page=group.asp&title=group%20pictures');
  itemRoot = itemAdd(-1, 'lessons','frameset.asp?page=gallary.asp?images=../Pictures/Lessons/&title=pictures%20of%20various%20lessons');
    itemSub = itemAdd(itemRoot, 'nunchaku','frameset.asp?page=gallary.asp?images=../Pictures/Nunchaku/&title=nunchaku');
      itemAdd(itemSub, 'demo','frameset.asp?page=gallary.asp?images=../Pictures/Nunchaku/Demo/&title=nunchaku%20demo%20by%20Michi');
  itemRoot = itemAdd(-1, 'poomse night','frameset.asp?page=gallary.asp?images=../Pictures/Poomse/&title=the%20poomse%20tournament');
  itemRoot = itemAdd(-1, 'fight night','frameset.asp?page=fightnight.asp');
    itemSub = itemAdd(itemRoot, 'fight 1','frameset.asp?page=gallary.asp?images=../Pictures/Fight1/&title=fight%201');
    itemSub = itemAdd(itemRoot, 'fight 2','frameset.asp?page=gallary.asp?images=../Pictures/Fight2/&title=fight%202');
    itemSub = itemAdd(itemRoot, '1st break','frameset.asp?page=gallary.asp?images=../Pictures/Demo1/&title=1st%20demo%20break');
    itemSub = itemAdd(itemRoot, 'fight 3','frameset.asp?page=gallary.asp?images=../Pictures/Fight3/&title=fight%203');
    itemSub = itemAdd(itemRoot, 'fight 5','frameset.asp?page=gallary.asp?images=../Pictures/Fight5/&title=fight%205');
    itemSub = itemAdd(itemRoot, '2nd break','frameset.asp?page=gallary.asp?images=../Pictures/Demo2/&title=2nd%20demo%20break');
    itemSub = itemAdd(itemRoot, 'fight 6','frameset.asp?page=gallary.asp?images=../Pictures/Fight6/&title=fight%206');
    itemSub = itemAdd(itemRoot, 'fight 7','frameset.asp?page=gallary.asp?images=../Pictures/Fight7/&title=fight%207');
    itemSub = itemAdd(itemRoot, '3rd break','frameset.asp?page=gallary.asp?images=../Pictures/Demo3/&title=3rd%20demo%20break');
    itemSub = itemAdd(itemRoot, 'fight 8','frameset.asp?page=gallary.asp?images=../Pictures/Fight8/&title=fight%208');
    itemSub = itemAdd(itemRoot, 'fight 9','frameset.asp?page=gallary.asp?images=../Pictures/Fight9/&title=fight%209');
  itemRoot = itemAdd(-1, 'camp ground','frameset.asp?page=gallary.asp?images=../Pictures/CampGround/&title=the%20campground');
  itemRoot = itemAdd(-1, 'night life','frameset.asp?page=gallary.asp?images=../Pictures/NightLife/&title=night%20life%20in%20and%20around%20party%20tent');
  itemRoot = itemAdd(-1, 'the rest','frameset.asp?page=gallary.asp?images=../Pictures/&title=the%20rest%20of%20the%20pictures');
  itemRoot = itemAdd(-1, 'user pictures','frameset.asp?page=gallary.asp?images=../Pictures/Submitted/&title=pictures%20submitted%20by%20visitors');
  itemRoot = itemAdd(-1, 'add pictures!','mailto:webmaster@xiphias.net');
  itemRoot = itemAdd(-1, 'email');
    itemSub = itemAdd(itemRoot, 'michael','mailto:mw.rosa@xiphias.net');
    itemSub = itemAdd(itemRoot, 'webmaster','mailto:webmaster@xiphias.net');
}