<!--
	function fBuscar() {
		var wCiudad
		var wCadena

		if (document.frmLargaD.slcPaises.value == "") {
			alert("Debe de escoger un país");
			return;
		}
		if (document.frmLargaD.slcCiudad.value == "") {
			wCiudad = ""
		}
		else {
			wCiudad = document.frmLargaD.slcCiudad.value + " + "
		}
		
		wCadena = "1901 + 00 + " + document.frmLargaD.slcPaises.value + " + " + wCiudad + "Nº telefónico"
		//document.txtCadena.innerHTML = wCadena;
		document.getElementById("txtCadena").innerHTML= wCadena;
		
	}

	function fBuscar2() {
		var wCadena2
		
		if (document.frmLargaD.slcCiudadDest.value == "") {
			alert("Debe de ingresar la ciudad de destino");
			return;
		}
		
		wCadena2 = "1901 + 0 + " + document.frmLargaD.slcCiudadDest.value + " + Nº telefónico"
		//document.txtCadena2.innerHTML = wCadena2;
		document.getElementById("txtCadena2").innerHTML= wCadena2;
	}


	function fCambia() {
		var index = document.frmLargaD.slcPaises.selectedIndex;

		document.frmLargaD.slcCiudad.length=0;

		if(index==1) fAfrica_Sur();
		if(index==2) fAlemania();
		if(index==3) fAndorra();
		if(index==4) fAngola();
		if(index==5) fAntillas_Holandesas();
		if(index==6) fArabia_Saudita();
		if(index==7) fArgentina();
		if(index==8) fAruba();
		if(index==9) fAustralia();
		if(index==10) fAustria();
		if(index==11) fBahamas();
		if(index==12) fBangladesh();
		if(index==13) fBelgica();
		if(index==14) fBermudas();
		if(index==15) fBielorusia();
		if(index==16) fBolivia();
		if(index==17) fBosnia();
		if(index==18) fBrasil();
		if(index==19) fBulgaria();
		if(index==20) fCanada();
		if(index==21) fChile();
		if(index==22) fChina();
		if(index==23) fChipre();
		if(index==24) fColombia();
		if(index==25) fCorea_Sur();
		if(index==26) fCorea_Rep();
		if(index==27) fCosta_Marfil();
		if(index==28) fCosta_Rica();
		if(index==29) fCroacia();
		if(index==30) fCuba();
		if(index==31) fDinamarca();
		if(index==32) fDominica();
		if(index==33) fEcuador();
		if(index==34) fEgipto();
		if(index==35) fElSalvador();
		if(index==36) fEmiratos_Arabes();
		if(index==37) fEspana();
		if(index==38) fEEUU();
		if(index==39) fEtiopia();
		if(index==40) fFilipinas();
		if(index==41) fFinlandia();
		if(index==42) fFrancia();
		if(index==43) fGhana();
		if(index==44) fGrecia();
		if(index==45) fGuadalupe();
		if(index==46) fGuatemala();
		if(index==47) fGuyana_Francesa();
		if(index==48) fHaiti();
		if(index==49) fHolanda();
		if(index==50) fHonduras();
		if(index==51) fHong_Kong();
		if(index==52) fHungria();
		if(index==53) fIndia();
		if(index==54) fIndonesia();
		if(index==55) fIrak();
		if(index==56) fIran();
		if(index==57) fIrlanda();
		if(index==58) fIslandia();
		if(index==59) fIslas_Cayman();
		if(index==60) fIslas_Americanas();
		if(index==61) fIslas_Britanicas();
		if(index==62) fIsrael();
		if(index==63) fItalia();
		if(index==64) fJamaica();
		if(index==65) fJapon();
		if(index==66) fJordania();
		if(index==67) fKenia();
		if(index==68) fKuwait();
		if(index==69) fLibano();
		if(index==70) fLibia();
		if(index==71) fLiechtenstein();
		if(index==72) fLuxemburgo();
		if(index==73) fMacao();
		if(index==74) fMalasia();
		if(index==75) fMalta();
		if(index==76) fMarruecos();
		if(index==77) fMexico();
		if(index==78) fMozambique();
		if(index==79) fNicaragua();
		if(index==80) fNigeria();
		if(index==81) fNoruega();
		if(index==82) fNueva_Zelandia();
		if(index==83) fPakistan();
		if(index==84) fPalestina();
		if(index==85) fPanama();
		if(index==86) fParaguay();
		if(index==87) fPolonia();
		if(index==88) fPortugal();
		if(index==89) fPuerto_Rico();
		if(index==90) fReino_Unido();
		if(index==91) fRep_Checa();
		if(index==92) fRep_Dominicana();
		if(index==93) fRep_Guyana();
		if(index==94) fRumania();
		if(index==95) fRusia();
		if(index==96) fSenegal();
		if(index==97) fSierra_Leona();
		if(index==98) fSingapur();
		if(index==99) fSiria();
		if(index==100) fSrylanka();
		if(index==101) fSuecia();
		if(index==102) fSuiza();
		if(index==103) fSurinam();
		if(index==104) fTailandia();
		if(index==105) fTaiwan();
		if(index==106) fTrinidad_Tobago();
		if(index==107) fTunez();
		if(index==108) fTurquia();
		if(index==109) fUcrania();

		if(index==110) fUruguay();
		if(index==111) fVenezuela();
		if(index==112) fYemen();
		if(index==113) fYugoslavia();
		if(index==114) fZambia();
		if(index==115) fZimbawe();	
		
	}

	function fAfrica_Sur(){
		opcion0 = new Option("Ciudad de El Cabo","21","defauldSelected");
		opcion1 = new Option("Durban","31");
		opcion2 = new Option("East London","431");
		opcion3 = new Option("Johannesburgo","11");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
	}
	
	function fAlemania(){
		opcion0 = new Option("Berlín","30","defauldSelected");
		opcion1 = new Option("Bonn","228");
		opcion2 = new Option("Frankfurt","69");
		opcion3 = new Option("Frankfurt Oder","335");
		opcion4 = new Option("Hamburgo","40");
		opcion5 = new Option("Leipzig","341");
		opcion6 = new Option("Munich","89");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6; 
	}

	function fAndorra(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fAngola(){
		opcion0 = new Option("Luanda","2","defauldSelected");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fAntillas_Holandesas(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fArabia_Saudita(){
		opcion0 = new Option("Riyadh","1","defauldSelected");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}
	
	function fArgentina(){
		opcion0 = new Option("Buenos Aires","11","defauldSelected");
		opcion1 = new Option("Córdova","351");
		opcion2 = new Option("La Plata","221");
		opcion3 = new Option("Mendoza","261");
		opcion4 = new Option("Rosario","341");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fAruba(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}
	
	function fAustralia(){
		opcion0 = new Option("Adelaide","881 ó 884","defauldSelected");
		opcion1 = new Option("Canberra","261 ó 262");
		opcion2 = new Option("Melbourne","38 ó 39");
		opcion3 = new Option("Sidney","28 ó 29");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
	}

	function fAustria(){
		opcion0 = new Option("Linz","732","defauldSelected");
		opcion1 = new Option("Salzburgo","662");
		opcion2 = new Option("St. Polten","2742");
		opcion3 = new Option("Viena","11");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
	}

	function fBahamas(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fBangladesh(){
		opcion0 = new Option("Dacca","2","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fBelgica(){
		opcion0 = new Option("Amberes","3","defauldSelected");
		opcion1 = new Option("Bruselas","2");
		opcion2 = new Option("La Louviere","64");
		opcion3 = new Option("Liege","42 ó 43");
		opcion4 = new Option("Mechelen","15");
		opcion5 = new Option("Namur","81");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
	}

	function fBermudas(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fBielorusia(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fBolivia(){
		opcion0 = new Option("La Paz","2","defauldSelected");
		opcion1 = new Option("Cochabamba","4");
		opcion2 = new Option("Oruro","2");
		opcion3 = new Option("Santa Cruz","3");
		opcion4 = new Option("Trinidad","3");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fBosnia(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fBrasil(){
		opcion0 = new Option("Belo Horizonte","31","defauldSelected");
		opcion1 = new Option("Brasilia","61");
		opcion2 = new Option("Rio de Janeiro","21");
		opcion3 = new Option("Salvador","71");
		opcion4 = new Option("Sao Paulo","11");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fBulgaria(){
		opcion0 = new Option("Sofia","2","defauldSelected");
		opcion1 = new Option("Varna","52");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fCanada(){
		opcion0 = new Option("Alberta","403 ó 780","defauldSelected");
		opcion1 = new Option("British Columia","250");
		opcion2 = new Option("Montreal","514");
		opcion3 = new Option("Ottawa","613");
		opcion4 = new Option("Quebec","418");
		opcion5 = new Option("Toronto","416");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
	}

	function fChile(){
		opcion0 = new Option("Antofagasta","55","defauldSelected");
		opcion1 = new Option("Concepción","41");
		opcion2 = new Option("Santiago","2");
		opcion3 = new Option("Serena","51");
		opcion4 = new Option("Valparaiso","32");
		opcion5 = new Option("Viña del Mar","32");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
	}

	function fChina(){
		opcion0 = new Option("Pekín","10","defauldSelected");
		opcion1 = new Option("Shangai","21");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fChipre(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fColombia(){
		opcion0 = new Option("Bogota","1","defauldSelected");
		opcion1 = new Option("Calí","2");
		opcion2 = new Option("Cartagena","5");
		opcion3 = new Option("Cúcuta","7");
		opcion4 = new Option("Medellín","4");
		opcion5 = new Option("Pereira","6");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
	}

	function fCorea_Sur(){
		opcion0 = new Option("Inchún","32","defauldSelected");
		opcion1 = new Option("Seúl","2");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fCorea_Rep(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fCosta_Marfil(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fCosta_Rica(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fCroacia(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fCuba(){
		opcion0 = new Option("Habana","7","defauldSelected");
		opcion1 = new Option("Nuevitas","32");
		opcion2 = new Option("Santiago de Cuba","226");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fDinamarca(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fDominica(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fEcuador(){
		opcion0 = new Option("Ambato","3","defauldSelected");
		opcion1 = new Option("Cuenca","7");
		opcion2 = new Option("Esmeraldas","6");
		opcion3 = new Option("Guayaquil","4");
		opcion4 = new Option("Machala","7");
		opcion5 = new Option("Quiito","2");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
	}

	function fEgipto(){
		opcion0 = new Option("El Cairo","2","defauldSelected");
		opcion1 = new Option("Luxor","95");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fElSalvador(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fEmiratos_Arabes(){
		opcion0 = new Option("Ajman","6","defauldSelected");
		opcion1 = new Option("Dibba","9");
		opcion2 = new Option("Dubai","4");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fEspana(){
		opcion0 = new Option("Barcelona","93","defauldSelected");
		opcion1 = new Option("Cádiz","856 ó 956");
		opcion2 = new Option("La Coruña","981");
		opcion3 = new Option("Las Palmas","971");		
		opcion4 = new Option("Madrid","91");
		opcion5 = new Option("Salamanca","923");
		opcion6 = new Option("Sevilla","95");
		opcion7 = new Option("Tenerife","922");
		opcion8 = new Option("Toledo","925");
		opcion9 = new Option("Valencia","96");
		opcion10 = new Option("Zaragoza","976");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6;
		document.frmLargaD.slcCiudad.options[7] = opcion7;
		document.frmLargaD.slcCiudad.options[8] = opcion8;
		document.frmLargaD.slcCiudad.options[9] = opcion9;
		document.frmLargaD.slcCiudad.options[10] = opcion10;
	}

	function fEEUU(){
		opcion0 = new Option("Alaska","907","defauldSelected");
		opcion1 = new Option("Atlanta","404");
		opcion2 = new Option("Baltimore","410");
		opcion3 = new Option("Boston","617");
		opcion4 = new Option("Chicago","312");
		opcion5 = new Option("Chicago (2)","708");
		opcion6 = new Option("Cincinatti","513");
		opcion7 = new Option("Dallas","214");
		opcion8 = new Option("Denver","303");
		opcion9 = new Option("Detroit","313");
		opcion10 = new Option("El Paso","915");
		opcion11 = new Option("Hawai","808");
		opcion12 = new Option("Hollywood","213");
		opcion13 = new Option("Houston","713");
		opcion14 = new Option("Indianapolis","317");
		opcion15 = new Option("Las Vegas","702");
		opcion16 = new Option("Los Angeles","213");
		opcion17 = new Option("Miami","305");
		opcion18 = new Option("New Orleans","504");
		opcion19 = new Option("New York","212");
		opcion20 = new Option("Philadelphia","215");
		opcion21 = new Option("San Antonio","210");
		opcion22 = new Option("San Diego","619");
		opcion23 = new Option("San Francisco","415");
		opcion24 = new Option("Washington DC","202");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6;
		document.frmLargaD.slcCiudad.options[7] = opcion7;
		document.frmLargaD.slcCiudad.options[8] = opcion8;
		document.frmLargaD.slcCiudad.options[9] = opcion9;
		document.frmLargaD.slcCiudad.options[10] = opcion10;
		document.frmLargaD.slcCiudad.options[11] = opcion11;
		document.frmLargaD.slcCiudad.options[12] = opcion12;
		document.frmLargaD.slcCiudad.options[13] = opcion13;
		document.frmLargaD.slcCiudad.options[14] = opcion14;
		document.frmLargaD.slcCiudad.options[15] = opcion15;
		document.frmLargaD.slcCiudad.options[16] = opcion16;
		document.frmLargaD.slcCiudad.options[17] = opcion17;
		document.frmLargaD.slcCiudad.options[18] = opcion18;
		document.frmLargaD.slcCiudad.options[19] = opcion19;
		document.frmLargaD.slcCiudad.options[20] = opcion20;
		document.frmLargaD.slcCiudad.options[21] = opcion21;
		document.frmLargaD.slcCiudad.options[22] = opcion22;
		document.frmLargaD.slcCiudad.options[23] = opcion23;
		document.frmLargaD.slcCiudad.options[24] = opcion24;
	}

	function fEtiopia(){
		opcion0 = new Option("Addis Ababa","6","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fMexico(){
		opcion0 = new Option("Acapulco","74","defauldSelected");
		opcion1 = new Option("Cancún","98");
		opcion2 = new Option("Chihuahua","14");
		opcion3 = new Option("Ciudad Juárez","16");
		opcion4 = new Option("Guadalajara","3");
		opcion5 = new Option("Mexical","65");
		opcion6 = new Option("Mexico D.F.","55");
		opcion7 = new Option("Monnterrey","8");
		opcion8 = new Option("Puebla","22");
		opcion9 = new Option("Tijuana","66");
		opcion10 = new Option("Veracruz","29");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6;
		document.frmLargaD.slcCiudad.options[7] = opcion7;
		document.frmLargaD.slcCiudad.options[8] = opcion8;
		document.frmLargaD.slcCiudad.options[9] = opcion9;
		document.frmLargaD.slcCiudad.options[10] = opcion10;
	}

	function fIslas_Cayman(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fGuadalupe(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fGuatemala(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fHaiti(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fHonduras(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fJamaica(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fNicaragua(){
		opcion0 = new Option("Granada","552","defauldSelected");
		opcion1 = new Option("León","311");
		opcion2 = new Option("Managua","2");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fPanama(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fPuerto_Rico(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fRep_Dominicana(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fTrinidad_Tobago(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fIslas_Americanas(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fIslas_Britanicas(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fYugoslavia(){
		opcion0 = new Option("Belgrado","11","defauldSelected");
		opcion1 = new Option("Pirot","10");
		opcion2 = new Option("TitoGrad","81");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fYemen(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}
	
	function fVenezuela(){
		opcion0 = new Option("Barcelona","281","defauldSelected");
		opcion1 = new Option("Caracas","212");
		opcion2 = new Option("Maracaibo","261");
		opcion3 = new Option("Mérida","274 ó 275");
		opcion4 = new Option("Táchira","276 ó 277");
		opcion5 = new Option("Valencia","241");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5; 
	}

	function fUruguay(){
		opcion0 = new Option("Atlantida","37","defauldSelected");
		opcion1 = new Option("Montevideo","2");
		opcion2 = new Option("Parque de la Plata","37");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}
	
	function fUcrania(){
		opcion0 = new Option("Kiev","44","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fTurquia(){
		opcion0 = new Option("Ankara","312","defauldSelected");
		opcion1 = new Option("Estambul","212 ó 216");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fTunez(){
		opcion0 = new Option("Tunez","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fTaiwan(){
		opcion0 = new Option("Tainan","6","defauldSelected");
		opcion1 = new Option("Taipei","2");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fTailandia(){
		opcion0 = new Option("Bankok","2","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}
	
	function fSurinam(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fSuiza(){
		opcion0 = new Option("Berna","31 ó 34","defauldSelected");
		opcion1 = new Option("Ginebra","22");
		opcion2 = new Option("Lausanne","21 ó 24");
		opcion3 = new Option("Lucerna","41");
		opcion4 = new Option("Zurich","1 ó 43 ó 44");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fSuecia(){
		opcion0 = new Option("Estocolmo","8","defauldSelected");
		opcion1 = new Option("Gotesborg","31");
		opcion2 = new Option("Malmo","40");
		opcion3 = new Option("Norkkoping","11");
		opcion4 = new Option("Vesteras","21");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fSrylanka(){
		opcion0 = new Option("Colombo","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fSiria(){
		opcion0 = new Option("Aleppo","21","defauldSelected");
		opcion1 = new Option("Damasco","11");
			
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fSingapur(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fSierra_Leona(){
		opcion0 = new Option("Freetown","22","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fSenegal(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fRusia(){
		opcion0 = new Option("Leningrado","812","defauldSelected");
		opcion1 = new Option("Moscú","095");
		opcion2 = new Option("St. Petersburgo","812");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fRumania(){
		opcion0 = new Option("Bucarest","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fRep_Checa(){
		opcion0 = new Option("Ostrava","69","defauldSelected");
		opcion1 = new Option("Pilzn","19");
		opcion2 = new Option("Praga","2");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fReino_Unido(){
		opcion0 = new Option("Bradford","1274","defauldSelected");
		opcion1 = new Option("Bristol","117");
		opcion2 = new Option("Cardiff","2920");
		opcion3 = new Option("Ipswich","1473");
		opcion4 = new Option("Liverpool","151");
		opcion5 = new Option("London (inner)","207");
		opcion6 = new Option("London (outer)","208");
		opcion7 = new Option("Manchester","161");
		opcion8 = new Option("Newcastle","191");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6;
		document.frmLargaD.slcCiudad.options[7] = opcion7; 
		document.frmLargaD.slcCiudad.options[8] = opcion8;
	}

	function fPortugal(){
		opcion0 = new Option("Braga","253","defauldSelected");
		opcion1 = new Option("Ciombra","239");
		opcion2 = new Option("Lisboa","21");
		opcion3 = new Option("Porto","22");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
	}

	function fPolonia(){
		opcion0 = new Option("Varsovia","22","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fParaguay(){
		opcion0 = new Option("Asunción","21","defauldSelected");
		opcion1 = new Option("Concepción","31");
		opcion2 = new Option("Coronel Bogado","741");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fPalestina(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fPakistan(){
		opcion0 = new Option("Islamabad","51","defauldSelected");
		opcion1 = new Option("Karachi","21");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fNueva_Zelandia(){
		opcion0 = new Option("Dunedin","3","defauldSelected");
		opcion1 = new Option("Hamilton","7");
		opcion2 = new Option("Napier","6");
		opcion3 = new Option("Nelson","3");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
	}
	
	function fNoruega(){
		opcion0 = new Option("Bergen","5","defauldSelected");
		opcion1 = new Option("Concepción","2");
		opcion2 = new Option("Skien","35");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fNigeria(){
		opcion0 = new Option("Abuja","9","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fMozambique(){
		opcion0 = new Option("Maputo","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fMarruecos(){
		opcion0 = new Option("Rabat","7","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fMalta(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fMalasia(){
		opcion0 = new Option("Kuala Lumpur","3","defauldSelected");
		opcion1 = new Option("Maran","9");
		opcion2 = new Option("Dengil","3");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fMacao(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fLuxemburgo(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fLichtenstein(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fLibia(){
		opcion0 = new Option("Tripoli","21","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fLibano(){
		opcion0 = new Option("Beirut","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fKuwait(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fJordania(){
		opcion0 = new Option("Ammán","6","defauldSelected");
		opcion1 = new Option("Irbid","2");
		opcion2 = new Option("Jerash","2");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fJapon(){
		opcion0 = new Option("Hiroshima","82","defauldSelected");
		opcion1 = new Option("Nagasaki","958");
		opcion2 = new Option("Tokio","3");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fItalia(){
		opcion0 = new Option("Florencia","055","defauldSelected");
		opcion1 = new Option("Génova","010");
		opcion2 = new Option("Milán","02");
		opcion3 = new Option("Nápoles","081");
		opcion4 = new Option("Pisa","050");
		opcion5 = new Option("Roma","06");
		opcion6 = new Option("Venecia","041");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
		document.frmLargaD.slcCiudad.options[5] = opcion5;
		document.frmLargaD.slcCiudad.options[6] = opcion6;
	}

	function fIsrael(){
		opcion0 = new Option("Hedera","6","defauldSelected");
		opcion1 = new Option("Jerusalén","2");
		opcion2 = new Option("Nazareth","6");
		opcion3 = new Option("Tel Aviv","3");

		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
	}

	function fIslandia(){
		opcion0 = new Option("Reikiavik","5","defauldSelected");
		opcion1 = new Option("Rein","6");
		opcion2 = new Option("Verma","1");
		opcion3 = new Option("Vik","9");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3;
	}

	function fIrlanda(){
		opcion0 = new Option("Cork","21","defauldSelected");
		opcion1 = new Option("Dublin","1");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fIran(){
		opcion0 = new Option("Teherán","21","defauldSelected");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fIrak(){
		opcion0 = new Option("Baghdad","1","defauldSelected");
		opcion1 = new Option("Nasiriyia","42");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fIndonesia(){
		opcion0 = new Option("Bandung","22","defauldSelected");
		opcion1 = new Option("Yakarta","274");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fIndia(){
		opcion0 = new Option("Bombay","22","defauldSelected");
		opcion1 = new Option("Calcuta","33");
		opcion2 = new Option("Nueva Delhi","11");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fHungria(){
		opcion0 = new Option("Budapest","1","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fHong_Kong(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fHolanda(){
		opcion0 = new Option("Amsterdam","20","defauldSelected");
		opcion1 = new Option("La Haya","70");
		opcion2 = new Option("Rotterdam","10");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fGuyana_Francesa(){
		opcion0 = new Option("No necesita código de ciudad","","defauldSelected");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
	}

	function fGuyana(){
		opcion0 = new Option("Anna Regina","71","defauldSelected");
		opcion1 = new Option("Linden","4");
		opcion2 = new Option("New Amsterdam","11");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fGrecia(){
		opcion0 = new Option("Atenas","1","defauldSelected");
		opcion1 = new Option("Corinto","741");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fGhana(){
		opcion0 = new Option("Accra","21","defauldSelected");
		opcion1 = new Option("Kumast","51");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}

	function fFrancia(){
		opcion0 = new Option("Burdeos","556","defauldSelected");
		opcion1 = new Option("Lille","320");
		opcion2 = new Option("Lyon","472");
		opcion3 = new Option("Marsella","491");
		opcion4 = new Option("París","1");
		
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		document.frmLargaD.slcCiudad.options[3] = opcion3; 
		document.frmLargaD.slcCiudad.options[4] = opcion4;
	}

	function fFinlandia(){
		opcion0 = new Option("Helsinki","9","defauldSelected");
		opcion1 = new Option("Lahti","3");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
	}
	
	function fFilipinas(){
		opcion0 = new Option("Lucena","42","defauldSelected");
		opcion1 = new Option("Manilla","2");
		opcion2 = new Option("San Pablo","49");
				
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
	}

	function fZimbawe(){
		opcion0 = new Option("Harare","4","defauldSelected");
		opcion1 = new Option("Bulawayo","9");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		
	}

	function fZambia(){
		opcion0 = new Option("Chingola","2","defauldSelected");
		opcion1 = new Option("Lusaka","1");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		
	}
	function fKenia(){
		opcion0 = new Option("Nairobi","2","defauldSelected");
		opcion1 = new Option("Eldoret","321");
		opcion2 = new Option("Limuru","154");
						
		document.frmLargaD.slcCiudad.options[0] = opcion0;
		document.frmLargaD.slcCiudad.options[1] = opcion1;
		document.frmLargaD.slcCiudad.options[2] = opcion2;
		
	}
	
	//------------------------------------------------------
	
	/* Larga distancia Nacional */

	function fLima() {
		opcion0 = new Option("Amazonas","41","defauldSelected");
		opcion1 = new Option("Ancash","43");
		opcion2 = new Option("Apurimac","83");
		opcion3 = new Option("Arequipa","54");
		opcion4 = new Option("Ayacucho","66");
		opcion5 = new Option("Cajamarca","76");
		opcion6 = new Option("Cusco","84");
		opcion7 = new Option("Huancavelica","67");
		opcion8 = new Option("Huánuco","62");
		opcion9 = new Option("Ica","56");
		opcion10 = new Option("Junín","64");
		opcion11 = new Option("La Libertad","44");
		opcion12 = new Option("Lambayeque","74");
		opcion13 = new Option("Loreto","65");
		opcion14 = new Option("Madre de Dios","82");
		opcion15 = new Option("Moquegua","53");
		opcion16 = new Option("Pasco","63");
		opcion17 = new Option("Piura","73");
		opcion18 = new Option("Puno","51");
		opcion19 = new Option("San Martín","42");
		opcion20 = new Option("Tacna","52");
		opcion21 = new Option("Tumbes","72");
		opcion22 = new Option("Ucayali","61");

		document.frmLargaD.slcCiudadDest.options[0] = opcion0;
		document.frmLargaD.slcCiudadDest.options[1] = opcion1;
		document.frmLargaD.slcCiudadDest.options[2] = opcion2;
		document.frmLargaD.slcCiudadDest.options[3] = opcion3;
		document.frmLargaD.slcCiudadDest.options[4] = opcion4;
		document.frmLargaD.slcCiudadDest.options[5] = opcion5;
		document.frmLargaD.slcCiudadDest.options[6] = opcion6;
		document.frmLargaD.slcCiudadDest.options[7] = opcion7;
		document.frmLargaD.slcCiudadDest.options[8] = opcion8;
		document.frmLargaD.slcCiudadDest.options[9] = opcion9;
		document.frmLargaD.slcCiudadDest.options[10] = opcion10;
		document.frmLargaD.slcCiudadDest.options[11] = opcion11;
		document.frmLargaD.slcCiudadDest.options[12] = opcion12;
		document.frmLargaD.slcCiudadDest.options[13] = opcion13;
		document.frmLargaD.slcCiudadDest.options[14] = opcion14;
		document.frmLargaD.slcCiudadDest.options[15] = opcion15;
		document.frmLargaD.slcCiudadDest.options[16] = opcion16;
		document.frmLargaD.slcCiudadDest.options[17] = opcion17;
		document.frmLargaD.slcCiudadDest.options[18] = opcion18;
		document.frmLargaD.slcCiudadDest.options[19] = opcion19;
		document.frmLargaD.slcCiudadDest.options[20] = opcion20;
		document.frmLargaD.slcCiudadDest.options[21] = opcion21;
		document.frmLargaD.slcCiudadDest.options[22] = opcion22;
	}		
/*	
	function fLima() {
		opcion0 = new Option("Abancay","84","defauldSelected");
		opcion1 = new Option("Aguas Calientes","84");
		opcion2 = new Option("Aguas Verdes","74");
		opcion3 = new Option("Amazonas","44");
		opcion4 = new Option("Ancash","44");
		opcion5 = new Option("Andahuaylas","84");
		opcion6 = new Option("Apurimac","84");
		opcion7 = new Option("Arequipa","54");
		opcion8 = new Option("Ascope","44");
		opcion9 = new Option("Ayacucho","64");
		opcion10 = new Option("Bagua Chica","44");
		opcion11 = new Option("Bagua Grande","44");
		opcion12 = new Option("Baños del Inca","44");
		opcion13 = new Option("Caballococha","94");
		opcion14 = new Option("Cajamarca","44");
		opcion15 = new Option("Calca","84");
		opcion16 = new Option("Camaná","54");
		opcion17 = new Option("Caravelí","54");
		opcion18 = new Option("Caraz","44");
		opcion19 = new Option("Carhuaz","44");
		opcion20 = new Option("Cartavio","54");
		opcion21 = new Option("Catacaos","74");
		opcion22 = new Option("Celedín","44");
		opcion23 = new Option("Cerro de Pasco","64");
		opcion24 = new Option("Concepción","64");
		opcion25 = new Option("Contamaná","94");
		opcion26 = new Option("Contumaza","44");
		opcion27 = new Option("Cusco","84");
		opcion28 = new Option("Cutervo","44");
		opcion29 = new Option("Chachapoyas","44");
		opcion30 = new Option("Chepén","44");
		opcion31 = new Option("Chicama","44");
		opcion32 = new Option("Chiclayo","74");
		opcion33 = new Option("Chimbote","44");
		opcion34 = new Option("Chimbote","44");
		opcion35 = new Option("Chincha","34");
		opcion36 = new Option("Chocope","44");
		opcion37 = new Option("Chota","44");
		opcion38 = new Option("Chulucanas","74");
		opcion39 = new Option("Eten","74");
		opcion40 = new Option("Huancabamba (Pasco)","64");
		opcion41 = new Option("Huancabamba (Apurimac)","74");
		opcion42 = new Option("Huancavelica","64");
		opcion43 = new Option("Huancayo","64");
		opcion44 = new Option("Huanta","64");
		opcion45 = new Option("Huánuco","64");
		opcion46 = new Option("Huaraz","44");
		opcion47 = new Option("Ica","34");
		opcion48 = new Option("Ilo","54");
		opcion49 = new Option("Imperial (Huancavelica)","64");
		opcion50 = new Option("Iquitos","94");
		opcion51 = new Option("Jaén","44");
		opcion52 = new Option("Jauja","64");
		opcion53 = new Option("Juanjuí","94");
		opcion54 = new Option("Juliaca","54");
		opcion55 = new Option("Junín","64");
		opcion56 = new Option("La Libertad","44");
		opcion56 = new Option("La Merced","64");
		opcion57 = new Option("La Oroya","64");
		opcion58 = new Option("Lamas","94");
		opcion59 = new Option("Lambayeque","74");
		opcion60 = new Option("Laredo","44");
		opcion61 = new Option("Loreto","94");
		opcion62 = new Option("Machu Picchu","84");
		opcion63 = new Option("Madre de Dios","84");
		opcion64 = new Option("Máncora","74");
		opcion65 = new Option("Marcona","34");
		opcion66 = new Option("Matarani","54");
		opcion67 = new Option("Mazarani","64");
		opcion68 = new Option("Moche","44");
		opcion69 = new Option("Mollendo","54");
		opcion70 = new Option("Monsefú","74");
		opcion71 = new Option("Moquegua","54");
		opcion72 = new Option("Morropón","74");
		opcion73 = new Option("Motupe","74");
		opcion74 = new Option("Moyobamba","94");
		opcion75 = new Option("Nazca","34");
		opcion76 = new Option("Negritos","74");
		opcion77 = new Option("Ollantaytambo","84");
		opcion78 = new Option("Otuzco","44");
		opcion79 = new Option("Oxapampa","64");
		opcion80 = new Option("Pacasmayo","44");
		opcion81 = new Option("Paita","74");
		opcion82 = new Option("Palpa","34");
		opcion83 = new Option("Pasco","64");
		opcion84 = new Option("Pisac","84");
		opcion85 = new Option("Pisco","34");
		opcion86 = new Option("Piura","74");
		opcion87 = new Option("Pucallpa","64");
		opcion88 = new Option("Pto. Maldonado","84");
		opcion89 = new Option("Puno","54");
		opcion90 = new Option("Quillabamba","84");
		opcion91 = new Option("Rioja","94");
		opcion92 = new Option("San Pedro (Cuzco)","84");
		opcion93 = new Option("San Pedro (Ancash)","44");
		opcion94 = new Option("San Pedro (Ayacucho)","64");
		opcion95 = new Option("San Ramón","64");
		opcion96 = new Option("San Martín","94");
		opcion97 = new Option("Satipo","64");
		opcion98 = new Option("Sicuani","84");
		opcion99 = new Option("Sullana","74");
		opcion100 = new Option("Tacna","54");
		opcion101 = new Option("Talara","74");
		opcion102 = new Option("Tarapoto","94");
		opcion103 = new Option("Tarma","64");
		opcion104 = new Option("Tingo María","64");
		opcion105 = new Option("Tocache","94");
		opcion106 = new Option("Trujillo","44");
		opcion107 = new Option("Tumbes","74");
		opcion108 = new Option("Ucayali","64");
		opcion109 = new Option("Urcos","84");
		opcion110 = new Option("Urubamba","84");
		opcion111 = new Option("Villa Rica","64");
		opcion112 = new Option("Virú","44");
		opcion113 = new Option("Yungay","44");
		opcion114 = new Option("Yurimaguas","94");
		opcion115 = new Option("Zarumilla","74");
		opcion116 = new Option("Zorritos","74");

		frmLargaD.slcCiudadDest.options[0] = opcion0;
		frmLargaD.slcCiudadDest.options[1] = opcion1;
		frmLargaD.slcCiudadDest.options[2] = opcion2;
		frmLargaD.slcCiudadDest.options[3] = opcion3;
		frmLargaD.slcCiudadDest.options[4] = opcion4;
		frmLargaD.slcCiudadDest.options[5] = opcion5;
		frmLargaD.slcCiudadDest.options[6] = opcion6;
		frmLargaD.slcCiudadDest.options[7] = opcion7;
		frmLargaD.slcCiudadDest.options[8] = opcion8;
		frmLargaD.slcCiudadDest.options[9] = opcion9;
		frmLargaD.slcCiudadDest.options[10] = opcion10;
		frmLargaD.slcCiudadDest.options[11] = opcion11;
		frmLargaD.slcCiudadDest.options[12] = opcion12;
		frmLargaD.slcCiudadDest.options[13] = opcion13;
		frmLargaD.slcCiudadDest.options[14] = opcion14;
		frmLargaD.slcCiudadDest.options[15] = opcion15;
		frmLargaD.slcCiudadDest.options[16] = opcion16;
		frmLargaD.slcCiudadDest.options[17] = opcion17;
		frmLargaD.slcCiudadDest.options[18] = opcion18;
		frmLargaD.slcCiudadDest.options[19] = opcion19;
		frmLargaD.slcCiudadDest.options[20] = opcion20;
		frmLargaD.slcCiudadDest.options[21] = opcion21;
		frmLargaD.slcCiudadDest.options[22] = opcion22;
		frmLargaD.slcCiudadDest.options[23] = opcion23;
		frmLargaD.slcCiudadDest.options[24] = opcion24;
		frmLargaD.slcCiudadDest.options[25] = opcion25;
		frmLargaD.slcCiudadDest.options[26] = opcion26;
		frmLargaD.slcCiudadDest.options[27] = opcion27;
		frmLargaD.slcCiudadDest.options[28] = opcion28;
		frmLargaD.slcCiudadDest.options[29] = opcion29;
		frmLargaD.slcCiudadDest.options[30] = opcion30;
		frmLargaD.slcCiudadDest.options[31] = opcion31;
		frmLargaD.slcCiudadDest.options[32] = opcion32;
		frmLargaD.slcCiudadDest.options[33] = opcion33;
		frmLargaD.slcCiudadDest.options[34] = opcion34;
		frmLargaD.slcCiudadDest.options[35] = opcion35;
		frmLargaD.slcCiudadDest.options[36] = opcion36;
		frmLargaD.slcCiudadDest.options[37] = opcion37;
		frmLargaD.slcCiudadDest.options[38] = opcion38;
		frmLargaD.slcCiudadDest.options[39] = opcion39;
		frmLargaD.slcCiudadDest.options[40] = opcion40;
		frmLargaD.slcCiudadDest.options[41] = opcion41;
		frmLargaD.slcCiudadDest.options[42] = opcion42;
		frmLargaD.slcCiudadDest.options[43] = opcion43;
		frmLargaD.slcCiudadDest.options[44] = opcion44;
		frmLargaD.slcCiudadDest.options[45] = opcion45;
		frmLargaD.slcCiudadDest.options[46] = opcion46;
		frmLargaD.slcCiudadDest.options[47] = opcion47;
		frmLargaD.slcCiudadDest.options[48] = opcion48;
		frmLargaD.slcCiudadDest.options[49] = opcion49;
		frmLargaD.slcCiudadDest.options[50] = opcion50;
		frmLargaD.slcCiudadDest.options[51] = opcion51;
		frmLargaD.slcCiudadDest.options[52] = opcion52;
		frmLargaD.slcCiudadDest.options[53] = opcion53;
		frmLargaD.slcCiudadDest.options[54] = opcion54;
		frmLargaD.slcCiudadDest.options[55] = opcion55;
		frmLargaD.slcCiudadDest.options[56] = opcion56;
		frmLargaD.slcCiudadDest.options[57] = opcion57;
		frmLargaD.slcCiudadDest.options[58] = opcion58;
		frmLargaD.slcCiudadDest.options[59] = opcion59;
		frmLargaD.slcCiudadDest.options[60] = opcion60;
		frmLargaD.slcCiudadDest.options[61] = opcion61;
		frmLargaD.slcCiudadDest.options[62] = opcion62;
		frmLargaD.slcCiudadDest.options[63] = opcion63;
		frmLargaD.slcCiudadDest.options[64] = opcion64;
		frmLargaD.slcCiudadDest.options[65] = opcion65;
		frmLargaD.slcCiudadDest.options[66] = opcion66;
		frmLargaD.slcCiudadDest.options[67] = opcion67;
		frmLargaD.slcCiudadDest.options[68] = opcion68;
		frmLargaD.slcCiudadDest.options[69] = opcion69;
		frmLargaD.slcCiudadDest.options[70] = opcion70;
		frmLargaD.slcCiudadDest.options[71] = opcion71;
		frmLargaD.slcCiudadDest.options[72] = opcion72;
		frmLargaD.slcCiudadDest.options[73] = opcion73;
		frmLargaD.slcCiudadDest.options[74] = opcion74;
		frmLargaD.slcCiudadDest.options[75] = opcion75;
		frmLargaD.slcCiudadDest.options[76] = opcion76;
		frmLargaD.slcCiudadDest.options[77] = opcion77;
		frmLargaD.slcCiudadDest.options[78] = opcion78;
		frmLargaD.slcCiudadDest.options[79] = opcion79;
		frmLargaD.slcCiudadDest.options[80] = opcion80;
		frmLargaD.slcCiudadDest.options[81] = opcion81;
		frmLargaD.slcCiudadDest.options[82] = opcion82;
		frmLargaD.slcCiudadDest.options[83] = opcion83;
		frmLargaD.slcCiudadDest.options[84] = opcion84;
		frmLargaD.slcCiudadDest.options[85] = opcion85;
		frmLargaD.slcCiudadDest.options[86] = opcion86;
		frmLargaD.slcCiudadDest.options[87] = opcion87;
		frmLargaD.slcCiudadDest.options[88] = opcion88;
		frmLargaD.slcCiudadDest.options[89] = opcion89;
		frmLargaD.slcCiudadDest.options[90] = opcion90;
		frmLargaD.slcCiudadDest.options[91] = opcion91;
		frmLargaD.slcCiudadDest.options[92] = opcion92;
		frmLargaD.slcCiudadDest.options[93] = opcion93;
		frmLargaD.slcCiudadDest.options[94] = opcion94;
		frmLargaD.slcCiudadDest.options[95] = opcion95;
		frmLargaD.slcCiudadDest.options[96] = opcion96;
		frmLargaD.slcCiudadDest.options[97] = opcion97;
		frmLargaD.slcCiudadDest.options[98] = opcion98;
		frmLargaD.slcCiudadDest.options[99] = opcion99;
		frmLargaD.slcCiudadDest.options[100] = opcion100;
		frmLargaD.slcCiudadDest.options[101] = opcion101;
		frmLargaD.slcCiudadDest.options[102] = opcion102;
		frmLargaD.slcCiudadDest.options[103] = opcion103;
		frmLargaD.slcCiudadDest.options[104] = opcion104;
		frmLargaD.slcCiudadDest.options[105] = opcion105;
		frmLargaD.slcCiudadDest.options[106] = opcion106;
		frmLargaD.slcCiudadDest.options[107] = opcion107;
		frmLargaD.slcCiudadDest.options[108] = opcion108;
		frmLargaD.slcCiudadDest.options[109] = opcion109;
		frmLargaD.slcCiudadDest.options[110] = opcion110;
		frmLargaD.slcCiudadDest.options[111] = opcion111;
		frmLargaD.slcCiudadDest.options[112] = opcion112;
		frmLargaD.slcCiudadDest.options[113] = opcion113;
		frmLargaD.slcCiudadDest.options[114] = opcion114;
		frmLargaD.slcCiudadDest.options[115] = opcion115;
		frmLargaD.slcCiudadDest.options[116] = opcion116;
	}

*/
	function IfZero(num) {
		return ((num <= 9) ? ("0" + num) : num);
	}

	function check24(hour) {
		return (hour >= 24) ? hour - 24 : hour;
	}

	function fObt_Hora() {
		var wCadenaHora
		var wDiferenciaHora
		var cur = new Date();
		var def = cur.getTimezoneOffset()/60;
		var gmt = (cur.getHours() + def);
		var ending = ":" + IfZero(cur.getMinutes())
		
		if (document.frmLargaD.slcDiff.value != "") {
			var wValor = document.frmLargaD.slcDiff.value;
			var wArray = wValor.split("|");
			var wDiff = parseInt(wArray[0]);
			
			//var HoraNueva = parseInt(cur.getHours()) + parseInt(frmLargaD.slcDiff.value);
			var HoraNueva = check24(((gmt + wDiff) > 24) ? ((gmt + wDiff) - 24) : (gmt + wDiff));
			
			wCadenaHora = IfZero(HoraNueva) + ending;
			wDiferenciaHora = "Diferencia de: " + wArray[1] + " ";
		}
		else {
			wCadenaHora = "&nbsp;";
			wDiferenciaHora = "&nbsp;";
		}
		document.getElementById("txtHora").innerHTML= wCadenaHora;
		document.getElementById("txtDiferencia").innerHTML= wDiferenciaHora;
	}
//-->

