<?php

$languageNames = array(
'aa' => 'Afar',
'ab' => 'Abkhazian',
'ace' => 'Achinese',
'ach' => 'Acoli',
'ada' => 'Adangme',
'ady' => 'Adyghe',
'ae' => 'Avestan',
'af' => 'Afrikaans',
'afa' => 'Afro-Asiatic Language',
'afh' => 'Afrihili',
'agq' => 'Aghem',
'ain' => 'Ainu',
'ak' => 'Akan',
'akk' => 'Akkadian',
'ale' => 'Aleut',
'alg' => 'Algonquian Language',
'alt' => 'Southern Altai',
'am' => 'Amharic',
'an' => 'Aragonese',
'ang' => 'Old English',
'anp' => 'Angika',
'apa' => 'Apache Language',
'ar' => 'Arabic',
'ar-001' => 'Modern Standard Arabic',
'arc' => 'Aramaic',
'arn' => 'Mapuche',
'arp' => 'Arapaho',
'art' => 'Artificial Language',
'arw' => 'Arawak',
'as' => 'Assamese',
'asa' => 'Asu',
'ast' => 'Asturian',
'ath' => 'Athapascan Language',
'aus' => 'Australian Language',
'av' => 'Avaric',
'awa' => 'Awadhi',
'ay' => 'Aymara',
'az' => 'Azerbaijani',
'ba' => 'Bashkir',
'bad' => 'Banda',
'bai' => 'Bamileke Language',
'bal' => 'Baluchi',
'ban' => 'Balinese',
'bas' => 'Basaa',
'bat' => 'Baltic Language',
'bax' => 'Bamun',
'bbj' => 'Ghomala',
'be' => 'Belarusian',
'bej' => 'Beja',
'bem' => 'Bemba',
'ber' => 'Berber',
'bez' => 'Bena',
'bfd' => 'Bafut',
'bg' => 'Bulgarian',
'bh' => 'Bihari',
'bho' => 'Bhojpuri',
'bi' => 'Bislama',
'bik' => 'Bikol',
'bin' => 'Bini',
'bkm' => 'Kom',
'bla' => 'Siksika',
'bm' => 'Bambara',
'bn' => 'Bengali',
'bnt' => 'Bantu',
'bo' => 'Tibetan',
'br' => 'Breton',
'bra' => 'Braj',
'brx' => 'Bodo',
'bs' => 'Bosnian',
'bss' => 'Akoose',
'btk' => 'Batak',
'bua' => 'Buriat',
'bug' => 'Buginese',
'bum' => 'Bulu',
'byn' => 'Blin',
'byv' => 'Medumba',
'ca' => 'Catalan',
'cad' => 'Caddo',
'cai' => 'Central American Indian Language',
'car' => 'Carib',
'cau' => 'Caucasian Language',
'cay' => 'Cayuga',
'cch' => 'Atsam',
'ce' => 'Chechen',
'ceb' => 'Cebuano',
'cel' => 'Celtic Language',
'cgg' => 'Chiga',
'ch' => 'Chamorro',
'chb' => 'Chibcha',
'chg' => 'Chagatai',
'chk' => 'Chuukese',
'chm' => 'Mari',
'chn' => 'Chinook Jargon',
'cho' => 'Choctaw',
'chp' => 'Chipewyan',
'chr' => 'Cherokee',
'chy' => 'Cheyenne',
'ckb' => 'Sorani Kurdish',
'cmc' => 'Chamic Language',
'co' => 'Corsican',
'cop' => 'Coptic',
'cpe' => 'English-based Creole or Pidgin',
'cpf' => 'French-based Creole or Pidgin',
'cpp' => 'Portuguese-based Creole or Pidgin',
'cr' => 'Cree',
'crh' => 'Crimean Turkish',
'crp' => 'Creole or Pidgin',
'cs' => 'Czech',
'csb' => 'Kashubian',
'cu' => 'Church Slavic',
'cus' => 'Cushitic Language',
'cv' => 'Chuvash',
'cy' => 'Welsh',
'da' => 'Danish',
'dak' => 'Dakota',
'dar' => 'Dargwa',
'dav' => 'Taita',
'day' => 'Dayak',
'de' => 'German',
'de-at' => 'Austrian German',
'de-ch' => 'Swiss High German',
'del' => 'Delaware',
'den' => 'Slave',
'dgr' => 'Dogrib',
'din' => 'Dinka',
'dje' => 'Zarma',
'doi' => 'Dogri',
'dra' => 'Dravidian Language',
'dsb' => 'Lower Sorbian',
'dua' => 'Duala',
'dum' => 'Middle Dutch',
'dv' => 'Divehi',
'dyo' => 'Jola-Fonyi',
'dyu' => 'Dyula',
'dz' => 'Dzongkha',
'dzg' => 'Dazaga',
'ebu' => 'Embu',
'ee' => 'Ewe',
'efi' => 'Efik',
'egy' => 'Ancient Egyptian',
'eka' => 'Ekajuk',
'el' => 'Greek',
'elx' => 'Elamite',
'en' => 'English',
'en-au' => 'Australian English',
'en-ca' => 'Canadian English',
'en-gb' => 'British English',
'en-us' => 'U.S. English',
'enm' => 'Middle English',
'eo' => 'Esperanto',
'es' => 'Spanish',
'es-419' => 'Latin American Spanish',
'es-es' => 'European Spanish',
'et' => 'Estonian',
'eu' => 'Basque',
'ewo' => 'Ewondo',
'fa' => 'Persian',
'fan' => 'Fang',
'fat' => 'Fanti',
'ff' => 'Fulah',
'fi' => 'Finnish',
'fil' => 'Filipino',
'fiu' => 'Finno-Ugrian Language',
'fj' => 'Fijian',
'fo' => 'Faroese',
'fon' => 'Fon',
'fr' => 'French',
'fr-ca' => 'Canadian French',
'fr-ch' => 'Swiss French',
'frm' => 'Middle French',
'fro' => 'Old French',
'frr' => 'Northern Frisian',
'frs' => 'Eastern Frisian',
'fur' => 'Friulian',
'fy' => 'Western Frisian',
'ga' => 'Irish',
'gaa' => 'Ga',
'gay' => 'Gayo',
'gba' => 'Gbaya',
'gd' => 'Scottish Gaelic',
'gem' => 'Germanic Language',
'gez' => 'Geez',
'gil' => 'Gilbertese',
'gl' => 'Galician',
'gmh' => 'Middle High German',
'gn' => 'Guarani',
'goh' => 'Old High German',
'gon' => 'Gondi',
'gor' => 'Gorontalo',
'got' => 'Gothic',
'grb' => 'Grebo',
'grc' => 'Ancient Greek',
'gsw' => 'Swiss German',
'gu' => 'Gujarati',
'guz' => 'Gusii',
'gv' => 'Manx',
'gwi' => 'Gwichʼin',
'ha' => 'Hausa',
'hai' => 'Haida',
'haw' => 'Hawaiian',
'he' => 'Hebrew',
'hi' => 'Hindi',
'hil' => 'Hiligaynon',
'him' => 'Himachali',
'hit' => 'Hittite',
'hmn' => 'Hmong',
'ho' => 'Hiri Motu',
'hr' => 'Croatian',
'hsb' => 'Upper Sorbian',
'ht' => 'Haitian',
'hu' => 'Hungarian',
'hup' => 'Hupa',
'hy' => 'Armenian',
'hz' => 'Herero',
'ia' => 'Interlingua',
'iba' => 'Iban',
'ibb' => 'Ibibio',
'id' => 'Indonesian',
'ie' => 'Interlingue',
'ig' => 'Igbo',
'ii' => 'Sichuan Yi',
'ijo' => 'Ijo',
'ik' => 'Inupiaq',
'ilo' => 'Iloko',
'inc' => 'Indic Language',
'ine' => 'Indo-European Language',
'inh' => 'Ingush',
'io' => 'Ido',
'ira' => 'Iranian Language',
'iro' => 'Iroquoian Language',
'is' => 'Icelandic',
'it' => 'Italian',
'iu' => 'Inuktitut',
'ja' => 'Japanese',
'jbo' => 'Lojban',
'jgo' => 'Ngomba',
'jmc' => 'Machame',
'jpr' => 'Judeo-Persian',
'jrb' => 'Judeo-Arabic',
'jv' => 'Javanese',
'ka' => 'Georgian',
'kaa' => 'Kara-Kalpak',
'kab' => 'Kabyle',
'kac' => 'Kachin',
'kaj' => 'Jju',
'kam' => 'Kamba',
'kar' => 'Karen',
'kaw' => 'Kawi',
'kbd' => 'Kabardian',
'kbl' => 'Kanembu',
'kcg' => 'Tyap',
'kde' => 'Makonde',
'kea' => 'Kabuverdianu',
'kfo' => 'Koro',
'kg' => 'Kongo',
'kha' => 'Khasi',
'khi' => 'Khoisan Language',
'kho' => 'Khotanese',
'khq' => 'Koyra Chiini',
'ki' => 'Kikuyu',
'kj' => 'Kuanyama',
'kk' => 'Kazakh',
'kkj' => 'Kako',
'kl' => 'Kalaallisut',
'kln' => 'Kalenjin',
'km' => 'Khmer',
'kmb' => 'Kimbundu',
'kn' => 'Kannada',
'ko' => 'Korean',
'kok' => 'Konkani',
'kos' => 'Kosraean',
'kpe' => 'Kpelle',
'kr' => 'Kanuri',
'krc' => 'Karachay-Balkar',
'krl' => 'Karelian',
'kro' => 'Kru',
'kru' => 'Kurukh',
'ks' => 'Kashmiri',
'ksb' => 'Shambala',
'ksf' => 'Bafia',
'ksh' => 'Colognian',
'ku' => 'Kurdish',
'kum' => 'Kumyk',
'kut' => 'Kutenai',
'kv' => 'Komi',
'kw' => 'Cornish',
'ky' => 'Kirghiz',
'la' => 'Latin',
'lad' => 'Ladino',
'lag' => 'Langi',
'lah' => 'Lahnda',
'lam' => 'Lamba',
'lb' => 'Luxembourgish',
'lez' => 'Lezghian',
'lg' => 'Ganda',
'li' => 'Limburgish',
'ln' => 'Lingala',
'lo' => 'Lao',
'lol' => 'Mongo',
'loz' => 'Lozi',
'lt' => 'Lithuanian',
'lu' => 'Luba-Katanga',
'lua' => 'Luba-Lulua',
'lui' => 'Luiseno',
'lun' => 'Lunda',
'luo' => 'Luo',
'lus' => 'Mizo',
'luy' => 'Luyia',
'lv' => 'Latvian',
'mad' => 'Madurese',
'maf' => 'Mafa',
'mag' => 'Magahi',
'mai' => 'Maithili',
'mak' => 'Makasar',
'man' => 'Mandingo',
'map' => 'Austronesian Language',
'mas' => 'Masai',
'mde' => 'Maba',
'mdf' => 'Moksha',
'mdr' => 'Mandar',
'men' => 'Mende',
'mer' => 'Meru',
'mfe' => 'Morisyen',
'mg' => 'Malagasy',
'mga' => 'Middle Irish',
'mgh' => 'Makhuwa-Meetto',
'mgo' => 'Meta\'',
'mh' => 'Marshallese',
'mi' => 'Maori',
'mic' => 'Micmac',
'min' => 'Minangkabau',
'mis' => 'Miscellaneous Language',
'mk' => 'Macedonian',
'mkh' => 'Mon-Khmer Language',
'ml' => 'Malayalam',
'mn' => 'Mongolian',
'mnc' => 'Manchu',
'mni' => 'Manipuri',
'mno' => 'Manobo Language',
'mo' => 'Moldavian',
'moh' => 'Mohawk',
'mos' => 'Mossi',
'mr' => 'Marathi',
'ms' => 'Malay',
'mt' => 'Maltese',
'mua' => 'Mundang',
'mul' => 'Multiple Languages',
'mun' => 'Munda Language',
'mus' => 'Creek',
'mwl' => 'Mirandese',
'mwr' => 'Marwari',
'my' => 'Burmese',
'mye' => 'Myene',
'myn' => 'Mayan Language',
'myv' => 'Erzya',
'na' => 'Nauru',
'nah' => 'Nahuatl',
'nai' => 'North American Indian Language',
'nap' => 'Neapolitan',
'naq' => 'Nama',
'nb' => 'Norwegian Bokmål',
'nd' => 'North Ndebele',
'nds' => 'Low German',
'ne' => 'Nepali',
'new' => 'Newari',
'ng' => 'Ndonga',
'nia' => 'Nias',
'nic' => 'Niger-Kordofanian Language',
'niu' => 'Niuean',
'nl' => 'Dutch',
'nl-be' => 'Flemish',
'nmg' => 'Kwasio',
'nn' => 'Norwegian Nynorsk',
'nnh' => 'Ngiemboon',
'no' => 'Norwegian',
'nog' => 'Nogai',
'non' => 'Old Norse',
'nqo' => 'N’Ko',
'nr' => 'South Ndebele',
'nso' => 'Northern Sotho',
'nub' => 'Nubian Language',
'nus' => 'Nuer',
'nv' => 'Navajo',
'nwc' => 'Classical Newari',
'ny' => 'Nyanja',
'nym' => 'Nyamwezi',
'nyn' => 'Nyankole',
'nyo' => 'Nyoro',
'nzi' => 'Nzima',
'oc' => 'Occitan',
'oj' => 'Ojibwa',
'om' => 'Oromo',
'or' => 'Oriya',
'os' => 'Ossetic',
'osa' => 'Osage',
'ota' => 'Ottoman Turkish',
'oto' => 'Otomian Language',
'pa' => 'Punjabi',
'paa' => 'Papuan Language',
'pag' => 'Pangasinan',
'pal' => 'Pahlavi',
'pam' => 'Pampanga',
'pap' => 'Papiamento',
'pau' => 'Palauan',
'peo' => 'Old Persian',
'phi' => 'Philippine Language',
'phn' => 'Phoenician',
'pi' => 'Pali',
'pl' => 'Polish',
'pon' => 'Pohnpeian',
'pra' => 'Prakrit Language',
'pro' => 'Old Provençal',
'ps' => 'Pashto',
'pt' => 'Portuguese',
'pt-br' => 'Brazilian Portuguese',
'pt-pt' => 'European Portuguese',
'qu' => 'Quechua',
'raj' => 'Rajasthani',
'rap' => 'Rapanui',
'rar' => 'Rarotongan',
'rm' => 'Romansh',
'rn' => 'Rundi',
'ro' => 'Romanian',
'roa' => 'Romance Language',
'rof' => 'Rombo',
'rom' => 'Romany',
'ru' => 'Russian',
'rup' => 'Aromanian',
'rw' => 'Kinyarwanda',
'rwk' => 'Rwa',
'sa' => 'Sanskrit',
'sad' => 'Sandawe',
'sah' => 'Sakha',
'sai' => 'South American Indian Language',
'sal' => 'Salishan Language',
'sam' => 'Samaritan Aramaic',
'saq' => 'Samburu',
'sas' => 'Sasak',
'sat' => 'Santali',
'sba' => 'Ngambay',
'sbp' => 'Sangu',
'sc' => 'Sardinian',
'scn' => 'Sicilian',
'sco' => 'Scots',
'sd' => 'Sindhi',
'se' => 'Northern Sami',
'see' => 'Seneca',
'seh' => 'Sena',
'sel' => 'Selkup',
'sem' => 'Semitic Language',
'ses' => 'Koyraboro Senni',
'sg' => 'Sango',
'sga' => 'Old Irish',
'sgn' => 'Sign Language',
'sh' => 'Serbo-Croatian',
'shi' => 'Tachelhit',
'shn' => 'Shan',
'shu' => 'Chadian Arabic',
'si' => 'Sinhala',
'sid' => 'Sidamo',
'sio' => 'Siouan Language',
'sit' => 'Sino-Tibetan Language',
'sk' => 'Slovak',
'sl' => 'Slovenian',
'sla' => 'Slavic Language',
'sm' => 'Samoan',
'sma' => 'Southern Sami',
'smi' => 'Sami Language',
'smj' => 'Lule Sami',
'smn' => 'Inari Sami',
'sms' => 'Skolt Sami',
'sn' => 'Shona',
'snk' => 'Soninke',
'so' => 'Somali',
'sog' => 'Sogdien',
'son' => 'Songhai',
'sq' => 'Albanian',
'sr' => 'Serbian',
'srn' => 'Sranan Tongo',
'srr' => 'Serer',
'ss' => 'Swati',
'ssa' => 'Nilo-Saharan Language',
'ssy' => 'Saho',
'st' => 'Southern Sotho',
'su' => 'Sundanese',
'suk' => 'Sukuma',
'sus' => 'Susu',
'sux' => 'Sumerian',
'sv' => 'Swedish',
'sw' => 'Swahili',
'swb' => 'Comorian',
'swc' => 'Congo Swahili',
'syc' => 'Classical Syriac',
'syr' => 'Syriac',
'ta' => 'Tamil',
'tai' => 'Tai Language',
'te' => 'Telugu',
'tem' => 'Timne',
'teo' => 'Teso',
'ter' => 'Tereno',
'tet' => 'Tetum',
'tg' => 'Tajik',
'th' => 'Thai',
'ti' => 'Tigrinya',
'tig' => 'Tigre',
'tiv' => 'Tiv',
'tk' => 'Turkmen',
'tkl' => 'Tokelau',
'tl' => 'Tagalog',
'tlh' => 'Klingon',
'tli' => 'Tlingit',
'tmh' => 'Tamashek',
'tn' => 'Tswana',
'to' => 'Tongan',
'tog' => 'Nyasa Tonga',
'tpi' => 'Tok Pisin',
'tr' => 'Turkish',
'trv' => 'Taroko',
'ts' => 'Tsonga',
'tsi' => 'Tsimshian',
'tt' => 'Tatar',
'tum' => 'Tumbuka',
'tup' => 'Tupi Language',
'tut' => 'Altaic Language',
'tvl' => 'Tuvalu',
'tw' => 'Twi',
'twq' => 'Tasawaq',
'ty' => 'Tahitian',
'tyv' => 'Tuvinian',
'tzm' => 'Central Atlas Tamazight',
'udm' => 'Udmurt',
'ug' => 'Uighur',
'uga' => 'Ugaritic',
'uk' => 'Ukrainian',
'umb' => 'Umbundu',
'und' => 'Unknown Language',
'ur' => 'Urdu',
'uz' => 'Uzbek',
'vai' => 'Vai',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'vot' => 'Votic',
'vun' => 'Vunjo',
'wa' => 'Walloon',
'wae' => 'Walser',
'wak' => 'Wakashan Language',
'wal' => 'Wolaytta',
'war' => 'Waray',
'was' => 'Washo',
'wen' => 'Sorbian Language',
'wo' => 'Wolof',
'xal' => 'Kalmyk',
'xh' => 'Xhosa',
'xog' => 'Soga',
'yao' => 'Yao',
'yap' => 'Yapese',
'yav' => 'Yangben',
'ybb' => 'Yemba',
'yi' => 'Yiddish',
'yo' => 'Yoruba',
'ypk' => 'Yupik Language',
'yue' => 'Cantonese',
'za' => 'Zhuang',
'zap' => 'Zapotec',
'zbl' => 'Blissymbols',
'zen' => 'Zenaga',
'zh' => 'Chinese',
'zh-hans' => 'Simplified Chinese',
'zh-hant' => 'Traditional Chinese',
'znd' => 'Zande',
'zu' => 'Zulu',
'zun' => 'Zuni',
'zxx' => 'No linguistic content',
'zza' => 'Zaza',
);

