

// Array Function

function makeArray() {
var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
this.length = args.length;
}

// This array holds the descriptions and names of the pages.

var pages = new makeArray("Site Navigator...",
							"Home",
              "Our Systems",								
              "Lake Restorers",
						  "Eco-Restorers",
               "Reedbeds",
								"Benefits",
						   "Examples of UK Systems",
                  		       	"Links",
                  		       	"Contact Us");
                          
// This array hold the URLs of the pages.

var urls = new makeArray("",
						"index.html",
                               		 "about.html",
								"lake_restorers.html",
								"eco_restorer.html",
								"reedbeds.html",
								"benefits.html",
								"examples.html",
								"links.html",
								"contact.html");

// This function determines which page is selected and goes to it.

function goPage(form) {
i = form.menu.selectedIndex;            
    if (i != 0) {
    window.location.href = urls[i];  
    }
}