fsInfoTour = new Array;
fsInfoSubTour0 = new Array('BCD|Bacolod'
       ,'Manila with Optional Tours |MNL|bcdmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|bcdmnlpps_elnido_tour_result'
); fsInfoTour[0] = fsInfoSubTour0;

fsInfoSubTour1 = new Array('BKK|Bangkok'
       ,'Bacolod |BCD|bkkmnlbcd_tour_result'
       ,'Beijing |PEK|bkkpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|bkkmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|bkkmnlklo_tour_result'
       ,'Cebu |CEB|bkkmnlceb_tour_result'
       ,'Davao |DVO|bkkmnldvo_tour_result'
       ,'Diving in Batangas |MNL|bkkmnl_diving_tour_result'
       ,'Guam |GUM|bkkgum_tour_result'
       ,'Hong Kong |HKG|bkkhkg_tour_result'
       ,'Iloilo |ILO|bkkmnlilo_tour_result'
       ,'Jakarta |CGK|bkkcgk_tour_result'
       ,'Laoag |LAO|bkkmnllao_tour_result'
       ,'Las Vegas |LAS|bkklas_tour_result'
       ,'Los Angeles |LAX|bkklax_tour_result'
       ,'Macau |MFM|bkkmfm_tour_result'
       ,'Manila with Optional Tours |MNL|bkkmnl_optional_tour_result'
       ,'Melbourne |MEL|bkkmel_tour_result'
       ,'Palawan |PPS|bkkmnlpps_tour_result'
       ,'Palawan (Coron) |USU|bkkmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|bkkmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|bkksfo_tour_result'
       ,'Shanghai |PVG|bkkpvg_tour_result'
       ,'Singapore |SIN|bkksin_tour_result'
       ,'Sydney |SYD|bkksyd_tour_result'
       ,'Taipei |TPE|bkktpe_tour_result'
       ,'Vancouver |YVR|bkkyvr_tour_result'
       ,'Xiamen |XMN|bkkxmn_tour_result'
); fsInfoTour[1] = fsInfoSubTour1;

fsInfoSubTour2 = new Array('PEK|Beijing'
       ,'Bacolod |BCD|pekmnlbcd_tour_result'
       ,'Bangkok |BKK|pekbkk_tour_result'
       ,'Bohol (Tagbilaran) |TAG|pekmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|pekmnlklo_kalibo_tour_result'
       ,'Cebu |CEB|pekmnlceb_tour_result'
       ,'Davao |DVO|pekmnldvo_tour_result'
       ,'Diving in Batangas |MNL|pekmnl_diving_tour_result'
       ,'Guam |GUM|pekgum_tour_result'
       ,'Hong Kong |HKG|pekhkg_tour_result'
       ,'Iloilo |ILO|pekmnlilo_tour_result'
       ,'Jakarta |CGK|pekcgk_tour_result'
       ,'Laoag |LAO|pekmnllao_tour_result'
       ,'Las Vegas |LAS|peklas_tour_result'
       ,'Los Angeles |LAX|peklax_tour_result'
       ,'Macau |MFM|pekmfm_tour_result'
       ,'Manila with Optional Tours |MNL|pekmnl_optional_tour_result'
       ,'Melbourne |MEL|pekmel_tour_result'
       ,'Palawan |PPS|pekmnlpps_tour_result'
       ,'Palawan (Coron) |USU|pekmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|pekmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|peksfo_tour_result'
       ,'Singapore |SIN|peksin_tour_result'
       ,'Sydney |SYD|peksyd_tour_result'
       ,'Taipei |TPE|pektpe_tour_result'
       ,'Vancouver |YVR|pekyvr_tour_result'
); fsInfoTour[2] = fsInfoSubTour2;

fsInfoSubTour3 = new Array('KLO|Boracay (Kalibo)'
       ,'Manila with Optional Tours |MNL|klomnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|klomnlpps_elnido_tour_result'
); fsInfoTour[3] = fsInfoSubTour3;

fsInfoSubTour4 = new Array('BXU|Butuan'
       ,'Manila with Optional Tours |MNL|bxumnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|bxumnlpps_elnido_tour_result'
); fsInfoTour[4] = fsInfoSubTour4;

fsInfoSubTour5 = new Array('CGY|Cagayan de Oro'
       ,'Manila with Optional Tours |MNL|cgymnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|cgymnlpps_elnido_tour_result'
); fsInfoTour[5] = fsInfoSubTour5;

fsInfoSubTour6 = new Array('CEB|Cebu'
       ,'Manila with Optional Tours |MNL|cebmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|cebmnlpps_elnido_tour_result'
); fsInfoTour[6] = fsInfoSubTour6;

fsInfoSubTour7 = new Array('CBO|Cotobato'
       ,'Manila with Optional Tours |MNL|cbomnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|cbomnlpps_elnido_tour_result'
); fsInfoTour[7] = fsInfoSubTour7;

fsInfoSubTour8 = new Array('DVO|Davao'
       ,'Manila with Optional Tours |MNL|dvomnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|dvomnlpps_elnido_tour_result'
); fsInfoTour[8] = fsInfoSubTour8;

fsInfoSubTour9 = new Array('DPL|Dipolog'
       ,'Manila with Optional Tours |MNL|dplmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|dplmnlpps_elnido_tour_result'
); fsInfoTour[9] = fsInfoSubTour9;

fsInfoSubTour10 = new Array('DGT|Dumaguete'
       ,'Manila with Optional Tours |MNL|dgtmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|dgtmnlpps_elnido_tour_result'
); fsInfoTour[10] = fsInfoSubTour10;