$currencyNames = array(
'ADP' => 'Andorran Peseta',
'AED' => 'United Arab Emirates Dirham',
'AFA' => 'Afghan Afghani (1927-2002)',
'AFN' => 'Afghan Afghani',
'ALK' => 'Albanian Lek (1946-1965)',
'ALL' => 'Albanian Lek',
'AMD' => 'Armenian Dram',
'ANG' => 'Netherlands Antillean Guilder',
'AOA' => 'Angolan Kwanza',
'AOK' => 'Angolan Kwanza (1977-1991)',
'AON' => 'Angolan New Kwanza (1990-2000)',
'AOR' => 'Angolan Readjusted Kwanza (1995-1999)',
'ARA' => 'Argentine Austral',
'ARL' => 'Argentine Peso Ley (1970-1983)',
'ARM' => 'Argentine Peso (1881-1970)',
'ARP' => 'Argentine Peso (1983-1985)',
'ARS' => 'Argentine Peso',
'ATS' => 'Austrian Schilling',
'AUD' => 'Australian Dollar',
'AWG' => 'Aruban Florin',
'AZM' => 'Azerbaijani Manat (1993-2006)',
'AZN' => 'Azerbaijani Manat',
'BAD' => 'Bosnia-Herzegovina Dinar (1992-1994)',
'BAM' => 'Bosnia-Herzegovina Convertible Mark',
'BAN' => 'Bosnia-Herzegovina New Dinar (1994-1997)',
'BBD' => 'Barbadian Dollar',
'BDT' => 'Bangladeshi Taka',
'BEC' => 'Belgian Franc (convertible)',
'BEF' => 'Belgian Franc',
'BEL' => 'Belgian Franc (financial)',
'BGL' => 'Bulgarian Hard Lev',
'BGM' => 'Bulgarian Socialist Lev',
'BGN' => 'Bulgarian Lev',
'BGO' => 'Bulgarian Lev (1879-1952)',
'BHD' => 'Bahraini Dinar',
'BIF' => 'Burundian Franc',
'BMD' => 'Bermudan Dollar',
'BND' => 'Brunei Dollar',
'BOB' => 'Bolivian Boliviano',
'BOL' => 'Bolivian Boliviano (1863-1963)',
'BOP' => 'Bolivian Peso',
'BOV' => 'Bolivian Mvdol',
'BRB' => 'Brazilian New Cruzeiro (1967-1986)',
'BRC' => 'Brazilian Cruzado (1986-1989)',
'BRE' => 'Brazilian Cruzeiro (1990-1993)',
'BRL' => 'Brazilian Real',
'BRN' => 'Brazilian New Cruzado (1989-1990)',
'BRR' => 'Brazilian Cruzeiro (1993-1994)',
'BRZ' => 'Brazilian Cruzeiro (1942-1967)',
'BSD' => 'Bahamian Dollar',
'BTN' => 'Bhutanese Ngultrum',
'BUK' => 'Burmese Kyat',
'BWP' => 'Botswanan Pula',
'BYB' => 'Belarusian New Ruble (1994-1999)',
'BYR' => 'Belarusian Ruble',
'BZD' => 'Belize Dollar',
'CAD' => 'Canadian Dollar',
'CDF' => 'Congolese Franc',
'CHE' => 'WIR Euro',
'CHF' => 'Swiss Franc',
'CHW' => 'WIR Franc',
'CLE' => 'Chilean Escudo',
'CLF' => 'Chilean Unit of Account (UF)',
'CLP' => 'Chilean Peso',
'CNX' => 'Chinese People’s Bank Dollar',
'CNY' => 'Chinese Yuan',
'COP' => 'Colombian Peso',
'COU' => 'Colombian Real Value Unit',
'CRC' => 'Costa Rican Colón',
'CSD' => 'Serbian Dinar (2002-2006)',
'CSK' => 'Czechoslovak Hard Koruna',
'CUC' => 'Cuban Convertible Peso',
'CUP' => 'Cuban Peso',
'CVE' => 'Cape Verdean Escudo',
'CYP' => 'Cypriot Pound',
'CZK' => 'Czech Republic Koruna',
'DDM' => 'East German Mark',
'DEM' => 'German Mark',
'DJF' => 'Djiboutian Franc',
'DKK' => 'Danish Krone',
'DOP' => 'Dominican Peso',
'DZD' => 'Algerian Dinar',
'ECS' => 'Ecuadorian Sucre',
'ECV' => 'Ecuadorian Unit of Constant Value',
'EEK' => 'Estonian Kroon',
'EGP' => 'Egyptian Pound',
'ERN' => 'Eritrean Nakfa',
'ESA' => 'Spanish Peseta (A account)',
'ESB' => 'Spanish Peseta (convertible account)',
'ESP' => 'Spanish Peseta',
'ETB' => 'Ethiopian Birr',
'EUR' => 'Euro',
'FIM' => 'Finnish Markka',
'FJD' => 'Fijian Dollar',
'FKP' => 'Falkland Islands Pound',
'FRF' => 'French Franc',
'GBP' => 'British Pound Sterling',
'GEK' => 'Georgian Kupon Larit',
'GEL' => 'Georgian Lari',
'GHC' => 'Ghanaian Cedi (1979-2007)',
'GHS' => 'Ghanaian Cedi',
'GIP' => 'Gibraltar Pound',
'GMD' => 'Gambian Dalasi',
'GNF' => 'Guinean Franc',
'GNS' => 'Guinean Syli',
'GQE' => 'Equatorial Guinean Ekwele',
'GRD' => 'Greek Drachma',
'GTQ' => 'Guatemalan Quetzal',
'GWE' => 'Portuguese Guinea Escudo',
'GWP' => 'Guinea-Bissau Peso',
'GYD' => 'Guyanaese Dollar',
'HKD' => 'Hong Kong Dollar',
'HNL' => 'Honduran Lempira',
'HRD' => 'Croatian Dinar',
'HRK' => 'Croatian Kuna',
'HTG' => 'Haitian Gourde',
'HUF' => 'Hungarian Forint',
'IDR' => 'Indonesian Rupiah',
'IEP' => 'Irish Pound',
'ILP' => 'Israeli Pound',
'ILR' => 'Israeli Sheqel (1980-1985)',
'ILS' => 'Israeli New Sheqel',
'INR' => 'Indian Rupee',
'IQD' => 'Iraqi Dinar',
'IRR' => 'Iranian Rial',
'ISJ' => 'Icelandic Króna (1918-1981)',
'ISK' => 'Icelandic Króna',
'ITL' => 'Italian Lira',
'JMD' => 'Jamaican Dollar',
'JOD' => 'Jordanian Dinar',
'JPY' => 'Japanese Yen',
'KES' => 'Kenyan Shilling',
'KGS' => 'Kyrgystani Som',
'KHR' => 'Cambodian Riel',
'KMF' => 'Comorian Franc',
'KPW' => 'North Korean Won',
'KRH' => 'South Korean Hwan (1953-1962)',
'KRO' => 'South Korean Won (1945-1953)',
'KRW' => 'South Korean Won',
'KWD' => 'Kuwaiti Dinar',
'KYD' => 'Cayman Islands Dollar',
'KZT' => 'Kazakhstani Tenge',
'LAK' => 'Laotian Kip',
'LBP' => 'Lebanese Pound',
'LKR' => 'Sri Lankan Rupee',
'LRD' => 'Liberian Dollar',
'LSL' => 'Lesotho Loti',
'LTL' => 'Lithuanian Litas',
'LTT' => 'Lithuanian Talonas',
'LUC' => 'Luxembourgian Convertible Franc',
'LUF' => 'Luxembourgian Franc',
'LUL' => 'Luxembourg Financial Franc',
'LVL' => 'Latvian Lats',
'LVR' => 'Latvian Ruble',
'LYD' => 'Libyan Dinar',
'MAD' => 'Moroccan Dirham',
'MAF' => 'Moroccan Franc',
'MCF' => 'Monegasque Franc',
'MDC' => 'Moldovan Cupon',
'MDL' => 'Moldovan Leu',
'MGA' => 'Malagasy Ariary',
'MGF' => 'Malagasy Franc',
'MKD' => 'Macedonian Denar',
'MKN' => 'Macedonian Denar (1992-1993)',
'MLF' => 'Malian Franc',
'MMK' => 'Myanma Kyat',
'MNT' => 'Mongolian Tugrik',
'MOP' => 'Macanese Pataca',
'MRO' => 'Mauritanian Ouguiya',
'MTL' => 'Maltese Lira',
'MTP' => 'Maltese Pound',
'MUR' => 'Mauritian Rupee',
'MVP' => 'Maldivian Rupee',
'MVR' => 'Maldivian Rufiyaa',
'MWK' => 'Malawian Kwacha',
'MXN' => 'Mexican Peso',
'MXP' => 'Mexican Silver Peso (1861-1992)',
'MXV' => 'Mexican Investment Unit',
'MYR' => 'Malaysian Ringgit',
'MZE' => 'Mozambican Escudo',
'MZM' => 'Mozambican Metical (1980-2006)',
'MZN' => 'Mozambican Metical',
'NAD' => 'Namibian Dollar',
'NGN' => 'Nigerian Naira',
'NIC' => 'Nicaraguan Córdoba (1988-1991)',
'NIO' => 'Nicaraguan Córdoba',
'NLG' => 'Dutch Guilder',
'NOK' => 'Norwegian Krone',
'NPR' => 'Nepalese Rupee',
'NZD' => 'New Zealand Dollar',
'OMR' => 'Omani Rial',
'PAB' => 'Panamanian Balboa',
'PEI' => 'Peruvian Inti',
'PEN' => 'Peruvian Nuevo Sol',
'PES' => 'Peruvian Sol (1863-1965)',
'PGK' => 'Papua New Guinean Kina',
'PHP' => 'Philippine Peso',
'PKR' => 'Pakistani Rupee',
'PLN' => 'Polish Zloty',
'PLZ' => 'Polish Zloty (1950-1995)',
'PTE' => 'Portuguese Escudo',
'PYG' => 'Paraguayan Guarani',
'QAR' => 'Qatari Rial',
'RHD' => 'Rhodesian Dollar',
'ROL' => 'Romanian Leu (1952-2006)',
'RON' => 'Romanian Leu',
'RSD' => 'Serbian Dinar',
'RUB' => 'Russian Ruble',
'RUR' => 'Russian Ruble (1991-1998)',
'RWF' => 'Rwandan Franc',
'SAR' => 'Saudi Riyal',
'SBD' => 'Solomon Islands Dollar',
'SCR' => 'Seychellois Rupee',
'SDD' => 'Sudanese Dinar (1992-2007)',
'SDG' => 'Sudanese Pound',
'SDP' => 'Sudanese Pound (1957-1998)',
'SEK' => 'Swedish Krona',
'SGD' => 'Singapore Dollar',
'SHP' => 'Saint Helena Pound',
'SIT' => 'Slovenian Tolar',
'SKK' => 'Slovak Koruna',
'SLL' => 'Sierra Leonean Leone',
'SOS' => 'Somali Shilling',
'SRD' => 'Surinamese Dollar',
'SRG' => 'Surinamese Guilder',
'SSP' => 'South Sudanese Pound',
'STD' => 'São Tomé and Príncipe Dobra',
'SUR' => 'Soviet Rouble',
'SVC' => 'Salvadoran Colón',
'SYP' => 'Syrian Pound',
'SZL' => 'Swazi Lilangeni',
'THB' => 'Thai Baht',
'TJR' => 'Tajikistani Ruble',
'TJS' => 'Tajikistani Somoni',
'TMM' => 'Turkmenistani Manat (1993-2009)',
'TMT' => 'Turkmenistani Manat',
'TND' => 'Tunisian Dinar',
'TOP' => 'Tongan Paʻanga',
'TPE' => 'Timorese Escudo',
'TRL' => 'Turkish Lira (1922-2005)',
'TRY' => 'Turkish Lira',
'TTD' => 'Trinidad and Tobago Dollar',
'TWD' => 'New Taiwan Dollar',
'TZS' => 'Tanzanian Shilling',
'UAH' => 'Ukrainian Hryvnia',
'UAK' => 'Ukrainian Karbovanets',
'UGS' => 'Ugandan Shilling (1966-1987)',
'UGX' => 'Ugandan Shilling',
'USD' => 'US Dollar',
'USN' => 'US Dollar (Next day)',
'USS' => 'US Dollar (Same day)',
'UYI' => 'Uruguayan Peso (Indexed Units)',
'UYP' => 'Uruguayan Peso (1975-1993)',
'UYU' => 'Uruguayan Peso',
'UZS' => 'Uzbekistan Som',
'VEB' => 'Venezuelan Bolívar (1871-2008)',
'VEF' => 'Venezuelan Bolívar',
'VND' => 'Vietnamese Dong',
'VNN' => 'Vietnamese Dong (1978-1985)',
'VUV' => 'Vanuatu Vatu',
'WST' => 'Samoan Tala',
'XAF' => 'CFA Franc BEAC',
'XAG' => 'Silver',
'XAU' => 'Gold',
'XBA' => 'European Composite Unit',
'XBB' => 'European Monetary Unit',
'XBC' => 'European Unit of Account (XBC)',
'XBD' => 'European Unit of Account (XBD)',
'XCD' => 'East Caribbean Dollar',
'XDR' => 'Special Drawing Rights',
'XEU' => 'European Currency Unit',
'XFO' => 'French Gold Franc',
'XFU' => 'French UIC-Franc',
'XOF' => 'CFA Franc BCEAO',
'XPD' => 'Palladium',
'XPF' => 'CFP Franc',
'XPT' => 'Platinum',
'XRE' => 'RINET Funds',
'XSU' => 'Sucre',
'XTS' => 'Testing Currency Code',
'XUA' => 'ADB Unit of Account',
'XXX' => 'Unknown Currency',
'YDD' => 'Yemeni Dinar',
'YER' => 'Yemeni Rial',
'YUD' => 'Yugoslavian Hard Dinar (1966-1990)',
'YUM' => 'Yugoslavian New Dinar (1994-2002)',
'YUN' => 'Yugoslavian Convertible Dinar (1990-1992)',
'YUR' => 'Yugoslavian Reformed Dinar (1992-1993)',
'ZAL' => 'South African Rand (financial)',
'ZAR' => 'South African Rand',
'ZMK' => 'Zambian Kwacha',
'ZRN' => 'Zairean New Zaire (1993-1998)',
'ZRZ' => 'Zairean Zaire (1971-1993)',
'ZWD' => 'Zimbabwean Dollar (1980-2008)',
'ZWL' => 'Zimbabwean Dollar (2009)',
'ZWR' => 'Zimbabwean Dollar (2008)',
);

