var countries = new Array();
countries["kontinent_1"] = new Array();
countries["kontinent_1"][0] = new Array();
countries["kontinent_1"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=1";
countries["kontinent_1"][0]["name"] = "Überblick";
countries["kontinent_1"][1] = new Array();
countries["kontinent_1"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=1&land=France";
countries["kontinent_1"][1]["name"] = "Frankreich";
countries["kontinent_1"][2] = new Array();
countries["kontinent_1"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=1&land=Greece";
countries["kontinent_1"][2]["name"] = "Griechenland";
countries["kontinent_1"][3] = new Array();
countries["kontinent_1"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=1&land=Portugal";
countries["kontinent_1"][3]["name"] = "Portugal";
countries["kontinent_1"][4] = new Array();
countries["kontinent_1"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=1&land=Romania";
countries["kontinent_1"][4]["name"] = "Rumänien";
countries["kontinent_1"][5] = new Array();
countries["kontinent_1"][5]["link"] = "../dossier/find_trips.php?p=1&kontinent=1&land=Spain";
countries["kontinent_1"][5]["name"] = "Spanien";
countries["kontinent_2"] = new Array();
countries["kontinent_2"][0] = new Array();
countries["kontinent_2"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=2";
countries["kontinent_2"][0]["name"] = "Überblick";
countries["kontinent_2"][1] = new Array();
countries["kontinent_2"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Ethiopia";
countries["kontinent_2"][1]["name"] = "Äthiopien";
countries["kontinent_2"][2] = new Array();
countries["kontinent_2"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Benin";
countries["kontinent_2"][2]["name"] = "Benin";
countries["kontinent_2"][3] = new Array();
countries["kontinent_2"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Botswana";
countries["kontinent_2"][3]["name"] = "Botswana";
countries["kontinent_2"][4] = new Array();
countries["kontinent_2"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Burkina Faso";
countries["kontinent_2"][4]["name"] = "Burkina Faso";
countries["kontinent_2"][5] = new Array();
countries["kontinent_2"][5]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Kenya";
countries["kontinent_2"][5]["name"] = "Kenia";
countries["kontinent_2"][6] = new Array();
countries["kontinent_2"][6]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Madagascar";
countries["kontinent_2"][6]["name"] = "Madagaskar";
countries["kontinent_2"][7] = new Array();
countries["kontinent_2"][7]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Namibia";
countries["kontinent_2"][7]["name"] = "Namibia";
countries["kontinent_2"][8] = new Array();
countries["kontinent_2"][8]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=South Africa";
countries["kontinent_2"][8]["name"] = "Südliches Afrika";
countries["kontinent_2"][9] = new Array();
countries["kontinent_2"][9]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Swaziland";
countries["kontinent_2"][9]["name"] = "Swaziland";
countries["kontinent_2"][10] = new Array();
countries["kontinent_2"][10]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Tanzania";
countries["kontinent_2"][10]["name"] = "Tansania";
countries["kontinent_2"][11] = new Array();
countries["kontinent_2"][11]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Togo";
countries["kontinent_2"][11]["name"] = "Togo";
countries["kontinent_2"][12] = new Array();
countries["kontinent_2"][12]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Uganda";
countries["kontinent_2"][12]["name"] = "Uganda";
countries["kontinent_2"][13] = new Array();
countries["kontinent_2"][13]["link"] = "../dossier/find_trips.php?p=1&kontinent=2&land=Zambia";
countries["kontinent_2"][13]["name"] = "Zambia";
countries["kontinent_3"] = new Array();
countries["kontinent_3"][0] = new Array();
countries["kontinent_3"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=3";
countries["kontinent_3"][0]["name"] = "Überblick";
countries["kontinent_3"][1] = new Array();
countries["kontinent_3"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=3&land=Egypt";
countries["kontinent_3"][1]["name"] = "Ägypten";
countries["kontinent_3"][2] = new Array();
countries["kontinent_3"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=3&land=Jordan";
countries["kontinent_3"][2]["name"] = "Jordanien";
countries["kontinent_3"][3] = new Array();
countries["kontinent_3"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=3&land=Morocco";
countries["kontinent_3"][3]["name"] = "Marokko";
countries["kontinent_3"][4] = new Array();
countries["kontinent_3"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=3&land=Syria";
countries["kontinent_3"][4]["name"] = "Syrien";
countries["kontinent_4"] = new Array();
countries["kontinent_4"][0] = new Array();
countries["kontinent_4"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=4";
countries["kontinent_4"][0]["name"] = "Überblick";
countries["kontinent_4"][1] = new Array();
countries["kontinent_4"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=China";
countries["kontinent_4"][1]["name"] = "China";
countries["kontinent_4"][2] = new Array();
countries["kontinent_4"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=India";
countries["kontinent_4"][2]["name"] = "Indien";
countries["kontinent_4"][3] = new Array();
countries["kontinent_4"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Japan";
countries["kontinent_4"][3]["name"] = "Japan";
countries["kontinent_4"][4] = new Array();
countries["kontinent_4"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Cambodia";
countries["kontinent_4"][4]["name"] = "Kambodscha";
countries["kontinent_4"][5] = new Array();
countries["kontinent_4"][5]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Laos";
countries["kontinent_4"][5]["name"] = "Laos";
countries["kontinent_4"][6] = new Array();
countries["kontinent_4"][6]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Malaysia";
countries["kontinent_4"][6]["name"] = "Malaysia";
countries["kontinent_4"][7] = new Array();
countries["kontinent_4"][7]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Maldives";
countries["kontinent_4"][7]["name"] = "Malediven";
countries["kontinent_4"][8] = new Array();
countries["kontinent_4"][8]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Mongolia";
countries["kontinent_4"][8]["name"] = "Mongolei";
countries["kontinent_4"][9] = new Array();
countries["kontinent_4"][9]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Nepal";
countries["kontinent_4"][9]["name"] = "Nepal";
countries["kontinent_4"][10] = new Array();
countries["kontinent_4"][10]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Papua New Guinea";
countries["kontinent_4"][10]["name"] = "Papua Neuguinea";
countries["kontinent_4"][11] = new Array();
countries["kontinent_4"][11]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Russia";
countries["kontinent_4"][11]["name"] = "Russische Föderation";
countries["kontinent_4"][12] = new Array();
countries["kontinent_4"][12]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Sri Lanka";
countries["kontinent_4"][12]["name"] = "Sri Lanka";
countries["kontinent_4"][13] = new Array();
countries["kontinent_4"][13]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Thailand";
countries["kontinent_4"][13]["name"] = "Thailand";
countries["kontinent_4"][14] = new Array();
countries["kontinent_4"][14]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Tibet";
countries["kontinent_4"][14]["name"] = "Tibet";
countries["kontinent_4"][15] = new Array();
countries["kontinent_4"][15]["link"] = "../dossier/find_trips.php?p=1&kontinent=4&land=Vietnam";
countries["kontinent_4"][15]["name"] = "Vietnam";
countries["kontinent_5"] = new Array();
countries["kontinent_5"][0] = new Array();
countries["kontinent_5"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=5";
countries["kontinent_5"][0]["name"] = "Überblick";
countries["kontinent_5"][1] = new Array();
countries["kontinent_5"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Argentina";
countries["kontinent_5"][1]["name"] = "Argentinien";
countries["kontinent_5"][2] = new Array();
countries["kontinent_5"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Bolivia";
countries["kontinent_5"][2]["name"] = "Bolivien";
countries["kontinent_5"][3] = new Array();
countries["kontinent_5"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Brazil";
countries["kontinent_5"][3]["name"] = "Brasilien";
countries["kontinent_5"][4] = new Array();
countries["kontinent_5"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Chile";
countries["kontinent_5"][4]["name"] = "Chile";
countries["kontinent_5"][5] = new Array();
countries["kontinent_5"][5]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Ecuador";
countries["kontinent_5"][5]["name"] = "Ecuador";
countries["kontinent_5"][6] = new Array();
countries["kontinent_5"][6]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Galapagos";
countries["kontinent_5"][6]["name"] = "Galapagos";
countries["kontinent_5"][7] = new Array();
countries["kontinent_5"][7]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Guyana";
countries["kontinent_5"][7]["name"] = "Guyana";
countries["kontinent_5"][8] = new Array();
countries["kontinent_5"][8]["link"] = "../dossier/find_trips.php?p=1&kontinent=5&land=Peru";
countries["kontinent_5"][8]["name"] = "Peru";
countries["kontinent_6"] = new Array();
countries["kontinent_6"][0] = new Array();
countries["kontinent_6"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=6";
countries["kontinent_6"][0]["name"] = "Überblick";
countries["kontinent_6"][1] = new Array();
countries["kontinent_6"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Costa Rica";
countries["kontinent_6"][1]["name"] = "Costa Rica";
countries["kontinent_6"][2] = new Array();
countries["kontinent_6"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Dominican Republic";
countries["kontinent_6"][2]["name"] = "Dominikanische Republik";
countries["kontinent_6"][3] = new Array();
countries["kontinent_6"][3]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Guatemala";
countries["kontinent_6"][3]["name"] = "Guatemala";
countries["kontinent_6"][4] = new Array();
countries["kontinent_6"][4]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Honduras";
countries["kontinent_6"][4]["name"] = "Honduras";
countries["kontinent_6"][5] = new Array();
countries["kontinent_6"][5]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Jamaica";
countries["kontinent_6"][5]["name"] = "Jamaika";
countries["kontinent_6"][6] = new Array();
countries["kontinent_6"][6]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Cuba";
countries["kontinent_6"][6]["name"] = "Kuba";
countries["kontinent_6"][7] = new Array();
countries["kontinent_6"][7]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Mexico";
countries["kontinent_6"][7]["name"] = "Mexiko";
countries["kontinent_6"][8] = new Array();
countries["kontinent_6"][8]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Nicaragua";
countries["kontinent_6"][8]["name"] = "Nicaragua";
countries["kontinent_6"][9] = new Array();
countries["kontinent_6"][9]["link"] = "../dossier/find_trips.php?p=1&kontinent=6&land=Panama";
countries["kontinent_6"][9]["name"] = "Panama";
countries["kontinent_7"] = new Array();
countries["kontinent_7"][0] = new Array();
countries["kontinent_7"][0]["link"] = "../dossier/find_trips.php?p=1&kontinent=7";
countries["kontinent_7"][0]["name"] = "Überblick";
countries["kontinent_7"][1] = new Array();
countries["kontinent_7"][1]["link"] = "../dossier/find_trips.php?p=1&kontinent=7&land=Dominican Republic";
countries["kontinent_7"][1]["name"] = "Dominikanische Republik";
countries["kontinent_7"][2] = new Array();
countries["kontinent_7"][2]["link"] = "../dossier/find_trips.php?p=1&kontinent=7&land=Jamaica";
countries["kontinent_7"][2]["name"] = "Jamaika";

function changeLocation() {
while (document.forms["reisefinder"].elements["land"].options.length != 0)
document.forms["reisefinder"].elements["land"].options[0]=null;

var nLoc = "kontinent_"+document.forms["reisefinder"].elements["kontinent"].value;
var nop = null;
document.forms["reisefinder"].elements["land"].options[document.forms["reisefinder"].elements["land"].options.length]=nop;

if ( countries[nLoc] ) {
var i=0;
while (i!=countries[nLoc].length) {
var nop = new Option(countries[nLoc][i]["name"], countries[nLoc][i]["link"]);
document.forms["reisefinder"].elements["land"].options[document.forms["reisefinder"].elements["land"].options.length]=nop;
i++;
}
}
}

function MM_jumpMenuGo(objId,targ,restore){ //v9.0
var selObj = null;  with (document) { 
if (getElementById) selObj = getElementById(objId);
if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0; }
}

function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
var ok=false; document.MM_returnValue = false;
with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
ok=(plugins && plugins[plgIn]);
} else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
else ok=autoGo; }
if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' muss eine E-Mail-Adresse enthalten.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' muss eine Zahl enthalten.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' muss eine Zahl zwischen  '+min+' und '+max+' enthalten.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' muss angegeben werden.\n'; }
} if (errors) alert('Folgende Fehler sind aufgetreten:\n'+errors);
document.MM_returnValue = (errors == '');
} }

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