fsInfoSubTour11 = new Array('GES|General Santos'
       ,'Manila with Optional Tours |MNL|gesmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|gesmnlpps_elnido_tour_result'
); fsInfoTour[11] = fsInfoSubTour11;

fsInfoSubTour12 = new Array('GUM|Guam'
       ,'Bacolod |BCD|gummnlbcd_tour_result'
       ,'Bangkok |BKK|gumbkk_tour_result'
       ,'Beijing |PEK|gumpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|gummnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|gummnlklo_tour_result'
       ,'Cebu |CEB|gummnlceb_tour_result'
       ,'Davao |DVO|gummnldvo_tour_result'
       ,'Diving in Batangas |MNL|gummnl_diving_tour_result'
       ,'Hong Kong |HKG|gumhkg_tour_result'
       ,'Iloilo |ILO|gummnlilo_tour_result'
       ,'Jakarta |CGK|gumcgk_tour_result'
       ,'Laoag |LAO|gummnllao_tour_result'
       ,'Las Vegas |LAS|gumlas_tour_result'
       ,'Los Angeles |LAX|gumlax_tour_result'
       ,'Macau |MFM|gummfm_tour_result'
       ,'Manila with Optional Tours |MNL|gummnl_optional_tour_result'
       ,'Melbourne |MEL|gummel_tour_result'
       ,'Palawan |PPS|gummnlpps_tour_result'
       ,'Palawan (Coron) |USU|gummnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|gummnlpps_elnido_tour_result'
       ,'San Francisco |SFO|gumsfo_tour_result'
       ,'Shanghai |PVG|gumpvg_tour_result'
       ,'Singapore |SIN|gumsin_tour_result'
       ,'Sydney |SYD|gumsyd_tour_result'
       ,'Taipei |TPE|gumtpe_tour_result'
       ,'Vancouver |YVR|gumyvr_tour_result'
       ,'Xiamen |XMN|gumxmn_tour_result'
); fsInfoTour[12] = fsInfoSubTour12;

fsInfoSubTour13 = new Array('SGN|Ho Chi Minh City (Saigon)'
       ,'Bacolod |BCD|hcmmnlbcd_tour_result'
       ,'Bangkok |BKK|sgnbkk_tour_result'
       ,'Beijing |PEK|sgnpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|hcmmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|hcmmnlklo_tour_result'
       ,'Cebu |CEB|hcmmnlceb_tour_result'
       ,'Davao |DVO|hcmmnldvo_tour_result'
       ,'Diving in Batangas |MNL|hcmmnl_diving_tour_result'
       ,'Guam |GUM|sgngum_tour_result'
       ,'Hong Kong |HKG|sgnhkg_tour_result'
       ,'Iloilo |ILO|hcmmnlilo_tour_result'
       ,'Jakarta |CGK|sgncgk_tour_result'
       ,'Laoag |LAO|hcmmnllao_tour_result'
       ,'Las Vegas |LAS|sgnlas_tour_result'
       ,'Los Angeles |LAX|sgnlax_tour_result'
       ,'Macau |MFM|sgnmfm_tour_result'
       ,'Manila with Optional Tours |MNL|hcmmnl_optional_tour_result'
       ,'Melbourne |MEL|sgnmel_tour_result'
       ,'Palawan |PPS|hcmmnlpps_tour_result'
       ,'Palawan (Coron) |USU|hcmmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|hcmmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|sgnsfo_tour_result'
       ,'Shanghai |PVG|sgnpvg_tour_result'
       ,'Singapore |SIN|sgnsin_tour_result'
       ,'Sydney |SYD|sgnsyd_tour_result'
       ,'Taipei |TPE|sgntpe_tour_result'
       ,'Vancouver |YVR|sgnyvr_tour_result'
       ,'Xiamen |XMN|sgnxmn_tour_result'
); fsInfoTour[13] = fsInfoSubTour13;

fsInfoSubTour14 = new Array('HKG|Hong Kong'
       ,'Bacolod |BCD|hkgmnlbcd_tour_result'
       ,'Bangkok |BKK|hkgbkk_tour_result'
       ,'Beijing |PEK|hkgpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|hkgmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|hkgmnlklo_tour_result'
       ,'Cebu |CEB|hkgmnlceb_tour_result'
       ,'Davao |DVO|hkgmnldvo_tour_result'
       ,'Diving in Batangas |MNL|hkgmnl_diving_tour_result'
       ,'Guam |GUM|hkggum_tour_result'
       ,'Iloilo |ILO|hkgmnlilo_tour_result'
       ,'Jakarta |CGK|hkgcgk_tour_result'
       ,'Laoag |LAO|hkgmnllao_tour_result'
       ,'Las Vegas |LAS|hkglas_tour_result'
       ,'Los Angeles |LAX|hkglax_tour_result'
       ,'Manila with Optional Tours |MNL|hkgmnl_optional_tour_result'
       ,'Melbourne |MEL|hkgmel_tour_result'
       ,'Palawan |PPS|hkgmnlpps_tour_result'
       ,'Palawan (Coron) |USU|hkgmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|hkgmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|hkgsfo_tour_result'
       ,'Shanghai |PVG|hkgpvg_tour_result'
       ,'Singapore |SIN|hkgsin_tour_result'
       ,'Sydney |SYD|hkgsyd_tour_result'
       ,'Taipei |TPE|hkgtpe_tour_result'
       ,'Vancouver |YVR|hkgyvr_tour_result'
       ,'Xiamen |XMN|hkgxmn_tour_result'
); fsInfoTour[14] = fsInfoSubTour14;

