var dac = new Array(); var dan = new Array(); var iac = new Array(); var ian = new Array(); // For Group request var iacNew = new Array(); var ianNew = new Array(); var iacGulf = new Array(); var ianGulf = new Array(); var iacSouthEast = new Array(); var ianSouthEast = new Array(); var a_mn = new Array(); var a_mc = new Array(); a_mn[0] = 'Bangalore'; a_mc[0] = 'BLR'; a_mn[1] = 'Mumbai'; a_mc[1] = 'BOM'; a_mn[2] = 'Calcutta'; a_mc[2] = 'CCU'; a_mn[3] = 'Chennai'; a_mc[3] = 'MAA'; a_mn[4] = 'Delhi'; a_mc[4] = 'DEL'; a_mn[5] = 'Goa'; a_mc[5] = 'GOI'; a_mn[6] = 'Guwahati'; a_mc[6] = 'GAU'; a_mn[7] = 'Hyderabad'; a_mc[7] = 'HYD'; a_mn[8] = 'Pune'; a_mc[8] = 'PNQ'; a_mn[9] = 'Srinagar'; a_mc[9] = 'SXR'; a_mn[10] = 'Cochin'; a_mc[10] = 'COK'; a_mn[11] = '-----------'; a_mc[11] = '---'; var a_idmn = new Array(); var a_idmc = new Array(); a_idmn[0] = 'Ahmedabad'; a_idmc[0] = 'AMD'; a_idmn[1] = 'Amritsar'; a_idmc[1] = 'ATQ'; a_idmn[2] = 'Bangalore'; a_idmc[2] = 'BLR'; a_idmn[3] = 'Mumbai'; a_idmc[3] = 'BOM'; a_idmn[4] = 'Calcutta'; a_idmc[4] = 'CCU'; a_idmn[5] = 'Calicut'; a_idmc[5] = 'CCJ'; a_idmn[6] = 'Chennai'; a_idmc[6] = 'MAA'; a_idmn[7] = 'Cochin'; a_idmc[7] = 'COK'; a_idmn[8] = 'Delhi'; a_idmc[8] = 'DEL'; a_idmn[9] = 'Hyderabad'; a_idmc[9] = 'HYD'; a_idmn[10] = 'Pune'; a_idmc[10] = 'PNQ'; a_idmn[11] = 'Trivandrum'; a_idmc[11] = 'TRV'; a_idmn[12] = 'Trichy'; a_idmc[12] = 'TRZ'; a_idmn[13] = 'Mangalore'; a_idmc[13] = 'IXE'; a_idmn[14] = '-----------'; a_idmc[14] = '---'; var a_imn = new Array(); var a_imc = new Array(); a_imn[0] = 'London'; a_imc[0] = 'LON'; a_imn[1] = 'New York'; a_imc[1] = 'JFK'; a_imn[2] = '-----------'; a_imc[2] = '---'; dac[0]="IXA";dac[1]="AGX";dac[2]="AGR";dac[3]="AMD";dac[4]="AJL";dac[5]="IXD";dac[6]="XLL";dac[7]="ATQ";dac[8]="IXU";dac[9]="IXB";dac[10]="BLR";dac[11]="IXG";dac[12]="VID";dac[13]="BLR";dac[14]="BHU";dac[15]="BHO";dac[16]="BBI";dac[17]="BBI";dac[18]="BHJ";dac[19]="BOM";dac[20]="CCU";dac[21]="CCJ";dac[22]="IXC";dac[23]="MAA";dac[24]="COK";dac[25]="CJB";dac[26]="CDP";dac[27]="DED";dac[28]="DEL";dac[29]="DHM";dac[30]="DIB";dac[31]="DMU";dac[32]="DIU";dac[33]="RDP";dac[34]="GAY";dac[35]="GOI";dac[36]="GOP";dac[37]="GAU";dac[38]="GWL";dac[39]="VID";dac[40]="HBX";dac[41]="HYD";dac[42]="IMF";dac[43]="IDR";dac[44]="JLR";dac[45]="JAI";dac[46]="JSA";dac[47]="JGA";dac[48]="IXJ";dac[49]="IXW";dac[50]="JDH";dac[51]="JRH";dac[52]="IHX";dac[53]="IXY";dac[54]="KNU";dac[55]="KAT";dac[56]="HJR";dac[57]="COK";dac[58]="KLH";dac[59]="CCU";dac[60]="KTU";dac[61]="KUU";dac[62]="XKU";dac[63]="LTU";dac[64]="IXL";dac[65]="IXI";dac[66]="LKO";dac[67]="LUH";dac[68]="MAA";dac[69]="IXM";dac[70]="IXE";dac[71]="MUI";dac[72]="BOM";dac[73]="MYQ";dac[74]="NAG";dac[75]="NDC";dac[76]="ISK";dac[77]="DEL";dac[78]="PGH";dac[79]="IXP";dac[80]="PAT";dac[81]="PNY";dac[82]="PBD";dac[83]="IXZ";dac[84]="PNY";dac[85]="PNQ";dac[86]="PUT";dac[87]="RPR";dac[88]="RJA";dac[89]="RAJ";dac[90]="IXR";dac[91]="REW";dac[92]="SXV";dac[93]="TNI";dac[94]="SHL";dac[95]="SLV";dac[96]="SSE";dac[97]="IXS";dac[98]="SXR";dac[99]="STV";dac[100]="TEZ";dac[101]="TEI";dac[102]="TIR";dac[103]="TRZ";dac[104]="TRV";dac[105]="TCR";dac[106]="UDR";dac[107]="UJA";dac[108]="BDQ";dac[109]="VNS";dac[110]="VDY";dac[111]="VGA";dac[112]="VTZ";dac[113]="VTZ";dac[114]="WGC"; dan[0]="Agartala";dan[1]="Agatti Island";dan[2]="Agra";dan[3]="Ahmedabad";dan[4]="Aizawl";dan[5]="Allahabad";dan[6]="Alleppey";dan[7]="Amritsar";dan[8]="Aurangabad";dan[9]="Bagdogra";dan[10]="Bangalore";dan[11]="Belgaum";dan[12]="Bellary";dan[13]="Bengaluru";dan[14]="Bhavnagar";dan[15]="Bhopal";dan[16]="Bhubaneshwar";dan[17]="Bhubaneswar";dan[18]="Bhuj";dan[19]="Bombay";dan[20]="Calcutta";dan[21]="Calicut";dan[22]="Chandigarh";dan[23]="Chennai";dan[24]="Cochin";dan[25]="Coimbatore";dan[26]="Cuddapah";dan[27]="Dehradun";dan[28]="Delhi";dan[29]="Dharamsala";dan[30]="Dibrugarh";dan[31]="Dimapur";dan[32]="Diu";dan[33]="Durgapur";dan[34]="Gaya";dan[35]="Goa";dan[36]="Gorakhpur";dan[37]="Guwahati";dan[38]="Gwalior";dan[39]="Hampi";dan[40]="Hubli";dan[41]="Hyderabad";dan[42]="Imphal";dan[43]="Indore";dan[44]="Jabalpur";dan[45]="Jaipur";dan[46]="Jaisalmer";dan[47]="Jam Nagar";dan[48]="Jammu";dan[49]="Jamshedpur";dan[50]="Jodhpur";dan[51]="Jorhat";dan[52]="Kailashahar";dan[53]="Kandla";dan[54]="Kanpur";dan[55]="Katra";dan[56]="Khajuraho";dan[57]="Kochi";dan[58]="Kolhapur";dan[59]="Kolkata";dan[60]="Kota";dan[61]="Kulu";dan[62]="Kumarakom";dan[63]="Latur";dan[64]="Leh";dan[65]="Lilabari";dan[66]="Lucknow";dan[67]="Ludhiana";dan[68]="Madras";dan[69]="Madurai";dan[70]="Mangalore";dan[71]="Muirpur Airport";dan[72]="Mumbai";dan[73]="Mysore";dan[74]="Nagpur";dan[75]="Nanded";dan[76]="Nashik";dan[77]="New Delhi";dan[78]="Pantnagar";dan[79]="Pathankot";dan[80]="Patna";dan[81]="Pondicherry";dan[82]="Porbandar";dan[83]="Port Blair";dan[84]="Puducherry";dan[85]="Pune";dan[86]="Puttaprathe";dan[87]="Raipur";dan[88]="Rajahmundry";dan[89]="Rajkot";dan[90]="Ranchi";dan[91]="Rewa";dan[92]="Salem";dan[93]="Satna Airport";dan[94]="Shillong";dan[95]="Shimla";dan[96]="Sholapur";dan[97]="Silchar";dan[98]="Srinagar";dan[99]="Surat";dan[100]="Tezpur";dan[101]="Tezu";dan[102]="Tirupati";dan[103]="Trichy";dan[104]="Trivandrum";dan[105]="Tuticorin";dan[106]="Udaipur";dan[107]="Ujjain";dan[108]="Vadodara";dan[109]="Varanasi";dan[110]="Vidyanagar";dan[111]="Vijaywada";dan[112]="Vishakhapatnam";dan[113]="Vizag";dan[114]="Warangal"; iacNew[0]="ABD";iacNew[1]="ABR";iacNew[2]="AUH";iacNew[3]="ADL";iacNew[4]="AJF";iacNew[5]="AEX";iacNew[6]="AMM";iacNew[7]="AMS";iacNew[8]="CRK";iacNew[9]="RAE";iacNew[10]="ATH";iacNew[11]="ATL";iacNew[12]="AKL";iacNew[13]="BGW";iacNew[14]="BAH";iacNew[15]="BLC";iacNew[16]="BWI";iacNew[17]="BND";iacNew[18]="DMK";iacNew[19]="BKK";iacNew[20]="BCN";iacNew[21]="BSR";iacNew[22]="PEK";iacNew[23]="TXL";iacNew[24]="BHX";iacNew[25]="BHH";iacNew[26]="BOS";iacNew[27]="BNE";iacNew[28]="BRU";iacNew[29]="BUD";iacNew[30]="RGN";iacNew[31]="YYC";iacNew[32]="CBR";iacNew[33]="CLT";iacNew[34]="ORD";iacNew[35]="CGP";iacNew[36]="CVG";iacNew[37]="CLE";iacNew[38]="CMB";iacNew[39]="CAE";iacNew[40]="COU";iacNew[41]="CXB";iacNew[42]="DAL";iacNew[43]="DAM";iacNew[44]="DMM";iacNew[45]="DAR";iacNew[46]="DEN";iacNew[47]="DTT";iacNew[48]="DAC";iacNew[49]="DOH";iacNew[50]="DXB";iacNew[51]="DWC";iacNew[52]="XNB";iacNew[53]="DUB";iacNew[54]="DUR";iacNew[55]="EDI";iacNew[56]="YEG";iacNew[57]="ENU";iacNew[58]="EBL";iacNew[59]="FRA";iacNew[60]="GNV";iacNew[61]="KOW";iacNew[62]="GVA";iacNew[63]="GRB";iacNew[64]="CAN";iacNew[65]="HAJ";iacNew[66]="HEL";iacNew[67]="HKG";iacNew[68]="HNL";iacNew[69]="IND";iacNew[70]="ISB";iacNew[71]="IST";iacNew[72]="SAW";iacNew[73]="CGK";iacNew[74]="JED";iacNew[75]="JSR";iacNew[76]="JNB";iacNew[77]="JUB";iacNew[78]="KHI";iacNew[79]="KTM";iacNew[80]="KHS";iacNew[81]="KUL";iacNew[82]="KWI";iacNew[83]="LHE";iacNew[84]="LGK";iacNew[85]="LRR";iacNew[86]="LAS";iacNew[87]="LYI";iacNew[88]="LGW";iacNew[89]="LHR";iacNew[90]="LAX";iacNew[91]="LYA";iacNew[92]="MAD";iacNew[93]="MLE";iacNew[94]="MAN";iacNew[95]="MNL";iacNew[96]="MRU";iacNew[97]="MLB";iacNew[98]="MEL";iacNew[99]="MEX";iacNew[100]="MIA";iacNew[101]="MSP";iacNew[102]="MRA";iacNew[103]="YUL";iacNew[104]="SVO";iacNew[105]="MUC";iacNew[106]="MCT";iacNew[107]="NGO";iacNew[108]="NBO";iacNew[109]="NAV";iacNew[110]="JFK";iacNew[111]="EWR";iacNew[112]="MCO";iacNew[113]="OSL";iacNew[114]="YOW";iacNew[115]="PGK";iacNew[116]="CDG";iacNew[117]="XPG";iacNew[118]="ORY";iacNew[119]="PEN";iacNew[120]="PER";iacNew[121]="PHL";iacNew[122]="ZFV";iacNew[123]="HKT";iacNew[124]="PIT";iacNew[125]="PTJ";iacNew[126]="PDX";iacNew[127]="PWM";iacNew[128]="RUH";iacNew[129]="CIA";iacNew[130]="FCO";iacNew[131]="SPD";iacNew[132]="ADZ";iacNew[133]="SAN";iacNew[134]="SFO";iacNew[135]="SAH";iacNew[136]="SFB";iacNew[137]="SEA";iacNew[138]="ICN";iacNew[139]="SHA";iacNew[140]="SHJ";iacNew[141]="SIN";iacNew[142]="STO";iacNew[143]="STR";iacNew[144]="ISU";iacNew[145]="SYD";iacNew[146]="TBZ";iacNew[147]="TAG";iacNew[148]="IKA";iacNew[149]="HND";iacNew[150]="NRT";iacNew[151]="YKZ";iacNew[152]="YYZ";iacNew[153]="YTZ";iacNew[154]="YVR";iacNew[155]="VNC";iacNew[156]="VIE";iacNew[157]="DCA";iacNew[158]="IAD";iacNew[159]="WLG";iacNew[160]="ILM";iacNew[161]="ZRH"; ianNew[0]="Abadan";ianNew[1]="Aberdeen";ianNew[2]="Abu Dhabi";ianNew[3]="Adelaide";ianNew[4]="Al Jouf";ianNew[5]="Alexandria";ianNew[6]="Amman";ianNew[7]="Amsterdam";ianNew[8]="Angeles";ianNew[9]="Arar";ianNew[10]="Athens";ianNew[11]="Atlanta";ianNew[12]="Auckland";ianNew[13]="Baghdad";ianNew[14]="Bahrain";ianNew[15]="Bali";ianNew[16]="Baltimore";ianNew[17]="Bandar Abbas";ianNew[18]="Bangkok---Don Mueang Airport";ianNew[19]="Bangkok---Suvarnabhumi Intl Arpt";ianNew[20]="Barcelona";ianNew[21]="Basra";ianNew[22]="Beijing";ianNew[23]="Berlin";ianNew[24]="Birmingham";ianNew[25]="Bisha";ianNew[26]="Boston";ianNew[27]="Brisbane";ianNew[28]="Brussels";ianNew[29]="Budapest";ianNew[30]="Burma";ianNew[31]="Calgary";ianNew[32]="Canberra";ianNew[33]="Charlotte";ianNew[34]="Chicago";ianNew[35]="Chittagong";ianNew[36]="Cincinnati";ianNew[37]="Cleveland";ianNew[38]="Colombo";ianNew[39]="Columbia---Columbia Metro Arpt";ianNew[40]="Columbia---Columbia Regional";ianNew[41]="Coxs Bazaar";ianNew[42]="Dallas";ianNew[43]="Damascus";ianNew[44]="Dammam";ianNew[45]="Dar Es Salaam";ianNew[46]="Denver";ianNew[47]="Detroit";ianNew[48]="Dhaka";ianNew[49]="Doha";ianNew[50]="Dubai---Dubai Intl Arpt";ianNew[51]="Dubai---Dubai World Central";ianNew[52]="Dubai---Travel Mall Bus";ianNew[53]="Dublin";ianNew[54]="Durban";ianNew[55]="Edinburgh";ianNew[56]="Edmonton";ianNew[57]="Enugu";ianNew[58]="Erbil";ianNew[59]="Frankfurt";ianNew[60]="Gainesville";ianNew[61]="Ganzhou";ianNew[62]="Geneva";ianNew[63]="Green Bay";ianNew[64]="Guangzhou";ianNew[65]="Hanover";ianNew[66]="Helsinki";ianNew[67]="Hong Kong";ianNew[68]="Honolulu";ianNew[69]="Indianapolis";ianNew[70]="Islamabad";ianNew[71]="Istanbul---Ataturk Arpt";ianNew[72]="Istanbul---Istanbul";ianNew[73]="Jakarta";ianNew[74]="Jeddah";ianNew[75]="Jessore";ianNew[76]="Johannesburg";ianNew[77]="Juba";ianNew[78]="Karachi";ianNew[79]="Kathmandu";ianNew[80]="Khasab";ianNew[81]="Kuala Lumpur";ianNew[82]="Kuwait";ianNew[83]="Lahore";ianNew[84]="Langkawi";ianNew[85]="Lar";ianNew[86]="Las Vegas";ianNew[87]="Linyi";ianNew[88]="London---Gatwick Arpt";ianNew[89]="London---Heathrow";ianNew[90]="Los Angeles";ianNew[91]="Luoyang";ianNew[92]="Madrid";ianNew[93]="Male";ianNew[94]="Manchester";ianNew[95]="Manila";ianNew[96]="Mauritius";ianNew[97]="Melbourne---Melbourne Regional";ianNew[98]="Melbourne---Tullamarine Arpt";ianNew[99]="Mexico City";ianNew[100]="Miami";ianNew[101]="Minneapolis";ianNew[102]="Misurata";ianNew[103]="Montreal";ianNew[104]="Moscow";ianNew[105]="Munich";ianNew[106]="Muscat";ianNew[107]="Nagoya";ianNew[108]="Nairobi";ianNew[109]="Nevsehir";ianNew[110]="New York";ianNew[111]="Newark";ianNew[112]="Orlando";ianNew[113]="Oslo";ianNew[114]="Ottawa";ianNew[115]="Pangkal Pinang";ianNew[116]="Paris---Charles De Gaulle Intl Arpt";ianNew[117]="Paris---Garu Du Nord Rail Station";ianNew[118]="Paris---Orly Arpt";ianNew[119]="Penang";ianNew[120]="Perth";ianNew[121]="Philadelphia---Philadelphia Intl Arpt";ianNew[122]="Philadelphia---Philadelphia Rail Station";ianNew[123]="Phuket";ianNew[124]="Pittsburgh";ianNew[125]="Portland---Portland Arpt";ianNew[126]="Portland---Portland Intl Arpt";ianNew[127]="Portland---Portland Intl Jetport";ianNew[128]="Riyadh";ianNew[129]="Rome---Ciampino Arpt";ianNew[130]="Rome---Fiumicino Arpt";ianNew[131]="Saidpur";ianNew[132]="San Andres";ianNew[133]="San Diego";ianNew[134]="San Francisco";ianNew[135]="Sanaa";ianNew[136]="Sanford";ianNew[137]="Seattle";ianNew[138]="Seoul";ianNew[139]="Shanghai";ianNew[140]="Sharjah";ianNew[141]="Singapore";ianNew[142]="Stockholm";ianNew[143]="Stuttgart";ianNew[144]="Sulaymaniyah";ianNew[145]="Sydney";ianNew[146]="Tabriz";ianNew[147]="Tagbilaran";ianNew[148]="Teheran";ianNew[149]="Tokyo---Haneda Arpt";ianNew[150]="Tokyo---Narita";ianNew[151]="Toronto---Buttonville Arpt";ianNew[152]="Toronto---Lester B Pearson Intl";ianNew[153]="Toronto---Toronto City Centre Airport";ianNew[154]="Vancouver";ianNew[155]="Venice";ianNew[156]="Vienna";ianNew[157]="Washington---Ronald Reagan National Arpt";ianNew[158]="Washington---Washington Dulles Intl";ianNew[159]="Wellington";ianNew[160]="Wilmington";ianNew[161]="Zurich"; iacGulf[0]="AHB";iacGulf[1]="AUH";iacGulf[2]="AAN";iacGulf[3]="ABT";iacGulf[4]="HOF";iacGulf[5]="RAE";iacGulf[6]="BHH";iacGulf[7]="BAH";iacGulf[8]="DXB";iacGulf[9]="DWC";iacGulf[10]="FJR";iacGulf[11]="ELQ";iacGulf[12]="GIZ";iacGulf[13]="URY";iacGulf[14]="HBT";iacGulf[15]="HAS";iacGulf[16]="AJF";iacGulf[17]="JED";iacGulf[18]="KHS";iacGulf[19]="DMM";iacGulf[20]="RUH";iacGulf[21]="KMC";iacGulf[22]="KWI";iacGulf[23]="EAM";iacGulf[24]="MED";iacGulf[25]="AQI";iacGulf[26]="RKT";iacGulf[27]="SLL";iacGulf[28]="MCT";iacGulf[29]="SHJ";iacGulf[30]="SHW";iacGulf[31]="TUU";iacGulf[32]="TIF";iacGulf[33]="XNB";iacGulf[34]="TUI";iacGulf[35]="YNB"; ianGulf[0]="Abha";ianGulf[1]="Abu Dhabi";ianGulf[2]="Al Ain";ianGulf[3]="Al Baha";ianGulf[4]="Hofuf";ianGulf[5]="Arar";ianGulf[6]="Bisha";ianGulf[7]="Bahrain";ianGulf[8]="Dubai";ianGulf[9]="Dubai";ianGulf[10]="Al Fujairah";ianGulf[11]="Gassim";ianGulf[12]="Gizan";ianGulf[13]="Gurayat";ianGulf[14]="Hafr Albatin";ianGulf[15]="Hail";ianGulf[16]="Al Jouf";ianGulf[17]="Jeddah";ianGulf[18]="Khasab";ianGulf[19]="Dammam";ianGulf[20]="Riyadh";ianGulf[21]="King Khalid Military City";ianGulf[22]="Kuwait";ianGulf[23]="Nejran";ianGulf[24]="Madinah";ianGulf[25]="Qaisumah";ianGulf[26]="Ras Al Khaimah";ianGulf[27]="Salalah";ianGulf[28]="Muscat";ianGulf[29]="Sharjah";ianGulf[30]="Sharurah";ianGulf[31]="Tabuk";ianGulf[32]="Taif";ianGulf[33]="Dubai";ianGulf[34]="Turaif";ianGulf[35]="Yanbo"; iacSouthEast[0]="SRG";iacSouthEast[1]="SOC";iacSouthEast[2]="JOG";iacSouthEast[3]="CBO";iacSouthEast[4]="BCD";iacSouthEast[5]="TKG";iacSouthEast[6]="BTU";iacSouthEast[7]="BTJ";iacSouthEast[8]="GES";iacSouthEast[9]="TJQ";iacSouthEast[10]="BFV";iacSouthEast[11]="BXU";iacSouthEast[12]="CXR";iacSouthEast[13]="HPH";iacSouthEast[14]="CEB";iacSouthEast[15]="CEI";iacSouthEast[16]="SIN";iacSouthEast[17]="CNX";iacSouthEast[18]="VCL";iacSouthEast[19]="CJM";iacSouthEast[20]="CRK";iacSouthEast[21]="TAC";iacSouthEast[22]="DMK";iacSouthEast[23]="DAD";iacSouthEast[24]="PGK";iacSouthEast[25]="DPL";iacSouthEast[26]="PQC";iacSouthEast[27]="DIN";iacSouthEast[28]="BTH";iacSouthEast[29]="UPG";iacSouthEast[30]="HDY";iacSouthEast[31]="HHQ";iacSouthEast[32]="BDO";iacSouthEast[33]="IPH";iacSouthEast[34]="SOQ";iacSouthEast[35]="SUB";iacSouthEast[36]="KLO";iacSouthEast[37]="KKC";iacSouthEast[38]="USM";iacSouthEast[39]="BKI";iacSouthEast[40]="KBV";iacSouthEast[41]="KUL";iacSouthEast[42]="KNO";iacSouthEast[43]="KUA";iacSouthEast[44]="KCH";iacSouthEast[45]="LBU";iacSouthEast[46]="LDU";iacSouthEast[47]="LGK";iacSouthEast[48]="LWY";iacSouthEast[49]="LGP";iacSouthEast[50]="DLI";iacSouthEast[51]="LMN";iacSouthEast[52]="BAG";iacSouthEast[53]="LKH";iacSouthEast[54]="RDN";iacSouthEast[55]="CGY";iacSouthEast[56]="HGN";iacSouthEast[57]="MAQ";iacSouthEast[58]="PLM";iacSouthEast[59]="MPH";iacSouthEast[60]="ILO";iacSouthEast[61]="MUR";iacSouthEast[62]="DVO";iacSouthEast[63]="MYY";iacSouthEast[64]="BIK";iacSouthEast[65]="UBP";iacSouthEast[66]="MKM";iacSouthEast[67]="SQH";iacSouthEast[68]="KOP";iacSouthEast[69]="NAK";iacSouthEast[70]="NST";iacSouthEast[71]="NNT";iacSouthEast[72]="NAW";iacSouthEast[73]="DPS";iacSouthEast[74]="NHA";iacSouthEast[75]="MNL";iacSouthEast[76]="HAN";iacSouthEast[77]="BKS";iacSouthEast[78]="PKG";iacSouthEast[79]="AMQ";iacSouthEast[80]="PEN";iacSouthEast[81]="KBR";iacSouthEast[82]="PHS";iacSouthEast[83]="PRH";iacSouthEast[84]="HUI";iacSouthEast[85]="HKT";iacSouthEast[86]="BMV";iacSouthEast[87]="PXU";iacSouthEast[88]="PPS";iacSouthEast[89]="UIH";iacSouthEast[90]="VKG";iacSouthEast[91]="UNN";iacSouthEast[92]="SNO";iacSouthEast[93]="MDC";iacSouthEast[94]="SFE";iacSouthEast[95]="SDK";iacSouthEast[96]="AMI";iacSouthEast[97]="BPN";iacSouthEast[98]="SBW";iacSouthEast[99]="PKU";iacSouthEast[100]="BDJ";iacSouthEast[101]="CGK";iacSouthEast[102]="SFS";iacSouthEast[103]="THS";iacSouthEast[104]="SZB";iacSouthEast[105]="AOR";iacSouthEast[106]="JHB";iacSouthEast[107]="TGG";iacSouthEast[108]="DJB";iacSouthEast[109]="URT";iacSouthEast[110]="BKK";iacSouthEast[111]="PDG";iacSouthEast[112]="TAG";iacSouthEast[113]="SGN";iacSouthEast[114]="TWU";iacSouthEast[115]="TIM";iacSouthEast[116]="TOD";iacSouthEast[117]="TST";iacSouthEast[118]="TDX";iacSouthEast[119]="UTP";iacSouthEast[120]="UTH";iacSouthEast[121]="VII"; ianSouthEast[0]="Semarang";ianSouthEast[1]="Solo";ianSouthEast[2]="Yogyakarta";ianSouthEast[3]="Cotabato";ianSouthEast[4]="Bacolod";ianSouthEast[5]="Bandar Lampung";ianSouthEast[6]="Bintulu";ianSouthEast[7]="Banda Aceh";ianSouthEast[8]="General Santos";ianSouthEast[9]="Tanjung Pandan";ianSouthEast[10]="Buri Ram";ianSouthEast[11]="Butuan";ianSouthEast[12]="Cam Ranh";ianSouthEast[13]="Haiphong";ianSouthEast[14]="Cebu";ianSouthEast[15]="Chiang Rai";ianSouthEast[16]="Singapore";ianSouthEast[17]="Chiang Mai";ianSouthEast[18]="Tamky";ianSouthEast[19]="Chumphon";ianSouthEast[20]="Angeles";ianSouthEast[21]="Tacloban";ianSouthEast[22]="Bangkok";ianSouthEast[23]="Da Nang";ianSouthEast[24]="Pangkal Pinang";ianSouthEast[25]="Dipolog";ianSouthEast[26]="Phu Quoc";ianSouthEast[27]="Dien Bien Phu";ianSouthEast[28]="Batam";ianSouthEast[29]="Ujung Pandang";ianSouthEast[30]="Hat Yai";ianSouthEast[31]="Hua Hin";ianSouthEast[32]="Bandung";ianSouthEast[33]="Ipoh";ianSouthEast[34]="Sorong";ianSouthEast[35]="Surabaya";ianSouthEast[36]="Kalibo";ianSouthEast[37]="Khon Kaen";ianSouthEast[38]="Koh Samui";ianSouthEast[39]="Kota Kinabalu";ianSouthEast[40]="Krabi";ianSouthEast[41]="Kuala Lumpur";ianSouthEast[42]="Medan";ianSouthEast[43]="Kuantan";ianSouthEast[44]="Kuching";ianSouthEast[45]="Labuan";ianSouthEast[46]="Lahad Datu";ianSouthEast[47]="Langkawi";ianSouthEast[48]="Lawas";ianSouthEast[49]="Legaspi";ianSouthEast[50]="Dalat";ianSouthEast[51]="Limbang";ianSouthEast[52]="Baguio";ianSouthEast[53]="Long Akah";ianSouthEast[54]="Redang";ianSouthEast[55]="Cagayan";ianSouthEast[56]="Mae Hongson";ianSouthEast[57]="Mae Sot";ianSouthEast[58]="Palembang";ianSouthEast[59]="Caticlan";ianSouthEast[60]="Iloilo";ianSouthEast[61]="Marudi";ianSouthEast[62]="Davao";ianSouthEast[63]="Miri";ianSouthEast[64]="Biak";ianSouthEast[65]="Ubon Ratchathani";ianSouthEast[66]="Mukah";ianSouthEast[67]="Son La";ianSouthEast[68]="Nakhon Phanom";ianSouthEast[69]="Nakhon Ratchasima";ianSouthEast[70]="Nakhon Si Thammarat";ianSouthEast[71]="Nan Th";ianSouthEast[72]="Narathiwat";ianSouthEast[73]="Denpasar Bali";ianSouthEast[74]="Nha Trang";ianSouthEast[75]="Manila";ianSouthEast[76]="Hanoi";ianSouthEast[77]="Bengkulu";ianSouthEast[78]="Pangkor";ianSouthEast[79]="Ambon";ianSouthEast[80]="Penang";ianSouthEast[81]="Kota Bharu";ianSouthEast[82]="Phitsanulok";ianSouthEast[83]="Phrae";ianSouthEast[84]="Hu Pg";ianSouthEast[85]="Phuket";ianSouthEast[86]="Banmethuot";ianSouthEast[87]="Pleiku";ianSouthEast[88]="Puerto Princesa";ianSouthEast[89]="Qui Nhon";ianSouthEast[90]="Rach Gia";ianSouthEast[91]="Ranong";ianSouthEast[92]="Sakon Nakhon";ianSouthEast[93]="Manado";ianSouthEast[94]="San Fernando";ianSouthEast[95]="Sandakan";ianSouthEast[96]="Mataram";ianSouthEast[97]="Balikpapan";ianSouthEast[98]="Sibu";ianSouthEast[99]="Pekanbaru";ianSouthEast[100]="Banjarmasin";ianSouthEast[101]="Jakarta";ianSouthEast[102]="Subic Bay";ianSouthEast[103]="Sukhothai";ianSouthEast[104]="Kuala Lumpur";ianSouthEast[105]="Alor Setar";ianSouthEast[106]="Johor Bahru";ianSouthEast[107]="Kuala Terengganu";ianSouthEast[108]="Jambi";ianSouthEast[109]="Surat Thani";ianSouthEast[110]="Bangkok";ianSouthEast[111]="Padang";ianSouthEast[112]="Tagbilaran";ianSouthEast[113]="Ho Chi Minh";ianSouthEast[114]="Tawau";ianSouthEast[115]="Timika";ianSouthEast[116]="Tioman";ianSouthEast[117]="Trang";ianSouthEast[118]="Trat";ianSouthEast[119]="U Tapao";ianSouthEast[120]="Udon Thani";ianSouthEast[121]="Vinh City"; function populateDomesticAirports(field) { var mlen = a_mc.length; field.length = dac.length + a_mc.length; for (var i = 0; i < mlen; i++) { field[i].text = a_mn[i]; field[i].value = a_mc[i]; } for (var i = 0; i < dac.length; i++) { field[mlen + i].text = dan[i]; field[mlen + i].value = dac[i]; } field.selectedIndex = 0; } function getAirportCode(airportName){ var index = 0; for (var i=0; i < dan.length; i++){ if (airportName == dan[i]){ index = i; break; } } return dac[index]; } function populateGulfDomesticAirports(field) { field.length = ianGulf.length; for (var i = 0; i < ianGulf.length; i++) { field[i].text = ianGulf[i]; field[i].value = iacGulf[i]; } field.selectedIndex = 0; } function populateSingaporeDomesticAirports(field) { field.length = 1; field[0].text = 'Singapore'; field[0].value = 'SIN'; field.selectedIndex = 0; } function populateSouthEastDomesticAirports(field) { field.length = ianSouthEast.length; for (var i = 0; i < ianSouthEast.length; i++) { field[i].text = ianSouthEast[i]; field[i].value = iacSouthEast[i]; } field.selectedIndex = 0; } function populateInternationalAirports(field) { //alert('Depricated: populateInternationalAirports'); field.length = iacNew.length + 19; field[0].text='Bangalore'; field[0].value='BLR'; field[1].text='Mumbai'; field[1].value='BOM'; field[2].text='Kolkata'; field[2].value='CCU'; field[3].text='Delhi'; field[3].value='DEL'; field[4].text='Chennai'; field[4].value='MAA'; field[5].text='Hyderabad'; field[5].value='HYD'; field[6].text='Ahmedabad'; field[6].value='AMD'; field[7].text='Amritsar'; field[7].value='ATQ'; field[8].text='Jaipur'; field[8].value='JAI'; field[9].text='Goa'; field[9].value='GOI'; field[10].text='Cochin'; field[10].value='COK'; field[11].text='Mangalore'; field[11].value='IXE'; field[12].text='Trivandrum'; field[12].value='TRV'; field[13].text='Trichy'; field[13].value='TRZ'; field[14].text='Pune'; field[14].value='PNQ'; field[15].text='Lucknow'; field[15].value='LKO'; field[16].text='Nagpur'; field[16].value='NAG'; field[17].text='Varanasi'; field[17].value='VNS'; field[18].text='---'; field[18].value='---- ----'; //alert(field.length); for (var i = 0; i < iacNew.length; i++) { field[i+19].text = ianNew[i]; //alert(field[i+5].text); field[i+19].value = iacNew[i]; field.selectedIndex = 0; } } function populateIntlDomAirports(field) { var mlen = a_idmc.length; field.length = mlen + dac.length; for (var i = 0; i < mlen; i++) { field[i].text = a_idmn[i]; field[i].value = a_idmc[i]; } for (var i = 0; i < dac.length; i++) { field[mlen + i].text = dan[i]; field[mlen + i].value = dac[i]; } field.selectedIndex = 0; } function populateDomIntlAirports(field, isAny) { var mlen = a_mc.length; var domlen = dac.length + a_mc.length; var len = 0; field.length = dac.length + a_mc.length + iacNew.length + len; if(isAny) { len = 1; field[0].text = "ANY"; field[0].value = ""; field.length = field.length + len; } for (var i = 0; i < mlen; i++) { field[i + len].text = a_mn[i]; field[i + len].value = a_mc[i]; } for (var i = 0; i < dac.length; i++) { field[mlen + i + len].text = dan[i]; field[mlen + i + len].value = dac[i]; } for (var i = 0; i < iacNew.length; i++) { field[domlen + i + len].text = ianNew[i]; field[domlen + i + len].value = iacNew[i]; } field.selectedIndex = 0; } function populateAllAirports(field) { //alert('Depricated: populateAllAirports'); } function isDomestic(airport) { for (var i = 0; i < dac.length; i++) { if (dac[i] == airport) { return true; } } return false; } function populateDomesticAirportsWithAny(field) { var mlen = a_mc.length; field.length = dac.length + a_mc.length + 1; field[0].text = "ANY"; field[0].value = ""; for (var i = 0; i < mlen; i++) { field[i + 1].text = a_mn[i]; field[i + 1].value = a_mc[i]; } for (var i = 0; i < dac.length; i++) { field[mlen + i + 1].text = dan[i]; field[mlen + i + 1].value = dac[i]; } field.selectedIndex = 0; } function getCityNameByCode(code){ for(var i = 0; i < a_mc.length; i++){ if(a_mc[i] == code){ return a_mn[i]; } } return code; }