$countryNames = array(
'AC' => 'Ascension Island',
'AD' => 'Andorra',
'AE' => 'United Arab Emirates',
'AF' => 'Afghanistan',
'AG' => 'Antigua and Barbuda',
'AI' => 'Anguilla',
'AL' => 'Albania',
'AM' => 'Armenia',
'AN' => 'Netherlands Antilles',
'AO' => 'Angola',
'AQ' => 'Antarctica',
'AR' => 'Argentina',
'AS' => 'American Samoa',
'AT' => 'Austria',
'AU' => 'Australia',
'AW' => 'Aruba',
'AX' => 'Åland Islands',
'AZ' => 'Azerbaijan',
'BA' => 'Bosnia and Herzegovina',
'BB' => 'Barbados',
'BD' => 'Bangladesh',
'BE' => 'Belgium',
'BF' => 'Burkina Faso',
'BG' => 'Bulgaria',
'BH' => 'Bahrain',
'BI' => 'Burundi',
'BJ' => 'Benin',
'BL' => 'Saint Barthélemy',
'BM' => 'Bermuda',
'BN' => 'Brunei',
'BO' => 'Bolivia',
'BQ' => 'Caribbean Netherlands',
'BR' => 'Brazil',
'BS' => 'Bahamas',
'BT' => 'Bhutan',
'BV' => 'Bouvet Island',
'BW' => 'Botswana',
'BY' => 'Belarus',
'BZ' => 'Belize',
'CA' => 'Canada',
'CC' => 'Cocos [Keeling] Islands',
'CD' => 'Congo - Kinshasa',
'CF' => 'Central African Republic',
'CG' => 'Congo - Brazzaville',
'CH' => 'Switzerland',
'CI' => 'Côte d’Ivoire',
'CK' => 'Cook Islands',
'CL' => 'Chile',
'CM' => 'Cameroon',
'CN' => 'China',
'CO' => 'Colombia',
'CP' => 'Clipperton Island',
'CR' => 'Costa Rica',
'CU' => 'Cuba',
'CV' => 'Cape Verde',
'CW' => 'Curaçao',
'CX' => 'Christmas Island',
'CY' => 'Cyprus',
'CZ' => 'Czech Republic',
'DE' => 'Germany',
'DG' => 'Diego Garcia',
'DJ' => 'Djibouti',
'DK' => 'Denmark',
'DM' => 'Dominica',
'DO' => 'Dominican Republic',
'DZ' => 'Algeria',
'EA' => 'Ceuta and Melilla',
'EC' => 'Ecuador',
'EE' => 'Estonia',
'EG' => 'Egypt',
'EH' => 'Western Sahara',
'ER' => 'Eritrea',
'ES' => 'Spain',
'ET' => 'Ethiopia',
'EU' => 'European Union',
'FI' => 'Finland',
'FJ' => 'Fiji',
'FK' => 'Falkland Islands',
'FM' => 'Micronesia',
'FO' => 'Faroe Islands',
'FR' => 'France',
'GA' => 'Gabon',
'GB' => 'United Kingdom',
'GD' => 'Grenada',
'GE' => 'Georgia',
'GF' => 'French Guiana',
'GG' => 'Guernsey',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GL' => 'Greenland',
'GM' => 'Gambia',
'GN' => 'Guinea',
'GP' => 'Guadeloupe',
'GQ' => 'Equatorial Guinea',
'GR' => 'Greece',
'GS' => 'South Georgia and the South Sandwich Islands',
'GT' => 'Guatemala',
'GU' => 'Guam',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HK' => 'Hong Kong SAR China',
'HK' => 'Hong Kong',
'HM' => 'Heard Island and McDonald Islands',
'HN' => 'Honduras',
'HR' => 'Croatia',
'HT' => 'Haiti',
'HU' => 'Hungary',
'IC' => 'Canary Islands',
'ID' => 'Indonesia',
'IE' => 'Ireland',
'IL' => 'Israel',
'IM' => 'Isle of Man',
'IN' => 'India',
'IO' => 'British Indian Ocean Territory',
'IQ' => 'Iraq',
'IR' => 'Iran',
'IS' => 'Iceland',
'IT' => 'Italy',
'JE' => 'Jersey',
'JM' => 'Jamaica',
'JO' => 'Jordan',
'JP' => 'Japan',
'KE' => 'Kenya',
'KG' => 'Kyrgyzstan',
'KH' => 'Cambodia',
'KI' => 'Kiribati',
'KM' => 'Comoros',
'KN' => 'Saint Kitts and Nevis',
'KP' => 'North Korea',
'KR' => 'South Korea',
'KW' => 'Kuwait',
'KY' => 'Cayman Islands',
'KZ' => 'Kazakhstan',
'LA' => 'Laos',
'LB' => 'Lebanon',
'LC' => 'Saint Lucia',
'LI' => 'Liechtenstein',
'LK' => 'Sri Lanka',
'LR' => 'Liberia',
'LS' => 'Lesotho',
'LT' => 'Lithuania',
'LU' => 'Luxembourg',
'LV' => 'Latvia',
'LY' => 'Libya',
'MA' => 'Morocco',
'MC' => 'Monaco',
'MD' => 'Moldova',
'ME' => 'Montenegro',
'MF' => 'Saint Martin',
'MG' => 'Madagascar',
'MH' => 'Marshall Islands',
'MK' => 'Macedonia',
'ML' => 'Mali',
'MM' => 'Myanmar [Burma]',
'MN' => 'Mongolia',
'MO' => 'Macau SAR China',
'MO' => 'Macau',
'MP' => 'Northern Mariana Islands',
'MQ' => 'Martinique',
'MR' => 'Mauritania',
'MS' => 'Montserrat',
'MT' => 'Malta',
'MU' => 'Mauritius',
'MV' => 'Maldives',
'MW' => 'Malawi',
'MX' => 'Mexico',
'MY' => 'Malaysia',
'MZ' => 'Mozambique',
'NA' => 'Namibia',
'NC' => 'New Caledonia',
'NE' => 'Niger',
'NF' => 'Norfolk Island',
'NG' => 'Nigeria',
'NI' => 'Nicaragua',
'NL' => 'Netherlands',
'NO' => 'Norway',
'NP' => 'Nepal',
'NR' => 'Nauru',
'NU' => 'Niue',
'NZ' => 'New Zealand',
'OM' => 'Oman',
'PA' => 'Panama',
'PE' => 'Peru',
'PF' => 'French Polynesia',
'PG' => 'Papua New Guinea',
'PH' => 'Philippines',
'PK' => 'Pakistan',
'PL' => 'Poland',
'PM' => 'Saint Pierre and Miquelon',
'PN' => 'Pitcairn Islands',
'PR' => 'Puerto Rico',
'PS' => 'Palestinian Territories',
'PT' => 'Portugal',
'PW' => 'Palau',
'PY' => 'Paraguay',
'QA' => 'Qatar',
'QO' => 'Outlying Oceania',
'RE' => 'Réunion',
'RO' => 'Romania',
'RS' => 'Serbia',
'RU' => 'Russia',
'RW' => 'Rwanda',
'SA' => 'Saudi Arabia',
'SB' => 'Solomon Islands',
'SC' => 'Seychelles',
'SD' => 'Sudan',
'SE' => 'Sweden',
'SG' => 'Singapore',
'SH' => 'Saint Helena',
'SI' => 'Slovenia',
'SJ' => 'Svalbard and Jan Mayen',
'SK' => 'Slovakia',
'SL' => 'Sierra Leone',
'SM' => 'San Marino',
'SN' => 'Senegal',
'SO' => 'Somalia',
'SR' => 'Suriname',
'SS' => 'South Sudan',
'ST' => 'São Tomé and Príncipe',
'SV' => 'El Salvador',
'SX' => 'Sint Maarten',
'SY' => 'Syria',
'SZ' => 'Swaziland',
'TA' => 'Tristan da Cunha',
'TC' => 'Turks and Caicos Islands',
'TD' => 'Chad',
'TF' => 'French Southern Territories',
'TG' => 'Togo',
'TH' => 'Thailand',
'TJ' => 'Tajikistan',
'TK' => 'Tokelau',
'TL' => 'Timor-Leste',
'TM' => 'Turkmenistan',
'TN' => 'Tunisia',
'TO' => 'Tonga',
'TR' => 'Turkey',
'TT' => 'Trinidad and Tobago',
'TV' => 'Tuvalu',
'TW' => 'Taiwan',
'TZ' => 'Tanzania',
'UA' => 'Ukraine',
'UG' => 'Uganda',
'UM' => 'U.S. Outlying Islands',
'US' => 'United States',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistan',
'VA' => 'Vatican City',
'VC' => 'Saint Vincent and the Grenadines',
'VE' => 'Venezuela',
'VG' => 'British Virgin Islands',
'VI' => 'U.S. Virgin Islands',
'VN' => 'Vietnam',
'VU' => 'Vanuatu',
'WF' => 'Wallis and Futuna',
'WS' => 'Samoa',
'YE' => 'Yemen',
'YT' => 'Mayotte',
'ZA' => 'South Africa',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe',
);