fsInfoSubTour15 = new Array('HNL|Honolulu'
       ,'Bacolod |BCD|hnlmnlbcd_tour_result'
       ,'Bangkok |BKK|hnlbkk_tour_result'
       ,'Beijing |PEK|hnlpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|hnlmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|hnlmnlklo_tour_result'
       ,'Cebu |CEB|hnlmnlceb_tour_result'
       ,'Davao |DVO|hnlmnldvo_tour_result'
       ,'Diving in Batangas |MNL|hnlmnl_diving_tour_result'
       ,'Guam |GUM|hnlgum_tour_result'
       ,'Hong Kong |HKG|hnlhkg_tour_result'
       ,'Iloilo |ILO|hnlmnlilo_tour_result'
       ,'Jakarta |CGK|hnlcgk_tour_result'
       ,'Laoag |LAO|hnlmnllao_tour_result'
       ,'Macau |MFM|hnlmfm_tour_result'
       ,'Manila with Optional Tours |MNL|hnlmnl_optional_tour_result'
       ,'Melbourne |MEL|hnlmel_tour_result'
       ,'Palawan |PPS|hnlmnlpps_tour_result'
       ,'Palawan (Coron) |USU|hnlmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|hnlmnlpps_elnido_tour_result'
       ,'Shanghai |PVG|hnlpvg_tour_result'
       ,'Singapore |SIN|hnlsin_tour_result'
       ,'Sydney |SYD|hnlsyd_tour_result'
       ,'Taipei |TPE|hnltpe_tour_result'
       ,'Xiamen |XMN|hnlxmn_tour_result'
); fsInfoTour[15] = fsInfoSubTour15;

fsInfoSubTour16 = new Array('ILO|Iloilo'
       ,'Manila with Optional Tours |MNL|ilomnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|ilomnlpps_elnido_tour_result'
); fsInfoTour[16] = fsInfoSubTour16;

fsInfoSubTour17 = new Array('CGK|Jakarta'
       ,'Bacolod |BCD|cgkmnlbcd_tour_result'
       ,'Bangkok |BKK|cgkbkk_tour_result'
       ,'Beijing |PEK|cgkpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|cgkmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|cgkmnlklo_tour_result'
       ,'Cebu |CEB|cgkmnlceb_tour_result'
       ,'Davao |DVO|cgkmnldvo_tour_result'
       ,'Diving in Batangas |MNL|cgkmnl_diving_tour_result'
       ,'Guam |GUM|cgkgum_tour_result'
       ,'Hong Kong |HKG|cgkhkg_tour_result'
       ,'Iloilo |ILO|cgkmnlilo_tour_result'
       ,'Laoag |LAO|cgkmnllao_tour_result'
       ,'Las Vegas |LAS|cgklas_tour_result'
       ,'Los Angeles |LAX|cgklax_tour_result'
       ,'Macau |MFM|cgkmfm_tour_result'
       ,'Manila with Optional Tours |MNL|cgkmnl_optional_tour_result'
       ,'Melbourne |MEL|cgkmel_tour_result'
       ,'Palawan |PPS|cgkmnlpps_tour_result'
       ,'Palawan (Coron) |USU|cgkmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|cgkmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|cgksfo_tour_result'
       ,'Shanghai |PVG|cgkpvg_tour_result'
       ,'Singapore |SIN|cgksin_tour_result'
       ,'Sydney |SYD|cgksyd_tour_result'
       ,'Taipei |TPE|cgktpe_tour_result'
       ,'Vancouver |YVR|cgkyvr_tour_result'
       ,'Xiamen |XMN|cgkxmn_tour_result'
); fsInfoTour[17] = fsInfoSubTour17;

fsInfoSubTour18 = new Array('LAO|Laoag'
       ,'Manila with Optional Tours |MNL|laomnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|laomnlpps_elnido_tour_result'
); fsInfoTour[18] = fsInfoSubTour18;

fsInfoSubTour19 = new Array('LAS|Las Vegas'
       ,'Bacolod |BCD|lasmnlbcd_tour_result'
       ,'Bangkok |BKK|lasbkk_tour_result'
       ,'Beijing |PEK|laspek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|lasmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|lasmnlklo_tour_result'
       ,'Cebu |CEB|lasmnlceb_tour_result'
       ,'Davao |DVO|lasmnldvo_tour_result'
       ,'Diving in Batangas |MNL|lasmnl_diving_tour_result'
       ,'Guam |GUM|lasgum_tour_result'
       ,'Hong Kong |HKG|lashkg_tour_result'
       ,'Iloilo |ILO|lasmnlilo_tour_result'
       ,'Jakarta |CGK|lascgk_tour_result'
       ,'Laoag |LAO|lasmnllao_tour_result'
       ,'Macau |MFM|lasmfm_tour_result'
       ,'Manila with Optional Tours |MNL|lasmnl_optional_tour_result'
       ,'Melbourne |MEL|lasmel_tour_result'
       ,'Palawan |PPS|lasmnlpps_tour_result'
       ,'Palawan (Coron) |USU|lasmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|lasmnlpps_elnido_tour_result'
       ,'Shanghai |PVG|laspvg_tour_result'
       ,'Singapore |SIN|lassin_tour_result'
       ,'Sydney |SYD|lassyd_tour_result'
       ,'Taipei |TPE|lastpe_tour_result'
       ,'Vancouver |YVR|lasyvr_tour_result'
       ,'Xiamen |XMN|lasxmn_tour_result'
); fsInfoTour[19] = fsInfoSubTour19;

fsInfoSubTour20 = new Array('LGP|Legaspi'
       ,'Manila with Optional Tours |MNL|lpgmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|lgpmnlpps_elnido_tour_result'
); fsInfoTour[20] = fsInfoSubTour20;

