found good city/state selector
This commit is contained in:
parent
001d8e5d35
commit
b9e1a126c5
482
include/country.js
Normal file
482
include/country.js
Normal file
|
@ -0,0 +1,482 @@
|
||||||
|
//<!-- Docs at: http://www.microcosmotalk.com/tech/scripts/
|
||||||
|
// NOTE:
|
||||||
|
// This code is placed into the public domain and may be used in any manner desired.
|
||||||
|
//
|
||||||
|
// Jim Carlock obtained the list of country names and state names from an HTML
|
||||||
|
// document at Microsoft's website.
|
||||||
|
//
|
||||||
|
// Thursday, January 13, 2005, 7:00:52 PM
|
||||||
|
//
|
||||||
|
var gLngMaxStateLength=0;
|
||||||
|
var gLngMaxCountryLength=0;
|
||||||
|
var gLngNumberCountries=252;
|
||||||
|
var gLngNumberStates=0;
|
||||||
|
var gLngSelectedCountry=0;
|
||||||
|
var gLngSelectedState=0;
|
||||||
|
var gArCountryInfo;
|
||||||
|
var gArStateInfo;
|
||||||
|
// NOTE:
|
||||||
|
// Some editors may exhibit problems viewing 2803 characters...
|
||||||
|
var sCountryString = "|Afghanistan|Albania|Algeria|American Samoa|Angola|Anguilla|Antartica|Antigua and Barbuda|Argentina|Armenia|Aruba|Ashmore and Cartier Island|Australia|Austria|Azerbaijan|Bahamas|Bahrain|Bangladesh|Barbados|Belarus|Belgium|Belize|Benin|Bermuda|Bhutan|Bolivia|Bosnia and Herzegovina|Botswana|Brazil|British Virgin Islands|Brunei|Bulgaria|Burkina Faso|Burma|Burundi|Cambodia|Cameroon|Canada|Cape Verde|Cayman Islands|Central African Republic|Chad|Chile|China|Christmas Island|Clipperton Island|Cocos (Keeling) Islands|Colombia|Comoros|Congo, Democratic Republic of the|Congo, Republic of the|Cook Islands|Costa Rica|Cote d'Ivoire|Croatia|Cuba|Cyprus|Czeck Republic|Denmark|Djibouti|Dominica|Dominican Republic|Ecuador|Egypt|El Salvador|Equatorial Guinea|Eritrea|Estonia|Ethiopia|Europa Island|Falkland Islands (Islas Malvinas)|Faroe Islands|Fiji|Finland|France|French Guiana|French Polynesia|French Southern and Antarctic Lands|Gabon|Gambia, The|Gaza Strip|Georgia|Germany|Ghana|Gibraltar|Glorioso Islands|Greece|Greenland|Grenada|Guadeloupe|Guam|Guatemala|Guernsey|Guinea|Guinea-Bissau|Guyana|Haiti|Heard Island and McDonald Islands|Holy See (Vatican City)|Honduras|Hong Kong|Howland Island|Hungary|Iceland|India|Indonesia|Iran|Iraq|Ireland|Ireland, Northern|Israel|Italy|Jamaica|Jan Mayen|Japan|Jarvis Island|Jersey|Johnston Atoll|Jordan|Juan de Nova Island|Kazakhstan|Kenya|Kiribati|Korea, North|Korea, South|Kuwait|Kyrgyzstan|Laos|Latvia|Lebanon|Lesotho|Liberia|Libya|Liechtenstein|Lithuania|Luxembourg|Macau|Macedonia, Former Yugoslav Republic of|Madagascar|Malawi|Malaysia|Maldives|Mali|Malta|Man, Isle of|Marshall Islands|Martinique|Mauritania|Mauritius|Mayotte|Mexico|Micronesia, Federated States of|Midway Islands|Moldova|Monaco|Mongolia|Montserrat|Morocco|Mozambique|Namibia|Nauru|Nepal|Netherlands|Netherlands Antilles|New Caledonia|New Zealand|Nicaragua|Niger|Nigeria|Niue|Norfolk Island|Northern Mariana Islands|Norway|Oman|Pakistan|Palau|Panama|Papua New Guinea|Paraguay|Peru|Philippines|Pitcaim Islands|Poland|Portugal|Puerto Rico|Qatar|Reunion|Romainia|Russia|Rwanda|Saint Helena|Saint Kitts and Nevis|Saint Lucia|Saint Pierre and Miquelon|Saint Vincent and the Grenadines|Samoa|San Marino|Sao Tome and Principe|Saudi Arabia|Scotland|Senegal|Seychelles|Sierra Leone|Singapore|Slovakia|Slovenia|Solomon Islands|Somalia|South Africa|South Georgia and South Sandwich Islands|Spain|Spratly Islands|Sri Lanka|Sudan|Suriname|Svalbard|Swaziland|Sweden|Switzerland|Syria|Taiwan|Tajikistan|Tanzania|Thailand|Tobago|Toga|Tokelau|Tonga|Trinidad|Tunisia|Turkey|Turkmenistan|Tuvalu|Uganda|Ukraine|United Arab Emirates|United Kingdom|Uruguay|USA|Uzbekistan|Vanuatu|Venezuela|Vietnam|Virgin Islands|Wales|Wallis and Futuna|West Bank|Western Sahara|Yemen|Yugoslavia|Zambia|Zimbabwe";
|
||||||
|
var aStates = new Array();
|
||||||
|
|
||||||
|
aStates[0]="";
|
||||||
|
aStates[1]="Badakhshan|Badghis|Baghlan|Balkh|Bamian|Farah|Faryab|Ghazni|Ghowr|Helmand|Herat|Jowzjan|Kabol|Kandahar|Kapisa|Konar|Kondoz|Laghman|Lowgar|Nangarhar|Nimruz|Oruzgan|Paktia|Paktika|Parvan|Samangan|Sar-e Pol|Takhar|Vardak|Zabol";
|
||||||
|
aStates[2]="Berat|Bulqize|Delvine|Devoll (Bilisht)|Diber (Peshkopi)|Durres|Elbasan|Fier|Gjirokaster|Gramsh|Has (Krume)|Kavaje|Kolonje (Erseke)|Korce|Kruje|Kucove|Kukes|Kurbin|Lezhe|Librazhd|Lushnje|Malesi e Madhe (Koplik)|Mallakaster (Ballsh)|Mat (Burrel)|Mirdite (Rreshen)|Peqin|Permet|Pogradec|Puke|Sarande|Shkoder|Skrapar (Corovode)|Tepelene|Tirane (Tirana)|Tirane (Tirana)|Tropoje (Bajram Curri)|Vlore";
|
||||||
|
aStates[3]="Adrar|Ain Defla|Ain Temouchent|Alger|Annaba|Batna|Bechar|Bejaia|Biskra|Blida|Bordj Bou Arreridj|Bouira|Boumerdes|Chlef|Constantine|Djelfa|El Bayadh|El Oued|El Tarf|Ghardaia|Guelma|Illizi|Jijel|Khenchela|Laghouat|M'Sila|Mascara|Medea|Mila|Mostaganem|Naama|Oran|Ouargla|Oum el Bouaghi|Relizane|Saida|Setif|Sidi Bel Abbes|Skikda|Souk Ahras|Tamanghasset|Tebessa|Tiaret|Tindouf|Tipaza|Tissemsilt|Tizi Ouzou|Tlemcen";
|
||||||
|
aStates[4]="Eastern|Manu'a|Rose Island|Swains Island|Western";
|
||||||
|
aStates[5]="Andorra la Vella|Bengo|Benguela|Bie|Cabinda|Canillo|Cuando Cubango|Cuanza Norte|Cuanza Sul|Cunene|Encamp|Escaldes-Engordany|Huambo|Huila|La Massana|Luanda|Lunda Norte|Lunda Sul|Malanje|Moxico|Namibe|Ordino|Sant Julia de Loria|Uige|Zaire";
|
||||||
|
aStates[6]="Anguilla";
|
||||||
|
aStates[7]="Antartica";
|
||||||
|
aStates[8]="Barbuda|Redonda|Saint George|Saint John|Saint Mary|Saint Paul|Saint Peter|Saint Philip";
|
||||||
|
aStates[9]="Antartica e Islas del Atlantico Sur|Buenos Aires|Buenos Aires Capital Federal|Catamarca|Chaco|Chubut|Cordoba|Corrientes|Entre Rios|Formosa|Jujuy|La Pampa|La Rioja|Mendoza|Misiones|Neuquen|Rio Negro|Salta|San Juan|San Luis|Santa Cruz|Santa Fe|Santiago del Estero|Tierra del Fuego|Tucuman";
|
||||||
|
aStates[10]="Aragatsotn|Ararat|Armavir|Geghark'unik'|Kotayk'|Lorri|Shirak|Syunik'|Tavush|Vayots' Dzor|Yerevan";
|
||||||
|
aStates[11]="Aruba";
|
||||||
|
aStates[12]="Ashmore and Cartier Island";
|
||||||
|
aStates[13]="Australian Capital Territory|New South Wales|Northern Territory|Queensland|South Australia|Tasmania|Victoria|Western Australia";
|
||||||
|
aStates[14]="Burgenland|Kaernten|Niederoesterreich|Oberoesterreich|Salzburg|Steiermark|Tirol|Vorarlberg|Wien";
|
||||||
|
aStates[15]="Abseron Rayonu|Agcabadi Rayonu|Agdam Rayonu|Agdas Rayonu|Agstafa Rayonu|Agsu Rayonu|Ali Bayramli Sahari|Astara Rayonu|Baki Sahari|Balakan Rayonu|Barda Rayonu|Beylaqan Rayonu|Bilasuvar Rayonu|Cabrayil Rayonu|Calilabad Rayonu|Daskasan Rayonu|Davaci Rayonu|Fuzuli Rayonu|Gadabay Rayonu|Ganca Sahari|Goranboy Rayonu|Goycay Rayonu|Haciqabul Rayonu|Imisli Rayonu|Ismayilli Rayonu|Kalbacar Rayonu|Kurdamir Rayonu|Lacin Rayonu|Lankaran Rayonu|Lankaran Sahari|Lerik Rayonu|Masalli Rayonu|Mingacevir Sahari|Naftalan Sahari|Naxcivan Muxtar Respublikasi|Neftcala Rayonu|Oguz Rayonu|Qabala Rayonu|Qax Rayonu|Qazax Rayonu|Qobustan Rayonu|Quba Rayonu|Qubadli Rayonu|Qusar Rayonu|Saatli Rayonu|Sabirabad Rayonu|Saki Rayonu|Saki Sahari|Salyan Rayonu|Samaxi Rayonu|Samkir Rayonu|Samux Rayonu|Siyazan Rayonu|Sumqayit Sahari|Susa Rayonu|Susa Sahari|Tartar Rayonu|Tovuz Rayonu|Ucar Rayonu|Xacmaz Rayonu|Xankandi Sahari|Xanlar Rayonu|Xizi Rayonu|Xocali Rayonu|Xocavand Rayonu|Yardimli Rayonu|Yevlax Rayonu|Yevlax Sahari|Zangilan Rayonu|Zaqatala Rayonu|Zardab Rayonu";
|
||||||
|
aStates[16]="Acklins and Crooked Islands|Bimini|Cat Island|Exuma|Freeport|Fresh Creek|Governor's Harbour|Green Turtle Cay|Harbour Island|High Rock|Inagua|Kemps Bay|Long Island|Marsh Harbour|Mayaguana|New Providence|Nicholls Town and Berry Islands|Ragged Island|Rock Sound|San Salvador and Rum Cay|Sandy Point";
|
||||||
|
aStates[17]="Al Hadd|Al Manamah|Al Mintaqah al Gharbiyah|Al Mintaqah al Wusta|Al Mintaqah ash Shamaliyah|Al Muharraq|Ar Rifa' wa al Mintaqah al Janubiyah|Jidd Hafs|Juzur Hawar|Madinat 'Isa|Madinat Hamad|Sitrah";
|
||||||
|
aStates[18]="Barisal|Chittagong|Dhaka|Khulna|Rajshahi|Sylhet";
|
||||||
|
aStates[19]="Bridgetown|Christ Church|Saint Andrew|Saint George|Saint James|Saint John|Saint Joseph|Saint Lucy|Saint Michael|Saint Peter|Saint Philip|Saint Thomas";
|
||||||
|
aStates[20]="Brestskaya (Brest)|Homyel'skaya (Homyel')|Horad Minsk|Hrodzyenskaya (Hrodna)|Mahilyowskaya (Mahilyow)|Minskaya|Vitsyebskaya (Vitsyebsk)";
|
||||||
|
aStates[21]="Antwerpen|Brabant Wallon|Brussels Capitol Region|Hainaut|Liege|Limburg|Luxembourg|Namur|Oost-Vlaanderen|Vlaams Brabant|West-Vlaanderen";
|
||||||
|
aStates[22]="Belize|Cayo|Corozal|Orange Walk|Stann Creek|Toledo";
|
||||||
|
aStates[23]="Alibori|Atakora|Atlantique|Borgou|Collines|Couffo|Donga|Littoral|Mono|Oueme|Plateau|Zou";
|
||||||
|
aStates[24]="Devonshire|Hamilton|Hamilton|Paget|Pembroke|Saint George|Saint Georges|Sandys|Smiths|Southampton|Warwick";
|
||||||
|
aStates[25]="Bumthang|Chhukha|Chirang|Daga|Geylegphug|Ha|Lhuntshi|Mongar|Paro|Pemagatsel|Punakha|Samchi|Samdrup Jongkhar|Shemgang|Tashigang|Thimphu|Tongsa|Wangdi Phodrang";
|
||||||
|
aStates[26]="Beni|Chuquisaca|Cochabamba|La Paz|Oruro|Pando|Potosi|Santa Cruz|Tarija";
|
||||||
|
aStates[27]="Federation of Bosnia and Herzegovina|Republika Srpska";
|
||||||
|
aStates[28]="Central|Chobe|Francistown|Gaborone|Ghanzi|Kgalagadi|Kgatleng|Kweneng|Lobatse|Ngamiland|North-East|Selebi-Pikwe|South-East|Southern";
|
||||||
|
aStates[29]="Acre|Alagoas|Amapa|Amazonas|Bahia|Ceara|Distrito Federal|Espirito Santo|Goias|Maranhao|Mato Grosso|Mato Grosso do Sul|Minas Gerais|Para|Paraiba|Parana|Pernambuco|Piaui|Rio de Janeiro|Rio Grande do Norte|Rio Grande do Sul|Rondonia|Roraima|Santa Catarina|Sao Paulo|Sergipe|Tocantins";
|
||||||
|
aStates[30]="Anegada|Jost Van Dyke|Tortola|Virgin Gorda";
|
||||||
|
aStates[31]="Belait|Brunei and Muara|Temburong|Tutong";
|
||||||
|
aStates[32]="Blagoevgrad|Burgas|Dobrich|Gabrovo|Khaskovo|Kurdzhali|Kyustendil|Lovech|Montana|Pazardzhik|Pernik|Pleven|Plovdiv|Razgrad|Ruse|Shumen|Silistra|Sliven|Smolyan|Sofiya|Sofiya-Grad|Stara Zagora|Turgovishte|Varna|Veliko Turnovo|Vidin|Vratsa|Yambol";
|
||||||
|
aStates[33]="Bale|Bam|Banwa|Bazega|Bougouriba|Boulgou|Boulkiemde|Comoe|Ganzourgou|Gnagna|Gourma|Houet|Ioba|Kadiogo|Kenedougou|Komandjari|Kompienga|Kossi|Koupelogo|Kouritenga|Kourweogo|Leraba|Loroum|Mouhoun|Nahouri|Namentenga|Naumbiel|Nayala|Oubritenga|Oudalan|Passore|Poni|Samentenga|Sanguie|Seno|Sissili|Soum|Sourou|Tapoa|Tuy|Yagha|Yatenga|Ziro|Zondomo|Zoundweogo";
|
||||||
|
aStates[34]="Ayeyarwady|Bago|Chin State|Kachin State|Kayah State|Kayin State|Magway|Mandalay|Mon State|Rakhine State|Sagaing|Shan State|Tanintharyi|Yangon";
|
||||||
|
aStates[35]="Bubanza|Bujumbura|Bururi|Cankuzo|Cibitoke|Gitega|Karuzi|Kayanza|Kirundo|Makamba|Muramvya|Muyinga|Mwaro|Ngozi|Rutana|Ruyigi";
|
||||||
|
aStates[36]="Banteay Mean Cheay|Batdambang|Kampong Cham|Kampong Chhnang|Kampong Spoe|Kampong Thum|Kampot|Kandal|Kaoh Kong|Keb|Kracheh|Mondol Kiri|Otdar Mean Cheay|Pailin|Phnum Penh|Pouthisat|Preah Seihanu (Sihanoukville)|Preah Vihear|Prey Veng|Rotanah Kiri|Siem Reab|Stoeng Treng|Svay Rieng|Takev";
|
||||||
|
aStates[37]="Adamaoua|Centre|Est|Extreme-Nord|Littoral|Nord|Nord-Ouest|Ouest|Sud|Sud-Ouest";
|
||||||
|
aStates[38]="Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland|Northwest Territories|Nova Scotia|Nunavut|Ontario|Prince Edward Island|Quebec|Saskatchewan|Yukon Territory";
|
||||||
|
aStates[39]="Boa Vista|Brava|Maio|Mosteiros|Paul|Porto Novo|Praia|Ribeira Grande|Sal|Santa Catarina|Santa Cruz|Sao Domingos|Sao Filipe|Sao Nicolau|Sao Vicente|Tarrafal";
|
||||||
|
aStates[40]="Creek|Eastern|Midland|South Town|Spot Bay|Stake Bay|West End|Western";
|
||||||
|
aStates[41]="Bamingui-Bangoran|Bangui|Basse-Kotto|Gribingui|Haut-Mbomou|Haute-Kotto|Haute-Sangha|Kemo-Gribingui|Lobaye|Mbomou|Nana-Mambere|Ombella-Mpoko|Ouaka|Ouham|Ouham-Pende|Sangha|Vakaga";
|
||||||
|
aStates[42]="Batha|Biltine|Borkou-Ennedi-Tibesti|Chari-Baguirmi|Guera|Kanem|Lac|Logone Occidental|Logone Oriental|Mayo-Kebbi|Moyen-Chari|Ouaddai|Salamat|Tandjile";
|
||||||
|
aStates[43]="Aisen del General Carlos Ibanez del Campo|Antofagasta|Araucania|Atacama|Bio-Bio|Coquimbo|Libertador General Bernardo O'Higgins|Los Lagos|Magallanes y de la Antartica Chilena|Maule|Region Metropolitana (Santiago)|Tarapaca|Valparaiso";
|
||||||
|
aStates[44]="Anhui|Beijing|Chongqing|Fujian|Gansu|Guangdong|Guangxi|Guizhou|Hainan|Hebei|Heilongjiang|Henan|Hubei|Hunan|Jiangsu|Jiangxi|Jilin|Liaoning|Nei Mongol|Ningxia|Qinghai|Shaanxi|Shandong|Shanghai|Shanxi|Sichuan|Tianjin|Xinjiang|Xizang (Tibet)|Yunnan|Zhejiang";
|
||||||
|
aStates[45]="Christmas Island";
|
||||||
|
aStates[46]="Clipperton Island";
|
||||||
|
aStates[47]="Direction Island|Home Island|Horsburgh Island|North Keeling Island|South Island|West Island";
|
||||||
|
aStates[48]="Amazonas|Antioquia|Arauca|Atlantico|Bolivar|Boyaca|Caldas|Caqueta|Casanare|Cauca|Cesar|Choco|Cordoba|Cundinamarca|Distrito Capital de Santa Fe de Bogota|Guainia|Guaviare|Huila|La Guajira|Magdalena|Meta|Narino|Norte de Santander|Putumayo|Quindio|Risaralda|San Andres y Providencia|Santander|Sucre|Tolima|Valle del Cauca|Vaupes|Vichada";
|
||||||
|
// <!-- -->
|
||||||
|
aStates[49]="Anjouan (Nzwani)|Domoni|Fomboni|Grande Comore (Njazidja)|Moheli (Mwali)|Moroni|Moutsamoudou";
|
||||||
|
aStates[50]="Bandundu|Bas-Congo|Equateur|Kasai-Occidental|Kasai-Oriental|Katanga|Kinshasa|Maniema|Nord-Kivu|Orientale|Sud-Kivu";
|
||||||
|
aStates[51]="Bouenza|Brazzaville|Cuvette|Kouilou|Lekoumou|Likouala|Niari|Plateaux|Pool|Sangha";
|
||||||
|
aStates[52]="Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Manuae|Mauke|Mitiaro|Nassau Island|Palmerston|Penrhyn|Pukapuka|Rakahanga|Rarotonga|Suwarrow|Takutea";
|
||||||
|
aStates[53]="Alajuela|Cartago|Guanacaste|Heredia|Limon|Puntarenas|San Jose";
|
||||||
|
aStates[54]="Abengourou|Abidjan|Aboisso|Adiake'|Adzope|Agboville|Agnibilekrou|Ale'pe'|Bangolo|Beoumi|Biankouma|Bocanda|Bondoukou|Bongouanou|Bouafle|Bouake|Bouna|Boundiali|Dabakala|Dabon|Daloa|Danane|Daoukro|Dimbokro|Divo|Duekoue|Ferkessedougou|Gagnoa|Grand Bassam|Grand-Lahou|Guiglo|Issia|Jacqueville|Katiola|Korhogo|Lakota|Man|Mankono|Mbahiakro|Odienne|Oume|Sakassou|San-Pedro|Sassandra|Seguela|Sinfra|Soubre|Tabou|Tanda|Tiassale|Tiebissou|Tingrela|Touba|Toulepleu|Toumodi|Vavoua|Yamoussoukro|Zuenoula";
|
||||||
|
aStates[55]="Bjelovarsko-Bilogorska Zupanija|Brodsko-Posavska Zupanija|Dubrovacko-Neretvanska Zupanija|Istarska Zupanija|Karlovacka Zupanija|Koprivnicko-Krizevacka Zupanija|Krapinsko-Zagorska Zupanija|Licko-Senjska Zupanija|Medimurska Zupanija|Osjecko-Baranjska Zupanija|Pozesko-Slavonska Zupanija|Primorsko-Goranska Zupanija|Sibensko-Kninska Zupanija|Sisacko-Moslavacka Zupanija|Splitsko-Dalmatinska Zupanija|Varazdinska Zupanija|Viroviticko-Podravska Zupanija|Vukovarsko-Srijemska Zupanija|Zadarska Zupanija|Zagreb|Zagrebacka Zupanija";
|
||||||
|
aStates[56]="Camaguey|Ciego de Avila|Cienfuegos|Ciudad de La Habana|Granma|Guantanamo|Holguin|Isla de la Juventud|La Habana|Las Tunas|Matanzas|Pinar del Rio|Sancti Spiritus|Santiago de Cuba|Villa Clara";
|
||||||
|
aStates[57]="Famagusta|Kyrenia|Larnaca|Limassol|Nicosia|Paphos";
|
||||||
|
aStates[58]="Brnensky|Budejovicky|Jihlavsky|Karlovarsky|Kralovehradecky|Liberecky|Olomoucky|Ostravsky|Pardubicky|Plzensky|Praha|Stredocesky|Ustecky|Zlinsky";
|
||||||
|
aStates[59]="Arhus|Bornholm|Fredericksberg|Frederiksborg|Fyn|Kobenhavn|Kobenhavns|Nordjylland|Ribe|Ringkobing|Roskilde|Sonderjylland|Storstrom|Vejle|Vestsjalland|Viborg";
|
||||||
|
aStates[60]="'Ali Sabih|Dikhil|Djibouti|Obock|Tadjoura";
|
||||||
|
aStates[61]="Saint Andrew|Saint David|Saint George|Saint John|Saint Joseph|Saint Luke|Saint Mark|Saint Patrick|Saint Paul|Saint Peter";
|
||||||
|
aStates[62]="Azua|Baoruco|Barahona|Dajabon|Distrito Nacional|Duarte|El Seibo|Elias Pina|Espaillat|Hato Mayor|Independencia|La Altagracia|La Romana|La Vega|Maria Trinidad Sanchez|Monsenor Nouel|Monte Cristi|Monte Plata|Pedernales|Peravia|Puerto Plata|Salcedo|Samana|San Cristobal|San Juan|San Pedro de Macoris|Sanchez Ramirez|Santiago|Santiago Rodriguez|Valverde";
|
||||||
|
// <!-- -->
|
||||||
|
aStates[63]="Azuay|Bolivar|Canar|Carchi|Chimborazo|Cotopaxi|El Oro|Esmeraldas|Galapagos|Guayas|Imbabura|Loja|Los Rios|Manabi|Morona-Santiago|Napo|Orellana|Pastaza|Pichincha|Sucumbios|Tungurahua|Zamora-Chinchipe";
|
||||||
|
aStates[64]="Ad Daqahliyah|Al Bahr al Ahmar|Al Buhayrah|Al Fayyum|Al Gharbiyah|Al Iskandariyah|Al Isma'iliyah|Al Jizah|Al Minufiyah|Al Minya|Al Qahirah|Al Qalyubiyah|Al Wadi al Jadid|As Suways|Ash Sharqiyah|Aswan|Asyut|Bani Suwayf|Bur Sa'id|Dumyat|Janub Sina'|Kafr ash Shaykh|Matruh|Qina|Shamal Sina'|Suhaj";
|
||||||
|
aStates[65]="Ahuachapan|Cabanas|Chalatenango|Cuscatlan|La Libertad|La Paz|La Union|Morazan|San Miguel|San Salvador|San Vicente|Santa Ana|Sonsonate|Usulutan";
|
||||||
|
aStates[66]="Annobon|Bioko Norte|Bioko Sur|Centro Sur|Kie-Ntem|Litoral|Wele-Nzas";
|
||||||
|
aStates[67]="Akale Guzay|Barka|Denkel|Hamasen|Sahil|Semhar|Senhit|Seraye";
|
||||||
|
aStates[68]="Harjumaa (Tallinn)|Hiiumaa (Kardla)|Ida-Virumaa (Johvi)|Jarvamaa (Paide)|Jogevamaa (Jogeva)|Laane-Virumaa (Rakvere)|Laanemaa (Haapsalu)|Parnumaa (Parnu)|Polvamaa (Polva)|Raplamaa (Rapla)|Saaremaa (Kuessaare)|Tartumaa (Tartu)|Valgamaa (Valga)|Viljandimaa (Viljandi)|Vorumaa (Voru)"
|
||||||
|
aStates[69]="Adis Abeba (Addis Ababa)|Afar|Amara|Dire Dawa|Gambela Hizboch|Hareri Hizb|Oromiya|Sumale|Tigray|YeDebub Biheroch Bihereseboch na Hizboch";
|
||||||
|
aStates[70]="Europa Island";
|
||||||
|
aStates[71]="Falkland Islands (Islas Malvinas)"
|
||||||
|
aStates[72]="Bordoy|Eysturoy|Mykines|Sandoy|Skuvoy|Streymoy|Suduroy|Tvoroyri|Vagar";
|
||||||
|
aStates[73]="Central|Eastern|Northern|Rotuma|Western";
|
||||||
|
aStates[74]="Aland|Etela-Suomen Laani|Ita-Suomen Laani|Lansi-Suomen Laani|Lappi|Oulun Laani";
|
||||||
|
aStates[75]="Alsace|Aquitaine|Auvergne|Basse-Normandie|Bourgogne|Bretagne|Centre|Champagne-Ardenne|Corse|Franche-Comte|Haute-Normandie|Ile-de-France|Languedoc-Roussillon|Limousin|Lorraine|Midi-Pyrenees|Nord-Pas-de-Calais|Pays de la Loire|Picardie|Poitou-Charentes|Provence-Alpes-Cote d'Azur|Rhone-Alpes";
|
||||||
|
aStates[76]="French Guiana";
|
||||||
|
aStates[77]="Archipel des Marquises|Archipel des Tuamotu|Archipel des Tubuai|Iles du Vent|Iles Sous-le-Vent";
|
||||||
|
aStates[78]="Adelie Land|Ile Crozet|Iles Kerguelen|Iles Saint-Paul et Amsterdam";
|
||||||
|
aStates[79]="Estuaire|Haut-Ogooue|Moyen-Ogooue|Ngounie|Nyanga|Ogooue-Ivindo|Ogooue-Lolo|Ogooue-Maritime|Woleu-Ntem";
|
||||||
|
aStates[80]="Banjul|Central River|Lower River|North Bank|Upper River|Western";
|
||||||
|
aStates[81]="Gaza Strip";
|
||||||
|
aStates[82]="Abashis|Abkhazia or Ap'khazet'is Avtonomiuri Respublika (Sokhumi)|Adigenis|Ajaria or Acharis Avtonomiuri Respublika (Bat'umi)|Akhalgoris|Akhalk'alak'is|Akhalts'ikhis|Akhmetis|Ambrolauris|Aspindzis|Baghdat'is|Bolnisis|Borjomis|Ch'khorotsqus|Ch'okhatauris|Chiat'ura|Dedop'listsqaros|Dmanisis|Dushet'is|Gardabanis|Gori|Goris|Gurjaanis|Javis|K'arelis|K'ut'aisi|Kaspis|Kharagaulis|Khashuris|Khobis|Khonis|Lagodekhis|Lanch'khut'is|Lentekhis|Marneulis|Martvilis|Mestiis|Mts'khet'is|Ninotsmindis|Onis|Ozurget'is|P'ot'i|Qazbegis|Qvarlis|Rust'avi|Sach'kheris|Sagarejos|Samtrediis|Senakis|Sighnaghis|T'bilisi|T'elavis|T'erjolis|T'et'ritsqaros|T'ianet'is|Tqibuli|Ts'ageris|Tsalenjikhis|Tsalkis|Tsqaltubo|Vanis|Zestap'onis|Zugdidi|Zugdidis";
|
||||||
|
aStates[83]="Baden-Wuerttemberg|Bayern|Berlin|Brandenburg|Bremen|Hamburg|Hessen|Mecklenburg-Vorpommern|Niedersachsen|Nordrhein-Westfalen|Rheinland-Pfalz|Saarland|Sachsen|Sachsen-Anhalt|Schleswig-Holstein|Thueringen";
|
||||||
|
aStates[84]="Ashanti|Brong-Ahafo|Central|Eastern|Greater Accra|Northern|Upper East|Upper West|Volta|Western";
|
||||||
|
aStates[85]="Gibraltar";
|
||||||
|
aStates[86]="Ile du Lys|Ile Glorieuse";
|
||||||
|
aStates[87]="Aitolia kai Akarnania|Akhaia|Argolis|Arkadhia|Arta|Attiki|Ayion Oros (Mt. Athos)|Dhodhekanisos|Drama|Evritania|Evros|Evvoia|Florina|Fokis|Fthiotis|Grevena|Ilia|Imathia|Ioannina|Irakleion|Kardhitsa|Kastoria|Kavala|Kefallinia|Kerkyra|Khalkidhiki|Khania|Khios|Kikladhes|Kilkis|Korinthia|Kozani|Lakonia|Larisa|Lasithi|Lesvos|Levkas|Magnisia|Messinia|Pella|Pieria|Preveza|Rethimni|Rodhopi|Samos|Serrai|Thesprotia|Thessaloniki|Trikala|Voiotia|Xanthi|Zakinthos";
|
||||||
|
aStates[88]="Avannaa (Nordgronland)|Kitaa (Vestgronland)|Tunu (Ostgronland)"
|
||||||
|
aStates[89]="Carriacou and Petit Martinique|Saint Andrew|Saint David|Saint George|Saint John|Saint Mark|Saint Patrick";
|
||||||
|
aStates[90]="Basse-Terre|Grande-Terre|Iles de la Petite Terre|Iles des Saintes|Marie-Galante";
|
||||||
|
aStates[91]="Guam";
|
||||||
|
aStates[92]="Alta Verapaz|Baja Verapaz|Chimaltenango|Chiquimula|El Progreso|Escuintla|Guatemala|Huehuetenango|Izabal|Jalapa|Jutiapa|Peten|Quetzaltenango|Quiche|Retalhuleu|Sacatepequez|San Marcos|Santa Rosa|Solola|Suchitepequez|Totonicapan|Zacapa";
|
||||||
|
aStates[93]="Castel|Forest|St. Andrew|St. Martin|St. Peter Port|St. Pierre du Bois|St. Sampson|St. Saviour|Torteval|Vale";
|
||||||
|
aStates[94]="Beyla|Boffa|Boke|Conakry|Coyah|Dabola|Dalaba|Dinguiraye|Dubreka|Faranah|Forecariah|Fria|Gaoual|Gueckedou|Kankan|Kerouane|Kindia|Kissidougou|Koubia|Koundara|Kouroussa|Labe|Lelouma|Lola|Macenta|Mali|Mamou|Mandiana|Nzerekore|Pita|Siguiri|Telimele|Tougue|Yomou";
|
||||||
|
aStates[95]="Bafata|Biombo|Bissau|Bolama-Bijagos|Cacheu|Gabu|Oio|Quinara|Tombali";
|
||||||
|
aStates[96]="Barima-Waini|Cuyuni-Mazaruni|Demerara-Mahaica|East Berbice-Corentyne|Essequibo Islands-West Demerara|Mahaica-Berbice|Pomeroon-Supenaam|Potaro-Siparuni|Upper Demerara-Berbice|Upper Takutu-Upper Essequibo";
|
||||||
|
aStates[97]="Artibonite|Centre|Grand'Anse|Nord|Nord-Est|Nord-Ouest|Ouest|Sud|Sud-Est";
|
||||||
|
aStates[98]="Heard Island and McDonald Islands";
|
||||||
|
aStates[99]="Holy See (Vatican City)"
|
||||||
|
aStates[100]="Atlantida|Choluteca|Colon|Comayagua|Copan|Cortes|El Paraiso|Francisco Morazan|Gracias a Dios|Intibuca|Islas de la Bahia|La Paz|Lempira|Ocotepeque|Olancho|Santa Barbara|Valle|Yoro";
|
||||||
|
aStates[101]="Hong Kong";
|
||||||
|
aStates[102]="Howland Island";
|
||||||
|
aStates[103]="Bacs-Kiskun|Baranya|Bekes|Bekescsaba|Borsod-Abauj-Zemplen|Budapest|Csongrad|Debrecen|Dunaujvaros|Eger|Fejer|Gyor|Gyor-Moson-Sopron|Hajdu-Bihar|Heves|Hodmezovasarhely|Jasz-Nagykun-Szolnok|Kaposvar|Kecskemet|Komarom-Esztergom|Miskolc|Nagykanizsa|Nograd|Nyiregyhaza|Pecs|Pest|Somogy|Sopron|Szabolcs-Szatmar-Bereg|Szeged|Szekesfehervar|Szolnok|Szombathely|Tatabanya|Tolna|Vas|Veszprem|Veszprem|Zala|Zalaegerszeg";
|
||||||
|
aStates[104]="Akranes|Akureyri|Arnessysla|Austur-Bardhastrandarsysla|Austur-Hunavatnssysla|Austur-Skaftafellssysla|Borgarfjardharsysla|Dalasysla|Eyjafjardharsysla|Gullbringusysla|Hafnarfjordhur|Husavik|Isafjordhur|Keflavik|Kjosarsysla|Kopavogur|Myrasysla|Neskaupstadhur|Nordhur-Isafjardharsysla|Nordhur-Mulasys-la|Nordhur-Thingeyjarsysla|Olafsfjordhur|Rangarvallasysla|Reykjavik|Saudharkrokur|Seydhisfjordhur|Siglufjordhur|Skagafjardharsysla|Snaefellsnes-og Hnappadalssysla|Strandasysla|Sudhur-Mulasysla|Sudhur-Thingeyjarsysla|Vesttmannaeyjar|Vestur-Bardhastrandarsysla|Vestur-Hunavatnssysla|Vestur-Isafjardharsysla|Vestur-Skaftafellssysla";
|
||||||
|
aStates[105]="Andaman and Nicobar Islands|Andhra Pradesh|Arunachal Pradesh|Assam|Bihar|Chandigarh|Chhattisgarh|Dadra and Nagar Haveli|Daman and Diu|Delhi|Goa|Gujarat|Haryana|Himachal Pradesh|Jammu and Kashmir|Jharkhand|Karnataka|Kerala|Lakshadweep|Madhya Pradesh|Maharashtra|Manipur|Meghalaya|Mizoram|Nagaland|Orissa|Pondicherry|Punjab|Rajasthan|Sikkim|Tamil Nadu|Tripura|Uttar Pradesh|Uttaranchal|West Bengal";
|
||||||
|
aStates[106]="Aceh|Bali|Banten|Bengkulu|East Timor|Gorontalo|Irian Jaya|Jakarta Raya|Jambi|Jawa Barat|Jawa Tengah|Jawa Timur|Kalimantan Barat|Kalimantan Selatan|Kalimantan Tengah|Kalimantan Timur|Kepulauan Bangka Belitung|Lampung|Maluku|Maluku Utara|Nusa Tenggara Barat|Nusa Tenggara Timur|Riau|Sulawesi Selatan|Sulawesi Tengah|Sulawesi Tenggara|Sulawesi Utara|Sumatera Barat|Sumatera Selatan|Sumatera Utara|Yogyakarta";
|
||||||
|
aStates[107]="Ardabil|Azarbayjan-e Gharbi|Azarbayjan-e Sharqi|Bushehr|Chahar Mahall va Bakhtiari|Esfahan|Fars|Gilan|Golestan|Hamadan|Hormozgan|Ilam|Kerman|Kermanshah|Khorasan|Khuzestan|Kohgiluyeh va Buyer Ahmad|Kordestan|Lorestan|Markazi|Mazandaran|Qazvin|Qom|Semnan|Sistan va Baluchestan|Tehran|Yazd|Zanjan";
|
||||||
|
aStates[108]="Al Anbar|Al Basrah|Al Muthanna|Al Qadisiyah|An Najaf|Arbil|As Sulaymaniyah|At Ta'mim|Babil|Baghdad|Dahuk|Dhi Qar|Diyala|Karbala'|Maysan|Ninawa|Salah ad Din|Wasit";
|
||||||
|
aStates[109]="Carlow|Cavan|Clare|Cork|Donegal|Dublin|Galway|Kerry|Kildare|Kilkenny|Laois|Leitrim|Limerick|Longford|Louth|Mayo|Meath|Monaghan|Offaly|Roscommon|Sligo|Tipperary|Waterford|Westmeath|Wexford|Wicklow";
|
||||||
|
aStates[110]="Antrim|Ards|Armagh|Ballymena|Ballymoney|Banbridge|Belfast|Carrickfergus|Castlereagh|Coleraine|Cookstown|Craigavon|Derry|Down|Dungannon|Fermanagh|Larne|Limavady|Lisburn|Magherafelt|Moyle|Newry and Mourne|Newtownabbey|North Down|Omagh|Strabane";
|
||||||
|
aStates[111]="Central|Haifa|Jerusalem|Northern|Southern|Tel Aviv";
|
||||||
|
aStates[112]="Abruzzi|Basilicata|Calabria|Campania|Emilia-Romagna|Friuli-Venezia Giulia|Lazio|Liguria|Lombardia|Marche|Molise|Piemonte|Puglia|Sardegna|Sicilia|Toscana|Trentino-Alto Adige|Umbria|Valle d'Aosta|Veneto";
|
||||||
|
aStates[113]="Clarendon|Hanover|Kingston|Manchester|Portland|Saint Andrew|Saint Ann|Saint Catherine|Saint Elizabeth|Saint James|Saint Mary|Saint Thomas|Trelawny|Westmoreland";
|
||||||
|
aStates[114]="Jan Mayen";
|
||||||
|
aStates[115]="Aichi|Akita|Aomori|Chiba|Ehime|Fukui|Fukuoka|Fukushima|Gifu|Gumma|Hiroshima|Hokkaido|Hyogo|Ibaraki|Ishikawa|Iwate|Kagawa|Kagoshima|Kanagawa|Kochi|Kumamoto|Kyoto|Mie|Miyagi|Miyazaki|Nagano|Nagasaki|Nara|Niigata|Oita|Okayama|Okinawa|Osaka|Saga|Saitama|Shiga|Shimane|Shizuoka|Tochigi|Tokushima|Tokyo|Tottori|Toyama|Wakayama|Yamagata|Yamaguchi|Yamanashi";
|
||||||
|
aStates[116]="Jarvis Island";
|
||||||
|
aStates[117]="Jersey";
|
||||||
|
aStates[118]="Johnston Atoll";
|
||||||
|
aStates[119]="'Amman|Ajlun|Al 'Aqabah|Al Balqa'|Al Karak|Al Mafraq|At Tafilah|Az Zarqa'|Irbid|Jarash|Ma'an|Madaba";
|
||||||
|
aStates[120]="Juan de Nova Island";
|
||||||
|
aStates[121]="Almaty|Aqmola|Aqtobe|Astana|Atyrau|Batys Qazaqstan|Bayqongyr|Mangghystau|Ongtustik Qazaqstan|Pavlodar|Qaraghandy|Qostanay|Qyzylorda|Shyghys Qazaqstan|Soltustik Qazaqstan|Zhambyl";
|
||||||
|
aStates[122]="Central|Coast|Eastern|Nairobi Area|North Eastern|Nyanza|Rift Valley|Western";
|
||||||
|
aStates[123]="Abaiang|Abemama|Aranuka|Arorae|Banaba|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands|Kanton|Kiritimati|Kuria|Line Islands|Line Islands|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Tarawa|Teraina";
|
||||||
|
aStates[124]="Chagang-do (Chagang Province)|Hamgyong-bukto (North Hamgyong Province)|Hamgyong-namdo (South Hamgyong Province)|Hwanghae-bukto (North Hwanghae Province)|Hwanghae-namdo (South Hwanghae Province)|Kaesong-si (Kaesong City)|Kangwon-do (Kangwon Province)|Namp'o-si (Namp'o City)|P'yongan-bukto (North P'yongan Province)|P'yongan-namdo (South P'yongan Province)|P'yongyang-si (P'yongyang City)|Yanggang-do (Yanggang Province)"
|
||||||
|
aStates[125]="Ch'ungch'ong-bukto|Ch'ungch'ong-namdo|Cheju-do|Cholla-bukto|Cholla-namdo|Inch'on-gwangyoksi|Kangwon-do|Kwangju-gwangyoksi|Kyonggi-do|Kyongsang-bukto|Kyongsang-namdo|Pusan-gwangyoksi|Soul-t'ukpyolsi|Taegu-gwangyoksi|Taejon-gwangyoksi|Ulsan-gwangyoksi";
|
||||||
|
aStates[126]="Al 'Asimah|Al Ahmadi|Al Farwaniyah|Al Jahra'|Hawalli";
|
||||||
|
aStates[127]="Batken Oblasty|Bishkek Shaary|Chuy Oblasty (Bishkek)|Jalal-Abad Oblasty|Naryn Oblasty|Osh Oblasty|Talas Oblasty|Ysyk-Kol Oblasty (Karakol)"
|
||||||
|
aStates[128]="Attapu|Bokeo|Bolikhamxai|Champasak|Houaphan|Khammouan|Louangnamtha|Louangphabang|Oudomxai|Phongsali|Salavan|Savannakhet|Viangchan|Viangchan|Xaignabouli|Xaisomboun|Xekong|Xiangkhoang";
|
||||||
|
aStates[129]="Aizkraukles Rajons|Aluksnes Rajons|Balvu Rajons|Bauskas Rajons|Cesu Rajons|Daugavpils|Daugavpils Rajons|Dobeles Rajons|Gulbenes Rajons|Jekabpils Rajons|Jelgava|Jelgavas Rajons|Jurmala|Kraslavas Rajons|Kuldigas Rajons|Leipaja|Liepajas Rajons|Limbazu Rajons|Ludzas Rajons|Madonas Rajons|Ogres Rajons|Preilu Rajons|Rezekne|Rezeknes Rajons|Riga|Rigas Rajons|Saldus Rajons|Talsu Rajons|Tukuma Rajons|Valkas Rajons|Valmieras Rajons|Ventspils|Ventspils Rajons";
|
||||||
|
aStates[130]="Beyrouth|Ech Chimal|Ej Jnoub|El Bekaa|Jabal Loubnane";
|
||||||
|
aStates[131]="Berea|Butha-Buthe|Leribe|Mafeteng|Maseru|Mohales Hoek|Mokhotlong|Qacha's Nek|Quthing|Thaba-Tseka";
|
||||||
|
aStates[132]="Bomi|Bong|Grand Bassa|Grand Cape Mount|Grand Gedeh|Grand Kru|Lofa|Margibi|Maryland|Montserrado|Nimba|River Cess|Sinoe";
|
||||||
|
aStates[133]="Ajdabiya|Al 'Aziziyah|Al Fatih|Al Jabal al Akhdar|Al Jufrah|Al Khums|Al Kufrah|An Nuqat al Khams|Ash Shati'|Awbari|Az Zawiyah|Banghazi|Darnah|Ghadamis|Gharyan|Misratah|Murzuq|Sabha|Sawfajjin|Surt|Tarabulus|Tarhunah|Tubruq|Yafran|Zlitan";
|
||||||
|
aStates[134]="Balzers|Eschen|Gamprin|Mauren|Planken|Ruggell|Schaan|Schellenberg|Triesen|Triesenberg|Vaduz";
|
||||||
|
aStates[135]="Akmenes Rajonas|Alytaus Rajonas|Alytus|Anyksciu Rajonas|Birstonas|Birzu Rajonas|Druskininkai|Ignalinos Rajonas|Jonavos Rajonas|Joniskio Rajonas|Jurbarko Rajonas|Kaisiadoriu Rajonas|Kaunas|Kauno Rajonas|Kedainiu Rajonas|Kelmes Rajonas|Klaipeda|Klaipedos Rajonas|Kretingos Rajonas|Kupiskio Rajonas|Lazdiju Rajonas|Marijampole|Marijampoles Rajonas|Mazeikiu Rajonas|Moletu Rajonas|Neringa Pakruojo Rajonas|Palanga|Panevezio Rajonas|Panevezys|Pasvalio Rajonas|Plunges Rajonas|Prienu Rajonas|Radviliskio Rajonas|Raseiniu Rajonas|Rokiskio Rajonas|Sakiu Rajonas|Salcininku Rajonas|Siauliai|Siauliu Rajonas|Silales Rajonas|Silutes Rajonas|Sirvintu Rajonas|Skuodo Rajonas|Svencioniu Rajonas|Taurages Rajonas|Telsiu Rajonas|Traku Rajonas|Ukmerges Rajonas|Utenos Rajonas|Varenos Rajonas|Vilkaviskio Rajonas|Vilniaus Rajonas|Vilnius|Zarasu Rajonas";
|
||||||
|
aStates[136]="Diekirch|Grevenmacher|Luxembourg";
|
||||||
|
aStates[137]="Macau";
|
||||||
|
aStates[138]="Aracinovo|Bac|Belcista|Berovo|Bistrica|Bitola|Blatec|Bogdanci|Bogomila|Bogovinje|Bosilovo|Brvenica|Cair (Skopje)|Capari|Caska|Cegrane|Centar (Skopje)|Centar Zupa|Cesinovo|Cucer-Sandevo|Debar|Delcevo|Delogozdi|Demir Hisar|Demir Kapija|Dobrusevo|Dolna Banjica|Dolneni|Dorce Petrov (Skopje)|Drugovo|Dzepciste|Gazi Baba (Skopje)|Gevgelija|Gostivar|Gradsko|Ilinden|Izvor|Jegunovce|Kamenjane|Karbinci|Karpos (Skopje)|Kavadarci|Kicevo|Kisela Voda (Skopje)|Klecevce|Kocani|Konce|Kondovo|Konopiste|Kosel|Kratovo|Kriva Palanka|Krivogastani|Krusevo|Kuklis|Kukurecani|Kumanovo|Labunista|Lipkovo|Lozovo|Lukovo|Makedonska Kamenica|Makedonski Brod|Mavrovi Anovi|Meseista|Miravci|Mogila|Murtino|Negotino|Negotino-Poloska|Novaci|Novo Selo|Oblesevo|Ohrid|Orasac|Orizari|Oslomej|Pehcevo|Petrovec|Plasnia|Podares|Prilep|Probistip|Radovis|Rankovce|Resen|Rosoman|Rostusa|Samokov|Saraj|Sipkovica|Sopiste|Sopotnika|Srbinovo|Star Dojran|Staravina|Staro Nagoricane|Stip|Struga|Strumica|Studenicani|Suto Orizari (Skopje)|Sveti Nikole|Tearce|Tetovo|Topolcani|Valandovo|Vasilevo|Veles|Velesta|Vevcani|Vinica|Vitoliste|Vranestica|Vrapciste|Vratnica|Vrutok|Zajas|Zelenikovo|Zileno|Zitose|Zletovo|Zrnovci";
|
||||||
|
aStates[139]="Antananarivo|Antsiranana|Fianarantsoa|Mahajanga|Toamasina|Toliara";
|
||||||
|
aStates[140]="Balaka|Blantyre|Chikwawa|Chiradzulu|Chitipa|Dedza|Dowa|Karonga|Kasungu|Likoma|Lilongwe|Machinga (Kasupe)|Mangochi|Mchinji|Mulanje|Mwanza|Mzimba|Nkhata Bay|Nkhotakota|Nsanje|Ntcheu|Ntchisi|Phalombe|Rumphi|Salima|Thyolo|Zomba";
|
||||||
|
aStates[141]="Johor|Kedah|Kelantan|Labuan|Melaka|Negeri Sembilan|Pahang|Perak|Perlis|Pulau Pinang|Sabah|Sarawak|Selangor|Terengganu|Wilayah Persekutuan";
|
||||||
|
aStates[142]="Alifu|Baa|Dhaalu|Faafu|Gaafu Alifu|Gaafu Dhaalu|Gnaviyani|Haa Alifu|Haa Dhaalu|Kaafu|Laamu|Lhaviyani|Maale|Meemu|Noonu|Raa|Seenu|Shaviyani|Thaa|Vaavu";
|
||||||
|
aStates[143]="Gao|Kayes|Kidal|Koulikoro|Mopti|Segou|Sikasso|Tombouctou";
|
||||||
|
aStates[144]="Valletta";
|
||||||
|
aStates[145]="Man, Isle of";
|
||||||
|
aStates[146]="Ailinginae|Ailinglaplap|Ailuk|Arno|Aur|Bikar|Bikini|Bokak|Ebon|Enewetak|Erikub|Jabat|Jaluit|Jemo|Kili|Kwajalein|Lae|Lib|Likiep|Majuro|Maloelap|Mejit|Mili|Namorik|Namu|Rongelap|Rongrik|Toke|Ujae|Ujelang|Utirik|Wotho|Wotje";
|
||||||
|
aStates[147]="Martinique";
|
||||||
|
aStates[148]="Adrar|Assaba|Brakna|Dakhlet Nouadhibou|Gorgol|Guidimaka|Hodh Ech Chargui|Hodh El Gharbi|Inchiri|Nouakchott|Tagant|Tiris Zemmour|Trarza";
|
||||||
|
aStates[149]="Agalega Islands|Black River|Cargados Carajos Shoals|Flacq|Grand Port|Moka|Pamplemousses|Plaines Wilhems|Port Louis|Riviere du Rempart|Rodrigues|Savanne";
|
||||||
|
aStates[150]="Mayotte";
|
||||||
|
aStates[151]="Aguascalientes|Baja California|Baja California Sur|Campeche|Chiapas|Chihuahua|Coahuila de Zaragoza|Colima|Distrito Federal|Durango|Guanajuato|Guerrero|Hidalgo|Jalisco|Mexico|Michoacan de Ocampo|Morelos|Nayarit|Nuevo Leon|Oaxaca|Puebla|Queretaro de Arteaga|Quintana Roo|San Luis Potosi|Sinaloa|Sonora|Tabasco|Tamaulipas|Tlaxcala|Veracruz-Llave|Yucatan|Zacatecas";
|
||||||
|
aStates[152]="Chuuk (Truk)|Kosrae|Pohnpei|Yap";
|
||||||
|
aStates[153]="Midway Islands";
|
||||||
|
aStates[154]="Balti|Cahul|Chisinau|Chisinau|Dubasari|Edinet|Gagauzia|Lapusna|Orhei|Soroca|Tighina|Ungheni";
|
||||||
|
aStates[155]="Fontvieille|La Condamine|Monaco-Ville|Monte-Carlo";
|
||||||
|
aStates[156]="Arhangay|Bayan-Olgiy|Bayanhongor|Bulgan|Darhan|Dornod|Dornogovi|Dundgovi|Dzavhan|Erdenet|Govi-Altay|Hentiy|Hovd|Hovsgol|Omnogovi|Ovorhangay|Selenge|Suhbaatar|Tov|Ulaanbaatar|Uvs";
|
||||||
|
aStates[157]="Saint Anthony|Saint Georges|Saint Peter's";
|
||||||
|
aStates[158]="Agadir|Al Hoceima|Azilal|Ben Slimane|Beni Mellal|Boulemane|Casablanca|Chaouen|El Jadida|El Kelaa des Srarhna|Er Rachidia|Essaouira|Fes|Figuig|Guelmim|Ifrane|Kenitra|Khemisset|Khenifra|Khouribga|Laayoune|Larache|Marrakech|Meknes|Nador|Ouarzazate|Oujda|Rabat-Sale|Safi|Settat|Sidi Kacem|Tan-Tan|Tanger|Taounate|Taroudannt|Tata|Taza|Tetouan|Tiznit";
|
||||||
|
aStates[159]="Cabo Delgado|Gaza|Inhambane|Manica|Maputo|Nampula|Niassa|Sofala|Tete|Zambezia";
|
||||||
|
aStates[160]="Caprivi|Erongo|Hardap|Karas|Khomas|Kunene|Ohangwena|Okavango|Omaheke|Omusati|Oshana|Oshikoto|Otjozondjupa";
|
||||||
|
aStates[161]="Aiwo|Anabar|Anetan|Anibare|Baiti|Boe|Buada|Denigomodu|Ewa|Ijuw|Meneng|Nibok|Uaboe|Yaren";
|
||||||
|
aStates[162]="Bagmati|Bheri|Dhawalagiri|Gandaki|Janakpur|Karnali|Kosi|Lumbini|Mahakali|Mechi|Narayani|Rapti|Sagarmatha|Seti";
|
||||||
|
aStates[163]="Drenthe|Flevoland|Friesland|Gelderland|Groningen|Limburg|Noord-Brabant|Noord-Holland|Overijssel|Utrecht|Zeeland|Zuid-Holland";
|
||||||
|
aStates[164]="Netherlands Antilles";
|
||||||
|
aStates[165]="Iles Loyaute|Nord|Sud";
|
||||||
|
aStates[166]="Akaroa|Amuri|Ashburton|Bay of Islands|Bruce|Buller|Chatham Islands|Cheviot|Clifton|Clutha|Cook|Dannevirke|Egmont|Eketahuna|Ellesmere|Eltham|Eyre|Featherston|Franklin|Golden Bay|Great Barrier Island|Grey|Hauraki Plains|Hawera|Hawke's Bay|Heathcote|Hikurangi|Hobson|Hokianga|Horowhenua|Hurunui|Hutt|Inangahua|Inglewood|Kaikoura|Kairanga|Kiwitea|Lake|Mackenzie|Malvern|Manaia|Manawatu|Mangonui|Maniototo|Marlborough|Masterton|Matamata|Mount Herbert|Ohinemuri|Opotiki|Oroua|Otamatea|Otorohanga|Oxford|Pahiatua|Paparua|Patea|Piako|Pohangina|Raglan|Rangiora|Rangitikei|Rodney|Rotorua|Runanga|Saint Kilda|Silverpeaks|Southland|Stewart Island|Stratford|Strathallan|Taranaki|Taumarunui|Taupo|Tauranga|Thames-Coromandel|Tuapeka|Vincent|Waiapu|Waiheke|Waihemo|Waikato|Waikohu|Waimairi|Waimarino|Waimate|Waimate West|Waimea|Waipa|Waipawa|Waipukurau|Wairarapa South|Wairewa|Wairoa|Waitaki|Waitomo|Waitotara|Wallace|Wanganui|Waverley|Westland|Whakatane|Whangarei|Whangaroa|Woodville";
|
||||||
|
aStates[167]="Atlantico Norte|Atlantico Sur|Boaco|Carazo|Chinandega|Chontales|Esteli|Granada|Jinotega|Leon|Madriz|Managua|Masaya|Matagalpa|Nueva Segovia|Rio San Juan|Rivas";
|
||||||
|
aStates[168]="Agadez|Diffa|Dosso|Maradi|Niamey|Tahoua|Tillaberi|Zinder";
|
||||||
|
aStates[169]="Abia|Abuja Federal Capital Territory|Adamawa|Akwa Ibom|Anambra|Bauchi|Bayelsa|Benue|Borno|Cross River|Delta|Ebonyi|Edo|Ekiti|Enugu|Gombe|Imo|Jigawa|Kaduna|Kano|Katsina|Kebbi|Kogi|Kwara|Lagos|Nassarawa|Niger|Ogun|Ondo|Osun|Oyo|Plateau|Rivers|Sokoto|Taraba|Yobe|Zamfara";
|
||||||
|
aStates[170]="Niue";
|
||||||
|
aStates[171]="Norfolk Island";
|
||||||
|
aStates[172]="Northern Islands|Rota|Saipan|Tinian";
|
||||||
|
aStates[173]="Akershus|Aust-Agder|Buskerud|Finnmark|Hedmark|Hordaland|More og Romsdal|Nord-Trondelag|Nordland|Oppland|Oslo|Ostfold|Rogaland|Sogn og Fjordane|Sor-Trondelag|Telemark|Troms|Vest-Agder|Vestfold";
|
||||||
|
aStates[174]="Ad Dakhiliyah|Al Batinah|Al Wusta|Ash Sharqiyah|Az Zahirah|Masqat|Musandam|Zufar";
|
||||||
|
aStates[175]="Balochistan|Federally Administered Tribal Areas|Islamabad Capital Territory|North-West Frontier Province|Punjab|Sindh";
|
||||||
|
aStates[176]="Aimeliik|Airai|Angaur|Hatobohei|Kayangel|Koror|Melekeok|Ngaraard|Ngarchelong|Ngardmau|Ngatpang|Ngchesar|Ngeremlengui|Ngiwal|Palau Island|Peleliu|Sonsoral|Tobi";
|
||||||
|
aStates[177]="Bocas del Toro|Chiriqui|Cocle|Colon|Darien|Herrera|Los Santos|Panama|San Blas|Veraguas";
|
||||||
|
aStates[178]="Bougainville|Central|Chimbu|East New Britain|East Sepik|Eastern Highlands|Enga|Gulf|Madang|Manus|Milne Bay|Morobe|National Capital|New Ireland|Northern|Sandaun|Southern Highlands|West New Britain|Western|Western Highlands";
|
||||||
|
aStates[179]="Alto Paraguay|Alto Parana|Amambay|Asuncion (city)|Boqueron|Caaguazu|Caazapa|Canindeyu|Central|Concepcion|Cordillera|Guaira|Itapua|Misiones|Neembucu|Paraguari|Presidente Hayes|San Pedro";
|
||||||
|
aStates[180]="Amazonas|Ancash|Apurimac|Arequipa|Ayacucho|Cajamarca|Callao|Cusco|Huancavelica|Huanuco|Ica|Junin|La Libertad|Lambayeque|Lima|Loreto|Madre de Dios|Moquegua|Pasco|Piura|Puno|San Martin|Tacna|Tumbes|Ucayali";
|
||||||
|
aStates[181]="Abra|Agusan del Norte|Agusan del Sur|Aklan|Albay|Angeles|Antique|Aurora|Bacolod|Bago|Baguio|Bais|Basilan|Basilan City|Bataan|Batanes|Batangas|Batangas City|Benguet|Bohol|Bukidnon|Bulacan|Butuan|Cabanatuan|Cadiz|Cagayan|Cagayan de Oro|Calbayog|Caloocan|Camarines Norte|Camarines Sur|Camiguin|Canlaon|Capiz|Catanduanes|Cavite|Cavite City|Cebu|Cebu City|Cotabato|Dagupan|Danao|Dapitan|Davao City Davao|Davao del Sur|Davao Oriental|Dipolog|Dumaguete|Eastern Samar|General Santos|Gingoog|Ifugao|Iligan|Ilocos Norte|Ilocos Sur|Iloilo|Iloilo City|Iriga|Isabela|Kalinga-Apayao|La Carlota|La Union|Laguna|Lanao del Norte|Lanao del Sur|Laoag|Lapu-Lapu|Legaspi|Leyte|Lipa|Lucena|Maguindanao|Mandaue|Manila|Marawi|Marinduque|Masbate|Mindoro Occidental|Mindoro Oriental|Misamis Occidental|Misamis Oriental|Mountain|Naga|Negros Occidental|Negros Oriental|North Cotabato|Northern Samar|Nueva Ecija|Nueva Vizcaya|Olongapo|Ormoc|Oroquieta|Ozamis|Pagadian|Palawan|Palayan|Pampanga|Pangasinan|Pasay|Puerto Princesa|Quezon|Quezon City|Quirino|Rizal|Romblon|Roxas|Samar|San Carlos (in Negros Occidental)|San Carlos (in Pangasinan)|San Jose|San Pablo|Silay|Siquijor|Sorsogon|South Cotabato|Southern Leyte|Sultan Kudarat|Sulu|Surigao|Surigao del Norte|Surigao del Sur|Tacloban|Tagaytay|Tagbilaran|Tangub|Tarlac|Tawitawi|Toledo|Trece Martires|Zambales|Zamboanga|Zamboanga del Norte|Zamboanga del Sur";
|
||||||
|
aStates[182]="Pitcaim Islands";
|
||||||
|
aStates[183]="Dolnoslaskie|Kujawsko-Pomorskie|Lodzkie|Lubelskie|Lubuskie|Malopolskie|Mazowieckie|Opolskie|Podkarpackie|Podlaskie|Pomorskie|Slaskie|Swietokrzyskie|Warminsko-Mazurskie|Wielkopolskie|Zachodniopomorskie";
|
||||||
|
aStates[184]="Acores (Azores)|Aveiro|Beja|Braga|Braganca|Castelo Branco|Coimbra|Evora|Faro|Guarda|Leiria|Lisboa|Madeira|Portalegre|Porto|Santarem|Setubal|Viana do Castelo|Vila Real|Viseu";
|
||||||
|
aStates[185]="Adjuntas|Aguada|Aguadilla|Aguas Buenas|Aibonito|Anasco|Arecibo|Arroyo|Barceloneta|Barranquitas|Bayamon|Cabo Rojo|Caguas|Camuy|Canovanas|Carolina|Catano|Cayey|Ceiba|Ciales|Cidra|Coamo|Comerio|Corozal|Culebra|Dorado|Fajardo|Florida|Guanica|Guayama|Guayanilla|Guaynabo|Gurabo|Hatillo|Hormigueros|Humacao|Isabela|Jayuya|Juana Diaz|Juncos|Lajas|Lares|Las Marias|Las Piedras|Loiza|Luquillo|Manati|Maricao|Maunabo|Mayaguez|Moca|Morovis|Naguabo|Naranjito|Orocovis|Patillas|Penuelas|Ponce|Quebradillas|Rincon|Rio Grande|Sabana Grande|Salinas|San German|San Juan|San Lorenzo|San Sebastian|Santa Isabel|Toa Alta|Toa Baja|Trujillo Alto|Utuado|Vega Alta|Vega Baja|Vieques|Villalba|Yabucoa|Yauco";
|
||||||
|
aStates[186]="Ad Dawhah|Al Ghuwayriyah|Al Jumayliyah|Al Khawr|Al Wakrah|Ar Rayyan|Jarayan al Batinah|Madinat ash Shamal|Umm Salal";
|
||||||
|
aStates[187]="Reunion";
|
||||||
|
aStates[188]="Alba|Arad|Arges|Bacau|Bihor|Bistrita-Nasaud|Botosani|Braila|Brasov|Bucuresti|Buzau|Calarasi|Caras-Severin|Cluj|Constanta|Covasna|Dimbovita|Dolj|Galati|Giurgiu|Gorj|Harghita|Hunedoara|Ialomita|Iasi|Maramures|Mehedinti|Mures|Neamt|Olt|Prahova|Salaj|Satu Mare|Sibiu|Suceava|Teleorman|Timis|Tulcea|Vaslui|Vilcea|Vrancea";
|
||||||
|
aStates[189]="Adygeya (Maykop)|Aginskiy Buryatskiy (Aginskoye)|Altay (Gorno-Altaysk)|Altayskiy (Barnaul)|Amurskaya (Blagoveshchensk)|Arkhangel'skaya|Astrakhanskaya|Bashkortostan (Ufa)|Belgorodskaya|Bryanskaya|Buryatiya (Ulan-Ude)|Chechnya (Groznyy)|Chelyabinskaya|Chitinskaya|Chukotskiy (Anadyr')|Chuvashiya (Cheboksary)|Dagestan (Makhachkala)|Evenkiyskiy (Tura)|Ingushetiya (Nazran')|Irkutskaya|Ivanovskaya|Kabardino-Balkariya (Nal'chik)|Kaliningradskaya|Kalmykiya (Elista)|Kaluzhskaya|Kamchatskaya (Petropavlovsk-Kamchatskiy)|Karachayevo-Cherkesiya (Cherkessk)|Kareliya (Petrozavodsk)|Kemerovskaya|Khabarovskiy|Khakasiya (Abakan)|Khanty-Mansiyskiy (Khanty-Mansiysk)|Kirovskaya|Komi (Syktyvkar)|Komi-Permyatskiy (Kudymkar)|Koryakskiy (Palana)|Kostromskaya|Krasnodarskiy|Krasnoyarskiy|Kurganskaya|Kurskaya|Leningradskaya|Lipetskaya|Magadanskaya|Mariy-El (Yoshkar-Ola)|Mordoviya (Saransk)|Moskovskaya|Moskva (Moscow)|Murmanskaya|Nenetskiy (Nar'yan-Mar)|Nizhegorodskaya|Novgorodskaya|Novosibirskaya|Omskaya|Orenburgskaya|Orlovskaya (Orel)|Penzenskaya|Permskaya|Primorskiy (Vladivostok)|Pskovskaya|Rostovskaya|Ryazanskaya|Sakha (Yakutsk)|Sakhalinskaya (Yuzhno-Sakhalinsk)|Samarskaya|Sankt-Peterburg (Saint Petersburg)|Saratovskaya|Severnaya Osetiya-Alaniya [North Ossetia] (Vladikavkaz)|Smolenskaya|Stavropol'skiy|Sverdlovskaya (Yekaterinburg)|Tambovskaya|Tatarstan (Kazan')|Taymyrskiy (Dudinka)|Tomskaya|Tul'skaya|Tverskaya|Tyumenskaya|Tyva (Kyzyl)|Udmurtiya (Izhevsk)|Ul'yanovskaya|Ust'-Ordynskiy Buryatskiy (Ust'-Ordynskiy)|Vladimirskaya|Volgogradskaya|Vologodskaya|Voronezhskaya|Yamalo-Nenetskiy (Salekhard)|Yaroslavskaya|Yevreyskaya";
|
||||||
|
aStates[190]="Butare|Byumba|Cyangugu|Gikongoro|Gisenyi|Gitarama|Kibungo|Kibuye|Kigali Rurale|Kigali-ville|Ruhengeri|Umutara";
|
||||||
|
aStates[191]="Ascension|Saint Helena|Tristan da Cunha";
|
||||||
|
aStates[192]="Christ Church Nichola Town|Saint Anne Sandy Point|Saint George Basseterre|Saint George Gingerland|Saint James Windward|Saint John Capisterre|Saint John Figtree|Saint Mary Cayon|Saint Paul Capisterre|Saint Paul Charlestown|Saint Peter Basseterre|Saint Thomas Lowland|Saint Thomas Middle Island|Trinity Palmetto Point";
|
||||||
|
aStates[193]="Anse-la-Raye|Castries|Choiseul|Dauphin|Dennery|Gros Islet|Laborie|Micoud|Praslin|Soufriere|Vieux Fort";
|
||||||
|
aStates[194]="Miquelon|Saint Pierre";
|
||||||
|
aStates[195]="Charlotte|Grenadines|Saint Andrew|Saint David|Saint George|Saint Patrick";
|
||||||
|
aStates[196]="A'ana|Aiga-i-le-Tai|Atua|Fa'asaleleaga|Gaga'emauga|Gagaifomauga|Palauli|Satupa'itea|Tuamasaga|Va'a-o-Fonoti|Vaisigano";
|
||||||
|
aStates[197]="Acquaviva|Borgo Maggiore|Chiesanuova|Domagnano|Faetano|Fiorentino|Monte Giardino|San Marino|Serravalle";
|
||||||
|
aStates[198]="Principe|Sao Tome";
|
||||||
|
aStates[199]="'Asir|Al Bahah|Al Hudud ash Shamaliyah|Al Jawf|Al Madinah|Al Qasim|Ar Riyad|Ash Sharqiyah (Eastern Province)|Ha'il|Jizan|Makkah|Najran|Tabuk";
|
||||||
|
aStates[200]="Aberdeen City|Aberdeenshire|Angus|Argyll and Bute|City of Edinburgh|Clackmannanshire|Dumfries and Galloway|Dundee City|East Ayrshire|East Dunbartonshire|East Lothian|East Renfrewshire|Eilean Siar (Western Isles)|Falkirk|Fife|Glasgow City|Highland|Inverclyde|Midlothian|Moray|North Ayrshire|North Lanarkshire|Orkney Islands|Perth and Kinross|Renfrewshire|Shetland Islands|South Ayrshire|South Lanarkshire|Stirling|The Scottish Borders|West Dunbartonshire|West Lothian";
|
||||||
|
aStates[201]="Dakar|Diourbel|Fatick|Kaolack|Kolda|Louga|Saint-Louis|Tambacounda|Thies|Ziguinchor";
|
||||||
|
aStates[202]="Anse aux Pins|Anse Boileau|Anse Etoile|Anse Louis|Anse Royale|Baie Lazare|Baie Sainte Anne|Beau Vallon|Bel Air|Bel Ombre|Cascade|Glacis|Grand' Anse (on Mahe)|Grand' Anse (on Praslin)|La Digue|La Riviere Anglaise|Mont Buxton|Mont Fleuri|Plaisance|Pointe La Rue|Port Glaud|Saint Louis|Takamaka";
|
||||||
|
aStates[203]="Eastern|Northern|Southern|Western";
|
||||||
|
aStates[204]="Singapore";
|
||||||
|
aStates[205]="Banskobystricky|Bratislavsky|Kosicky|Nitriansky|Presovsky|Trenciansky|Trnavsky|Zilinsky";
|
||||||
|
aStates[206]="Ajdovscina|Beltinci|Bled|Bohinj|Borovnica|Bovec|Brda|Brezice|Brezovica|Cankova-Tisina|Celje|Cerklje na Gorenjskem|Cerknica|Cerkno|Crensovci|Crna na Koroskem|Crnomelj|Destrnik-Trnovska Vas|Divaca|Dobrepolje|Dobrova-Horjul-Polhov Gradec|Dol pri Ljubljani|Domzale|Dornava|Dravograd|Duplek|Gorenja Vas-Poljane|Gorisnica|Gornja Radgona|Gornji Grad|Gornji Petrovci|Grosuplje|Hodos Salovci|Hrastnik|Hrpelje-Kozina|Idrija|Ig|Ilirska Bistrica|Ivancna Gorica|Izola|Jesenice|Jursinci|Kamnik|Kanal|Kidricevo|Kobarid|Kobilje|Kocevje|Komen|Koper|Kozje|Kranj|Kranjska Gora|Krsko|Kungota|Kuzma|Lasko|Lenart|Lendava|Litija|Ljubljana|Ljubno|Ljutomer|Logatec|Loska Dolina|Loski Potok|Luce|Lukovica|Majsperk|Maribor|Medvode|Menges|Metlika|Mezica|Miren-Kostanjevica|Mislinja|Moravce|Moravske Toplice|Mozirje|Murska Sobota|Muta|Naklo|Nazarje|Nova Gorica|Novo Mesto|Odranci|Ormoz|Osilnica|Pesnica|Piran|Pivka|Podcetrtek|Podvelka-Ribnica|Postojna|Preddvor|Ptuj|Puconci|Race-Fram|Radece|Radenci|Radlje ob Dravi|Radovljica|Ravne-Prevalje|Ribnica|Rogasevci|Rogaska Slatina|Rogatec|Ruse|Semic|Sencur|Sentilj|Sentjernej|Sentjur pri Celju|Sevnica|Sezana|Skocjan|Skofja Loka|Skofljica|Slovenj Gradec|Slovenska Bistrica|Slovenske Konjice|Smarje pri Jelsah|Smartno ob Paki|Sostanj|Starse|Store|Sveti Jurij|Tolmin|Trbovlje|Trebnje|Trzic|Turnisce|Velenje|Velike Lasce|Videm|Vipava|Vitanje|Vodice|Vojnik|Vrhnika|Vuzenica|Zagorje ob Savi|Zalec|Zavrc|Zelezniki|Ziri|Zrece";
|
||||||
|
aStates[207]="Bellona|Central|Choiseul (Lauru)|Guadalcanal|Honiara|Isabel|Makira|Malaita|Rennell|Temotu|Western";
|
||||||
|
aStates[208]="Awdal|Bakool|Banaadir|Bari|Bay|Galguduud|Gedo|Hiiraan|Jubbada Dhexe|Jubbada Hoose|Mudug|Nugaal|Sanaag|Shabeellaha Dhexe|Shabeellaha Hoose|Sool|Togdheer|Woqooyi Galbeed";
|
||||||
|
aStates[209]="Eastern Cape|Free State|Gauteng|KwaZulu-Natal|Mpumalanga|North-West|Northern Cape|Northern Province|Western Cape";
|
||||||
|
aStates[210]="Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands";
|
||||||
|
aStates[211]="Andalucia|Aragon|Asturias|Baleares (Balearic Islands)|Canarias (Canary Islands)|Cantabria|Castilla y Leon|Castilla-La Mancha|Cataluna|Ceuta|Communidad Valencian|Extremadura|Galicia|Islas Chafarinas|La Rioja|Madrid|Melilla|Murcia|Navarra|Pais Vasco (Basque Country)|Penon de Alhucemas|Penon de Velez de la Gomera";
|
||||||
|
aStates[212]="Spratly Islands";
|
||||||
|
aStates[213]="Central|Eastern|North Central|North Eastern|North Western|Northern|Sabaragamuwa|Southern|Uva|Western";
|
||||||
|
aStates[214]="A'ali an Nil|Al Bahr al Ahmar|Al Buhayrat|Al Jazirah|Al Khartum|Al Qadarif|Al Wahdah|An Nil al Abyad|An Nil al Azraq|Ash Shamaliyah|Bahr al Jabal|Gharb al Istiwa'iyah|Gharb Bahr al Ghazal|Gharb Darfur|Gharb Kurdufan|Janub Darfur|Janub Kurdufan|Junqali|Kassala|Nahr an Nil|Shamal Bahr al Ghazal|Shamal Darfur|Shamal Kurdufan|Sharq al Istiwa'iyah|Sinnar|Warab";
|
||||||
|
aStates[215]="Brokopondo|Commewijne|Coronie|Marowijne|Nickerie|Para|Paramaribo|Saramacca|Sipaliwini|Wanica";
|
||||||
|
aStates[216]="Barentsoya|Bjornoya|Edgeoya|Hopen|Kvitoya|Nordaustandet|Prins Karls Forland|Spitsbergen";
|
||||||
|
aStates[217]="Hhohho|Lubombo|Manzini|Shiselweni";
|
||||||
|
aStates[218]="Blekinge|Dalarnas|Gavleborgs|Gotlands|Hallands|Jamtlands|Jonkopings|Kalmar|Kronobergs|Norrbottens|Orebro|Ostergotlands|Skane|Sodermanlands|Stockholms|Uppsala|Varmlands|Vasterbottens|Vasternorrlands|Vastmanlands|Vastra Gotalands";
|
||||||
|
aStates[219]="Aargau|Ausser-Rhoden|Basel-Landschaft|Basel-Stadt|Bern|Fribourg|Geneve|Glarus|Graubunden|Inner-Rhoden|Jura|Luzern|Neuchatel|Nidwalden|Obwalden|Sankt Gallen|Schaffhausen|Schwyz|Solothurn|Thurgau|Ticino|Uri|Valais|Vaud|Zug|Zurich";
|
||||||
|
aStates[220]="Al Hasakah|Al Ladhiqiyah|Al Qunaytirah|Ar Raqqah|As Suwayda'|Dar'a|Dayr az Zawr|Dimashq|Halab|Hamah|Hims|Idlib|Rif Dimashq|Tartus";
|
||||||
|
aStates[221]="Chang-hua|Chi-lung|Chia-i|Chia-i|Chung-hsing-hsin-ts'un|Hsin-chu|Hsin-chu|Hua-lien|I-lan|Kao-hsiung|Kao-hsiung|Miao-li|Nan-t'ou|P'eng-hu|P'ing-tung|T'ai-chung|T'ai-chung|T'ai-nan|T'ai-nan|T'ai-pei|T'ai-pei|T'ai-tung|T'ao-yuan|Yun-lin";
|
||||||
|
aStates[222]="Viloyati Khatlon|Viloyati Leninobod|Viloyati Mukhtori Kuhistoni Badakhshon";
|
||||||
|
aStates[223]="Arusha|Dar es Salaam|Dodoma|Iringa|Kagera|Kigoma|Kilimanjaro|Lindi|Mara|Mbeya|Morogoro|Mtwara|Mwanza|Pemba North|Pemba South|Pwani|Rukwa|Ruvuma|Shinyanga|Singida|Tabora|Tanga|Zanzibar Central/South|Zanzibar North|Zanzibar Urban/West";
|
||||||
|
aStates[224]="Amnat Charoen|Ang Thong|Buriram|Chachoengsao|Chai Nat|Chaiyaphum|Chanthaburi|Chiang Mai|Chiang Rai|Chon Buri|Chumphon|Kalasin|Kamphaeng Phet|Kanchanaburi|Khon Kaen|Krabi|Krung Thep Mahanakhon (Bangkok)|Lampang|Lamphun|Loei|Lop Buri|Mae Hong Son|Maha Sarakham|Mukdahan|Nakhon Nayok|Nakhon Pathom|Nakhon Phanom|Nakhon Ratchasima|Nakhon Sawan|Nakhon Si Thammarat|Nan|Narathiwat|Nong Bua Lamphu|Nong Khai|Nonthaburi|Pathum Thani|Pattani|Phangnga|Phatthalung|Phayao|Phetchabun|Phetchaburi|Phichit|Phitsanulok|Phra Nakhon Si Ayutthaya|Phrae|Phuket|Prachin Buri|Prachuap Khiri Khan|Ranong|Ratchaburi|Rayong|Roi Et|Sa Kaeo|Sakon Nakhon|Samut Prakan|Samut Sakhon|Samut Songkhram|Sara Buri|Satun|Sing Buri|Sisaket|Songkhla|Sukhothai|Suphan Buri|Surat Thani|Surin|Tak|Trang|Trat|Ubon Ratchathani|Udon Thani|Uthai Thani|Uttaradit|Yala|Yasothon";
|
||||||
|
aStates[225]="Tobago";
|
||||||
|
aStates[226]="De La Kara|Des Plateaux|Des Savanes|Du Centre|Maritime";
|
||||||
|
aStates[227]="Atafu|Fakaofo|Nukunonu";
|
||||||
|
aStates[228]="Ha'apai|Tongatapu|Vava'u";
|
||||||
|
aStates[229]="Arima|Caroni|Mayaro|Nariva|Port-of-Spain|Saint Andrew|Saint David|Saint George|Saint Patrick|San Fernando|Victoria";
|
||||||
|
aStates[230]="Ariana|Beja|Ben Arous|Bizerte|El Kef|Gabes|Gafsa|Jendouba|Kairouan|Kasserine|Kebili|Mahdia|Medenine|Monastir|Nabeul|Sfax|Sidi Bou Zid|Siliana|Sousse|Tataouine|Tozeur|Tunis|Zaghouan";
|
||||||
|
aStates[231]="Adana|Adiyaman|Afyon|Agri|Aksaray|Amasya|Ankara|Antalya|Ardahan|Artvin|Aydin|Balikesir|Bartin|Batman|Bayburt|Bilecik|Bingol|Bitlis|Bolu|Burdur|Bursa|Canakkale|Cankiri|Corum|Denizli|Diyarbakir|Duzce|Edirne|Elazig|Erzincan|Erzurum|Eskisehir|Gaziantep|Giresun|Gumushane|Hakkari|Hatay|Icel|Igdir|Isparta|Istanbul|Izmir|Kahramanmaras|Karabuk|Karaman|Kars|Kastamonu|Kayseri|Kilis|Kirikkale|Kirklareli|Kirsehir|Kocaeli|Konya|Kutahya|Malatya|Manisa|Mardin|Mugla|Mus|Nevsehir|Nigde|Ordu|Osmaniye|Rize|Sakarya|Samsun|Sanliurfa|Siirt|Sinop|Sirnak|Sivas|Tekirdag|Tokat|Trabzon|Tunceli|Usak|Van|Yalova|Yozgat|Zonguldak";
|
||||||
|
aStates[232]="Ahal Welayaty|Balkan Welayaty|Dashhowuz Welayaty|Lebap Welayaty|Mary Welayaty";
|
||||||
|
aStates[233]="Tuvalu";
|
||||||
|
aStates[234]="Adjumani|Apac|Arua|Bugiri|Bundibugyo|Bushenyi|Busia|Gulu|Hoima|Iganga|Jinja|Kabale|Kabarole|Kalangala|Kampala|Kamuli|Kapchorwa|Kasese|Katakwi|Kibale|Kiboga|Kisoro|Kitgum|Kotido|Kumi|Lira|Luwero|Masaka|Masindi|Mbale|Mbarara|Moroto|Moyo|Mpigi|Mubende|Mukono|Nakasongola|Nebbi|Ntungamo|Pallisa|Rakai|Rukungiri|Sembabule|Soroti|Tororo";
|
||||||
|
aStates[235]="Avtonomna Respublika Krym (Simferopol')|Cherkas'ka (Cherkasy)|Chernihivs'ka (Chernihiv)|Chernivets'ka (Chernivtsi)|Dnipropetrovs'ka (Dnipropetrovs'k)|Donets'ka (Donets'k)|Ivano-Frankivs'ka (Ivano-Frankivs'k)|Kharkivs'ka (Kharkiv)|Khersons'ka (Kherson)|Khmel'nyts'ka (Khmel'nyts'kyy)|Kirovohrads'ka (Kirovohrad)|Kyyiv|Kyyivs'ka (Kiev)|L'vivs'ka (L'viv)|Luhans'ka (Luhans'k)|Mykolayivs'ka (Mykolayiv)|Odes'ka (Odesa)|Poltavs'ka (Poltava)|Rivnens'ka (Rivne)|Sevastopol'|Sums'ka (Sumy)|Ternopil's'ka (Ternopil')|Vinnyts'ka (Vinnytsya)|Volyns'ka (Luts'k)|Zakarpats'ka (Uzhhorod)|Zaporiz'ka (Zaporizhzhya)|Zhytomyrs'ka (Zhytomyr)"
|
||||||
|
aStates[236]="'Ajman|Abu Zaby (Abu Dhabi)|Al Fujayrah|Ash Shariqah (Sharjah)|Dubayy (Dubai)|Ra's al Khaymah|Umm al Qaywayn";
|
||||||
|
aStates[237]="Barking and Dagenham|Barnet|Barnsley|Bath and North East Somerset|Bedfordshire|Bexley|Birmingham|Blackburn with Darwen|Blackpool|Bolton|Bournemouth|Bracknell Forest|Bradford|Brent|Brighton and Hove|Bromley|Buckinghamshire|Bury|Calderdale|Cambridgeshire|Camden|Cheshire|City of Bristol|City of Kingston upon Hull|City of London|Cornwall|Coventry|Croydon|Cumbria|Darlington|Derby|Derbyshire|Devon|Doncaster|Dorset|Dudley|Durham|Ealing|East Riding of Yorkshire|East Sussex|Enfield|Essex|Gateshead|Gloucestershire|Greenwich|Hackney|Halton|Hammersmith and Fulham|Hampshire|Haringey|Harrow|Hartlepool|Havering|Herefordshire|Hertfordshire|Hillingdon|Hounslow|Isle of Wight|Islington|Kensington and Chelsea|Kent|Kingston upon Thames|Kirklees|Knowsley|Lambeth|Lancashire|Leeds|Leicester|Leicestershire|Lewisham|Lincolnshire|Liverpool|Luton|Manchester|Medway|Merton|Middlesbrough|Milton Keynes|Newcastle upon Tyne|Newham|Norfolk|North East Lincolnshire|North Lincolnshire|North Somerset|North Tyneside|North Yorkshire|Northamptonshire|Northumberland|Nottingham|Nottinghamshire|Oldham|Oxfordshire|Peterborough|Plymouth|Poole|Portsmouth|Reading|Redbridge|Redcar and Cleveland|Richmond upon Thames|Rochdale|Rotherham|Rutland|Salford|Sandwell|Sefton|Sheffield|Shropshire|Slough|Solihull|Somerset|South Gloucestershire|South Tyneside|Southampton|Southend-on-Sea|Southwark|St. Helens|Staffordshire|Stockport|Stockton-on-Tees|Stoke-on-Trent|Suffolk|Sunderland|Surrey|Sutton|Swindon|Tameside|Telford and Wrekin|Thurrock|Torbay|Tower Hamlets|Trafford|Wakefield|Walsall|Waltham Forest|Wandsworth|Warrington|Warwickshire|West Berkshire|West Sussex|Westminster|Wigan|Wiltshire|Windsor and Maidenhead|Wirral|Wokingham|Wolverhampton|Worcestershire|York";
|
||||||
|
aStates[238]="Artigas|Canelones|Cerro Largo|Colonia|Durazno|Flores|Florida|Lavalleja|Maldonado|Montevideo|Paysandu|Rio Negro|Rivera|Rocha|Salto|San Jose|Soriano|Tacuarembo|Treinta y Tres";
|
||||||
|
aStates[239]="Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Rhode Island|South Carolina|South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|Wyoming";
|
||||||
|
aStates[240]="Andijon Wiloyati|Bukhoro Wiloyati|Farghona Wiloyati|Jizzakh Wiloyati|Khorazm Wiloyati (Urganch)|Namangan Wiloyati|Nawoiy Wiloyati|Qashqadaryo Wiloyati (Qarshi)|Qoraqalpoghiston (Nukus)|Samarqand Wiloyati|Sirdaryo Wiloyati (Guliston)|Surkhondaryo Wiloyati (Termiz)|Toshkent Shahri|Toshkent Wiloyati";
|
||||||
|
aStates[241]="Malampa|Penama|Sanma|Shefa|Tafea|Torba";
|
||||||
|
aStates[242]="Amazonas|Anzoategui|Apure|Aragua|Barinas|Bolivar|Carabobo|Cojedes|Delta Amacuro|Dependencias Federales|Distrito Federal|Falcon|Guarico|Lara|Merida|Miranda|Monagas|Nueva Esparta|Portuguesa|Sucre|Tachira|Trujillo|Vargas|Yaracuy|Zulia";
|
||||||
|
aStates[243]="An Giang|Ba Ria-Vung Tau|Bac Giang|Bac Kan|Bac Lieu|Bac Ninh|Ben Tre|Binh Dinh|Binh Duong|Binh Phuoc|Binh Thuan|Ca Mau|Can Tho|Cao Bang|Da Nang|Dac Lak|Dong Nai|Dong Thap|Gia Lai|Ha Giang|Ha Nam|Ha Noi|Ha Tay|Ha Tinh|Hai Duong|Hai Phong|Ho Chi Minh|Hoa Binh|Hung Yen|Khanh Hoa|Kien Giang|Kon Tum|Lai Chau|Lam Dong|Lang Son|Lao Cai|Long An|Nam Dinh|Nghe An|Ninh Binh|Ninh Thuan|Phu Tho|Phu Yen|Quang Binh|Quang Nam|Quang Ngai|Quang Ninh|Quang Tri|Soc Trang|Son La|Tay Ninh|Thai Binh|Thai Nguyen|Thanh Hoa|Thua Thien-Hue|Tien Giang|Tra Vinh|Tuyen Quang|Vinh Long|Vinh Phuc|Yen Bai";
|
||||||
|
aStates[244]="Saint Croix|Saint John|Saint Thomas";
|
||||||
|
aStates[245]="Blaenau Gwent|Bridgend|Caerphilly|Cardiff|Carmarthenshire|Ceredigion|Conwy|Denbighshire|Flintshire|Gwynedd|Isle of Anglesey|Merthyr Tydfil|Monmouthshire|Neath Port Talbot|Newport|Pembrokeshire|Powys|Rhondda Cynon Taff|Swansea|The Vale of Glamorgan|Torfaen|Wrexham";
|
||||||
|
aStates[246]="Alo|Sigave|Wallis";
|
||||||
|
aStates[247]="West Bank";
|
||||||
|
aStates[248]="Western Sahara";
|
||||||
|
aStates[249]="'Adan|'Ataq|Abyan|Al Bayda'|Al Hudaydah|Al Jawf|Al Mahrah|Al Mahwit|Dhamar|Hadhramawt|Hajjah|Ibb|Lahij|Ma'rib|Sa'dah|San'a'|Ta'izz";
|
||||||
|
aStates[250]="Kosovo|Montenegro|Serbia|Vojvodina";
|
||||||
|
aStates[251]="Central|Copperbelt|Eastern|Luapula|Lusaka|North-Western|Northern|Southern|Western";
|
||||||
|
aStates[252]="Bulawayo|Harare|ManicalandMashonaland Central|Mashonaland East|Mashonaland West|Masvingo|Matabeleland North|Matabeleland South|Midlands";
|
||||||
|
|
||||||
|
/*
|
||||||
|
* gArCountryInfo
|
||||||
|
* (0) Country name
|
||||||
|
* (1) Name length
|
||||||
|
* (2) Number of states
|
||||||
|
* (3) Max state length
|
||||||
|
*/
|
||||||
|
gLngNumberCountries = sCountryString.split("|").length;
|
||||||
|
//gArCountryInfo = new Array(gLngNumberCountries);
|
||||||
|
gArCountryInfo=sCountryString.split("|");
|
||||||
|
/*
|
||||||
|
* gArStateInfo[country][statenames][namelengths]
|
||||||
|
* (0) Country
|
||||||
|
* (1) States (Multi-sized Array)
|
||||||
|
* (0) name
|
||||||
|
* (1) nameLength
|
||||||
|
*/
|
||||||
|
gArStateInfo = new Array(gLngNumberCountries);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* fInitgArStateInfo()
|
||||||
|
* purpose: build gArStateInfo array
|
||||||
|
* gArStateInfo[Country][States][1]
|
||||||
|
* (0) State name
|
||||||
|
* (1) State name length
|
||||||
|
* gArStateInfo[i] is an array of state names
|
||||||
|
* gArStateInfo[i][j]=state name, name length
|
||||||
|
*/
|
||||||
|
function fInitgArStateInfo() {
|
||||||
|
var i=0, j=0, sStateName="", iNumberOfStates=0;
|
||||||
|
var iMaxLength=0, iLength=0;
|
||||||
|
var oldNumber=0;
|
||||||
|
|
||||||
|
for (i=0;i<gLngNumberCountries;i++) {
|
||||||
|
// i is selected country
|
||||||
|
iNumberOfStates=aStates[i].split("|").length+1;
|
||||||
|
gLngNumberStates=gLngNumberStates+iNumberOfStates;
|
||||||
|
gArStateInfo[i]=new Array(iNumberOfStates);
|
||||||
|
iMaxLength=0;
|
||||||
|
|
||||||
|
// Add the additional information
|
||||||
|
for (j=0;j<iNumberOfStates;j++) {
|
||||||
|
if (iLength>iMaxLength) {
|
||||||
|
iMaxLength=iLength;
|
||||||
|
gArStateInfo[i][j][0]=sStateName;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gArCountryInfo[i][3]=parseInt(iMaxLength);
|
||||||
|
}
|
||||||
|
Update_Globals();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Working on this one.
|
||||||
|
* Fills in cboState from the arrays
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function xFillState() {
|
||||||
|
var i=0;
|
||||||
|
|
||||||
|
// reset cboState
|
||||||
|
document.form1.cboState.options.length=0;
|
||||||
|
|
||||||
|
// get selected country
|
||||||
|
gLngSelectedCountry=document.form1.cboCountry.selectedIndex;
|
||||||
|
|
||||||
|
// get number of states for selected country
|
||||||
|
gLngNumberStates=gArCountryInfo[[gLngSelectedCountry][2]];
|
||||||
|
|
||||||
|
// update options in cboState
|
||||||
|
for (i=0;i<gLngNumberStates;i++) {
|
||||||
|
document.form1.cboState.options[i]=new
|
||||||
|
Option(gArStateInfo[[gLngSelectedCountry][i][0]]);
|
||||||
|
}
|
||||||
|
gLngSelectedState=
|
||||||
|
document.form1.cboState.options.selectedIndex;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* FillStates() function works.
|
||||||
|
* Fills cboState from aStates
|
||||||
|
*/
|
||||||
|
function Fill_States() {
|
||||||
|
var i=0, iLen=0, iNumStates=0;
|
||||||
|
|
||||||
|
// reset cboState
|
||||||
|
document.form1.cboState.options.length=0;
|
||||||
|
// get selected country
|
||||||
|
gLngSelectedCountry=document.form1.cboCountry.selectedIndex;
|
||||||
|
iNumStates = aStates[gLngSelectedCountry].split("|").length;
|
||||||
|
|
||||||
|
// update the text boxes
|
||||||
|
Update_Globals();
|
||||||
|
|
||||||
|
document.form1.txtNumCountries.value=gArCountryInfo.length-1;
|
||||||
|
document.form1.txtNumStates.value=iNumStates;
|
||||||
|
|
||||||
|
// file the state combobox with the list of states
|
||||||
|
for (i=0;i<iNumStates;i++) {
|
||||||
|
document.form1.cboState.options[i]=new
|
||||||
|
Option(aStates[document.form1.cboCountry.selectedIndex].split("|")[i]);
|
||||||
|
}
|
||||||
|
updSelectState(0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* FillCountry()
|
||||||
|
* gArCountryInfo matrix holds the following information:
|
||||||
|
* (0) Country name
|
||||||
|
* (1) Name length
|
||||||
|
* (2) Number of states
|
||||||
|
* (3) Max state length
|
||||||
|
*/
|
||||||
|
function Fill_Country() {
|
||||||
|
var i=0;
|
||||||
|
var sCountryName="";
|
||||||
|
|
||||||
|
// reset cboCountry.options
|
||||||
|
document.form1.cboCountry.options.length=0;
|
||||||
|
// get number of countries from the string
|
||||||
|
|
||||||
|
// ----------------------------------------------------
|
||||||
|
// gArCountryInfo = new Array(gLngNumberCountries, 4);
|
||||||
|
// ----------------------------------------------------
|
||||||
|
for (i=0;i<gLngNumberCountries;i++) {
|
||||||
|
gArCountryInfo[i]=new Array(4);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=0;i<gLngNumberCountries;i++) {
|
||||||
|
document.form1.cboCountry.options[i]=new Option(sCountryString.split("|")[i]);
|
||||||
|
sCountryName=document.form1.cboCountry.options[i];
|
||||||
|
|
||||||
|
//document.form1.txtState.value=sCountryName;
|
||||||
|
|
||||||
|
// gArCountryInfo[i][0]=sCountryName;
|
||||||
|
// gArCountryInfo[i][1]=sCountryName.length;
|
||||||
|
// gArCountryInfo[i][2]=aStates.split("|")[i].length;
|
||||||
|
// gArCountryInfo[i][3]=0;
|
||||||
|
gArCountryInfo[i]=
|
||||||
|
[sCountryName,
|
||||||
|
parseInt(sCountryName.length),
|
||||||
|
aStates,
|
||||||
|
0];
|
||||||
|
}
|
||||||
|
|
||||||
|
fInitgArStateInfo();
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function updSelectState(lngState) {
|
||||||
|
if (gLngSelectedCountry>0) {
|
||||||
|
document.form1.cboState.selectedIndex = lngState;
|
||||||
|
document.form1.txtState.value = document.form1.cboState.options[lngState].text;
|
||||||
|
document.form1.txtSelectedState.value = lngState+1;
|
||||||
|
document.form1.txtStateLength.value=document.form1.txtState.value.length;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* gArCountryInfo matrix holds the following information:
|
||||||
|
* (0) Country name
|
||||||
|
* (1) Name length
|
||||||
|
* (2) Number of states
|
||||||
|
* (3) Max state length
|
||||||
|
*/
|
||||||
|
function Update_Globals() {
|
||||||
|
gLngSelectedCountry=parseInt(document.form1.cboCountry.selectedIndex);
|
||||||
|
gLngSelectedState=parseInt(document.form1.cboState.selectedIndex);
|
||||||
|
document.form1.txtSelectedCountry.value=gLngSelectedCountry;
|
||||||
|
document.form1.txtSelectedState.value=gLngSelectedState+1;
|
||||||
|
|
||||||
|
// working
|
||||||
|
document.form1.txtCountry.value=
|
||||||
|
document.form1.cboCountry.options[gLngSelectedCountry].text;
|
||||||
|
if (document.form1.txtSelectedState.value<=0) {
|
||||||
|
document.form1.txtState.value="";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
document.form1.txtState.value=
|
||||||
|
document.form1.cboState.options[gLngSelectedState].text;
|
||||||
|
}
|
||||||
|
|
||||||
|
document.form1.txtCountryLength.value=document.form1.txtCountry.value.length;
|
||||||
|
document.form1.txtStateLength.value=document.form1.txtState.value.length;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Clear_Form() {
|
||||||
|
document.form1.txtCountry.value="";
|
||||||
|
document.form1.txtState.value="";
|
||||||
|
document.form1.txtCountryLength.value="";
|
||||||
|
document.form1.txtStateLength.value="";
|
||||||
|
document.form1.txtNumStates.value="";
|
||||||
|
document.form1.txtSelectedState.value="";
|
||||||
|
document.form1.txtSelectedCountry.value="";
|
||||||
|
document.form1.txtNumCountries.value="";
|
||||||
|
}
|
||||||
|
//-->
|
Binary file not shown.
|
@ -1,257 +0,0 @@
|
||||||
class CountryListHelper extends FormHelper
|
|
||||||
{
|
|
||||||
|
|
||||||
var $helpers = array('Form');
|
|
||||||
|
|
||||||
function select($fieldname, $label, $default=" ", $attributes)
|
|
||||||
{
|
|
||||||
$list = '<div class="input">';
|
|
||||||
$list .= $this->Form->label($fieldname, $label);
|
|
||||||
$list .= $this->Form->select($fieldname , array(
|
|
||||||
' ' => __('Please select a country', true),
|
|
||||||
'--' => __('None', true),
|
|
||||||
'AF' => __('Afganistan', true),
|
|
||||||
'AL' => __('Albania', true),
|
|
||||||
'DZ' => __('Algeria', true),
|
|
||||||
'AS' => __('American Samoa', true),
|
|
||||||
'AD' => __('Andorra', true),
|
|
||||||
'AO' => __('Angola', true),
|
|
||||||
'AI' => __('Anguilla', true),
|
|
||||||
'AQ' => __('Antarctica', true),
|
|
||||||
'AG' => __('Antigua and Barbuda', true),
|
|
||||||
'AR' => __('Argentina', true),
|
|
||||||
'AM' => __('Armenia', true),
|
|
||||||
'AW' => __('Aruba', true),
|
|
||||||
'AU' => __('Australia', true),
|
|
||||||
'AT' => __('Austria', true),
|
|
||||||
'AZ' => __('Azerbaijan', true),
|
|
||||||
'BS' => __('Bahamas', true),
|
|
||||||
'BH' => __('Bahrain', true),
|
|
||||||
'BD' => __('Bangladesh', true),
|
|
||||||
'BB' => __('Barbados', true),
|
|
||||||
'BY' => __('Belarus', true),
|
|
||||||
'BE' => __('Belgium', true),
|
|
||||||
'BZ' => __('Belize', true),
|
|
||||||
'BJ' => __('Benin', true),
|
|
||||||
'BM' => __('Bermuda', true),
|
|
||||||
'BT' => __('Bhutan', true),
|
|
||||||
'BO' => __('Bolivia', true),
|
|
||||||
'BA' => __('Bosnia and Herzegowina', true),
|
|
||||||
'BW' => __('Botswana', true),
|
|
||||||
'BV' => __('Bouvet Island', true),
|
|
||||||
'BR' => __('Brazil', true),
|
|
||||||
'IO' => __('British Indian Ocean Territory', true),
|
|
||||||
'BN' => __('Brunei Darussalam', true),
|
|
||||||
'BG' => __('Bulgaria', true),
|
|
||||||
'BF' => __('Burkina Faso', true),
|
|
||||||
'BI' => __('Burundi', true),
|
|
||||||
'KH' => __('Cambodia', true),
|
|
||||||
'CM' => __('Cameroon', true),
|
|
||||||
'CA' => __('Canada', true),
|
|
||||||
'CV' => __('Cape Verde', true),
|
|
||||||
'KY' => __('Cayman Islands', true),
|
|
||||||
'CF' => __('Central African Republic', true),
|
|
||||||
'TD' => __('Chad', true),
|
|
||||||
'CL' => __('Chile', true),
|
|
||||||
'CN' => __('China', true),
|
|
||||||
'CX' => __('Christmas Island', true),
|
|
||||||
'CC' => __('Cocos (Keeling) Islands', true),
|
|
||||||
'CO' => __('Colombia', true),
|
|
||||||
'KM' => __('Comoros', true),
|
|
||||||
'CG' => __('Congo', true),
|
|
||||||
'CD' => __('Congo, the Democratic Republic of the', true),
|
|
||||||
'CK' => __('Cook Islands', true),
|
|
||||||
'CR' => __('Costa Rica', true),
|
|
||||||
'CI' => __('Cote d\'Ivoire', true),
|
|
||||||
'HR' => __('Croatia (Hrvatska)', true),
|
|
||||||
'CU' => __('Cuba', true),
|
|
||||||
'CY' => __('Cyprus', true),
|
|
||||||
'CZ' => __('Czech Republic', true),
|
|
||||||
'DK' => __('Denmark', true),
|
|
||||||
'DJ' => __('Djibouti', true),
|
|
||||||
'DM' => __('Dominica', true),
|
|
||||||
'DO' => __('Dominican Republic', true),
|
|
||||||
'TP' => __('East Timor', true),
|
|
||||||
'EC' => __('Ecuador', true),
|
|
||||||
'EG' => __('Egypt', true),
|
|
||||||
'SV' => __('El Salvador', true),
|
|
||||||
'GQ' => __('Equatorial Guinea', true),
|
|
||||||
'ER' => __('Eritrea', true),
|
|
||||||
'EE' => __('Estonia', true),
|
|
||||||
'ET' => __('Ethiopia', true),
|
|
||||||
'FK' => __('Falkland Islands (Malvinas)', true),
|
|
||||||
'FO' => __('Faroe Islands', true),
|
|
||||||
'FJ' => __('Fiji', true),
|
|
||||||
'FI' => __('Finland', true),
|
|
||||||
'FR' => __('France', true),
|
|
||||||
'FX' => __('France, Metropolitan', true),
|
|
||||||
'GF' => __('French Guiana', true),
|
|
||||||
'PF' => __('French Polynesia', true),
|
|
||||||
'TF' => __('French Southern Territories', true),
|
|
||||||
'GA' => __('Gabon', true),
|
|
||||||
'GM' => __('Gambia', true),
|
|
||||||
'GE' => __('Georgia', true),
|
|
||||||
'DE' => __('Germany', true),
|
|
||||||
'GH' => __('Ghana', true),
|
|
||||||
'GI' => __('Gibraltar', true),
|
|
||||||
'GR' => __('Greece', true),
|
|
||||||
'GL' => __('Greenland', true),
|
|
||||||
'GD' => __('Grenada', true),
|
|
||||||
'GP' => __('Guadeloupe', true),
|
|
||||||
'GU' => __('Guam', true),
|
|
||||||
'GT' => __('Guatemala', true),
|
|
||||||
'GN' => __('Guinea', true),
|
|
||||||
'GW' => __('Guinea-Bissau', true),
|
|
||||||
'GY' => __('Guyana', true),
|
|
||||||
'HT' => __('Haiti', true),
|
|
||||||
'HM' => __('Heard and Mc Donald Islands', true),
|
|
||||||
'VA' => __('Holy See (Vatican City State)', true),
|
|
||||||
'HN' => __('Honduras', true),
|
|
||||||
'HK' => __('Hong Kong', true),
|
|
||||||
'HU' => __('Hungary', true),
|
|
||||||
'IS' => __('Iceland', true),
|
|
||||||
'IN' => __('India', true),
|
|
||||||
'ID' => __('Indonesia', true),
|
|
||||||
'IR' => __('Iran (Islamic Republic of)', true),
|
|
||||||
'IQ' => __('Iraq', true),
|
|
||||||
'IE' => __('Ireland', true),
|
|
||||||
'IL' => __('Israel', true),
|
|
||||||
'IT' => __('Italy', true),
|
|
||||||
'JM' => __('Jamaica', true),
|
|
||||||
'JP' => __('Japan', true),
|
|
||||||
'JO' => __('Jordan', true),
|
|
||||||
'KZ' => __('Kazakhstan', true),
|
|
||||||
'KE' => __('Kenya', true),
|
|
||||||
'KI' => __('Kiribati', true),
|
|
||||||
'KP' => __('Korea, Democratic People\'s Republic of', true),
|
|
||||||
'KR' => __('Korea, Republic of', true),
|
|
||||||
'KW' => __('Kuwait', true),
|
|
||||||
'KG' => __('Kyrgyzstan', true),
|
|
||||||
'LA' => __('Lao People\'s Democratic Republic', true),
|
|
||||||
'LV' => __('Latvia', true),
|
|
||||||
'LB' => __('Lebanon', true),
|
|
||||||
'LS' => __('Lesotho', true),
|
|
||||||
'LR' => __('Liberia', true),
|
|
||||||
'LY' => __('Libyan Arab Jamahiriya', true),
|
|
||||||
'LI' => __('Liechtenstein', true),
|
|
||||||
'LT' => __('Lithuania', true),
|
|
||||||
'LU' => __('Luxembourg', true),
|
|
||||||
'MO' => __('Macau', true),
|
|
||||||
'MK' => __('Macedonia, The Former Yugoslav Republic of', true),
|
|
||||||
'MG' => __('Madagascar', true),
|
|
||||||
'MW' => __('Malawi', true),
|
|
||||||
'MY' => __('Malaysia', true),
|
|
||||||
'MV' => __('Maldives', true),
|
|
||||||
'ML' => __('Mali', true),
|
|
||||||
'MT' => __('Malta', true),
|
|
||||||
'MH' => __('Marshall Islands', true),
|
|
||||||
'MQ' => __('Martinique', true),
|
|
||||||
'MR' => __('Mauritania', true),
|
|
||||||
'MU' => __('Mauritius', true),
|
|
||||||
'YT' => __('Mayotte', true),
|
|
||||||
'MX' => __('Mexico', true),
|
|
||||||
'FM' => __('Micronesia, Federated States of', true),
|
|
||||||
'MD' => __('Moldova, Republic of', true),
|
|
||||||
'MC' => __('Monaco', true),
|
|
||||||
'MN' => __('Mongolia', true),
|
|
||||||
'MS' => __('Montserrat', true),
|
|
||||||
'MA' => __('Morocco', true),
|
|
||||||
'MZ' => __('Mozambique', true),
|
|
||||||
'MM' => __('Myanmar', true),
|
|
||||||
'NA' => __('Namibia', true),
|
|
||||||
'NR' => __('Nauru', true),
|
|
||||||
'NP' => __('Nepal', true),
|
|
||||||
'NL' => __('Netherlands', true),
|
|
||||||
'AN' => __('Netherlands Antilles', true),
|
|
||||||
'NC' => __('New Caledonia', true),
|
|
||||||
'NZ' => __('New Zealand', true),
|
|
||||||
'NI' => __('Nicaragua', true),
|
|
||||||
'NE' => __('Niger', true),
|
|
||||||
'NG' => __('Nigeria', true),
|
|
||||||
'NU' => __('Niue', true),
|
|
||||||
'NF' => __('Norfolk Island', true),
|
|
||||||
'MP' => __('Northern Mariana Islands', true),
|
|
||||||
'NO' => __('Norway', true),
|
|
||||||
'OM' => __('Oman', true),
|
|
||||||
'PK' => __('Pakistan', true),
|
|
||||||
'PW' => __('Palau', true),
|
|
||||||
'PA' => __('Panama', true),
|
|
||||||
'PG' => __('Papua New Guinea', true),
|
|
||||||
'PY' => __('Paraguay', true),
|
|
||||||
'PE' => __('Peru', true),
|
|
||||||
'PH' => __('Philippines', true),
|
|
||||||
'PN' => __('Pitcairn', true),
|
|
||||||
'PL' => __('Poland', true),
|
|
||||||
'PT' => __('Portugal', true),
|
|
||||||
'PR' => __('Puerto Rico', true),
|
|
||||||
'QA' => __('Qatar', true),
|
|
||||||
'RE' => __('Reunion', true),
|
|
||||||
'RO' => __('Romania', true),
|
|
||||||
'RU' => __('Russian Federation', true),
|
|
||||||
'RW' => __('Rwanda', true),
|
|
||||||
'KN' => __('Saint Kitts and Nevis', true),
|
|
||||||
'LC' => __('Saint LUCIA', true),
|
|
||||||
'VC' => __('Saint Vincent and the Grenadines', true),
|
|
||||||
'WS' => __('Samoa', true),
|
|
||||||
'SM' => __('San Marino', true),
|
|
||||||
'ST' => __('Sao Tome and Principe', true),
|
|
||||||
'SA' => __('Saudi Arabia', true),
|
|
||||||
'SN' => __('Senegal', true),
|
|
||||||
'SC' => __('Seychelles', true),
|
|
||||||
'SL' => __('Sierra Leone', true),
|
|
||||||
'SG' => __('Singapore', true),
|
|
||||||
'SK' => __('Slovakia (Slovak Republic)', true),
|
|
||||||
'SI' => __('Slovenia', true),
|
|
||||||
'SB' => __('Solomon Islands', true),
|
|
||||||
'SO' => __('Somalia', true),
|
|
||||||
'ZA' => __('South Africa', true),
|
|
||||||
'GS' => __('South Georgia and the South Sandwich Islands', true),
|
|
||||||
'ES' => __('Spain', true),
|
|
||||||
'LK' => __('Sri Lanka', true),
|
|
||||||
'SH' => __('St. Helena', true),
|
|
||||||
'PM' => __('St. Pierre and Miquelon', true),
|
|
||||||
'SD' => __('Sudan', true),
|
|
||||||
'SR' => __('Suriname', true),
|
|
||||||
'SJ' => __('Svalbard and Jan Mayen Islands', true),
|
|
||||||
'SZ' => __('Swaziland', true),
|
|
||||||
'SE' => __('Sweden', true),
|
|
||||||
'CH' => __('Switzerland', true),
|
|
||||||
'SY' => __('Syrian Arab Republic', true),
|
|
||||||
'TW' => __('Taiwan, Province of China', true),
|
|
||||||
'TJ' => __('Tajikistan', true),
|
|
||||||
'TZ' => __('Tanzania, United Republic of', true),
|
|
||||||
'TH' => __('Thailand', true),
|
|
||||||
'TG' => __('Togo', true),
|
|
||||||
'TK' => __('Tokelau', true),
|
|
||||||
'TO' => __('Tonga', true),
|
|
||||||
'TT' => __('Trinidad and Tobago', true),
|
|
||||||
'TN' => __('Tunisia', true),
|
|
||||||
'TR' => __('Turkey', true),
|
|
||||||
'TM' => __('Turkmenistan', true),
|
|
||||||
'TC' => __('Turks and Caicos Islands', true),
|
|
||||||
'TV' => __('Tuvalu', true),
|
|
||||||
'UG' => __('Uganda', true),
|
|
||||||
'UA' => __('Ukraine', true),
|
|
||||||
'AE' => __('United Arab Emirates', true),
|
|
||||||
'GB' => __('United Kingdom', true),
|
|
||||||
'US' => __('United States', true),
|
|
||||||
'UM' => __('United States Minor Outlying Islands', true),
|
|
||||||
'UY' => __('Uruguay', true),
|
|
||||||
'UZ' => __('Uzbekistan', true),
|
|
||||||
'VU' => __('Vanuatu', true),
|
|
||||||
'VE' => __('Venezuela', true),
|
|
||||||
'VN' => __('Viet Nam', true),
|
|
||||||
'VG' => __('Virgin Islands (British)', true),
|
|
||||||
'VI' => __('Virgin Islands (U.S.)', true),
|
|
||||||
'WF' => __('Wallis and Futuna Islands', true),
|
|
||||||
'EH' => __('Western Sahara', true),
|
|
||||||
'YE' => __('Yemen', true),
|
|
||||||
'YU' => __('Yugoslavia', true),
|
|
||||||
'ZM' => __('Zambia', true),
|
|
||||||
'ZW' => __('Zimbabwe', true)
|
|
||||||
), $default, $attributes);
|
|
||||||
$list .= '</div>';
|
|
||||||
return $this->output($list);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue