var menus = new Array();
var base = 'http:\/\/www.adventureplus.org.uk';
var webbase = '/cgi-bin/adventureplus';
menus[0] = '<a href="' + webbase + '\/enquiries.php">Contact details<\/a> | <a href="' + webbase + '\/staff.php">Staff<\/a> | <a href="' + webbase + '\/vacancies.php">Vacancies<\/a>';
menus[1] = '<a href="' + webbase + '\/multi.php">Multi Activity Holidays<\/a> | <a href="' + webbase + '\/corporate.php">Corporate<\/a> | <a href="' + webbase + '\/schools.php">Schools<\/a> | <a href="' + webbase + '\/groups.php">Youth Groups<\/a> | <a href="' + webbase + '\/expedition.php">Expeditions<\/a> | <a href="' + webbase + '\/training.php">Training<\/a> | <a href="' + webbase + '\/venues.php">Venues<\/a>';
menus[2] = "&nbsp;";
menus[3] = '<a href="' + webbase + '\/vguide.php">Volunteer Guide<\/a> | <a href="' + webbase + '\/vapply.php">Application<\/a> | <a href="http:\/\/ccgi.adventureplus.force9.co.uk\/cgi-bin\/login.pl">Volunteer Only<\/a> | <a href="' + webbase + '\/training.php">Training<\/a> | <a href="' + webbase + '\/gapyear.php">Gap Years<\/a> | <a href="' + webbase + '\/socials.php">Socials</a>'; 
menus[4] = '&nbsp;';
menus[5] = "&nbsp;";
menus[6] = '&nbsp;';
menus[7] = "&nbsp;";
menus[8] = "&nbsp;";

function getobject(obj)
{
  if (document.all)
    return document.all[obj];
  else if (document.getElementById)
    return document.getElementById(obj);
  else
    return obj;
}

function over(n)
{
  getobject("menu2").innerHTML = menus[n];
}

function draw_mainmenu()
{
  document.write('' +
  '<a href="' + webbase + '\/index2.php" onMouseOver="over(8)">Home<\/a> | ' +
  '<a href="' + webbase + '\/about.php" onMouseOver="over(0)">About <i>A+</i><\/a> | ' +
  '<a href="' + webbase + '\/activity.php" onMouseOver="over(1)">Activity Events<\/a> | ' +
  '<a href="' + webbase + '\/testimonials.php" onMouseOver="over(2)">Testimonials<\/a> | ' +
  '<a href="' + webbase + '\/volunteers.php"  onMouseOver="over(3)">Volunteers<\/a> | '+
  '<a href="' + webbase + '\/news.php" onMouseOver="over(4)">Latest News<\/a> | '+
  '<a href="' + webbase + '\/help.php" onMouseOver="over(5)">How to help<\/a> | '+
  '<a href="' + webbase + '\/links.php" onMouseOver="over(7)">Links<\/a>');

}