fsInfoSubTour21 = new Array('LAX|Los Angeles'
       ,'Bacolod |BCD|laxmnlbcd_tour_result'
       ,'Bangkok |BKK|laxmnlbkk_tour_result'
       ,'Beijing |PEK|laxpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|laxmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|laxmnlklo_tour_result'
       ,'Cebu |CEB|laxmnlceb_tour_result'
       ,'Davao |DVO|laxmnldvo_tour_result'
       ,'Diving in Batangas |MNL|laxmnl_diving_tour_result'
       ,'Guam |GUM|laxgum_tour_result'
       ,'Hong Kong |HKG|laxmnlhkg_tour_result'
       ,'Iloilo |ILO|laxmnlilo_tour_result'
       ,'Jakarta |CGK|laxcgk_tour_result'
       ,'Laoag |LAO|laxmnllao_tour_result'
       ,'Macau |MFM|laxmfm_tour_result'
       ,'Manila with Optional Tours |MNL|laxmnl_optional_tour_result'
       ,'Melbourne |MEL|laxmel_tour_result'
       ,'Palawan |PPS|laxmnlpps_tour_result'
       ,'Palawan (Coron) |USU|laxmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|laxmnlpps_elnido_tour_result'
       ,'Shanghai |PVG|laxpvg_tour_result'
       ,'Singapore |SIN|laxmnlsin_tour_result'
       ,'Sydney |SYD|laxsyd_tour_result'
       ,'Taipei |TPE|laxtpe_tour_result'
       ,'Xiamen |XMN|laxxmn_tour_result'
); fsInfoTour[21] = fsInfoSubTour21;

fsInfoSubTour22 = new Array('NGO|Nagoya'
       ,'Bacolod |BCD|ngomnlbcd_tour_result'
       ,'Bangkok |BKK|ngobkk_tour_result'
       ,'Beijing |PEK|ngopek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|ngomnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|ngomnlklo_tour_result'
       ,'Cebu |CEB|ngomnlceb_tour_result'
       ,'Davao |DVO|ngomnldvo_tour_result'
       ,'Diving in Batangas |MNL|ngomnl_diving_tour_result'
       ,'Guam |GUM|ngogum_tour_result'
       ,'Hong Kong |HKG|ngohkg_tour_result'
       ,'Iloilo |ILO|ngomnlilo_tour_result'
       ,'Jakarta |CGK|ngocgk_tour_result'
       ,'Laoag |LAO|ngomnllao_tour_result'
       ,'Las Vegas |LAS|ngolas_tour_result'
       ,'Los Angeles |LAX|ngolax_tour_result'
       ,'Macau |MFM|ngomfm_tour_result'
       ,'Manila with Optional Tours |MNL|ngomnl_optional_tour_result'
       ,'Melbourne |MEL|ngomel_tour_result'
       ,'Palawan |PPS|ngomnlpps_tour_result'
       ,'Palawan (Coron) |USU|ngomnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|ngomnlpps_elnido_tour_result'
       ,'San Francisco |SFO|ngosfo_tour_result'
       ,'Shanghai |PVG|ngopvg_tour_result'
       ,'Singapore |SIN|ngosin_tour_result'
       ,'Sydney |SYD|ngosyd_tour_result'
       ,'Taipei |TPE|ngotpe_tour_result'
       ,'Vancouver |YVR|ngoyvr_tour_result'
       ,'Xiamen |XMN|ngoxmn_tour_result'
); fsInfoTour[22] = fsInfoSubTour22;

fsInfoSubTour23 = new Array('MFM|Macau'
       ,'Bacolod |BCD|mfmmnlbcd_tour_result'
       ,'Bangkok |BKK|mfmbkk_tour_result'
       ,'Beijing |PEK|mfmpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|mfmmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|mfmmnlklo_tour_result'
       ,'Cebu |CEB|mfmmnlceb_tour_result'
       ,'Davao |DVO|mfmmnldvo_tour_result'
       ,'Diving in Batangas |MNL|mfmmnl_diving_tour_result'
       ,'Guam |GUM|mfmgum_tour_result'
       ,'Iloilo |ILO|mfmmnlilo_tour_result'
       ,'Jakarta |CGK|mfmcgk_tour_result'
       ,'Laoag |LAO|mfmmnllao_tour_result'
       ,'Las Vegas |LAS|mfmlas_tour_result'
       ,'Los Angeles |LAX|mfmlax_tour_result'
       ,'Manila with Optional Tours |MNL|mfmmnl_optional_tour_result'
       ,'Melbourne |MEL|mfmmel_tour_result'
       ,'Palawan |PPS|mfmmnlpps_tour_result'
       ,'Palawan (Coron) |USU|mfmmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|mfmmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|mfmsfo_tour_result'
       ,'Shanghai |PVG|mfmpvg_tour_result'
       ,'Singapore |SIN|mfmsin_tour_result'
       ,'Sydney |SYD|mfmsyd_tour_result'
       ,'Taipei |TPE|mfmtpe_tour_result'
       ,'Vancouver |YVR|mfmyvr_tour_result'
       ,'Xiamen |XMN|mfmxmn_tour_result'
); fsInfoTour[23] = fsInfoSubTour23;

