//Script del menú de Airport Guides


         var RegionsDashes = "------------------------"

         var CountriesDashes = "------------------------"

         var DefaultLink = "index.htm"

         Airports = new Object()
 
         AirLinks = new Object()

         

         // CONFIGURATION STARTS HERE

        GCountries = new Array(
		"Antigua y Barbados",
		"Alemania",
		"Argentina",
 		"Arabia Saudí",
 		"Australia",
 		"Austria",
		"Bahamas",
 		"Bélgica",
 		"Brasil",
 		"Canadá",
		"Chile",
 		"China",
 		"Corea del Sur",
		"Cuba",
 		"Dinamarca",
 		"EAU",
		"Ecuador ",
 		"EEUU",
 		"España",
 		"Filipinas",
 		"Finlandia",
 		"Francia",
		"Granada",
 		"India",
 		"Irlanda",
 		"Italia",
 		"Japón",
 		"Malaysia",
		"Malta",
 		"México",
 		"Noruega",
 		"Nueva Zelanda",
 		"Países Bajos",
		"Panama",
		"Perú",
		"Polonia",
 		"Portugal",
 		"Reino Unido",
		"República Checa",
 		"Rusia",
 		"Singapur",
 		"Sudáfrica",
 		"Suecia",
 		"Suiza",
		"Sta Lucia",
 		"Tailandia",
 		"Taiwan",
		"Trinidad y Tobaggo",
 		"Turquía");
		 
 		Airports["Antigua y Barbados"] = new Array(
				 "Aeropuerto Int Grantley Adams",
         "Aeropuerto Int V.C. Bird."); 

        AirLinks["Antigua y Barbados"] = new Array(   
			"bgi.htm",		
		 "anu.htm");


 		Airports["Polonia"] = new Array(
         "Aeropuerto Frederic Chopin (Varsovia) "); 

        AirLinks["Sta Lucia"] = new Array(   
		 "waw.htm");
				

 		Airports["Sta Lucia"] = new Array(
         "Aeropuerto Int Hewanorra"); 

        AirLinks["Sta Lucia"] = new Array(   
		 "uvf.htm");
				

 		Airports["Ecuador"] = new Array(
         "Aeropuerto Int Mariscal Sucre"); 

        AirLinks["Ecuador"] = new Array(   
		 "uio.htm");
				

 		Airports["Trinidad y Tobaggo"] = new Array(
         "Aeropuerto Int Crown Point"); 

        AirLinks["Trinidad y Tobaggo"] = new Array(   
		 "tab.htm");
				

 		Airports["Panama"] = new Array(
         "Aeropuerto Int de Tocumen"); 

        AirLinks["Panama"] = new Array(   
		 "pty.htm");
				

 		Airports["Chile"] = new Array(
         "Aeropuerto Int Arturo Merino Benítez"); 

        AirLinks["Chile"] = new Array(   
		 "scl.htm");
				

 		Airports["República Checa"] = new Array(
         "Aeropuerto de Praga Ruzyne"); 

        AirLinks["República Checa"] = new Array(   
		 "prg.htm");
				

 		Airports["Argentina"] = new Array(
         "Aeropuerto Int Ezeiza, Ministro Pistarini"); 

        AirLinks["Argentina"] = new Array(   
		 "eze.htm");
				
	
 		Airports["Malta"] = new Array(
         "Aeropuerto Int de Malta"); 

					AirLinks["Malta"] = new Array(   
		 "mla.htm");
				
		
 		Airports["Bahamas"] = new Array(
         "Aeropuerto Int de Nassau"); 

        AirLinks["Bahamas"] = new Array(   
		 "nas.htm");
				
		
 		Airports["Perú"] = new Array(
         "Aeropuerto Int de Lima-Callao, Jorge Chávez"); 

        AirLinks["Perú"] = new Array(   
		 "lim.htm");


 		Airports["Cuba"] = new Array(
         "Aeropuerto Int José Martí"); 

        AirLinks["Cuba"] = new Array(   
		 "hva.htm");


 		Airports["Granada"] = new Array(
         "Aeropuerto Int Point Salines"); 

        AirLinks["Granada"] = new Array(   
		 "gps.htm");


		Airports["Australia"] = new Array(
         "Aeropuerto Int de Brisbane",
         "Aeropuerto de Melbourne Tullamarine",
				 "Aeropuerto de Sydney"); 

        AirLinks["Australia"] = new Array(
		 "bne.htm",         
		 "mel.htm",
		 "syd.htm");



		Airports["Austria"] = new Array(
         "Aeropuerto Int de Viena")    

        AirLinks["Austria"] = new Array(
		 "vie.htm");

		
		
		Airports["Bélgica"] = new Array(
         "Aeropuerto de Bruselas")    

        AirLinks["Bélgica"] = new Array(
		 "bru.htm");



		Airports["Brasil"] = new Array(
				 "Aeropuerto Int de Brasilia- Presidente Juscelino Kubitschek",
         "Aeropuerto Int de Rio de Janeiro",
         "Aeropuerto Int de Sao Paulo"); 

        AirLinks["Brasil"] = new Array(
		 "bra.htm",
		 "gig.htm",         
		 "gru.htm");



		Airports["Canadá"] = new Array(
         "Aeropuerto Int de Montreal Dorval",
	 "Aeropuerto Int de Toronto",
	 "Aeropuerto Int de Vancouver"); 

        AirLinks["Canadá"] = new Array(
		 "yul.htm",
		 "yyz.htm",
		 "yvr.htm");



		Airports["China"] = new Array(
         "Aeropuerto de Pekín Capital",
         "Aeropuerto Int de Hong Kong",
         "Aeropuerto de Shanghai Hongqiao",
         "Aeropuerto Int de Shanghai Pudong"); 

        AirLinks["China"] = new Array(
		 "pek.htm",
		 "hkg.htm",         
		 "sha.htm",
		 "pvg.htm");

		Airports["Dinamarca"] = new Array(
         "Aeropuerto de Copenhague"); 

        AirLinks["Dinamarca"] = new Array(
		 "cph.htm");
		 

		Airports["Finlandia"] = new Array(
         "Aeropuerto de Helsinki-Vantaa"); 

        AirLinks["Finlandia"] = new Array(
		 "hel.htm");



		Airports["Francia"] = new Array(
					"Aeropuerto de Burdeos",
					"Aeropuerto de Lyon-Saint Exupéry",
          "Aeropuerto de Niza Cote D'Azur",
         "Aeropuerto de Paris Charles De Gaulle",
         "Aeropuerto de Paris Orly",
				 "Aeropuerto Int de Estrasburgo",
				 "Aeropuerto de Toulouse-Blagnac "); 

        AirLinks["Francia"] = new Array(
		  "bod.htm",
			"lys.htm",
		 "nce.htm",
		 "cdg.htm",
		 "ory.htm",
		 "sxb.htm",
		 "tls.htm");



		Airports["Alemania"] = new Array(
         "Aeropuerto de Berlin Tegel",
         "Aeropuerto de Colonia-Bonn Adenauer",
         "Aeropuerto Int de Düsseldorf",
         "Aeropuerto de Francfort",
	 "Aueropuerto de Hamburgo",
	 "Aeropuerto de Hannover",
         "Aeropuerto Int de Munich"); 

        AirLinks["Alemania"] = new Array(
		 "txl.htm",
		 "cgn.htm",
		 "dus.htm",
		 "fra.htm",
		 "ham.htm",
		 "haj.htm",
		 "muc.htm");


		Airports["India"] = new Array(
         "Aeropuerto Int Indira Gandhi")    

        AirLinks["India"] = new Array(
		 "del.htm");


		Airports["Irlanda"] = new Array(
         "Aeropuerto de Dublin",
				 "Aeropuerto de Shannon")    

        AirLinks["Irlanda"] = new Array(
		 "dub.htm",
		 "snn.htm");


		Airports["Italia"] = new Array(
				 "Aeropuerto de Bolonia G Marconi",
         "Aeropuerto de Roma Fiumicino",
         "Aeropuerto de Milán Linate",
         "Aeropuerto Int de Milán Malpensa",
				 "Aeropuerto Int de Nápoles",
				 "Aeropuerto Int Galileo Galilei",
				 "Aeropuerto de Venecia-Marco Polo")    

        AirLinks["Italia"] = new Array(
		 "blq.htm",
		 "fco.htm",
		 "lin.htm",
		 "mxp.htm",
		 "nap.htm",
		 "psa.htm",
		 "vce.htm");


		Airports["Japón"] = new Array(
         "Aeropuerto de Osaka Kansai",
         "Aeropuerto de Tokio Narita")    

        AirLinks["Japón"] = new Array(
		 "kix.htm",
		 "nrt.htm");


		Airports["Malaysia"] = new Array(
         "Aeropuerto Int de Kuala Lumpur")    

        AirLinks["Malaysia"] = new Array(
		 "kul.htm");



		Airports["México"] = new Array(
				"Aeropuerto Int de la Ciudad de Monterrey",
				"Aeropuerto Int Miguel Hidalgo y Costilla",
         "Aeropuerto Int de México DF")    

        AirLinks["México"] = new Array(
		  "mty.htm",
		 "gdl.htm",
		 "mex.htm");


		Airports["Países Bajos"] = new Array(
         "Aeropuerto de Amsterdam Schipol",
				 "Aeropuerto de Rotterdam")    

        AirLinks["Países Bajos"] = new Array(
		 "ams.htm",
		 "rtm.htm");



		Airports["Nueva Zelanda"] = new Array(
         "Aeropuerto Int de Auckland")    

        AirLinks["Nueva Zelanda"] = new Array(
		 "akl.htm");



		Airports["Noruega"] = new Array(
         "Aeropuerto de Oslo")    

        AirLinks["Noruega"] = new Array(
		 "osl.htm");


		Airports["Filipinas"] = new Array(
         "Aeropuerto Int de Manila")    

        AirLinks["Filipinas"] = new Array(
		 "mnl.htm");
		 

		Airports["Portugal"] = new Array(
				  "Aeropuerto de Faro",
         "Aeropuerto Int de Lisboa")    

        AirLinks["Portugal"] = new Array(
		 "fao.htm",
		 "lis.htm");



		Airports["Rusia"] = new Array(
				 "Aeropuerto de Pulkovo, San Petersburgo",
         "Aeropuerto Int de Moscú")    

        AirLinks["Rusia"] = new Array(
		 "led.htm",
		 "svo.htm");



		Airports["Arabia Saudí"] = new Array(
         "Aeropuerto Int de Riad")    

        AirLinks["Arabia Saudí"] = new Array(
		 "ruh.htm");



		Airports["Singapur"] = new Array(
         "Aeropuerto de Singapur Changi")    

        AirLinks["Singapur"] = new Array(
		 "sin.htm");



		Airports["Sudáfrica"] = new Array(
         "Aeropuerto Int de Johannesburgo")    

        AirLinks["Sudáfrica"] = new Array(
		 "jnb.htm");

		Airports["Corea del Sur"] = new Array(
			"Aeropuerto Int Incheon",
		 "Aeropuerto Int de Kimhae",
         "Aeropuerto Int de Seúl Kimpo")    

        AirLinks["Corea del Sur"] = new Array(
		  "icn.htm",
		 "pus.htm",
		 "sel.htm");



		Airports["España"] = new Array(
         "Aeropuerto Int de Alicante",
         "Aeropuerto de Barcelona El Prat",
         "Aeropuerto de Gran Canaria",
         "Aeropuerto Int de Ibiza",
         "Aeropuerto de Lanzarote",
         "Aeropuerto de Madrid Barajas",
         "Aeropuerto de Málaga",
         "Aeropuerto de Palma de Mallorca",
         "Aeropuerto Int de Tenerife Sur-Reina Sofía"); 

        AirLinks["España"] = new Array(
		 "alc.htm",
		 "bcn.htm",
		 "lpa.htm",
		 "ibz.htm",
		 "ace.htm",
		 "mad.htm",
		 "agp.htm",
		 "pmi.htm",
		 "tfs.htm");
		 

		Airports["Suecia"] = new Array(
         "Aeropuerto de Estocolmo Arlanda")    

        AirLinks["Suecia"] = new Array(
		 "arn.htm");



		Airports["Suiza"] = new Array(
		"Aeropuerto Int de Ginebra",
         	"Aeropuerto de Zurich")

        AirLinks["Suiza"] = new Array(
		 "gva.htm",
		 "zrh.htm");



		Airports["Taiwan"] = new Array(
         "Aeropuerto Int de Taipei")

        AirLinks["Taiwan"] = new Array(
		 "tpe.htm");



		Airports["Tailandia"] = new Array(
         "Aeropuerto Int de Bangkok")    

        AirLinks["Tailandia"] = new Array(
		 "bkk.htm");


		Airports["Turquía"] = new Array(
         "Aeropuerto Int de Estambul Atatürk")    

        AirLinks["Turquía"] = new Array(
		 "ist.htm");
		 
		 
		
		Airports["EAU"] = new Array(
         "Aeropuerto Int de Dubai")    

        AirLinks["EAU"] = new Array(
		 "dxb.htm");


		Airports["Reino Unido"] = new Array(
					"Aeropuerto de Aberdeen",
					"Aeropuerto Int de Belfast",
					"Aeropuerto Int de Birmingham",
					"Aeropuerto de Coventry",
					"Aeropuerto de East Midlands",
         "Aeropuerto Int de Edimburgo",
         "Aeropuerto de Glasgow",
				 "Aeropuerto de Inverness",
         "Aeropuerto Int de Leeds-Bradford",
         "Aeropuerto de Londres City",
         "Aeropuerto de Londres Gatwick",
         "Aeropuerto de Londres Heathrow",
         "Aeropuerto de Londres Luton",
         "Aeropuerto de Londres Stansted",
         "Aeropuerto de Manchester",
				 "Aeropuerto de Newcastle",
				 "Aeropuerto Int de Norwich",
				 "Aeropuerto Int de Southampton")

        AirLinks["Reino Unido"] = new Array(
			"abz.htm",
			"bfs.htm",
			"bhx.htm",
			"cvt.htm",
			"ema.htm",
		 "edi.htm",
		 "gla.htm",
		 "inv.htm",
		 "lba.htm",
		 "lcy.htm",
		 "lgw.htm",
		 "lhr.htm",
		 "ltn.htm",
		 "stn.htm",
		 "man.htm",
		 "ncl.htm",
		 "nwi.htm",
		 "sou.htm")



		Airports["EEUU"] = new Array(
         "Aeropuerto Int de Atlanta Hartsfield",
         "Aeropuerto Int de Baltimore Washington",
         "Aeropuerto Int de Boston Logan",
         "Aeropuerto Int de Charlotte/Douglas",
         "Aeropuerto Int de Chicago O'Hare",
         "Aeropuerto Int de Cincinnati Northern Kentucky",
         "Aeropuerto Int de Cleveland Hopkins",
         "Aeropuerto Int de Dallas Fort Worth",
         "Aeropuerto Int de Denver",
         "Aeropuerto de Detroit Metropolitan",
         "Aeropuerto Int de Filadelfia",
         "Aeropuerto Int de Fort Lauderdale Hollywood",
         "Aeropuerto Int de Honolulú",
         "Aeropuerto de Houston George Bush",
         "Aeropuerto de Houston William P. Hobby",
         "Aeropuerto Int de Jacksonville",
         "Aeropuerto Int de Kansas City",
         "Aeropuerto Int de Las Vegas McCarran",
         "Aeropuerto Int de Los Angeles",
         "Aeropuerto Int de Memphis",
         "Aeropuerto Int de Miami",
         "Aeropuerto Int de Minneapolis-St Paul",
         "Aeropuerto Int de Nueva Orleans",
         "Aeropuerto de Nueva York JFK",
         "Aeropuerto de Nueva York LaGuardia",
         "Aeropuerto Int de Newark",
         "Aeropuerto Int de Oakland",
         "Aeropuerto Int de Orlando",
         "Aeropuerto Int de Phoenix Sky Harbor",
         "Aeropuerto Int de Pittsburgh",
         "Aeropuerto Int de Portland",
         "Aeropuerto Int de Salt Lake City",
         "Aeropuerto Int de San Diego",
         "Aeropuerto Int de San Francisco",
         "Aeropuerto Int de San Jose",
         "Aeropuerto Int de Seattle-Tacoma",
         "Aeropuerto Int de San Luis Lambert",
         "Aeropuerto Int de Tampa",
         "Aeropuerto Int de Washington Dulles",
         "Aeropuerto de Washington Ronald Reagan")      

        AirLinks["EEUU"] = new Array(
		 "atl.htm",
		 "bwi.htm",
		 "bos.htm",
		 "clt.htm",
		 "ord.htm",
		 "cvg.htm",
		 "cle.htm",
		 "dfw.htm",
		 "den.htm",
		 "dtw.htm",
		 "phl.htm",
		 "fll.htm",
		 "hnl.htm",
		 "iah.htm",
		 "hou.htm",
		 "jax.htm",
		 "mci.htm",
		 "las.htm",
		 "lax.htm",
		 "mem.htm",
		 "mia.htm",
		 "msp.htm",
		 "msy.htm",
		 "jfk.htm",
		 "lga.htm",
		 "ewr.htm",
		 "oak.htm",
		 "mco.htm",
		 "phx.htm",
		 "pit.htm",
		 "pdx.htm",
		 "slc.htm",
		 "san.htm",
		 "sfo.htm",
		 "sjc.htm",
		 "sea.htm",
		 "stl.htm",
		 "tpa.htm",
		 "iad.htm",
		 "dca.htm")


         // CONFIGURATION ENDS HERE

         initializeForm()

         function initializeForm () {

                // Fill up initial option values

                document.guides.GCountry.length = 0;

//                GCountries[GCountries.length] = RegionsDashes;

                document.guides.GCountry.options[0] = new Option(GCountries[0],"",1,1);

                for(count = 1; count < GCountries.length; count++) {

                        document.guides.GCountry.options[count] = new Option(GCountries[count], "")

                }

         fillAirports()

         }

         

         function fillAirports()

         {

                document.guides.airport.length = 0;

                reg = new String(GCountries[document.guides.GCountry.selectedIndex])

                if (document.guides.GCountry.options[document.guides.GCountry.selectedIndex].text == RegionsDashes) {

                        document.guides.GCountry.selectedIndex = document.guides.GCountry.selectedIndex - 1

                        reg = new String(Regions[document.jump.region.selectedIndex])

                }

                document.guides.airport.options[0] = new Option(Airports[reg][0],AirLinks[reg][0],1,1);

                for(count = 1; count < AirLinks[reg].length; count ++)

                document.guides.airport.options[count] = new Option(Airports[reg][count],AirLinks[reg][count]);

                document.guides.airport.options[document.guides.airport.options.length] = new Option(CountriesDashes,DefaultLink);

         }

         function checkAirport() {

                if (document.guides.airport.options[document.guides.airport.selectedIndex].text == CountriesDashes)

                        document.guides.airport.selectedIndex = document.guides.airport.selectedIndex - 1

         }

