// 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("Select a Page",
	"Portal",
	"België",
	"Belgique",
	"Danmark",
	"Deutschland",
	"España",
	"France",
	"Italia",
	"Nederland",
	"Norge",
	"Österreich",
	"Polska",
	"Portugal",
	"Schweiz",
	"Suomi",
	"Sverige",
	"Turkiye",
	"United Kingdom",
	"USA");

// This array hold the URLs of the pages.

var urls = new makeArray("",
	"../../index.html",
	"../belgie/index.html",
	"../belgique/index.html",
	"../danmark/index.html",
	"../deutschland/index.html",
	"../espana/index.html",
	"../france/index.html",
	"../italia/index.html",
	"../nederland/index.html",
	"../norge/index.html",
	"../oesterreich/index.html",
	"../polska/index.html",
	"../portugal/index.html",
	"../schweiz/index.html",
	"../suomi/index.html",
	"../sverige/index.html",
	"../turkiye/index.html",
	"../uk/index.html",
	"../usa/index.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];  
    }
}