fsInfoSubTour24 = new Array('MNL|Manila'
       ,'Bacolod |BCD|mnlbcd_tour_result'
       ,'Bangkok |BKK|mnlbkk_tour_result'
       ,'Beijing |PEK|mnlpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|mnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|mnlklo_tour_result'
       ,'Brisbane |BNE|mnlbne_tour_result'
       ,'Cagayan De Oro |CGY|mnlcgy_tour_result'
       ,'Cebu |CEB|mnlceb_tour_result'
       ,'Coron (Busuanga) |USU|mnlusu_tour_result'
       ,'Davao |DVO|mnldvo_tour_result'
       ,'Dipolog |DPL|mnldpl_tour_result'
       ,'Guam |GUM|mnlgum_tour_result'
       ,'Ho Chi Minh City |SGN|mnlsgn_tour_result'
       ,'Hong Kong |HKG|mnlhkg_tour_result'
       ,'Honolulu |HNL|mnlhnl_tour_result'
       ,'Iloilo |ILO|mnlilo_tour_result'
       ,'Jakarta |CGK|mnlcgk_tour_result'
       ,'Laoag |LAO|mnllao_tour_result'
       ,'Las Vegas |LAS|mnllas_tour_result'
       ,'Los Angeles |LAX|mnllax_tour_result'
       ,'Macau |MFM|mnlmfm_tour_result'
       ,'Melbourne |MEL|mnlmel_tour_result'
       ,'Osaka |KIX|mnlosa_tour_result'
       ,'Pagudpud (Laoag) |LAO|mnllao_pagudpud_tour_result'
       ,'Puerto Princesa |PPS|mnlpps_tour_result'
       ,'San Francisco |SFO|mnlsfo_tour_result'
       ,'Shanghai |PVG|mnlpvg_tour_result'
       ,'Singapore |SIN|mnlsin_tour_result'
       ,'Sydney |SYD|mnlsyd_tour_result'
       ,'Sydney and Melbourne |SYD|mnlsyd_mnlmel_tour_result'
       ,'Taipei |TPE|mnltpe_tour_result'
       ,'Vancouver |YVR|mnlyvr_tour_result'
       ,'Xiamen |XMN|mnlxmn_tour_result'
); fsInfoTour[24] = fsInfoSubTour24;

fsInfoSubTour25 = new Array('MEL|Melbourne'
       ,'Bacolod |BCD|melmnlbcd_tour_result'
       ,'Bangkok |BKK|melbkk_tour_result'
       ,'Beijing |PEK|melpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|melmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|melmnlklo_tour_result'
       ,'Cebu |CEB|melmnlceb_tour_result'
       ,'Davao |DVO|melmnldvo_tour_result'
       ,'Diving in Batangas |MNL|melmnl_diving_tour_result'
       ,'Guam |GUM|melgum_tour_result'
       ,'Hong Kong |HKG|melhkg_tour_result'
       ,'Iloilo |ILO|melmnlilo_tour_result'
       ,'Jakarta |CGK|melcgk_tour_result'
       ,'Laoag |LAO|melmnllao_tour_result'
       ,'Las Vegas |LAS|mellas_tour_result'
       ,'Los Angeles |LAX|mellax_tour_result'
       ,'Macau |MFM|melmfm_tour_result'
       ,'Manila with Optional Tours |MNL|melmnl_optional_tour_result'
       ,'Palawan |PPS|melmnlpps_tour_result'
       ,'Palawan (Coron) |USU|melmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|melmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|melsfo_tour_result'
       ,'Shanghai |PVG|melpvg_tour_result'
       ,'Singapore |SIN|melsin_tour_result'
       ,'Sydney |SYD|melsyd_tour_result'
       ,'Taipei |TPE|meltpe_tour_result'
       ,'Vancouver |YVR|melyvr_tour_result'
       ,'Xiamen |XMN|melxmn_tour_result'
); fsInfoTour[25] = fsInfoSubTour25;

fsInfoSubTour26 = new Array('PPS|Puerto Princesa'
       ,'Manila with Optional Tours |MNL|ppsmnl_optional_day_tour_result'
); fsInfoTour[26] = fsInfoSubTour26;

fsInfoSubTour27 = new Array('RXS|Roxas'
       ,'Manila with Optional Tours |MNL|rxsmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|rxsmnlpps_elnido_tour_result'
); fsInfoTour[27] = fsInfoSubTour27;

fsInfoSubTour28 = new Array('SFO|San Francisco'
       ,'Bacolod |BCD|sfomnlbcd_tour_result'
       ,'Bangkok |BKK|sfobkk_tour_result'
       ,'Beijing |PEK|sfopek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|sfomnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|sfomnlklo_tour_result'
       ,'Cebu |CEB|sfomnlceb_tour_result'
       ,'Davao |DVO|sfomnldvo_tour_result'
       ,'Diving in Batangas |MNL|sfomnl_diving_tour_result'
       ,'Guam |GUM|sfogum_tour_result'
       ,'Hong Kong |HKG|sfohkg_tour_result'
       ,'Iloilo |ILO|sfomnlilo_tour_result'
       ,'Jakarta |CGK|sfocgk_tour_result'
       ,'Laoag |LAO|sfomnllao_tour_result'
       ,'Macau |MFM|sfomfm_tour_result'
       ,'Manila with Optional Tours |MNL|sfomnl_optional_tour_result'
       ,'Melbourne |MEL|sfomel_tour_result'
       ,'Palawan |PPS|sfomnlpps_tour_result'
       ,'Palawan (Coron) |USU|sfomnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|sfomnlpps_elnido_tour_result'
       ,'Shanghai |PVG|sfopvg_tour_result'
       ,'Singapore |SIN|sfosin_tour_result'
       ,'Sydney |SYD|sfosyd_tour_result'
       ,'Taipei |TPE|sfotpe_tour_result'
       ,'Xiamen |XMN|sfoxmn_tour_result'
); fsInfoTour[28] = fsInfoSubTour28;

