function JumpLink(name, path, file)
{
  this.name = name;
  this.path = path;
  this.file = file;
}

function MakeJumpLinks()
{
  var argv = MakeJumpLinks.arguments;
  var argc = MakeJumpLinks.arguments.length;

  this.length = 0;
  for (var i = 0; i < argc; i += 3)
  {
    this[this.length] = new JumpLink(argv[i], argv[i + 1], argv[i + 2]);
    this.length++;
  }
}

jumpLinks = new MakeJumpLinks(
  'Select a page', '', '',
  'Home', 'home', 'index.shtml',
  'Home : What\'s New', 'home/whatsnew', 'index.shtml',
  'Home : Guestbook', 'home/guestbook', 'index.shtml',
  'Home : Forums', 'home/forums', 'index.shtml',
  'Home : Contact', 'home/contact', 'index.shtml',

  'Group', 'group', 'index.htm',
  'Group : The Group', 'group/about', 'index.shtml',
  'Group : Diary', 'group/diary', 'index.shtml',
  'Group : Headlines', 'group/headlines', 'index.shtml',
  'Group : Contact', 'group/contact', 'index.shtml',

  'Beavers', 'beavers', 'index.shtml',
  'Beavers : The Colony', 'beavers/about', 'index.shtml',
  'Beavers : Programme', 'beavers/programme', 'index.shtml',
  'Beavers : Activities', 'beavers/activities', 'index.shtml',
  'Beavers : Gallery', 'beavers/gallery', 'index.shtml',

  'Cubs', 'cubs', 'index.shtml',
  'Cubs : The Pack', 'cubs/about', 'index.shtml',
  'Cubs : Programme', 'cubs/programme', 'index.shtml',
  'Cubs : Activities', 'cubs/activities', 'index.shtml',
  'Cubs : Gallery', 'cubs/gallery', 'index.shtml',

  'Scouts', 'cubs', 'index.shtml',
  'Scouts : The Troup', 'scouts/about', 'index.shtml',
  'Scouts : Programme', 'scouts/programme', 'index.shtml',
  'Scouts : Activities', 'scouts/activities', 'index.shtml',
  'Scouts : Gallery', 'scouts/gallery', 'index.shtml',

  'Ventures', 'ventures', 'index.shtml',
  'Ventures : The Unit', 'ventures/about', 'index.shtml',
  'Ventures : Programme', 'ventures/programme', 'index.shtml',
  'Ventures : Activities', 'ventures/activities', 'index.shtml',
  'Ventures : Gallery', 'ventures/gallery', 'index.shtml',

  'District', 'district', 'index.shtml',
  'District : The District', 'district/about', 'index.shtml',
  'District : Diary', 'district/diary', 'index.shtml',
  'District : News & Views', 'district/news', 'index.shtml',

  'Scouting', 'scouting', 'index.shtml',
  'Scouting : The Scout', 'scouting/about', 'index.shtml',
  'Scouting : Scout Links', 'scouting/links', 'index.shtml',
  'Scouting : Join Scouts', 'scouting', 'join.shtml',

  'Members Only', 'home', 'private.shtml',
  'Site Search', 'home', 'search.shtml',
  'Site Map', 'home', 'map.shtml',
  'Site Help', 'home', 'help.shtml',

  'Intro', 'index.htm', ''
);

function jumpPage(root, form, fdir)
{
  var i = form.SelectMenu.selectedIndex;
  if (i == 0 || jumpLinks[i].url == '')
    return;
  var href = root + '/' + jumpLinks[i].path;
  if (jumpLinks[i].file != '')
    href = href + '/' + fdir + '/' + jumpLinks[i].file;
  top.location.href = href;
}
