 var RegionsDashes = "------------------------"
         var CountriesDashes = "------------------------"
         var DefaultLink = "europe.html#portugal"
         Countries = new Object()
         Links = new Object()
         

         // CONFIGURATION STARTS HERE
         Regions = new Array("Europe", "Africa","Americas", "Asia", "Australasia+Pacific", "Middle East", "Antarctic Region")


         Countries["Europe"] = new Array(
         "Albania",
         "Andorra", 
         "Aragon",
         "Armenia",
         "Asturias", 
         "Austria",
         "Azerbaijan", 
         "Azores",
         "Balearics",
         "Belarus", 
         "Belgium", 
         "Bosnia-Hercegovina",
         "Brittany",
         "Bulgaria",
         "Catalonia",   
         "Corsica",
         "Crete",
         "Croatia",
         "Cyprus-North",
         "Cyprus-South",
         "Czech Republic",
         "Denmark", 
         "England",
         "Estonia",
         "Euskadi",
         "Faeroes",
         "Finland",
         "France",
         "Franz Josef Land",
         "Galicia",
         "Georgia",
         "Germany",
         "Gibraltar",
         "Greece", 
         "Greenland", 
         "Guernsey bailiwick",
         "Hungary",
         "Iceland",
         "Ireland",
         "Italy",
         "Jan Mayen island",
         "Jersey",
         "Kaliningrad",
         "Latvia",
         "Leon",
         "Liechtenstein",
         "Lithuania",
         "Luxembourg",
         "Macedonia",
         "Madeira",
         "Malta",
         "Man (Isle of)",
         "Moldova",
         "Monaco", 
         "Montenegro",
         "Netherlands",
         "Norway", 
         "Novaya Zemlya",
         "Orkneys",
         "Poland",
         "Portugal",
         "Romania", 
         "Russia",
         "Scotland",
         "Serbia",
         "Shetlands",
         "Sicily",
         "Slovakia", 
         "Slovenia", 
         "Spain", 
         "Svalbard",
         "Sweden",
         "Switzerland",
         "Ukraine",
         "Vatican",
         "Wales")
         
         Links["Europe"] = new Array(
         "europe.html#albania",
		 "europe.html#andorra",
         "europe.html#aragon",
         "europe.html#armenia",
         "europe.html#asturias",
         "europe.html#austria",
         "europe.html#az",
         "europe.html#raa",
         "europe.html#balearic",
         "europe.html#belarus",
         "europe.html#belgium",
         "europe.html#bosnia",
         "europe.html#britta",
         "europe.html#bulgaria",
         "europe.html#catalonia",         
         "europe.html#corsica",
         "europe.html#crete",
         "europe.html#croatia",
         "europe.html#cyprusn",
         "europe.html#cyprus",
         "europe.html#czech",
         "scandinavia.html#denmark",
         "england.html#england",
         "europe.html#estonia",
         "europe.html#euskadi",
         "europe.html#faeroe",
         "scandinavia.html#finland",
         "europe.html#france",
         "europe.html#franz-josef",
         "europe.html#galicia",
         "rusochina.html#georgia",
         "europe.html#germany",
         "europe.html#gibraltar",
         "europe.html#greece",
         "greenland.html",
         "england.html#guernsey",
         "europe.html#hungary",
         "europe.html#ice",
         "ireland.html",
         "europe.html#italy",
         "europe.html#jan-mayen",
         "england.html#jersey",
         "rusochina.html#kaliningrad",
         "worlddive.html#latvia",
         "worlddive.html#leon",
         "europe.html#liechtenstein",
         "europe.html#lithuania",
         "europe.html#luxembo",
         "europe.html#macedonia",
         "europe.html#ram",
         "europe.html#malta",
         "worlddive.html#man",
         "europe.html#moldova",
         "europe.html#monaco",
         "europe.html#montenegro",
         "europe.html#nether",
         "scandinavia.html#norway",
         "worlddive.html#novaya-zemlya",
         "scotland.html#orkney",
         "europe.html#poland",
         "europe.html#portugal",
         "europe.html#romania",
         "rusochina.html#russia",
         "scotland.html",
         "europe.html#serbia",
         "scotland.html#shetland",
         "europe.html#sicily",
         "europe.html#slovakia",
         "europe.html#slovenia",
         "europe.html#spain",
         "worlddive.html#svalbard",
         "scandinavia.html#sweden",
         "europe.html#switzerland",
         "rusochina.html#ukraine",
         "europe.html#vatican",
         "england.html#wales");


         
         Countries["Africa"] = new Array(
         "Algeria",
         "Angola",
         "Ascension island",
         "Benin",
         "Botswana",
         "Burkina Faso",
         "Burundi",
         "Cabinda",
         "Cameroon",
         "Canary islands",
         "Cape Verde",
         "Casamance",
         "Central African Republic",
         "Ceuta",
         "Chad",
         "Comoros",
         "Congo Brazzaville",
         "Congo (Dem.Rep. of)",
         "Djibouti",
         "Egypt",
         "Equatorial Guinea",
         "Eritrea",
         "Ethiopia",
         "Europa island",
         "Gabon",
         "Gambia",
         "Ghana",
         "Gough island",
         "Guinea",
         "Guinea Bissau",
         "Ivory Coast (Côte d'Ivoire)",
         "Juan de Nova",
         "Katanga",
         "Kenya",
         "Lesotho",
         "Liberia",
         "Libya",
         "Madagascar",
         "Malawi",
         "Mali",
         "Mauritania",
         "Mauritius",
         "Mayotte",
         "Morocco",
         "Mozambique",
         "Namibia",
         "Niger",
         "Nigeria",
         "Reunion",
         "Rwanda",
         "Saint Helena",
         "São Tomé and Principe",
         "Senegal",
         "Seychelles",
         "Sierra Leone",
         "Somalia",
         "Somaliland",
         "South Africa",
         "Sudan",
         "Swaziland",
         "Tanzania",
         "Togo",
         "Tristan da Cunha",
         "Tunisia",
         "Uganda",
         "Western Sahara",
"Zanzibar",
         "Zambia",
         "Zimbabwe")

         Links["Africa"] = new Array(
         "africa.html#algeria",
         "africa.html#angola",
         "africa.html#ascension",
         "africa.html#benin",
         "africa.html#botswana",
         "africa.html#burkina-faso",
         "africa.html#burundi",
         "africa.html#cabinda",
         "africa.html#cameroon",
         "africa.html#canary",
         "africa.html#capeverde",
         "africa.html#casamance",
         "africa.html#car",
         "africa.html#ceuta",
         "africa.html#chad",
         "africa.html#comoros",
         "africa.html#congo",
         "africa.html#congo-dr",
         "africa.html#djibouti",
         "egypt.html",
         "africa.html#equatorial-guinea",
         "africa.html#eritrea",
         "africa.html#ethiopia",
         "africa.html#europa-island",
         "africa.html#gabon",
         "africa.html#gambia",
         "africa.html#ghana",
         "africa.html#gough",
         "africa.html#guinea",
         "africa.html#guineabissau",
         "africa.html#ivory-coast",
         "africa.html#juan-de-nova",
         "africa.html#katanga",
         "africa.html#kenya", 
         "africa.html#lesotho",
         "africa.html#liberia",
         "africa.html#libya", 
         "africa.html#madagascar", 
         "africa.html#malawi",
         "africa.html#mali",
         "africa.html#mauritania",
         "africa.html#mauritius",
         "africa.html#mayotte",
         "africa.html#moroc",
         "africa.html#mozambique",
         "africa.html#namibia", 
         "africa.html#niger",
         "africa.html#nigeria",
         "africa.html#reunion",
         "africa.html#rwanda",
         "africa.html#saint-helena",
         "africa.html#saotome",
         "africa.html#senegal",
         "africa.html#seychelles",
         "africa.html#sierra-leone",
         "africa.html#somalia",
         "africa.html#somaliland",      
         "africa.html#safrica",
         "africa.html#sudan",
         "africa.html#swaziland",
         "africa.html#tanzania",
         "africa.html#togo",
         "africa.html#tristan-da-cunha",
         "africa.html#tunisia",
         "africa.html#uganda",
         "africa.html#western-sahara",
         "africa.html#zambia",
"africa.html#zanzibar",
         "africa.html#zimbabwe");
         
         Countries["Americas"] = new Array(
         "Alaska",
         "Anguilla",
         "Antigua and Barbuda",
         "Argentina",
         "Aruba",
         "Bahamas",
         "Barbados",
         "Belize",
         "Bermudas",
         "Bolivia",
         "Bonaire",
         "Brazil",
         "Canada",
         "Cayman islands",
         "Chile",
         "Clipperton island",
         "Colombia",
         "Costa Rica",
         "Cuba",
         "Curaçao",
         "Dominica",
         "Dominican republic",
         "Easter island",
         "Ecuador",
         "El Salvador",
         "Falkland islands",
         "Fernando Noronha",
         "French Guiana",
         "Galapagos islands",
         "Grenada",
         "Guadeloupe",
         "Guatemala",
         "Guyana",
         "Haiti",
         "Honduras",
         "Jamaica",
         "Martinique",
         "Mexico",
         "Montserrat",
         "Nicaragua",
         "Panama",
         "Paraguay",
         "Peru",
         "Puerto Rico",
         "Saba",
         "Saint Barthelemy",
         "Saint Eustatius",
         "Saint Kitts and Nevis",
         "Saint Lucia",
         "Saint Martin",
         "Saint Pierre et Miquelon",
         "Saint Vincent and the Grenadines",
         "Suriname",
         "Trindade and Martim Vaz",
         "Trinidad and Tobago",
         "Turks and Caicos",
         "USA",
         "Uruguay",
         "Venezuela",
         "Virgin islands (British)",
         "Virgin islands (US)")         
        
         Links["Americas"] = new Array(
         "alaska.html",
         "caribbean.html#anguilla",
         "caribbean.html#antigua-barbuda",
         "samerica.html#argentina",
         "samerica.html#aruba",
         "caribbean.html#bahamas",
         "caribbean.html#barbados",
         "camerica.html#belize",
         "caribbean.html#bermuda",
         "samerica.html#bolivia",
         "samerica.html#bonaire",
         "samerica.html#brazil",
         "canada.html",
         "caribbean.html#cayman",
         "samerica.html#chile",
         "samerica.html#clipperton",
         "samerica.html#colombia",
         "camerica.html#costa-rica",
         "caribbean.html#cuba",
         "caribbean.html#curacao",
         "caribbean.html#dominica",
         "caribbean.html#dominican",
         "samerica.html#easter",
         "samerica.html#ecuador",
         "camerica.html#el-salvador",
         "samerica.html#falkland",
         "samerica.html#fernando-noronha",
         "samerica.html#french-guiana",
         "samerica.html#galapagos",
         "samerica.html#grenada",
         "samerica.html#guadeloupe",
         "camerica.html#guatemala",
         "samerica.html#guyana",
         "caribbean.html#haiti",
         "camerica.html#honduras",
         "caribbean.html#jamaica",
         "caribbean.html#martinique",
         "mexico.html",
         "caribbean.html#montserrat",
         "camerica.html#nicaragua",
         "camerica.html#panama",
         "samerica.html#paraguay",
         "samerica.html#peru",
         "caribbean.html#puerto-rico",
         "caribbean.html#saba",
         "caribbean.html#saint-barthelemy",
         "caribbean.html#saint-eustatius",
         "caribbean.html#saint-kitts-nevis",
         "caribbean.html#saint-lucia",
         "worlddive1.html#saint-martin",
         "eastcan.html#saint-pierre-miquelon",
         "caribbean.html#saint-vincent-grenadines",
         "samerica.html#suriname",
         "caribbean.html#trindade",
         "caribbean.html#trinidad-tobago",
         "caribbean.html#turks-caicos",
         "usa.html",
         "samerica.html#uruguay",
         "samerica.html#venezuela",
         "caribbean.html#virgin-uk",
         "caribbean.html#virgin-us");
         
         Countries["Asia"] = new Array(
         "Afghanistan",
         "Bangladesh",
         "Bhutan",
         "Brunei",
         "Cambodia",
         "Chagos islands",
         "China",
         "Christmas island",
         "Cocos islands",
  "East Timor",
         "Hong Kong",
         "India",
         "Indonesia",
         "Japan",
         "Kazakhstan",
         "Korea (North)",
         "Korea (South)",
         "Kyrgyzstan",
         "Lakshadweep",
         "Laos",
         "Macao",
         "Malaysia",
         "Maldives",
"Micronesia (Fed States)",
"Micronesia",
         "Mongolia",
         "Myanmar (Burma)",
         "Nepal",
         "Nicobar islands",
         "Pakistan",
         "Paracel islands",
         "Philippines",
         "Sikkim",
         "Singapore",
         "Solomon Islands", 
         "Spratly Islands",
         "Sri Lanka",
         "Taiwan",
         "Tajikistan",
         "Thailand",
         "Tibet",       
         "Turkmenistan",
         "Uzbekistan",
         "Vanuatu",
"Vietnam")

         Links["Asia"] = new Array(
         "asia.html#afghanistan",
         "asia.html#bangladesh",
         "asia.html#bhutan",
         "asia.html#brunei",
         "asia.html#cambodia",
         "asia.html#chagos",
         "rusochina.html#china",
         "asia.html#christmas-island",
         "asia.html#cocos-islands",
 "asia.html#timor",
         "rusochina.html#hong-kong",
         "asia.html#india",
         "indonesia.html",
         "japan.html",
         "rusochina.html#kazakhstan",
         "asia.html#korean",
         "asia.html#koreas",
         "rusochina.html#kyrgyzstan",
         "asia.html#lakshadweep",
         "asia.html#laos",
         "asia.html#macao",
         "asia.html#malaysia",
         "asia.html#maldives",
"asia.html#fedstates",
"asia.html#micronesia",
         "asia.html#mongolia",
         "asia.html#myanmar",
         "asia.html#nepal",
         "asia.html#nicobar",
         "asia.html#pakistan",
         "asia.html#paracel",
         "philippines.html",
         "asia.html#sikkim",
         "asia.html#sing",
         "asia.html#solomon",
         "asia.html#spratly",
         "asia.html#sri-lanka",
         "asia.html#taiwan",
         "asia.html#tajikistan",
         "thailand.html",
         "asia.html#tibet",
         "asia.html#turkmenistan",
         "asia.html#uzbekistan",
         "asia.html#vanuatu",
"asia.html#vietnam");
         
         Countries["Australasia+Pacific"] = new Array(
         "Australia",
         "Bougainville",
         "Cook islands",
         "Fiji",
         "French Polynesia",
         "Guam",
         "Hawaii",
         "Indonesia",
         "Kiribati",
         "Marshall islands",
 "Micronesia (Fed States)",
         "Micronesia",
         "Midway islands",
         "Nauru",
         "New Caledonia",
         "New Zealand",
         "Niue",
         "Norfolk island",
         "Northern Mariana islands",
         "Palau",
         "Papua New Guinea",
         "Pitcairn islands",
         "Samoa",
         "Samoa (American)",
         "Solomon islands",
         "Tasmania",
         "Tokelau",
         "Tonga",
         "Tuvalu",
         "Vanuatu",
         "Wake island",
         "Wallis and Futuna",
         "West Papua (Irian Jaya)")
         
         Links["Australasia+Pacific"] = new Array(
         "australia.html",
         "asia.html#bougainville",
         "asia.html#cook",
         "fiji.html",
         "asia.html#french-polynesia",
         "asia.html#guam",
         "hawaii.html",
         "asia.html#indonesia",
         "asia.html#kiribati",
         "asia.html#marshall",
         "asia.html#fedstates",
"asia.html#micronesia",
         "asia.html#midway",
         "asia.html#nauru",
         "asia.html#new-caledonia",
         "australia.html#newzealand",
         "asia.html#niue",
         "asia.html#norfolk",
         "asia.html#northern-mariana",
         "asia.html#palau",
         "asia.html#png",
         "asia.html#pitcairn",
         "asia.html#samoa",
         "asia.html#american-samoa",
         "asia.html#solomon",
         "australia.html#tasmania",
         "asia.html#tokelau",
         "asia.html#tonga",
         "asia.html#tuvalu",
         "asia.html#vanuatu",
         "asia.html#wake",
         "asia.html#wallis-futuna",
         "asia.html#westpapua");

		 Countries["Middle East"] = new Array(
         "Bahrain",
         "Iran",
         "Iraq",
         "Israel",
         "Jordan",
         "Kuwait",
         "Lebanon",
         "Oman",
         "Palestine",
         "Qatar",
         "Saudi Arabia",
         "Syria",
         "Turkey",
         "UAE",
         "Yemen")
         
         Links["Middle East"] = new Array(
         "mideast.html#bahrain",
         "mideast.html#iran",
         "mideast.html#iraq",
         "mideast.html#israel",
         "mideast.html#jordan",
         "mideast.html#kuwait",
         "mideast.html#lebanon",
         "mideast.html#oman",
         "mideast.html#palestine",
         "mideast.html#qatar",
         "mideast.html#saudiarabia",
         "mideast.html#syria",
         "mideast.html#turkey",
         "mideast.html#uae",
         "mideast.html#yemen");         
         
         
         Countries["Antarctic Region"] = new Array(
         "Amsterdam and St Paul islands",
         "Antarctica",
         "Auckland islands",
         "Bouvet island",
         "Campbell island",
         "Crozet islands",
         "Heard and McDonald islands",
         "Kerguelen islands",
         "Macquarie islands",
         "Prince Edward islands",
         "South Georgia island",
         "South Orkney islands",
         "South Sandwich islands",
         "South Shetland islands")
         
         Links["Antarctic Region"] = new Array(
         "samerica.html#amsterdam-saint-paul",
         "samerica.html#antartica",
         "samerica.html#auckland",
         "samerica.html#bouvet",
         "samerica.html#campbell",
         "samerica.html#crozet",
         "samerica.html#heard-mcdonald",
         "samerica.html#kerguelen",
         "samerica.html#macquarie",
         "worlddive3.html#prince-edward",
         "samerica.html#south-georgia",
         "samerica.html#south-orkney",
         "samerica.html#south-sandwich",
         "samerica.html#south-shetland");
         
         // CONFIGURATION ENDS HERE


         initializeForm()
         function initializeForm () {
         	// Fill up initial option values
         	document.jump.region.length = 0;
         	Regions[Regions.length] = RegionsDashes
         	document.jump.region.options[0] = new Option(Regions[0],"",1,1)
         	for(count = 1; count < Regions.length; count++) {
         		document.jump.region.options[count] = new Option(Regions[count], "")
         	}
         fillCountry()
         }
         


         function fillCountry()
         {
         	document.jump.country.length = 0;
         	reg = new String(Regions[document.jump.region.selectedIndex])
         	if (reg == RegionsDashes) {
         		document.jump.region.selectedIndex = document.jump.region.selectedIndex - 1
         		reg = new String(Regions[document.jump.region.selectedIndex])
         	}
         	document.jump.country.options[0] = new Option(Countries[reg][0],Links[reg][0],1,1);
         	for(count = 1; count < Links[reg].length; count ++)
         	document.jump.country.options[count] = new Option(Countries[reg][count],Links[reg][count]);
         	document.jump.country.options[document.jump.country.options.length] = new Option(CountriesDashes,DefaultLink);
         }
         function checkCountry() {
         	if (document.jump.country.options[document.jump.country.selectedIndex].text == CountriesDashes)
         		document.jump.country.selectedIndex = document.jump.country.selectedIndex - 1
         }