fsInfoSubTour29 = new Array('PVG|Shanghai'
       ,'Bacolod |BCD|pvgmnlbcd_tour_result'
       ,'Bangkok |BKK|pvgbkk_tour_result'
       ,'Bohol (Tagbilaran) |TAG|pvgmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|pvgmnlklo_tour_result'
       ,'Cebu |CEB|pvgmnlceb_tour_result'
       ,'Davao |DVO|pvgmnldvo_tour_result'
       ,'Diving in Batangas |MNL|pvgmnl_diving_tour_result'
       ,'Guam |GUM|pvggum_tour_result'
       ,'Hong Kong |HKG|pvghkg_tour_result'
       ,'Iloilo |ILO|pvgmnlilo_tour_result'
       ,'Jakarta |CGK|pvgcgk_tour_result'
       ,'Laoag |LAO|pvgmnllao_tour_result'
       ,'Las Vegas |LAS|pvglas_tour_result'
       ,'Los Angeles |LAX|pvglax_tour_result'
       ,'Macau |MFM|pvgmfm_tour_result'
       ,'Manila with Optional Tours |MNL|pvgmnl_optional_tour_result'
       ,'Melbourne |MEL|pvgmel_tour_result'
       ,'Palawan |PPS|pvgmnlpps_tour_result'
       ,'Palawan (Coron) |USU|pvgmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|pvgmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|pvgsfo_tour_result'
       ,'Singapore |SIN|pvgsin_tour_result'
       ,'Sydney |SYD|pvgsyd_tour_result'
       ,'Taipei |TPE|pvgtpe_tour_result'
       ,'Vancouver |YVR|pvgyvr_tour_result'
); fsInfoTour[29] = fsInfoSubTour29;

fsInfoSubTour30 = new Array('SIN|Singapore'
       ,'Bacolod |BCD|sinmnlbcd_tour_result'
       ,'Bangkok |BKK|sinbkk_tour_result'
       ,'Beijing |PEK|sinpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|sinmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|sinmnlklo_tour_result'
       ,'Cebu |CEB|sinmnlceb_tour_result'
       ,'Davao |DVO|sinmnldvo_tour_result'
       ,'Diving in Batangas |MNL|sinmnl_diving_tour_result'
       ,'Guam |GUM|singum_tour_result'
       ,'Hong Kong |HKG|sinhkg_tour_result'
       ,'Iloilo |ILO|sinmnlilo_tour_result'
       ,'Jakarta |CGK|sincgk_tour_result'
       ,'Laoag |LAO|sinmnllao_tour_result'
       ,'Las Vegas |LAS|sinlas_tour_result'
       ,'Los Angeles |LAX|sinlax_tour_result'
       ,'Macau |MFM|sinmfm_tour_result'
       ,'Manila with Optional Tours |MNL|sinmnl_optional_tour_result'
       ,'Melbourne |MEL|sinmel_tour_result'
       ,'Palawan |PPS|sinmnlpps_tour_result'
       ,'Palawan (Coron) |USU|sinmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|sinmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|sinsfo_tour_result'
       ,'Shanghai |PVG|sinpvg_tour_result'
       ,'Sydney |SYD|sinsyd_tour_result'
       ,'Taipei |TPE|sintpe_tour_result'
       ,'Vancouver |YVR|sinyvr_tour_result'
       ,'Xiamen |XMN|sinxmn_tour_result'
); fsInfoTour[30] = fsInfoSubTour30;

fsInfoSubTour31 = new Array('SYD|Sydney'
       ,'Bacolod |BCD|sydmnlbcd_tour_result'
       ,'Bangkok |BKK|sydbkk_tour_result'
       ,'Beijing |PEK|sydpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|sydmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|sydmnlklo_tour_result'
       ,'Cebu |CEB|sydmnlceb_tour_result'
       ,'Davao |DVO|sydmnldvo_tour_result'
       ,'Diving in Batangas |MNL|sydmnl_diving_tour_result'
       ,'Guam |GUM|sydgum_tour_result'
       ,'Hong Kong |HKG|sydhkg_tour_result'
       ,'Iloilo |ILO|sydmnlilo_tour_result'
       ,'Jakarta |CGK|sydcgk_tour_result'
       ,'Laoag |LAO|sydmnllao_tour_result'
       ,'Las Vegas |LAS|sydlas_tour_result'
       ,'Los Angeles |LAX|sydlax_tour_result'
       ,'Macau |MFM|sydmfm_tour_result'
       ,'Manila with Optional Tours |MNL|sydmnl_optional_tour_result'
       ,'Melbourne |MEL|sydmel_tour_result'
       ,'Palawan |PPS|sydmnlpps_tour_result'
       ,'Palawan (Coron) |USU|sydmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|sydmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|sydsfo_tour_result'
       ,'Shanghai |PVG|sydpvg_tour_result'
       ,'Singapore |SIN|sydsin_tour_result'
       ,'Taipei |TPE|sydtpe_tour_result'
       ,'Vancouver |YVR|sydyvr_tour_result'
       ,'Xiamen |XMN|sydxmn_tour_result'
); fsInfoTour[31] = fsInfoSubTour31;

fsInfoSubTour32 = new Array('TAC|Tacloban'
       ,'Manila with Optional Tours |MNL|tacmnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|tacmnlpps_elnido_tour_result'
); fsInfoTour[32] = fsInfoSubTour32;

