var source_arr = new Array(source_combo); var dest_arr = new Array(dest_combo); source_arr[0] = new source_combo(2, 40); dest_arr[0] = new dest_combo(" Country ", "0"); dest_arr[1] = new dest_combo( "----------------------------------------------------", "0"); //added for cities var source_cty_arr = new Array(source_cty_combo); var dest_cty_arr = new Array(dest_cty_combo); source_cty_arr[0] = new source_cty_combo(2, 216); dest_cty_arr[0] = new dest_cty_combo(" City ", "0"); dest_cty_arr[1] = new dest_cty_combo( "----------------------------------------------------", "0"); //added for cities and countries var source_cry_arr = new Array(source_cry_combo); var dest_cry_arr = new Array(dest_cry_combo); source_cry_arr[0] = new source_cry_combo(2, 211); dest_cry_arr[0] = new dest_cry_combo(" City ", "0"); dest_cry_arr[1] = new dest_cry_combo( "----------------------------------------------------", "0"); //added for distinct countries var countryarray = new Array(Object); var allCry = new Array(); var dest_dst_cry_arr = new Array(dest_dstcry_combo); //added for distinct cities var cityarray = new Array(Object); var allCity = new Array(); var dest_dst_cty_arr = new Array(dest_cty_combo); var ctycryarray = new Array(Object); var source_dst_cry_arr0 = new Array();source_dst_cry_arr0[0] = "46"; countryarray[3 ] = source_dst_cry_arr0; var source_dst_cry_arr1 = new Array(); source_dst_cry_arr1[0] = "63"; source_dst_cry_arr1[1] = "247"; countryarray[4 ] = source_dst_cry_arr1; var source_dst_cry_arr2 = new Array(); source_dst_cry_arr2[0] = "11"; source_dst_cry_arr2[1] = "29"; source_dst_cry_arr2[2] = "44"; source_dst_cry_arr2[3] = "48"; source_dst_cry_arr2[4] = "166"; countryarray[6 ] = source_dst_cry_arr2; var source_dst_cry_arr3 = new Array(); source_dst_cry_arr3[0] = "36"; source_dst_cry_arr3[1] = "149"; source_dst_cry_arr3[2] = "221"; countryarray[7 ] = source_dst_cry_arr3; var source_dst_cry_arr4 = new Array(); source_dst_cry_arr4[0] = "14"; source_dst_cry_arr4[1] = "163"; countryarray[8 ] = source_dst_cry_arr4; var source_dst_cry_arr5 = new Array(); source_dst_cry_arr5[0] = "57"; source_dst_cry_arr5[1] = "62"; source_dst_cry_arr5[2] = "68"; source_dst_cry_arr5[3] = "159"; source_dst_cry_arr5[4] = "181"; source_dst_cry_arr5[5] = "187"; countryarray[10 ] = source_dst_cry_arr5; var source_dst_cry_arr6 = new Array(); source_dst_cry_arr6[0] = "254"; source_dst_cry_arr6[1] = "99"; source_dst_cry_arr6[2] = "255"; countryarray[11 ] = source_dst_cry_arr6; var source_dst_cry_arr7 = new Array(); source_dst_cry_arr7[0] = "73"; source_dst_cry_arr7[1] = "106"; source_dst_cry_arr7[2] = "175"; source_dst_cry_arr7[3] = "66"; countryarray[12 ] = source_dst_cry_arr7; var source_dst_cry_arr8 = new Array(); source_dst_cry_arr8[0] = "13"; source_dst_cry_arr8[1] = "20"; source_dst_cry_arr8[2] = "54"; source_dst_cry_arr8[3] = "55"; source_dst_cry_arr8[4] = "97"; source_dst_cry_arr8[5] = "65634"; source_dst_cry_arr8[6] = "192"; source_dst_cry_arr8[7] = "41"; source_dst_cry_arr8[8] = "158"; countryarray[13 ] = source_dst_cry_arr8; var source_dst_cry_arr9 = new Array(); source_dst_cry_arr9[0] = "63"; source_dst_cry_arr9[1] = "86"; source_dst_cry_arr9[2] = "247"; source_dst_cry_arr9[3] = "213"; countryarray[14 ] = source_dst_cry_arr9; //Added for cities var source_reg_cty_arr0 = new Array();source_reg_cty_arr0[0] = "309"; source_reg_cty_arr0[1] = "2646"; source_reg_cty_arr0[2] = "3255"; cityarray[3] = source_reg_cty_arr0; var source_reg_cty_arr1 = new Array(); source_reg_cty_arr1[0] = "165"; source_reg_cty_arr1[1] = "455"; source_reg_cty_arr1[2] = "1767"; source_reg_cty_arr1[3] = "3699"; source_reg_cty_arr1[4] = "3700"; source_reg_cty_arr1[5] = "3701"; source_reg_cty_arr1[6] = "3702"; source_reg_cty_arr1[7] = "3900"; cityarray[4] = source_reg_cty_arr1; var source_reg_cty_arr2 = new Array(); source_reg_cty_arr2[0] = "377"; source_reg_cty_arr2[1] = "869"; source_reg_cty_arr2[2] = "1215"; source_reg_cty_arr2[3] = "1670"; source_reg_cty_arr2[4] = "2609"; source_reg_cty_arr2[5] = "2620"; source_reg_cty_arr2[6] = "2799"; source_reg_cty_arr2[7] = "3850"; source_reg_cty_arr2[8] = "3868"; source_reg_cty_arr2[9] = "3943"; cityarray[6] = source_reg_cty_arr2; var source_reg_cty_arr3 = new Array(); source_reg_cty_arr3[0] = "119"; source_reg_cty_arr3[1] = "273"; source_reg_cty_arr3[2] = "360"; source_reg_cty_arr3[3] = "596"; source_reg_cty_arr3[4] = "630"; source_reg_cty_arr3[5] = "1350"; source_reg_cty_arr3[6] = "1618"; source_reg_cty_arr3[7] = "1965"; source_reg_cty_arr3[8] = "2297"; source_reg_cty_arr3[9] = "2461"; source_reg_cty_arr3[10] = "2580"; source_reg_cty_arr3[11] = "2634"; source_reg_cty_arr3[12] = "2645"; source_reg_cty_arr3[13] = "2695"; source_reg_cty_arr3[14] = "3337"; source_reg_cty_arr3[15] = "3458"; source_reg_cty_arr3[16] = "3481"; source_reg_cty_arr3[17] = "3794"; source_reg_cty_arr3[18] = "3799"; source_reg_cty_arr3[19] = "3835"; source_reg_cty_arr3[20] = "3838"; source_reg_cty_arr3[21] = "3843"; source_reg_cty_arr3[22] = "3844"; source_reg_cty_arr3[23] = "4064"; source_reg_cty_arr3[24] = "4067"; source_reg_cty_arr3[25] = "4068"; source_reg_cty_arr3[26] = "4070"; source_reg_cty_arr3[27] = "4071"; source_reg_cty_arr3[28] = "4072"; source_reg_cty_arr3[29] = "4073"; source_reg_cty_arr3[30] = "4077"; source_reg_cty_arr3[31] = "4079"; source_reg_cty_arr3[32] = "48374"; source_reg_cty_arr3[33] = "71061"; source_reg_cty_arr3[34] = "71062"; cityarray[7] = source_reg_cty_arr3; var source_reg_cty_arr4 = new Array(); source_reg_cty_arr4[0] = "90"; source_reg_cty_arr4[1] = "517"; source_reg_cty_arr4[2] = "581"; source_reg_cty_arr4[3] = "763"; source_reg_cty_arr4[4] = "1837"; source_reg_cty_arr4[5] = "2542"; source_reg_cty_arr4[6] = "2795"; source_reg_cty_arr4[7] = "3194"; source_reg_cty_arr4[8] = "3534"; source_reg_cty_arr4[9] = "3923"; source_reg_cty_arr4[10] = "3928"; source_reg_cty_arr4[11] = "3931"; source_reg_cty_arr4[12] = "70967"; source_reg_cty_arr4[13] = "71058"; cityarray[8] = source_reg_cty_arr4; var source_reg_cty_arr5 = new Array(); source_reg_cty_arr5[0] = "597"; source_reg_cty_arr5[1] = "732"; source_reg_cty_arr5[2] = "1090"; source_reg_cty_arr5[3] = "1644"; source_reg_cty_arr5[4] = "2147"; source_reg_cty_arr5[5] = "2220"; source_reg_cty_arr5[6] = "2912"; cityarray[10] = source_reg_cty_arr5; var source_reg_cty_arr6 = new Array(); source_reg_cty_arr6[0] = "762"; source_reg_cty_arr6[1] = "993"; source_reg_cty_arr6[2] = "1452"; source_reg_cty_arr6[3] = "1635"; source_reg_cty_arr6[4] = "1711"; source_reg_cty_arr6[5] = "3172"; source_reg_cty_arr6[6] = "3682"; source_reg_cty_arr6[7] = "3689"; source_reg_cty_arr6[8] = "3695"; source_reg_cty_arr6[9] = "3696"; source_reg_cty_arr6[10] = "3698"; source_reg_cty_arr6[11] = "3902"; source_reg_cty_arr6[12] = "3905"; source_reg_cty_arr6[13] = "3908"; source_reg_cty_arr6[14] = "3910"; source_reg_cty_arr6[15] = "3971"; source_reg_cty_arr6[16] = "3976"; source_reg_cty_arr6[17] = "4100"; cityarray[11] = source_reg_cty_arr6; var source_reg_cty_arr7 = new Array(); source_reg_cty_arr7[0] = "120"; source_reg_cty_arr7[1] = "193"; source_reg_cty_arr7[2] = "233"; source_reg_cty_arr7[3] = "297"; source_reg_cty_arr7[4] = "352"; source_reg_cty_arr7[5] = "474"; source_reg_cty_arr7[6] = "898"; source_reg_cty_arr7[7] = "1032"; source_reg_cty_arr7[8] = "1638"; source_reg_cty_arr7[9] = "1673"; source_reg_cty_arr7[10] = "1775"; source_reg_cty_arr7[11] = "1784"; source_reg_cty_arr7[12] = "1875"; source_reg_cty_arr7[13] = "2043"; source_reg_cty_arr7[14] = "2051"; source_reg_cty_arr7[15] = "2204"; source_reg_cty_arr7[16] = "2250"; source_reg_cty_arr7[17] = "2348"; source_reg_cty_arr7[18] = "2395"; source_reg_cty_arr7[19] = "2537"; source_reg_cty_arr7[20] = "2700"; source_reg_cty_arr7[21] = "2786"; source_reg_cty_arr7[22] = "2983"; source_reg_cty_arr7[23] = "3062"; source_reg_cty_arr7[24] = "3100"; source_reg_cty_arr7[25] = "3150"; source_reg_cty_arr7[26] = "3556"; source_reg_cty_arr7[27] = "3561"; source_reg_cty_arr7[28] = "3566"; source_reg_cty_arr7[29] = "3567"; source_reg_cty_arr7[30] = "3574"; source_reg_cty_arr7[31] = "3577"; source_reg_cty_arr7[32] = "3579"; source_reg_cty_arr7[33] = "3585"; source_reg_cty_arr7[34] = "3593"; source_reg_cty_arr7[35] = "3704"; source_reg_cty_arr7[36] = "3736"; source_reg_cty_arr7[37] = "3743"; source_reg_cty_arr7[38] = "3748"; source_reg_cty_arr7[39] = "3753"; source_reg_cty_arr7[40] = "3756"; source_reg_cty_arr7[41] = "3757"; source_reg_cty_arr7[42] = "3761"; source_reg_cty_arr7[43] = "3764"; source_reg_cty_arr7[44] = "3765"; source_reg_cty_arr7[45] = "3767"; source_reg_cty_arr7[46] = "3768"; source_reg_cty_arr7[47] = "3769"; source_reg_cty_arr7[48] = "3959"; source_reg_cty_arr7[49] = "4000"; source_reg_cty_arr7[50] = "4002"; source_reg_cty_arr7[51] = "4011"; source_reg_cty_arr7[52] = "4016"; source_reg_cty_arr7[53] = "4020"; cityarray[12] = source_reg_cty_arr7; var source_reg_cty_arr8 = new Array(); source_reg_cty_arr8[0] = "117"; source_reg_cty_arr8[1] = "252"; source_reg_cty_arr8[2] = "390"; source_reg_cty_arr8[3] = "397"; source_reg_cty_arr8[4] = "404"; source_reg_cty_arr8[5] = "410"; source_reg_cty_arr8[6] = "510"; source_reg_cty_arr8[7] = "751"; source_reg_cty_arr8[8] = "917"; source_reg_cty_arr8[9] = "1049"; source_reg_cty_arr8[10] = "1236"; source_reg_cty_arr8[11] = "2134"; source_reg_cty_arr8[12] = "2391"; source_reg_cty_arr8[13] = "2807"; source_reg_cty_arr8[14] = "3118"; source_reg_cty_arr8[15] = "3535"; source_reg_cty_arr8[16] = "3590"; source_reg_cty_arr8[17] = "3602"; source_reg_cty_arr8[18] = "3603"; source_reg_cty_arr8[19] = "3604"; source_reg_cty_arr8[20] = "3613"; source_reg_cty_arr8[21] = "3614"; source_reg_cty_arr8[22] = "3615"; source_reg_cty_arr8[23] = "3616"; source_reg_cty_arr8[24] = "3619"; source_reg_cty_arr8[25] = "3622"; source_reg_cty_arr8[26] = "3623"; source_reg_cty_arr8[27] = "3626"; source_reg_cty_arr8[28] = "3802"; source_reg_cty_arr8[29] = "3807"; source_reg_cty_arr8[30] = "4022"; source_reg_cty_arr8[31] = "4023"; source_reg_cty_arr8[32] = "4025"; source_reg_cty_arr8[33] = "65637"; cityarray[13] = source_reg_cty_arr8; var source_reg_cty_arr9 = new Array(); source_reg_cty_arr9[0] = "165"; source_reg_cty_arr9[1] = "167"; source_reg_cty_arr9[2] = "206"; source_reg_cty_arr9[3] = "455"; source_reg_cty_arr9[4] = "847"; source_reg_cty_arr9[5] = "1268"; source_reg_cty_arr9[6] = "1344"; source_reg_cty_arr9[7] = "1370"; source_reg_cty_arr9[8] = "1591"; source_reg_cty_arr9[9] = "1767"; source_reg_cty_arr9[10] = "2503"; source_reg_cty_arr9[11] = "2687"; source_reg_cty_arr9[12] = "3631"; source_reg_cty_arr9[13] = "3632"; source_reg_cty_arr9[14] = "3637"; source_reg_cty_arr9[15] = "3644"; source_reg_cty_arr9[16] = "3645"; source_reg_cty_arr9[17] = "3648"; source_reg_cty_arr9[18] = "3650"; source_reg_cty_arr9[19] = "3658"; source_reg_cty_arr9[20] = "3701"; source_reg_cty_arr9[21] = "3900"; source_reg_cty_arr9[22] = "4040"; source_reg_cty_arr9[23] = "4044"; source_reg_cty_arr9[24] = "4046"; source_reg_cty_arr9[25] = "4047"; source_reg_cty_arr9[26] = "4048"; source_reg_cty_arr9[27] = "4049"; source_reg_cty_arr9[28] = "4050"; source_reg_cty_arr9[29] = "4051"; source_reg_cty_arr9[30] = "4052"; source_reg_cty_arr9[31] = "4055"; cityarray[14] = source_reg_cty_arr9; var source_cry_cty_arr0 = new Array();source_cry_cty_arr0[0] = "377"; dest_cry_arr[2] = new dest_cry_combo ("Bariloche", "377"); source_cry_cty_arr0[1] = "869"; dest_cry_arr[3] = new dest_cry_combo ("Buenos Aires", "869"); source_cry_cty_arr0[2] = "2609"; dest_cry_arr[4] = new dest_cry_combo ("Santiago (Argentina)", "2609"); ctycryarray[11] = source_cry_cty_arr0; var source_cry_cty_arr1 = new Array(); source_cry_arr[11] = new source_cry_combo ( 2, 4); source_cry_cty_arr1[0] = "1236"; dest_cry_arr[5] = new dest_cry_combo ("Innsbruck", "1236"); source_cry_cty_arr1[1] = "2807"; dest_cry_arr[6] = new dest_cry_combo ("Salzburg", "2807"); source_cry_cty_arr1[2] = "3118"; dest_cry_arr[7] = new dest_cry_combo ("Vienna", "3118"); source_cry_cty_arr1[3] = "3802"; dest_cry_arr[8] = new dest_cry_combo ("Melk", "3802"); source_cry_cty_arr1[4] = "3807"; dest_cry_arr[9] = new dest_cry_combo ("Passau", "3807"); ctycryarray[13] = source_cry_cty_arr1; var source_cry_cty_arr2 = new Array(); source_cry_arr[13] = new source_cry_combo ( 5, 9); source_cry_cty_arr2[0] = "581"; dest_cry_arr[10] = new dest_cry_combo ("Cairns", "581"); source_cry_cty_arr2[1] = "1837"; dest_cry_arr[11] = new dest_cry_combo ("Melbourne", "1837"); source_cry_cty_arr2[2] = "2795"; dest_cry_arr[12] = new dest_cry_combo ("Sydney", "2795"); source_cry_cty_arr2[3] = "70967"; dest_cry_arr[13] = new dest_cry_combo ("Ayers Rock", "70967"); source_cry_cty_arr2[4] = "71058"; dest_cry_arr[14] = new dest_cry_combo ("Alice Springs", "71058"); ctycryarray[14] = source_cry_cty_arr2; var source_cry_cty_arr3 = new Array(); source_cry_arr[14] = new source_cry_combo ( 10, 14); source_cry_cty_arr3[0] = "390"; dest_cry_arr[15] = new dest_cry_combo ("Brussels", "390"); ctycryarray[20] = source_cry_cty_arr3; var source_cry_cty_arr4 = new Array(); source_cry_arr[20] = new source_cry_combo ( 15, 15); source_cry_cty_arr4[0] = "1215"; dest_cry_arr[16] = new dest_cry_combo ("Iguassu Falls", "1215"); source_cry_cty_arr4[1] = "2620"; dest_cry_arr[17] = new dest_cry_combo ("Rio de Janeiro", "2620"); ctycryarray[29] = source_cry_cty_arr4; var source_cry_cty_arr5 = new Array(); source_cry_arr[29] = new source_cry_combo ( 16, 17); source_cry_cty_arr5[0] = "3337"; dest_cry_arr[18] = new dest_cry_combo ("Halifax", "3337"); source_cry_cty_arr5[1] = "3458"; dest_cry_arr[19] = new dest_cry_combo ("Vancouver", "3458"); source_cry_cty_arr5[2] = "3481"; dest_cry_arr[20] = new dest_cry_combo ("Calgary", "3481"); source_cry_cty_arr5[3] = "3835"; dest_cry_arr[21] = new dest_cry_combo ("Lake Louise", "3835"); source_cry_cty_arr5[4] = "3838"; dest_cry_arr[22] = new dest_cry_combo ("New Brunswick (Province)", "3838"); source_cry_cty_arr5[5] = "3843"; dest_cry_arr[23] = new dest_cry_combo ("Jasper Lake National Park", "3843"); source_cry_cty_arr5[6] = "3844"; dest_cry_arr[24] = new dest_cry_combo ("Banff, Alberta", "3844"); source_cry_cty_arr5[7] = "48374"; dest_cry_arr[25] = new dest_cry_combo ("Pince Edward Island", "48374"); ctycryarray[36] = source_cry_cty_arr5; var source_cry_cty_arr6 = new Array(); source_cry_arr[36] = new source_cry_combo ( 18, 25); source_cry_cty_arr6[0] = "397"; dest_cry_arr[26] = new dest_cry_combo ("Basel, Basel-Stadt", "397"); source_cry_cty_arr6[1] = "1049"; dest_cry_arr[27] = new dest_cry_combo ("Geneva", "1049"); source_cry_cty_arr6[2] = "3535"; dest_cry_arr[28] = new dest_cry_combo ("Zurich", "3535"); source_cry_cty_arr6[3] = "3590"; dest_cry_arr[29] = new dest_cry_combo ("Villars", "3590"); source_cry_cty_arr6[4] = "4022"; dest_cry_arr[30] = new dest_cry_combo ("Interlaken", "4022"); source_cry_cty_arr6[5] = "4023"; dest_cry_arr[31] = new dest_cry_combo ("Lucerne", "4023"); source_cry_cty_arr6[6] = "4025"; dest_cry_arr[32] = new dest_cry_combo ("Zermatt", "4025"); ctycryarray[41] = source_cry_cty_arr6; var source_cry_cty_arr7 = new Array(); source_cry_arr[41] = new source_cry_combo ( 26, 32); source_cry_cty_arr7[0] = "3850"; dest_cry_arr[33] = new dest_cry_combo ("Puerto Varas", "3850"); ctycryarray[44] = source_cry_cty_arr7; var source_cry_cty_arr8 = new Array(); source_cry_arr[44] = new source_cry_combo ( 33, 33); source_cry_cty_arr8[0] = "309"; dest_cry_arr[34] = new dest_cry_combo ("Beijing", "309"); source_cry_cty_arr8[1] = "2646"; dest_cry_arr[35] = new dest_cry_combo ("Shanghai", "2646"); source_cry_cty_arr8[2] = "3255"; dest_cry_arr[36] = new dest_cry_combo ("Xian", "3255"); ctycryarray[46] = source_cry_cty_arr8; var source_cry_cty_arr9 = new Array(); source_cry_arr[46] = new source_cry_combo ( 34, 36); source_cry_cty_arr9[0] = "2799"; dest_cry_arr[37] = new dest_cry_combo ("San Jose", "2799"); source_cry_cty_arr9[1] = "3868"; dest_cry_arr[38] = new dest_cry_combo ("Monteverde", "3868"); ctycryarray[48] = source_cry_cty_arr9; var source_cry_cty_arr10 = new Array(); source_cry_arr[48] = new source_cry_combo ( 37, 38); source_cry_cty_arr10[0] = "2391"; dest_cry_arr[39] = new dest_cry_combo ("Prague", "2391"); ctycryarray[54] = source_cry_cty_arr10; var source_cry_cty_arr11 = new Array(); source_cry_arr[54] = new source_cry_combo ( 39, 39); source_cry_cty_arr11[0] = "252"; dest_cry_arr[40] = new dest_cry_combo ("Berlin", "252"); source_cry_cty_arr11[1] = "510"; dest_cry_arr[41] = new dest_cry_combo ("Cologne", "510"); source_cry_cty_arr11[2] = "751"; dest_cry_arr[42] = new dest_cry_combo ("Dresden", "751"); source_cry_cty_arr11[3] = "917"; dest_cry_arr[43] = new dest_cry_combo ("Frankfurt", "917"); source_cry_cty_arr11[4] = "2134"; dest_cry_arr[44] = new dest_cry_combo ("Nuremberg", "2134"); source_cry_cty_arr11[5] = "3602"; dest_cry_arr[45] = new dest_cry_combo ("Bamberg, Bavaria", "3602"); source_cry_cty_arr11[6] = "3603"; dest_cry_arr[46] = new dest_cry_combo ("Black Forest", "3603"); source_cry_cty_arr11[7] = "3604"; dest_cry_arr[47] = new dest_cry_combo ("Heidelburg", "3604"); source_cry_cty_arr11[8] = "3613"; dest_cry_arr[48] = new dest_cry_combo ("Regensburg", "3613"); source_cry_cty_arr11[9] = "3614"; dest_cry_arr[49] = new dest_cry_combo ("Rhineland", "3614"); source_cry_cty_arr11[10] = "3615"; dest_cry_arr[50] = new dest_cry_combo ("Rothenburg", "3615"); source_cry_cty_arr11[11] = "3616"; dest_cry_arr[51] = new dest_cry_combo ("Rudesheim", "3616"); source_cry_cty_arr11[12] = "3619"; dest_cry_arr[52] = new dest_cry_combo ("Trier", "3619"); source_cry_cty_arr11[13] = "3622"; dest_cry_arr[53] = new dest_cry_combo ("Koblenz", "3622"); source_cry_cty_arr11[14] = "3623"; dest_cry_arr[54] = new dest_cry_combo ("Munich", "3623"); source_cry_cty_arr11[15] = "3626"; dest_cry_arr[55] = new dest_cry_combo ("Wurzburg", "3626"); ctycryarray[55] = source_cry_cty_arr11; var source_cry_cty_arr12 = new Array(); source_cry_arr[55] = new source_cry_combo ( 40, 55); source_cry_cty_arr12[0] = "597"; dest_cry_arr[56] = new dest_cry_combo ("Copenhagen", "597"); ctycryarray[57] = source_cry_cty_arr12; var source_cry_cty_arr13 = new Array(); source_cry_arr[57] = new source_cry_combo ( 56, 56); source_cry_cty_arr13[0] = "2912"; dest_cry_arr[57] = new dest_cry_combo ("Tallinn", "2912"); ctycryarray[62] = source_cry_cty_arr13; var source_cry_cty_arr14 = new Array(); source_cry_arr[62] = new source_cry_combo ( 57, 57); source_cry_cty_arr14[0] = "165"; dest_cry_arr[58] = new dest_cry_combo ("Aswan", "165"); source_cry_cty_arr14[1] = "455"; dest_cry_arr[59] = new dest_cry_combo ("Cairo", "455"); source_cry_cty_arr14[2] = "1767"; dest_cry_arr[60] = new dest_cry_combo ("Luxor", "1767"); source_cry_cty_arr14[3] = "3900"; dest_cry_arr[61] = new dest_cry_combo ("Kom Ombo", "3900"); ctycryarray[63] = source_cry_cty_arr14; var source_cry_cty_arr15 = new Array(); source_cry_arr[63] = new source_cry_combo ( 58, 61); source_cry_cty_arr15[0] = "233"; dest_cry_arr[62] = new dest_cry_combo ("Barcelona", "233"); source_cry_cty_arr15[1] = "297"; dest_cry_arr[63] = new dest_cry_combo ("Bilbao", "297"); source_cry_cty_arr15[2] = "1032"; dest_cry_arr[64] = new dest_cry_combo ("Granada", "1032"); source_cry_cty_arr15[3] = "1784"; dest_cry_arr[65] = new dest_cry_combo ("Madrid", "1784"); source_cry_cty_arr15[4] = "2700"; dest_cry_arr[66] = new dest_cry_combo ("Salamanca", "2700"); source_cry_cty_arr15[5] = "4000"; dest_cry_arr[67] = new dest_cry_combo ("Costa del Sol", "4000"); source_cry_cty_arr15[6] = "4002"; dest_cry_arr[68] = new dest_cry_combo ("El Escorial", "4002"); source_cry_cty_arr15[7] = "4011"; dest_cry_arr[69] = new dest_cry_combo ("Toledo", "4011"); source_cry_cty_arr15[8] = "4016"; dest_cry_arr[70] = new dest_cry_combo ("Cordoba", "4016"); source_cry_cty_arr15[9] = "4020"; dest_cry_arr[71] = new dest_cry_combo ("Seville", "4020"); ctycryarray[66] = source_cry_cty_arr15; var source_cry_cty_arr16 = new Array(); source_cry_arr[66] = new source_cry_combo ( 62, 71); source_cry_cty_arr16[0] = "1090"; dest_cry_arr[72] = new dest_cry_combo ("Helsinki", "1090"); ctycryarray[68] = source_cry_cty_arr16; var source_cry_cty_arr17 = new Array(); source_cry_arr[68] = new source_cry_combo ( 72, 72); source_cry_cty_arr17[0] = "120"; dest_cry_arr[73] = new dest_cry_combo ("Angers", "120"); source_cry_cty_arr17[1] = "193"; dest_cry_arr[74] = new dest_cry_combo ("Avignon", "193"); source_cry_cty_arr17[2] = "352"; dest_cry_arr[75] = new dest_cry_combo ("Bordeaux", "352"); source_cry_cty_arr17[3] = "474"; dest_cry_arr[76] = new dest_cry_combo ("Carcassonne", "474"); source_cry_cty_arr17[4] = "1638"; dest_cry_arr[77] = new dest_cry_combo ("Lourdes", "1638"); source_cry_cty_arr17[5] = "1775"; dest_cry_arr[78] = new dest_cry_combo ("Lyon", "1775"); source_cry_cty_arr17[6] = "2051"; dest_cry_arr[79] = new dest_cry_combo ("Nice", "2051"); source_cry_cty_arr17[7] = "2250"; dest_cry_arr[80] = new dest_cry_combo ("Paris", "2250"); source_cry_cty_arr17[8] = "2786"; dest_cry_arr[81] = new dest_cry_combo ("Strasbourg", "2786"); source_cry_cty_arr17[9] = "2983"; dest_cry_arr[82] = new dest_cry_combo ("Tours", "2983"); source_cry_cty_arr17[10] = "3062"; dest_cry_arr[83] = new dest_cry_combo ("Rouen", "3062"); source_cry_cty_arr17[11] = "3556"; dest_cry_arr[84] = new dest_cry_combo ("Arles, Provence-Abes-Cote d", "3556"); source_cry_cty_arr17[12] = "3561"; dest_cry_arr[85] = new dest_cry_combo ("Beaune", "3561"); source_cry_cty_arr17[13] = "3566"; dest_cry_arr[86] = new dest_cry_combo ("Burgundy", "3566"); source_cry_cty_arr17[14] = "3567"; dest_cry_arr[87] = new dest_cry_combo ("Caudebec, Haute", "3567"); source_cry_cty_arr17[15] = "3574"; dest_cry_arr[88] = new dest_cry_combo ("Cote D'Azur", "3574"); source_cry_cty_arr17[16] = "3577"; dest_cry_arr[89] = new dest_cry_combo ("Giverny", "3577"); source_cry_cty_arr17[17] = "3579"; dest_cry_arr[90] = new dest_cry_combo ("Honfleur", "3579"); source_cry_cty_arr17[18] = "3585"; dest_cry_arr[91] = new dest_cry_combo ("Normandy", "3585"); source_cry_cty_arr17[19] = "3593"; dest_cry_arr[92] = new dest_cry_combo ("Cognac", "3593"); ctycryarray[73] = source_cry_cty_arr17; var source_cry_cty_arr18 = new Array(); source_cry_arr[73] = new source_cry_combo ( 73, 92); source_cry_cty_arr18[0] = "167"; dest_cry_arr[93] = new dest_cry_combo ("Athens", "167"); source_cry_cty_arr18[1] = "1344"; dest_cry_arr[94] = new dest_cry_combo ("Mykonos", "1344"); source_cry_cty_arr18[2] = "1370"; dest_cry_arr[95] = new dest_cry_combo ("Santorini", "1370"); source_cry_cty_arr18[3] = "2503"; dest_cry_arr[96] = new dest_cry_combo ("Rhodes", "2503"); source_cry_cty_arr18[4] = "2687"; dest_cry_arr[97] = new dest_cry_combo ("Thessaloniki", "2687"); source_cry_cty_arr18[5] = "3631"; dest_cry_arr[98] = new dest_cry_combo ("Delphi", "3631"); source_cry_cty_arr18[6] = "3632"; dest_cry_arr[99] = new dest_cry_combo ("Epidaurus", "3632"); source_cry_cty_arr18[7] = "3637"; dest_cry_arr[100] = new dest_cry_combo ("Kalambaka", "3637"); source_cry_cty_arr18[8] = "3644"; dest_cry_arr[101] = new dest_cry_combo ("Mycenae", "3644"); source_cry_cty_arr18[9] = "3645"; dest_cry_arr[102] = new dest_cry_combo ("Nauplia", "3645"); source_cry_cty_arr18[10] = "3648"; dest_cry_arr[103] = new dest_cry_combo ("Olympia", "3648"); source_cry_cty_arr18[11] = "3650"; dest_cry_arr[104] = new dest_cry_combo ("Patmos", "3650"); source_cry_cty_arr18[12] = "3658"; dest_cry_arr[105] = new dest_cry_combo ("Crete", "3658"); ctycryarray[86] = source_cry_cty_arr18; var source_cry_cty_arr19 = new Array(); source_cry_arr[86] = new source_cry_combo ( 93, 105); source_cry_cty_arr19[0] = "410"; dest_cry_arr[106] = new dest_cry_combo ("Budapest", "410"); ctycryarray[97] = source_cry_cty_arr19; var source_cry_cty_arr20 = new Array(); source_cry_arr[97] = new source_cry_combo ( 106, 106); source_cry_cty_arr20[0] = "762"; dest_cry_arr[107] = new dest_cry_combo ("Dublin", "762"); source_cry_cty_arr20[1] = "1452"; dest_cry_arr[108] = new dest_cry_combo ("County Kerry ", "1452"); source_cry_cty_arr20[2] = "3172"; dest_cry_arr[109] = new dest_cry_combo ("Waterford", "3172"); source_cry_cty_arr20[3] = "3682"; dest_cry_arr[110] = new dest_cry_combo ("Blarney", "3682"); source_cry_cty_arr20[4] = "3689"; dest_cry_arr[111] = new dest_cry_combo ("Killarney", "3689"); source_cry_cty_arr20[5] = "3695"; dest_cry_arr[112] = new dest_cry_combo ("Wicklow", "3695"); source_cry_cty_arr20[6] = "3696"; dest_cry_arr[113] = new dest_cry_combo ("Galway", "3696"); source_cry_cty_arr20[7] = "3698"; dest_cry_arr[114] = new dest_cry_combo ("Limerick", "3698"); ctycryarray[99] = source_cry_cty_arr20; var source_cry_cty_arr21 = new Array(); source_cry_arr[99] = new source_cry_combo ( 107, 114); source_cry_cty_arr21[0] = "898"; dest_cry_arr[115] = new dest_cry_combo ("Florence", "898"); source_cry_cty_arr21[1] = "1875"; dest_cry_arr[116] = new dest_cry_combo ("Milan", "1875"); source_cry_cty_arr21[2] = "2043"; dest_cry_arr[117] = new dest_cry_combo ("Naples", "2043"); source_cry_cty_arr21[3] = "2348"; dest_cry_arr[118] = new dest_cry_combo ("Palermo", "2348"); source_cry_cty_arr21[4] = "2395"; dest_cry_arr[119] = new dest_cry_combo ("Pisa", "2395"); source_cry_cty_arr21[5] = "2537"; dest_cry_arr[120] = new dest_cry_combo ("Rome", "2537"); source_cry_cty_arr21[6] = "3100"; dest_cry_arr[121] = new dest_cry_combo ("Venice", "3100"); source_cry_cty_arr21[7] = "3150"; dest_cry_arr[122] = new dest_cry_combo ("Verona", "3150"); source_cry_cty_arr21[8] = "3704"; dest_cry_arr[123] = new dest_cry_combo ("Assisi", "3704"); source_cry_cty_arr21[9] = "3736"; dest_cry_arr[124] = new dest_cry_combo ("Orvieto ", "3736"); source_cry_cty_arr21[10] = "3743"; dest_cry_arr[125] = new dest_cry_combo ("Pompeii", "3743"); source_cry_cty_arr21[11] = "3748"; dest_cry_arr[126] = new dest_cry_combo ("Riviera", "3748"); source_cry_cty_arr21[12] = "3753"; dest_cry_arr[127] = new dest_cry_combo ("Selinunte, Sicily", "3753"); source_cry_cty_arr21[13] = "3756"; dest_cry_arr[128] = new dest_cry_combo ("Taormina", "3756"); source_cry_cty_arr21[14] = "3757"; dest_cry_arr[129] = new dest_cry_combo ("Tuscany (Region)", "3757"); source_cry_cty_arr21[15] = "3761"; dest_cry_arr[130] = new dest_cry_combo ("Agrigento, Sicily", "3761"); source_cry_cty_arr21[16] = "3764"; dest_cry_arr[131] = new dest_cry_combo ("Marsala", "3764"); source_cry_cty_arr21[17] = "3765"; dest_cry_arr[132] = new dest_cry_combo ("Padova", "3765"); source_cry_cty_arr21[18] = "3767"; dest_cry_arr[133] = new dest_cry_combo ("Sorrento", "3767"); source_cry_cty_arr21[19] = "3768"; dest_cry_arr[134] = new dest_cry_combo ("Siena", "3768"); source_cry_cty_arr21[20] = "3769"; dest_cry_arr[135] = new dest_cry_combo ("San Marino", "3769"); ctycryarray[106] = source_cry_cty_arr21; var source_cry_cty_arr22 = new Array(); source_cry_arr[106] = new source_cry_combo ( 115, 135); source_cry_cty_arr22[0] = "596"; dest_cry_arr[136] = new dest_cry_combo ("Campeche", "596"); source_cry_cty_arr22[1] = "630"; dest_cry_arr[137] = new dest_cry_combo ("Cancun", "630"); source_cry_cty_arr22[2] = "3794"; dest_cry_arr[138] = new dest_cry_combo ("Chichen Itza (Ruin)", "3794"); ctycryarray[149] = source_cry_cty_arr22; var source_cry_cty_arr23 = new Array(); source_cry_arr[149] = new source_cry_combo ( 136, 138); source_cry_cty_arr23[0] = "117"; dest_cry_arr[139] = new dest_cry_combo ("Amsterdam", "117"); ctycryarray[158] = source_cry_cty_arr23; var source_cry_cty_arr24 = new Array(); source_cry_arr[158] = new source_cry_combo ( 139, 139); source_cry_cty_arr24[0] = "2220"; dest_cry_arr[140] = new dest_cry_combo ("Oslo", "2220"); ctycryarray[159] = source_cry_cty_arr24; var source_cry_cty_arr25 = new Array(); source_cry_arr[159] = new source_cry_combo ( 140, 140); source_cry_cty_arr25[0] = "90"; dest_cry_arr[141] = new dest_cry_combo ("Auckland", "90"); source_cry_cty_arr25[1] = "517"; dest_cry_arr[142] = new dest_cry_combo ("Christchurch", "517"); source_cry_cty_arr25[2] = "763"; dest_cry_arr[143] = new dest_cry_combo ("Dunedin", "763"); source_cry_cty_arr25[3] = "2542"; dest_cry_arr[144] = new dest_cry_combo ("Rotorua", "2542"); source_cry_cty_arr25[4] = "3194"; dest_cry_arr[145] = new dest_cry_combo ("Wellington", "3194"); source_cry_cty_arr25[5] = "3534"; dest_cry_arr[146] = new dest_cry_combo ("Queenstown", "3534"); source_cry_cty_arr25[6] = "3923"; dest_cry_arr[147] = new dest_cry_combo ("Waitomo (Caves)", "3923"); source_cry_cty_arr25[7] = "3928"; dest_cry_arr[148] = new dest_cry_combo ("Milford Sound", "3928"); source_cry_cty_arr25[8] = "3931"; dest_cry_arr[149] = new dest_cry_combo ("Franz Josef (Islands)", "3931"); ctycryarray[163] = source_cry_cty_arr25; var source_cry_cty_arr26 = new Array(); source_cry_arr[163] = new source_cry_combo ( 141, 149); source_cry_cty_arr26[0] = "1670"; dest_cry_arr[150] = new dest_cry_combo ("Lima", "1670"); source_cry_cty_arr26[1] = "3943"; dest_cry_arr[151] = new dest_cry_combo ("Machu Picchu", "3943"); ctycryarray[166] = source_cry_cty_arr26; var source_cry_cty_arr27 = new Array(); source_cry_arr[166] = new source_cry_combo ( 150, 151); source_cry_cty_arr27[0] = "1673"; dest_cry_arr[152] = new dest_cry_combo ("Lisbon", "1673"); source_cry_cty_arr27[1] = "2204"; dest_cry_arr[153] = new dest_cry_combo ("Porto", "2204"); source_cry_cty_arr27[2] = "3959"; dest_cry_arr[154] = new dest_cry_combo ("Fatima", "3959"); ctycryarray[175] = source_cry_cty_arr27; var source_cry_cty_arr28 = new Array(); source_cry_arr[175] = new source_cry_combo ( 152, 154); source_cry_cty_arr28[0] = "732"; dest_cry_arr[155] = new dest_cry_combo ("Moscow", "732"); source_cry_cty_arr28[1] = "1644"; dest_cry_arr[156] = new dest_cry_combo ("St. Petersburg", "1644"); ctycryarray[181] = source_cry_cty_arr28; var source_cry_cty_arr29 = new Array(); source_cry_arr[181] = new source_cry_combo ( 155, 156); source_cry_cty_arr29[0] = "2147"; dest_cry_arr[157] = new dest_cry_combo ("Stockholm", "2147"); ctycryarray[187] = source_cry_cty_arr29; var source_cry_cty_arr30 = new Array(); source_cry_arr[187] = new source_cry_combo ( 157, 157); source_cry_cty_arr30[0] = "404"; dest_cry_arr[158] = new dest_cry_combo ("Bratislava", "404"); ctycryarray[192] = source_cry_cty_arr30; var source_cry_cty_arr31 = new Array(); source_cry_arr[192] = new source_cry_combo ( 158, 158); source_cry_cty_arr31[0] = "206"; dest_cry_arr[159] = new dest_cry_combo ("Antalya", "206"); source_cry_cty_arr31[1] = "847"; dest_cry_arr[160] = new dest_cry_combo ("Ankara", "847"); source_cry_cty_arr31[2] = "1268"; dest_cry_arr[161] = new dest_cry_combo ("Istanbul", "1268"); source_cry_cty_arr31[3] = "1591"; dest_cry_arr[162] = new dest_cry_combo ("Konya", "1591"); source_cry_cty_arr31[4] = "4040"; dest_cry_arr[163] = new dest_cry_combo ("Agcikarahan", "4040"); source_cry_cty_arr31[5] = "4044"; dest_cry_arr[164] = new dest_cry_combo ("Cappadocia", "4044"); source_cry_cty_arr31[6] = "4046"; dest_cry_arr[165] = new dest_cry_combo ("Gallipoli", "4046"); source_cry_cty_arr31[7] = "4047"; dest_cry_arr[166] = new dest_cry_combo ("Goreme", "4047"); source_cry_cty_arr31[8] = "4048"; dest_cry_arr[167] = new dest_cry_combo ("Hierapolis (National Park)", "4048"); source_cry_cty_arr31[9] = "4049"; dest_cry_arr[168] = new dest_cry_combo ("Kaymakli", "4049"); source_cry_cty_arr31[10] = "4050"; dest_cry_arr[169] = new dest_cry_combo ("Kusadasi", "4050"); source_cry_cty_arr31[11] = "4051"; dest_cry_arr[170] = new dest_cry_combo ("Pergamon", "4051"); source_cry_cty_arr31[12] = "4052"; dest_cry_arr[171] = new dest_cry_combo ("Sultanhani", "4052"); source_cry_cty_arr31[13] = "4055"; dest_cry_arr[172] = new dest_cry_combo ("Canakkale", "4055"); ctycryarray[213] = source_cry_cty_arr31; var source_cry_cty_arr32 = new Array(); source_cry_arr[213] = new source_cry_combo ( 159, 172); source_cry_cty_arr32[0] = "119"; dest_cry_arr[173] = new dest_cry_combo ("Anchorage, Alaska", "119"); source_cry_cty_arr32[1] = "273"; dest_cry_arr[174] = new dest_cry_combo ("Bar Harbor, Maine", "273"); source_cry_cty_arr32[2] = "360"; dest_cry_arr[175] = new dest_cry_combo ("Boston, Massachusetts", "360"); source_cry_cty_arr32[3] = "1350"; dest_cry_arr[176] = new dest_cry_combo ("Juneau, Alaska", "1350"); source_cry_cty_arr32[4] = "1618"; dest_cry_arr[177] = new dest_cry_combo ("Los Angeles, California", "1618"); source_cry_cty_arr32[5] = "1965"; dest_cry_arr[178] = new dest_cry_combo ("Monterey, California", "1965"); source_cry_cty_arr32[6] = "2297"; dest_cry_arr[179] = new dest_cry_combo ("Philadelphia, Pennsylvania", "2297"); source_cry_cty_arr32[7] = "2461"; dest_cry_arr[180] = new dest_cry_combo ("Rapid City, South Dakota", "2461"); source_cry_cty_arr32[8] = "2580"; dest_cry_arr[181] = new dest_cry_combo ("San Diego, California", "2580"); source_cry_cty_arr32[9] = "2634"; dest_cry_arr[182] = new dest_cry_combo ("San Francisco, California", "2634"); source_cry_cty_arr32[10] = "2645"; dest_cry_arr[183] = new dest_cry_combo ("Skagway, Alaska", "2645"); source_cry_cty_arr32[11] = "2695"; dest_cry_arr[184] = new dest_cry_combo ("Salt Lake City, Utah", "2695"); source_cry_cty_arr32[12] = "3799"; dest_cry_arr[185] = new dest_cry_combo ("Glacier National Park", "3799"); source_cry_cty_arr32[13] = "4064"; dest_cry_arr[186] = new dest_cry_combo ("Napa Valley, California", "4064"); source_cry_cty_arr32[14] = "4067"; dest_cry_arr[187] = new dest_cry_combo ("Williamsburg, Virginia", "4067"); source_cry_cty_arr32[15] = "4068"; dest_cry_arr[188] = new dest_cry_combo ("Yellowstone National Park", "4068"); source_cry_cty_arr32[16] = "4070"; dest_cry_arr[189] = new dest_cry_combo ("Denali, Alaska", "4070"); source_cry_cty_arr32[17] = "4071"; dest_cry_arr[190] = new dest_cry_combo ("Fairbanks, Alaska", "4071"); source_cry_cty_arr32[18] = "4072"; dest_cry_arr[191] = new dest_cry_combo ("Gettysburg, Pennsylvania", "4072"); source_cry_cty_arr32[19] = "4073"; dest_cry_arr[192] = new dest_cry_combo ("Arlington, Virginia", "4073"); source_cry_cty_arr32[20] = "4077"; dest_cry_arr[193] = new dest_cry_combo ("Carmel, California", "4077"); source_cry_cty_arr32[21] = "4079"; dest_cry_arr[194] = new dest_cry_combo ("Washington D.C.", "4079"); source_cry_cty_arr32[22] = "71061"; dest_cry_arr[195] = new dest_cry_combo ("Phoenix, Arizona", "71061"); source_cry_cty_arr32[23] = "71062"; dest_cry_arr[196] = new dest_cry_combo ("Las Vegas, Nevada", "71062"); ctycryarray[221] = source_cry_cty_arr32; var source_cry_cty_arr33 = new Array(); source_cry_arr[221] = new source_cry_combo ( 173, 196); source_cry_cty_arr33[0] = "3699"; dest_cry_arr[197] = new dest_cry_combo ("Nazareth", "3699"); source_cry_cty_arr33[1] = "3700"; dest_cry_arr[198] = new dest_cry_combo ("Tiberias", "3700"); source_cry_cty_arr33[2] = "3701"; dest_cry_arr[199] = new dest_cry_combo ("Jerusalem", "3701"); source_cry_cty_arr33[3] = "3702"; dest_cry_arr[200] = new dest_cry_combo ("Capernaum", "3702"); ctycryarray[247] = source_cry_cty_arr33; var source_cry_cty_arr34 = new Array(); source_cry_arr[247] = new source_cry_combo ( 197, 200); source_cry_cty_arr34[0] = "1635"; dest_cry_arr[201] = new dest_cry_combo ("London", "1635"); source_cry_cty_arr34[1] = "1711"; dest_cry_arr[202] = new dest_cry_combo ("Liverpool", "1711"); source_cry_cty_arr34[2] = "3902"; dest_cry_arr[203] = new dest_cry_combo ("Bath", "3902"); source_cry_cty_arr34[3] = "3905"; dest_cry_arr[204] = new dest_cry_combo ("Cotswolds", "3905"); source_cry_cty_arr34[4] = "3908"; dest_cry_arr[205] = new dest_cry_combo ("Stonehenge (Ancient Site)", "3908"); source_cry_cty_arr34[5] = "3910"; dest_cry_arr[206] = new dest_cry_combo ("York", "3910"); ctycryarray[254] = source_cry_cty_arr34; var source_cry_cty_arr35 = new Array(); source_cry_arr[254] = new source_cry_combo ( 201, 206); source_cry_cty_arr35[0] = "993"; dest_cry_arr[207] = new dest_cry_combo ("Glasgow", "993"); source_cry_cty_arr35[1] = "3971"; dest_cry_arr[208] = new dest_cry_combo ("Scottish Highlands", "3971"); source_cry_cty_arr35[2] = "3976"; dest_cry_arr[209] = new dest_cry_combo ("St. Andrews", "3976"); source_cry_cty_arr35[3] = "4100"; dest_cry_arr[210] = new dest_cry_combo ("Edinburgh", "4100"); ctycryarray[255] = source_cry_cty_arr35; var source_cry_cty_arr36 = new Array(); source_cry_arr[255] = new source_cry_combo ( 207, 210); source_cry_cty_arr36[0] = "65637"; dest_cry_arr[211] = new dest_cry_combo ("Bucharest", "65637"); ctycryarray[65634] = source_cry_cty_arr36; source_cry_arr[65634] = new source_cry_combo ( 211, 211); //added for distinct countries allCry[0] = "11"; dest_dst_cry_arr[11] = new dest_dstcry_combo ("Argentina", "11"); allCry[1] = "14"; dest_dst_cry_arr[14] = new dest_dstcry_combo ("Australia", "14"); allCry[2] = "13"; dest_dst_cry_arr[13] = new dest_dstcry_combo ("Austria", "13"); allCry[3] = "20"; dest_dst_cry_arr[20] = new dest_dstcry_combo ("Belgium", "20"); allCry[4] = "29"; dest_dst_cry_arr[29] = new dest_dstcry_combo ("Brazil", "29"); allCry[5] = "36"; dest_dst_cry_arr[36] = new dest_dstcry_combo ("Canada", "36"); allCry[6] = "44"; dest_dst_cry_arr[44] = new dest_dstcry_combo ("Chile", "44"); allCry[7] = "46"; dest_dst_cry_arr[46] = new dest_dstcry_combo ("China", "46"); allCry[8] = "48"; dest_dst_cry_arr[48] = new dest_dstcry_combo ("Costa Rica", "48"); allCry[9] = "54"; dest_dst_cry_arr[54] = new dest_dstcry_combo ("Czech Republic", "54"); allCry[10] = "57"; dest_dst_cry_arr[57] = new dest_dstcry_combo ("Denmark", "57"); allCry[11] = "63"; dest_dst_cry_arr[63] = new dest_dstcry_combo ("Egypt", "63"); allCry[12] = "254"; dest_dst_cry_arr[254] = new dest_dstcry_combo ("England", "254"); allCry[13] = "62"; dest_dst_cry_arr[62] = new dest_dstcry_combo ("Estonia", "62"); allCry[14] = "68"; dest_dst_cry_arr[68] = new dest_dstcry_combo ("Finland", "68"); allCry[15] = "73"; dest_dst_cry_arr[73] = new dest_dstcry_combo ("France", "73"); allCry[16] = "55"; dest_dst_cry_arr[55] = new dest_dstcry_combo ("Germany", "55"); allCry[17] = "86"; dest_dst_cry_arr[86] = new dest_dstcry_combo ("Greece", "86"); allCry[18] = "97"; dest_dst_cry_arr[97] = new dest_dstcry_combo ("Hungary", "97"); allCry[19] = "99"; dest_dst_cry_arr[99] = new dest_dstcry_combo ("Ireland", "99"); allCry[20] = "247"; dest_dst_cry_arr[247] = new dest_dstcry_combo ("Israel", "247"); allCry[21] = "106"; dest_dst_cry_arr[106] = new dest_dstcry_combo ("Italy", "106"); allCry[22] = "149"; dest_dst_cry_arr[149] = new dest_dstcry_combo ("Mexico", "149"); allCry[23] = "163"; dest_dst_cry_arr[163] = new dest_dstcry_combo ("New Zealand", "163"); allCry[24] = "159"; dest_dst_cry_arr[159] = new dest_dstcry_combo ("Norway", "159"); allCry[25] = "166"; dest_dst_cry_arr[166] = new dest_dstcry_combo ("Peru", "166"); allCry[26] = "175"; dest_dst_cry_arr[175] = new dest_dstcry_combo ("Portugal", "175"); allCry[27] = "65634"; dest_dst_cry_arr[65634] = new dest_dstcry_combo ("Romania", "65634"); allCry[28] = "181"; dest_dst_cry_arr[181] = new dest_dstcry_combo ("Russia", "181"); allCry[29] = "255"; dest_dst_cry_arr[255] = new dest_dstcry_combo ("Scotland", "255"); allCry[30] = "192"; dest_dst_cry_arr[192] = new dest_dstcry_combo ("Slovakia", "192"); allCry[31] = "66"; dest_dst_cry_arr[66] = new dest_dstcry_combo ("Spain", "66"); allCry[32] = "187"; dest_dst_cry_arr[187] = new dest_dstcry_combo ("Sweden", "187"); allCry[33] = "41"; dest_dst_cry_arr[41] = new dest_dstcry_combo ("Switzerland", "41"); allCry[34] = "158"; dest_dst_cry_arr[158] = new dest_dstcry_combo ("The Netherlands (Holland)", "158"); allCry[35] = "213"; dest_dst_cry_arr[213] = new dest_dstcry_combo ("Turkey", "213"); allCry[36] = "221"; dest_dst_cry_arr[221] = new dest_dstcry_combo ("United States", "221"); countryarray[0] = allCry; //added for distinct cities allCity[0] = "4040"; dest_dst_cty_arr[4040] = new dest_cty_combo ("Agcikarahan", "4040"); allCity[1] = "3761"; dest_dst_cty_arr[3761] = new dest_cty_combo ("Agrigento, Sicily", "3761"); allCity[2] = "71058"; dest_dst_cty_arr[71058] = new dest_cty_combo ("Alice Springs", "71058"); allCity[3] = "117"; dest_dst_cty_arr[117] = new dest_cty_combo ("Amsterdam", "117"); allCity[4] = "119"; dest_dst_cty_arr[119] = new dest_cty_combo ("Anchorage, Alaska", "119"); allCity[5] = "120"; dest_dst_cty_arr[120] = new dest_cty_combo ("Angers", "120"); allCity[6] = "847"; dest_dst_cty_arr[847] = new dest_cty_combo ("Ankara", "847"); allCity[7] = "206"; dest_dst_cty_arr[206] = new dest_cty_combo ("Antalya", "206"); allCity[8] = "3556"; dest_dst_cty_arr[3556] = new dest_cty_combo ("Arles, Provence-Abes-Cote d", "3556"); allCity[9] = "4073"; dest_dst_cty_arr[4073] = new dest_cty_combo ("Arlington, Virginia", "4073"); allCity[10] = "3704"; dest_dst_cty_arr[3704] = new dest_cty_combo ("Assisi", "3704"); allCity[11] = "165"; dest_dst_cty_arr[165] = new dest_cty_combo ("Aswan", "165"); allCity[12] = "167"; dest_dst_cty_arr[167] = new dest_cty_combo ("Athens", "167"); allCity[13] = "90"; dest_dst_cty_arr[90] = new dest_cty_combo ("Auckland", "90"); allCity[14] = "193"; dest_dst_cty_arr[193] = new dest_cty_combo ("Avignon", "193"); allCity[15] = "70967"; dest_dst_cty_arr[70967] = new dest_cty_combo ("Ayers Rock", "70967"); allCity[16] = "3602"; dest_dst_cty_arr[3602] = new dest_cty_combo ("Bamberg, Bavaria", "3602"); allCity[17] = "3844"; dest_dst_cty_arr[3844] = new dest_cty_combo ("Banff, Alberta", "3844"); allCity[18] = "273"; dest_dst_cty_arr[273] = new dest_cty_combo ("Bar Harbor, Maine", "273"); allCity[19] = "233"; dest_dst_cty_arr[233] = new dest_cty_combo ("Barcelona", "233"); allCity[20] = "377"; dest_dst_cty_arr[377] = new dest_cty_combo ("Bariloche", "377"); allCity[21] = "397"; dest_dst_cty_arr[397] = new dest_cty_combo ("Basel, Basel-Stadt", "397"); allCity[22] = "3902"; dest_dst_cty_arr[3902] = new dest_cty_combo ("Bath", "3902"); allCity[23] = "3561"; dest_dst_cty_arr[3561] = new dest_cty_combo ("Beaune", "3561"); allCity[24] = "309"; dest_dst_cty_arr[309] = new dest_cty_combo ("Beijing", "309"); allCity[25] = "252"; dest_dst_cty_arr[252] = new dest_cty_combo ("Berlin", "252"); allCity[26] = "297"; dest_dst_cty_arr[297] = new dest_cty_combo ("Bilbao", "297"); allCity[27] = "3603"; dest_dst_cty_arr[3603] = new dest_cty_combo ("Black Forest", "3603"); allCity[28] = "3682"; dest_dst_cty_arr[3682] = new dest_cty_combo ("Blarney", "3682"); allCity[29] = "352"; dest_dst_cty_arr[352] = new dest_cty_combo ("Bordeaux", "352"); allCity[30] = "360"; dest_dst_cty_arr[360] = new dest_cty_combo ("Boston, Massachusetts", "360"); allCity[31] = "404"; dest_dst_cty_arr[404] = new dest_cty_combo ("Bratislava", "404"); allCity[32] = "390"; dest_dst_cty_arr[390] = new dest_cty_combo ("Brussels", "390"); allCity[33] = "65637"; dest_dst_cty_arr[65637] = new dest_cty_combo ("Bucharest", "65637"); allCity[34] = "410"; dest_dst_cty_arr[410] = new dest_cty_combo ("Budapest", "410"); allCity[35] = "869"; dest_dst_cty_arr[869] = new dest_cty_combo ("Buenos Aires", "869"); allCity[36] = "3566"; dest_dst_cty_arr[3566] = new dest_cty_combo ("Burgundy", "3566"); allCity[37] = "581"; dest_dst_cty_arr[581] = new dest_cty_combo ("Cairns", "581"); allCity[38] = "455"; dest_dst_cty_arr[455] = new dest_cty_combo ("Cairo", "455"); allCity[39] = "3481"; dest_dst_cty_arr[3481] = new dest_cty_combo ("Calgary", "3481"); allCity[40] = "596"; dest_dst_cty_arr[596] = new dest_cty_combo ("Campeche", "596"); allCity[41] = "4055"; dest_dst_cty_arr[4055] = new dest_cty_combo ("Canakkale", "4055"); allCity[42] = "630"; dest_dst_cty_arr[630] = new dest_cty_combo ("Cancun", "630"); allCity[43] = "3702"; dest_dst_cty_arr[3702] = new dest_cty_combo ("Capernaum", "3702"); allCity[44] = "4044"; dest_dst_cty_arr[4044] = new dest_cty_combo ("Cappadocia", "4044"); allCity[45] = "474"; dest_dst_cty_arr[474] = new dest_cty_combo ("Carcassonne", "474"); allCity[46] = "4077"; dest_dst_cty_arr[4077] = new dest_cty_combo ("Carmel, California", "4077"); allCity[47] = "3567"; dest_dst_cty_arr[3567] = new dest_cty_combo ("Caudebec, Haute", "3567"); allCity[48] = "3794"; dest_dst_cty_arr[3794] = new dest_cty_combo ("Chichen Itza (Ruin)", "3794"); allCity[49] = "517"; dest_dst_cty_arr[517] = new dest_cty_combo ("Christchurch", "517"); allCity[50] = "3593"; dest_dst_cty_arr[3593] = new dest_cty_combo ("Cognac", "3593"); allCity[51] = "510"; dest_dst_cty_arr[510] = new dest_cty_combo ("Cologne", "510"); allCity[52] = "597"; dest_dst_cty_arr[597] = new dest_cty_combo ("Copenhagen", "597"); allCity[53] = "4016"; dest_dst_cty_arr[4016] = new dest_cty_combo ("Cordoba", "4016"); allCity[54] = "4000"; dest_dst_cty_arr[4000] = new dest_cty_combo ("Costa del Sol", "4000"); allCity[55] = "3574"; dest_dst_cty_arr[3574] = new dest_cty_combo ("Cote D'Azur", "3574"); allCity[56] = "3905"; dest_dst_cty_arr[3905] = new dest_cty_combo ("Cotswolds", "3905"); allCity[57] = "1452"; dest_dst_cty_arr[1452] = new dest_cty_combo ("County Kerry ", "1452"); allCity[58] = "3658"; dest_dst_cty_arr[3658] = new dest_cty_combo ("Crete", "3658"); allCity[59] = "3631"; dest_dst_cty_arr[3631] = new dest_cty_combo ("Delphi", "3631"); allCity[60] = "4070"; dest_dst_cty_arr[4070] = new dest_cty_combo ("Denali, Alaska", "4070"); allCity[61] = "751"; dest_dst_cty_arr[751] = new dest_cty_combo ("Dresden", "751"); allCity[62] = "762"; dest_dst_cty_arr[762] = new dest_cty_combo ("Dublin", "762"); allCity[63] = "763"; dest_dst_cty_arr[763] = new dest_cty_combo ("Dunedin", "763"); allCity[64] = "4100"; dest_dst_cty_arr[4100] = new dest_cty_combo ("Edinburgh", "4100"); allCity[65] = "4002"; dest_dst_cty_arr[4002] = new dest_cty_combo ("El Escorial", "4002"); allCity[66] = "3632"; dest_dst_cty_arr[3632] = new dest_cty_combo ("Epidaurus", "3632"); allCity[67] = "4071"; dest_dst_cty_arr[4071] = new dest_cty_combo ("Fairbanks, Alaska", "4071"); allCity[68] = "3959"; dest_dst_cty_arr[3959] = new dest_cty_combo ("Fatima", "3959"); allCity[69] = "898"; dest_dst_cty_arr[898] = new dest_cty_combo ("Florence", "898"); allCity[70] = "917"; dest_dst_cty_arr[917] = new dest_cty_combo ("Frankfurt", "917"); allCity[71] = "3931"; dest_dst_cty_arr[3931] = new dest_cty_combo ("Franz Josef (Islands)", "3931"); allCity[72] = "4046"; dest_dst_cty_arr[4046] = new dest_cty_combo ("Gallipoli", "4046"); allCity[73] = "3696"; dest_dst_cty_arr[3696] = new dest_cty_combo ("Galway", "3696"); allCity[74] = "1049"; dest_dst_cty_arr[1049] = new dest_cty_combo ("Geneva", "1049"); allCity[75] = "4072"; dest_dst_cty_arr[4072] = new dest_cty_combo ("Gettysburg, Pennsylvania", "4072"); allCity[76] = "3577"; dest_dst_cty_arr[3577] = new dest_cty_combo ("Giverny", "3577"); allCity[77] = "3799"; dest_dst_cty_arr[3799] = new dest_cty_combo ("Glacier National Park", "3799"); allCity[78] = "993"; dest_dst_cty_arr[993] = new dest_cty_combo ("Glasgow", "993"); allCity[79] = "4047"; dest_dst_cty_arr[4047] = new dest_cty_combo ("Goreme", "4047"); allCity[80] = "1032"; dest_dst_cty_arr[1032] = new dest_cty_combo ("Granada", "1032"); allCity[81] = "3337"; dest_dst_cty_arr[3337] = new dest_cty_combo ("Halifax", "3337"); allCity[82] = "3604"; dest_dst_cty_arr[3604] = new dest_cty_combo ("Heidelburg", "3604"); allCity[83] = "1090"; dest_dst_cty_arr[1090] = new dest_cty_combo ("Helsinki", "1090"); allCity[84] = "4048"; dest_dst_cty_arr[4048] = new dest_cty_combo ("Hierapolis (National Park)", "4048"); allCity[85] = "3579"; dest_dst_cty_arr[3579] = new dest_cty_combo ("Honfleur", "3579"); allCity[86] = "1215"; dest_dst_cty_arr[1215] = new dest_cty_combo ("Iguassu Falls", "1215"); allCity[87] = "1236"; dest_dst_cty_arr[1236] = new dest_cty_combo ("Innsbruck", "1236"); allCity[88] = "4022"; dest_dst_cty_arr[4022] = new dest_cty_combo ("Interlaken", "4022"); allCity[89] = "1268"; dest_dst_cty_arr[1268] = new dest_cty_combo ("Istanbul", "1268"); allCity[90] = "3843"; dest_dst_cty_arr[3843] = new dest_cty_combo ("Jasper Lake National Park", "3843"); allCity[91] = "3701"; dest_dst_cty_arr[3701] = new dest_cty_combo ("Jerusalem", "3701"); allCity[92] = "1350"; dest_dst_cty_arr[1350] = new dest_cty_combo ("Juneau, Alaska", "1350"); allCity[93] = "3637"; dest_dst_cty_arr[3637] = new dest_cty_combo ("Kalambaka", "3637"); allCity[94] = "4049"; dest_dst_cty_arr[4049] = new dest_cty_combo ("Kaymakli", "4049"); allCity[95] = "3689"; dest_dst_cty_arr[3689] = new dest_cty_combo ("Killarney", "3689"); allCity[96] = "3622"; dest_dst_cty_arr[3622] = new dest_cty_combo ("Koblenz", "3622"); allCity[97] = "3900"; dest_dst_cty_arr[3900] = new dest_cty_combo ("Kom Ombo", "3900"); allCity[98] = "1591"; dest_dst_cty_arr[1591] = new dest_cty_combo ("Konya", "1591"); allCity[99] = "4050"; dest_dst_cty_arr[4050] = new dest_cty_combo ("Kusadasi", "4050"); allCity[100] = "3835"; dest_dst_cty_arr[3835] = new dest_cty_combo ("Lake Louise", "3835"); allCity[101] = "71062"; dest_dst_cty_arr[71062] = new dest_cty_combo ("Las Vegas, Nevada", "71062"); allCity[102] = "1670"; dest_dst_cty_arr[1670] = new dest_cty_combo ("Lima", "1670"); allCity[103] = "3698"; dest_dst_cty_arr[3698] = new dest_cty_combo ("Limerick", "3698"); allCity[104] = "1673"; dest_dst_cty_arr[1673] = new dest_cty_combo ("Lisbon", "1673"); allCity[105] = "1711"; dest_dst_cty_arr[1711] = new dest_cty_combo ("Liverpool", "1711"); allCity[106] = "1635"; dest_dst_cty_arr[1635] = new dest_cty_combo ("London", "1635"); allCity[107] = "1618"; dest_dst_cty_arr[1618] = new dest_cty_combo ("Los Angeles, California", "1618"); allCity[108] = "1638"; dest_dst_cty_arr[1638] = new dest_cty_combo ("Lourdes", "1638"); allCity[109] = "4023"; dest_dst_cty_arr[4023] = new dest_cty_combo ("Lucerne", "4023"); allCity[110] = "1767"; dest_dst_cty_arr[1767] = new dest_cty_combo ("Luxor", "1767"); allCity[111] = "1775"; dest_dst_cty_arr[1775] = new dest_cty_combo ("Lyon", "1775"); allCity[112] = "3943"; dest_dst_cty_arr[3943] = new dest_cty_combo ("Machu Picchu", "3943"); allCity[113] = "1784"; dest_dst_cty_arr[1784] = new dest_cty_combo ("Madrid", "1784"); allCity[114] = "3764"; dest_dst_cty_arr[3764] = new dest_cty_combo ("Marsala", "3764"); allCity[115] = "1837"; dest_dst_cty_arr[1837] = new dest_cty_combo ("Melbourne", "1837"); allCity[116] = "3802"; dest_dst_cty_arr[3802] = new dest_cty_combo ("Melk", "3802"); allCity[117] = "1875"; dest_dst_cty_arr[1875] = new dest_cty_combo ("Milan", "1875"); allCity[118] = "3928"; dest_dst_cty_arr[3928] = new dest_cty_combo ("Milford Sound", "3928"); allCity[119] = "1965"; dest_dst_cty_arr[1965] = new dest_cty_combo ("Monterey, California", "1965"); allCity[120] = "3868"; dest_dst_cty_arr[3868] = new dest_cty_combo ("Monteverde", "3868"); allCity[121] = "732"; dest_dst_cty_arr[732] = new dest_cty_combo ("Moscow", "732"); allCity[122] = "3623"; dest_dst_cty_arr[3623] = new dest_cty_combo ("Munich", "3623"); allCity[123] = "3644"; dest_dst_cty_arr[3644] = new dest_cty_combo ("Mycenae", "3644"); allCity[124] = "1344"; dest_dst_cty_arr[1344] = new dest_cty_combo ("Mykonos", "1344"); allCity[125] = "4064"; dest_dst_cty_arr[4064] = new dest_cty_combo ("Napa Valley, California", "4064"); allCity[126] = "2043"; dest_dst_cty_arr[2043] = new dest_cty_combo ("Naples", "2043"); allCity[127] = "3645"; dest_dst_cty_arr[3645] = new dest_cty_combo ("Nauplia", "3645"); allCity[128] = "3699"; dest_dst_cty_arr[3699] = new dest_cty_combo ("Nazareth", "3699"); allCity[129] = "3838"; dest_dst_cty_arr[3838] = new dest_cty_combo ("New Brunswick (Province)", "3838"); allCity[130] = "2051"; dest_dst_cty_arr[2051] = new dest_cty_combo ("Nice", "2051"); allCity[131] = "3585"; dest_dst_cty_arr[3585] = new dest_cty_combo ("Normandy", "3585"); allCity[132] = "2134"; dest_dst_cty_arr[2134] = new dest_cty_combo ("Nuremberg", "2134"); allCity[133] = "3648"; dest_dst_cty_arr[3648] = new dest_cty_combo ("Olympia", "3648"); allCity[134] = "3736"; dest_dst_cty_arr[3736] = new dest_cty_combo ("Orvieto ", "3736"); allCity[135] = "2220"; dest_dst_cty_arr[2220] = new dest_cty_combo ("Oslo", "2220"); allCity[136] = "3765"; dest_dst_cty_arr[3765] = new dest_cty_combo ("Padova", "3765"); allCity[137] = "2348"; dest_dst_cty_arr[2348] = new dest_cty_combo ("Palermo", "2348"); allCity[138] = "2250"; dest_dst_cty_arr[2250] = new dest_cty_combo ("Paris", "2250"); allCity[139] = "3807"; dest_dst_cty_arr[3807] = new dest_cty_combo ("Passau", "3807"); allCity[140] = "3650"; dest_dst_cty_arr[3650] = new dest_cty_combo ("Patmos", "3650"); allCity[141] = "4051"; dest_dst_cty_arr[4051] = new dest_cty_combo ("Pergamon", "4051"); allCity[142] = "2297"; dest_dst_cty_arr[2297] = new dest_cty_combo ("Philadelphia, Pennsylvania", "2297"); allCity[143] = "71061"; dest_dst_cty_arr[71061] = new dest_cty_combo ("Phoenix, Arizona", "71061"); allCity[144] = "48374"; dest_dst_cty_arr[48374] = new dest_cty_combo ("Pince Edward Island", "48374"); allCity[145] = "2395"; dest_dst_cty_arr[2395] = new dest_cty_combo ("Pisa", "2395"); allCity[146] = "3743"; dest_dst_cty_arr[3743] = new dest_cty_combo ("Pompeii", "3743"); allCity[147] = "2204"; dest_dst_cty_arr[2204] = new dest_cty_combo ("Porto", "2204"); allCity[148] = "2391"; dest_dst_cty_arr[2391] = new dest_cty_combo ("Prague", "2391"); allCity[149] = "3850"; dest_dst_cty_arr[3850] = new dest_cty_combo ("Puerto Varas", "3850"); allCity[150] = "3534"; dest_dst_cty_arr[3534] = new dest_cty_combo ("Queenstown", "3534"); allCity[151] = "2461"; dest_dst_cty_arr[2461] = new dest_cty_combo ("Rapid City, South Dakota", "2461"); allCity[152] = "3613"; dest_dst_cty_arr[3613] = new dest_cty_combo ("Regensburg", "3613"); allCity[153] = "3614"; dest_dst_cty_arr[3614] = new dest_cty_combo ("Rhineland", "3614"); allCity[154] = "2503"; dest_dst_cty_arr[2503] = new dest_cty_combo ("Rhodes", "2503"); allCity[155] = "2620"; dest_dst_cty_arr[2620] = new dest_cty_combo ("Rio de Janeiro", "2620"); allCity[156] = "3748"; dest_dst_cty_arr[3748] = new dest_cty_combo ("Riviera", "3748"); allCity[157] = "2537"; dest_dst_cty_arr[2537] = new dest_cty_combo ("Rome", "2537"); allCity[158] = "3615"; dest_dst_cty_arr[3615] = new dest_cty_combo ("Rothenburg", "3615"); allCity[159] = "2542"; dest_dst_cty_arr[2542] = new dest_cty_combo ("Rotorua", "2542"); allCity[160] = "3062"; dest_dst_cty_arr[3062] = new dest_cty_combo ("Rouen", "3062"); allCity[161] = "3616"; dest_dst_cty_arr[3616] = new dest_cty_combo ("Rudesheim", "3616"); allCity[162] = "2700"; dest_dst_cty_arr[2700] = new dest_cty_combo ("Salamanca", "2700"); allCity[163] = "2695"; dest_dst_cty_arr[2695] = new dest_cty_combo ("Salt Lake City, Utah", "2695"); allCity[164] = "2807"; dest_dst_cty_arr[2807] = new dest_cty_combo ("Salzburg", "2807"); allCity[165] = "2580"; dest_dst_cty_arr[2580] = new dest_cty_combo ("San Diego, California", "2580"); allCity[166] = "2634"; dest_dst_cty_arr[2634] = new dest_cty_combo ("San Francisco, California", "2634"); allCity[167] = "2799"; dest_dst_cty_arr[2799] = new dest_cty_combo ("San Jose", "2799"); allCity[168] = "3769"; dest_dst_cty_arr[3769] = new dest_cty_combo ("San Marino", "3769"); allCity[169] = "2609"; dest_dst_cty_arr[2609] = new dest_cty_combo ("Santiago (Argentina)", "2609"); allCity[170] = "1370"; dest_dst_cty_arr[1370] = new dest_cty_combo ("Santorini", "1370"); allCity[171] = "3971"; dest_dst_cty_arr[3971] = new dest_cty_combo ("Scottish Highlands", "3971"); allCity[172] = "3753"; dest_dst_cty_arr[3753] = new dest_cty_combo ("Selinunte, Sicily", "3753"); allCity[173] = "4020"; dest_dst_cty_arr[4020] = new dest_cty_combo ("Seville", "4020"); allCity[174] = "2646"; dest_dst_cty_arr[2646] = new dest_cty_combo ("Shanghai", "2646"); allCity[175] = "3768"; dest_dst_cty_arr[3768] = new dest_cty_combo ("Siena", "3768"); allCity[176] = "2645"; dest_dst_cty_arr[2645] = new dest_cty_combo ("Skagway, Alaska", "2645"); allCity[177] = "3767"; dest_dst_cty_arr[3767] = new dest_cty_combo ("Sorrento", "3767"); allCity[178] = "3976"; dest_dst_cty_arr[3976] = new dest_cty_combo ("St. Andrews", "3976"); allCity[179] = "1644"; dest_dst_cty_arr[1644] = new dest_cty_combo ("St. Petersburg", "1644"); allCity[180] = "2147"; dest_dst_cty_arr[2147] = new dest_cty_combo ("Stockholm", "2147"); allCity[181] = "3908"; dest_dst_cty_arr[3908] = new dest_cty_combo ("Stonehenge (Ancient Site)", "3908"); allCity[182] = "2786"; dest_dst_cty_arr[2786] = new dest_cty_combo ("Strasbourg", "2786"); allCity[183] = "4052"; dest_dst_cty_arr[4052] = new dest_cty_combo ("Sultanhani", "4052"); allCity[184] = "2795"; dest_dst_cty_arr[2795] = new dest_cty_combo ("Sydney", "2795"); allCity[185] = "2912"; dest_dst_cty_arr[2912] = new dest_cty_combo ("Tallinn", "2912"); allCity[186] = "3756"; dest_dst_cty_arr[3756] = new dest_cty_combo ("Taormina", "3756"); allCity[187] = "2687"; dest_dst_cty_arr[2687] = new dest_cty_combo ("Thessaloniki", "2687"); allCity[188] = "3700"; dest_dst_cty_arr[3700] = new dest_cty_combo ("Tiberias", "3700"); allCity[189] = "4011"; dest_dst_cty_arr[4011] = new dest_cty_combo ("Toledo", "4011"); allCity[190] = "2983"; dest_dst_cty_arr[2983] = new dest_cty_combo ("Tours", "2983"); allCity[191] = "3619"; dest_dst_cty_arr[3619] = new dest_cty_combo ("Trier", "3619"); allCity[192] = "3757"; dest_dst_cty_arr[3757] = new dest_cty_combo ("Tuscany (Region)", "3757"); allCity[193] = "3458"; dest_dst_cty_arr[3458] = new dest_cty_combo ("Vancouver", "3458"); allCity[194] = "3100"; dest_dst_cty_arr[3100] = new dest_cty_combo ("Venice", "3100"); allCity[195] = "3150"; dest_dst_cty_arr[3150] = new dest_cty_combo ("Verona", "3150"); allCity[196] = "3118"; dest_dst_cty_arr[3118] = new dest_cty_combo ("Vienna", "3118"); allCity[197] = "3590"; dest_dst_cty_arr[3590] = new dest_cty_combo ("Villars", "3590"); allCity[198] = "3923"; dest_dst_cty_arr[3923] = new dest_cty_combo ("Waitomo (Caves)", "3923"); allCity[199] = "4079"; dest_dst_cty_arr[4079] = new dest_cty_combo ("Washington D.C.", "4079"); allCity[200] = "3172"; dest_dst_cty_arr[3172] = new dest_cty_combo ("Waterford", "3172"); allCity[201] = "3194"; dest_dst_cty_arr[3194] = new dest_cty_combo ("Wellington", "3194"); allCity[202] = "3695"; dest_dst_cty_arr[3695] = new dest_cty_combo ("Wicklow", "3695"); allCity[203] = "4067"; dest_dst_cty_arr[4067] = new dest_cty_combo ("Williamsburg, Virginia", "4067"); allCity[204] = "3626"; dest_dst_cty_arr[3626] = new dest_cty_combo ("Wurzburg", "3626"); allCity[205] = "3255"; dest_dst_cty_arr[3255] = new dest_cty_combo ("Xian", "3255"); allCity[206] = "4068"; dest_dst_cty_arr[4068] = new dest_cty_combo ("Yellowstone National Park", "4068"); allCity[207] = "3910"; dest_dst_cty_arr[3910] = new dest_cty_combo ("York", "3910"); allCity[208] = "4025"; dest_dst_cty_arr[4025] = new dest_cty_combo ("Zermatt", "4025"); allCity[209] = "3535"; dest_dst_cty_arr[3535] = new dest_cty_combo ("Zurich", "3535"); cityarray[0] = allCity; ctycryarray[0] = allCity; function source_combo( fst, lst ) { this.fst = fst; this.lst = lst; } function dest_combo( lab, val ) { this.lab = lab; this.val = val; } function source_cty_combo( fst, lst ) { this.fst = fst; this.lst = lst; } function dest_cty_combo( lab, val ) { this.lab = lab; this.val = val; } function source_dstcry_combo( fst, lst ) { this.fst = fst; this.lst = lst; } function dest_dstcry_combo( lab, val ) { this.lab = lab; this.val = val; } function source_cry_combo( fst, lst ) { this.fst = fst; this.lst = lst; } function dest_cry_combo( lab, val ) { this.lab = lab; this.val = val; } function change_combo( get_val, ctrl_name,ctrl_cty_name ) { clear_combo(ctrl_name); ctrl_name.options[0] = new Option( " Country ", "0" ); ctrl_name.options[1] = new Option( "----------------------------------------------------", "0"); var crys = (countryarray[get_val]); for( d=0;d < crys.length;d++){ ctrl_name.options[d+2] = new Option(dest_dst_cry_arr[crys[d]].lab, dest_dst_cry_arr[crys[d]].val ); } ctrl_name.selectedIndex = 0; sortSelect( ctrl_name ); if(ctrl_cty_name != null){ ctrl_cty_name.options[0] = new Option( " City ", "" ); ctrl_cty_name.options[1] = new Option( "----------------------------------------------------", ""); clear_combo(ctrl_cty_name); var ctys = cityarray[get_val]; for( d=0;d < ctys.length;d++){ if(ctys[d] != '.') ctrl_cty_name.options[d+2] = new Option(dest_dst_cty_arr[ctys[d]].lab, dest_dst_cty_arr[ctys[d]].val ); } sortSelect( ctrl_cty_name ); } } function change_cry_combo( reg_index,get_val,ctrl_cty_name ) { clear_combo(ctrl_cty_name); ctrl_cty_name.options[0] = new Option( " City ", "" ); ctrl_cty_name.options[1] = new Option( "----------------------------------------------------", ""); if(get_val == 0 && reg_index != "" && reg_index != 0){ var ctys = cityarray[reg_index]; for( d=0;d < ctys.length;d++){ if(ctys[d] != '.') ctrl_cty_name.options[d+2] = new Option(dest_dst_cty_arr[ctys[d]].lab, dest_dst_cty_arr[ctys[d]].val ); } }else{ if(reg_index != "" && reg_index != 0){ var ctys = cityarray[reg_index]; var crys = ctycryarray[get_val]; ctys.unshift("."); ctys[ctys.length] = "."; var str = ctys.join("."); ind = 2 ; for( d=0;d < crys.length;d++){ var comp = "." + crys[d] + "."; if(str.indexOf(comp) != -1){ ctrl_cty_name.options[ind] = new Option(dest_dst_cty_arr[crys[d]].lab, dest_dst_cty_arr[crys[d]].val ); ind ++; } } } else{ var ctys = ctycryarray[get_val]; for( d=0;d < ctys.length;d++){ ctrl_cty_name.options[d+2] = new Option(dest_dst_cty_arr[ctys[d]].lab, dest_dst_cty_arr[ctys[d]].val ); } } } ctrl_cty_name.selectedIndex = 0; sortSelect( ctrl_cty_name ); } function clear_combo(ctrl_name) { // y = ctrl_name.length; // for( x=0; x<=y; y-- ){ // ctrl_name.options[y] = null; // } for( y=ctrl_name.length; y!=0; --y ) ctrl_name.options[y] = null ; } function clr_combo(ctrl_name) { change_combo(0,document.TF_Form.country,document.TF_Form.city); change_cry_combo(0,0,document.TF_Form.city); document.TF_Form.reg_index.selectedIndex = 0; ClearCombos(); } function sortSelect(obj) { var o = new Array(); for (var i=2; obj.options.length>i; i++) { o[o.length] = new Option( obj.options[i].text, obj.options[i].value, obj.options[i].defaultSelected, obj.options[i].selected) ; } o = o.sort( function(a,b){ if ((a.text+"") < (b.text+"")) { return -1; } if ((a.text+"") > (b.text+"")) { return 1; } return 0; } ); for (var i=0; o.length>i; i++) { obj.options[i+2] = new Option(o[i].text, o[i].value, o[i].defaultSelected, o[i].selected); } }