
function CreateWindow() {
window.open("/europe/select.html","select","toolbar=no,width=346,height=400,directories=no,location=no,status=no,scrollbars=yes,resize=no,menubar=no");
}

function infoWindow(dest) {
  dest = "../ports/" + dest;
//alert("dest: " + dest);
window.open(dest,'info','toolbar=no,width=350,height=400,directories=no,location=no,status=no,scrollbars=yes,resize=no,menubar=no');
}

function jumpLink(formname) {

  newLink = eval("document." + formname + ".menu.options[document." + formname + ".menu.selectedIndex].value");
//alert(newLink);

  if (newLink != "") {
	foundTarg = 0;
	if (newLink.indexOf("map.html") != -1) { window.open('/europe/map.html','map','toolbar=no,width=500,height=395,directories=no,location=no,status=no,scrollbars=no,resize=no,menubar=no'); foundTarg = 1; }

	if (newLink.indexOf("airfare/") != -1) { window.open('/airfare/','Airfare'); foundTarg = 1; }

	if (newLink.indexOf("suggestions/") != -1) { window.open('/suggestions/index.html','suggestions','toolbar=no,width=352,height=380,directories=no,location=no,status=no,scrollbars=yes,resize=no,menubar=no'); foundTarg = 1; }

	if (newLink.indexOf("contact.html") != -1) { window.open('/contact.html','contact','toolbar=no,width=346,height=450,directories=no,location=no,status=no,scrollbars=no,resize=no,menubar=no'); foundTarg = 1; }

	if (newLink.indexOf("select.html") != -1) { window.open('/europe/select.html','select','toolbar=no,width=350,height=380,directories=no,location=no,status=no,scrollbars=yes,resize=no,menubar=no'); foundTarg = 1; }

	if (foundTarg == 0) parent.location = newLink;
  }

//  else { document.form1.menu.selectedIndex = 0; }
  else { eval("document." + formname + ".menu.selectedIndex = 0"); }

}

  browserName = navigator.appName;
  browserVer = parseInt(navigator.appVersion);
  if (browserName == "Netscape" && browserVer >= 3) version = "n3";
  else version = "n2";
  if (version == "n2" && browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "n3";
  if (version == "n3") {
	b1on = new Image(96, 18);
	b1on.src = "../pics/buttons/b1_on.gif";
	b2on = new Image(96, 18);
	b2on.src = "../pics/buttons/b2_on.gif";
	b3on = new Image(96, 18);
	b3on.src = "../pics/buttons/b3_on.gif";
	b4on = new Image(94, 18);
	b4on.src = "../pics/buttons/b4_on.gif";
	b5on = new Image(96, 16);
	b5on.src = "../pics/buttons/b5_on.gif";
	b6on = new Image(192, 16);
	b6on.src = "../pics/buttons/b6_on.gif";
	b7on = new Image(94, 16);
	b7on.src = "../pics/buttons/b7_on.gif";

	b1off = new Image(96, 18);
	b1off.src = "../pics/buttons/b1_off.gif";
	b2off = new Image(96, 18);
	b2off.src = "../pics/buttons/b2_off.gif";
	b3off = new Image(96, 18);
	b3off.src = "../pics/buttons/b3_off.gif";
	b4off = new Image(94, 18);
	b4off.src = "../pics/buttons/b4_off.gif";
	b5off = new Image(96, 16);
	b5off.src = "../pics/buttons/b5_off.gif";
	b6off = new Image(192, 16);
	b6off.src = "../pics/buttons/b6_off.gif";
	b7off = new Image(94, 16);
	b7off.src = "../pics/buttons/b7_off.gif";
	}
  function img_act(imgName) {
	if (version == "n3") {
	imgOn = eval(imgName + "on.src");
	document[imgName].src = imgOn;
	}
  }

  function img_inact(imgName) {
	if (version == "n3") {
	imgOff = eval(imgName + "off.src");
	document[imgName].src = imgOff;
	}
  }

function message(txt) { window.status = txt; }
function remove_message() { window.status = ""; }