fsInfoSubTour33 = new Array('TPE|Taipei'
       ,'Bacolod |BCD|tpemnlbcd_tour_result'
       ,'Bangkok |BKK|tpebkk_tour_result'
       ,'Beijing |PEK|tpepek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|tpemnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|tpemnlklo_tour_result'
       ,'Cebu |CEB|tpemnlceb_tour_result'
       ,'Davao |DVO|tpemnldvo_tour_result'
       ,'Diving in Batangas |MNL|tpemnl_diving_tour_result'
       ,'Guam |GUM|tpegum_tour_result'
       ,'Hong Kong |HKG|tpehkg_tour_result'
       ,'Iloilo |ILO|tpemnlilo_tour_result'
       ,'Jakarta |CGK|tpecgk_tour_result'
       ,'Laoag |LAO|tpemnllao_tour_result'
       ,'Las Vegas |LAS|tpelas_tour_result'
       ,'Los Angeles |LAX|tpelax_tour_result'
       ,'Macau |MFM|tpemfm_tour_result'
       ,'Manila with Optional Tours |MNL|tpemnl_optional_tour_result'
       ,'Melbourne |MEL|tpemel_tour_result'
       ,'Palawan |PPS|tpemnlpps_tour_result'
       ,'Palawan (Coron) |USU|tpemnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|tpemnlpps_elnido_tour_result'
       ,'San Francisco |SFO|tpesfo_tour_result'
       ,'Shanghai |PVG|tpepvg_tour_result'
       ,'Singapore |SIN|tpesin_tour_result'
       ,'Sydney |SYD|tpesyd_tour_result'
       ,'Vancouver |YVR|tpeyvr_tour_result'
       ,'Xiamen |XMN|tpexmn_tour_result'
); fsInfoTour[33] = fsInfoSubTour33;

fsInfoSubTour34 = new Array('NRT|Tokyo'
       ,'Bacolod |BCD|tyomnlbcd_tour_result'
       ,'Bangkok |BKK|tyobkk_tour_result'
       ,'Beijing |PEK|tyopek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|tyomnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|tyomnlklo_tour_result'
       ,'Cebu |CEB|tyomnlceb_tour_result'
       ,'Davao |DVO|tyomnldvo_tour_result'
       ,'Diving in Batangas |MNL|tyomnl_diving_tour_result'
       ,'Guam |GUM|tyogum_tour_result'
       ,'Hong Kong |HKG|tyohkg_tour_result'
       ,'Iloilo |ILO|tyomnlilo_tour_result'
       ,'Jakarta |CGK|tyocgk_tour_result'
       ,'Laoag |LAO|tyomnllao_tour_result'
       ,'Las Vegas |LAS|tyolas_tour_result'
       ,'Los Angeles |LAX|tyolax_tour_result'
       ,'Macau |MFM|tyomfm_tour_result'
       ,'Manila with Optional Tours |MNL|tyomnl_optional_tour_result'
       ,'Melbourne |MEL|tyomel_tour_result'
       ,'Palawan |PPS|tyomnlpps_tour_result'
       ,'Palawan (Coron) |USU|tyomnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|tyomnlpps_elnido_tour_result'
       ,'San Francisco |SFO|tyosfo_tour_result'
       ,'Shanghai |PVG|tyopvg_tour_result'
       ,'Singapore |SIN|tyosin_tour_result'
       ,'Sydney |SYD|tyosyd_tour_result'
       ,'Taipei |TPE|tyotpe_tour_result'
       ,'Vancouver |YVR|tyoyvr_tour_result'
       ,'Xiamen |XMN|tyoxmn_tour_result'
); fsInfoTour[34] = fsInfoSubTour34;

fsInfoSubTour35 = new Array('YVR|Vancouver'
       ,'Bacolod |BCD|yvrmnlbcd_tour_result'
       ,'Bangkok |BKK|yvrbkk_tour_result'
       ,'Beijing |PEK|yvrpek_tour_result'
       ,'Bohol (Tagbilaran) |TAG|yvrmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|yvrmnlklo_tour_result'
       ,'Cebu |CEB|yvrmnlceb_tour_result'
       ,'Davao |DVO|yvrmnldvo_tour_result'
       ,'Diving in Batangas |MNL|yvrmnl_diving_tour_result'
       ,'Guam |GUM|yvrgum_tour_result'
       ,'Hong Kong |HKG|yvrhkg_tour_result'
       ,'Iloilo |ILO|yvrmnlilo_tour_result'
       ,'Jakarta |CGK|yvrcgk_tour_result'
       ,'Laoag |LAO|yvrmnllao_tour_result'
       ,'Las Vegas |LAS|yvrlas_tour_result'
       ,'Macau |MFM|yvrmfm_tour_result'
       ,'Manila with Optional Tours |MNL|yvrmnl_optional_tour_result'
       ,'Melbourne |MEL|yvrmel_tour_result'
       ,'Palawan |PPS|yvrmnlpps_tour_result'
       ,'Palawan (Coron) |USU|yvrmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|yvrmnlpps_elnido_tour_result'
       ,'Shanghai |PVG|yvrpvg_tour_result'
       ,'Singapore |SIN|yvrsin_tour_result'
       ,'Sydney |SYD|yvrsyd_tour_result'
       ,'Taipei |TPE|yvrtpe_tour_result'
       ,'Xiamen |XMN|yvrxmn_tour_result'
); fsInfoTour[35] = fsInfoSubTour35;

fsInfoSubTour36 = new Array('XMN|Xiamen'
       ,'Bacolod |BCD|xmnmnlbcd_tour_result'
       ,'Bangkok |BKK|xmnbkk_tour_result'
       ,'Bohol (Tagbilaran) |TAG|xmnmnltag_tour_result'
       ,'Boracay (Kalibo) |KLO|xmnmnlklo_tour_result'
       ,'Cebu |CEB|xmnmnlceb_tour_result'
       ,'Davao |DVO|xmnmnldvo_tour_result'
       ,'Diving in Batangas |MNL|xmnmnl_diving_tour_result'
       ,'Guam |GUM|xmngum_tour_result'
       ,'Hong Kong |HKG|xmnhkg_tour_result'
       ,'Iloilo |ILO|xmnmnlilo_tour_result'
       ,'Jakarta |CGK|xmncgk_tour_result'
       ,'Laoag |LAO|xmnmnllao_tour_result'
       ,'Las Vegas |LAS|xmnlas_tour_result'
       ,'Los Angeles |LAX|xmnlax_tour_result'
       ,'Macau |MFM|xmnmfm_tour_result'
       ,'Manila with Optional Tours |MNL|xmnmnl_optional_tour_result'
       ,'Melbourne |MEL|xmnmel_tour_result'
       ,'Palawan |PPS|xmnmnlpps_tour_result'
       ,'Palawan (Coron) |USU|xmnmnlpps_coron_tour_result'
       ,'Palawan (El Nido) |MNL|xmnmnlpps_elnido_tour_result'
       ,'San Francisco |SFO|xmnsfo_tour_result'
       ,'Singapore |SIN|xmnsin_tour_result'
       ,'Sydney |SYD|xmnsyd_tour_result'
       ,'Taipei |TPE|xmntpe_tour_result'
       ,'Vancouver |YVR|xmnyvr_tour_result'
); fsInfoTour[36] = fsInfoSubTour36;

fsInfoSubTour37 = new Array('ZAM|Zamboanga'
       ,'Manila with Optional Tours |MNL|zammnl_optional_day_tour_result'
       ,'Palawan (El Nido) |MNL|zammnlpps_elnido_tour_result'
); fsInfoTour[37] = fsInfoSubTour37;



function doContinueTour(){
	fromObj = document.getElementById("flightFromTour");
	toObj = document.getElementById("flightToTour");

               var fromName = "";
               var toURL = "";

	if(fromObj.selectedIndex!=0 && toObj.selectedIndex!=0){
                     document.getElementById("prevToTour").value = toObj[toObj.options.selectedIndex].value;
                     document.getElementById("prevFromTour").value = fromObj[fromObj.options.selectedIndex].value;
                     toURL = "http://www.philippineairlines.com" + "/tour_packages/" + toObj[toObj.options.selectedIndex].value.split("|")[2] + ".jsp";
                     location = toURL + "?to=" + toObj[toObj.options.selectedIndex].value.split("|")[1];
	}else{
                      alert("You need to select your desired flight schedule.");
                }
}

// Generating arrival dropdown list
function generateListTour() {
	fromObj = document.getElementById("flightFromTour");
	toObj = document.getElementById("flightToTour");

	//Resetting arrival dropdown
                toObj.options.selectedIndex=0;
                toObj.length=1;
	//alert("to:"+document.getElementById("prevToTour").value);
	if(fromObj.options.selectedIndex!=0){
                                for(var i=0;i<fsInfoTour.length;i++){
                                               if(fsInfoTour[i][0].split("|")[1].indexOf(fromObj[fromObj.options.selectedIndex].value.split("|")[1])==0){
                                                               //Generating new list
				for(var j=1;j<fsInfoTour[i].length;j++) {
                                                                                var newOption = document.createElement("option");
                                                                                newOption.value = fsInfoTour[i][j];
                                                                                newOption.appendChild(document.createTextNode(fsInfoTour[i][j].split("|")[0]));
					toObj.appendChild(newOption);
                                                                                if(document.getElementById("prevToTour").value != ""){
                                                                                          //alert(document.getElementById("prevToTour").value);
                                                                                          if(newOption.value == document.getElementById("prevToTour").value){
                                                                                                         newOption.selected = true;
                                                                                                         document.getElementById("prevToTour").value = "";
                                                                                          }
                                                                                 }
                                                                }
                                               }
                                }
                }
}

function generateFromTour(){
                fromObj = document.getElementById("flightFromTour");
                fromObj.options.selectedIndex=0;
                fromObj.length=1;
                //alert("from:"+document.getElementById("prevFromTour").value);

                fromTourArray = new Array();
                fromTourArray[0] = fsInfoTour[0][0];
                for(var h=1;h<fsInfoTour.length;h++){
                      fromTourArray[h] = fsInfoTour[h][0];
                      for(g=fromTourArray.length-1; g>=1; g--){
                                if(fromTourArray[g].split("|")[1] < fromTourArray[g-1].split("|")[1]){
                                              var tempString = fromTourArray[g];
                                              fromTourArray[g] = fromTourArray[g-1];
                                              fromTourArray[g-1] = tempString;
                                }
                      }//end sort
                }
                for(var i=0;i<fsInfoTour.length;i++){
                                var newOption = document.createElement("option");
                                newOption.value = fromTourArray[i];
                                newOption.appendChild(document.createTextNode(fromTourArray[i].split("|")[1]));
		fromObj.appendChild(newOption);
                                if(document.getElementById("prevFromTour").value != ""){
                                           //alert(document.getElementById("prevFromTour").value);
                                           if(newOption.value == document.getElementById("prevFromTour").value){
                                                    newOption.selected = true;
                                                    document.getElementById("prevFromTour").value = "";
                                            }
                                 }
                 }
}

function checkEnterTour(e){ //e is event object passed from function invocation
var characterCode;  //literal character code will be stored in this variable

        if(e && e.which){ //if which property of event object is supported (NN4)
                  e = e;
                  characterCode = e.which; //character code is contained in NN4's which property
        }
        else{
                  e = e;
                  characterCode = e.keyCode; //character code is contained in IE's keyCode property
        }

        if(characterCode == 13){ //if generated character code is equal to ascii 13 (if enter key)
                  doContinueTour();
        }
}

