<?php
$countrynames = array (
  'en' => 
  array (
    'AF' => 'Afghanistan',
    'AL' => 'Albania',
    'AS' => 'American Samoa',
    'AD' => 'Andorra',
    'AO' => 'Angola',
    'AI' => 'Anguilla',
    'AQ' => 'Antarctica',
    'AG' => 'Antigua and Barbuda',
    'AR' => 'Argentina',
    'AM' => 'Armenia',
    'AW' => 'Aruba',
    'AT' => 'Austria',
    'AU' => 'Australia',
    'AZ' => 'Azerbaijan',
    'BS' => 'Bahamas',
    'BH' => 'Bahrain',
    'BD' => 'Bangladesh',
    'BB' => 'Barbados',
    'BY' => 'Belarus',
    'BE' => 'Belgium',
    'BZ' => 'Belize',
    'BJ' => 'Benin',
    'BM' => 'Bermuda',
    'BT' => 'Bhutan',
    'BO' => 'Bolivia',
    'BA' => 'Bosnia and Herzegovina',
    'BW' => 'Botswana',
    'BV' => 'Bouvet Island',
    'BR' => 'Brazil',
    'BN' => 'Brunei Darussalam',
    'BG' => 'Bulgaria',
    'BF' => 'Burkina Faso',
    'BI' => 'Burundi',
    'KH' => 'Cambodia',
    'CM' => 'Cameroon',
    'CA' => 'Canada',
    'CV' => 'Cape Verde',
    'KY' => 'Cayman Islands',
    'CF' => 'Central African Republic',
    'TD' => 'Chad',
    'CL' => 'Chile',
    'CN' => 'China',
    'CO' => 'Colombia',
    'KM' => 'Comoros',
    'CG' => 'Congo',
    'CD' => 'Democratic Republic Of The Congo',
    'CK' => 'Cook Islands',
    'CR' => 'Costa Rica',
    'CI' => 'Côte d\'Ivoire',
    'HR' => 'Croatia',
    'CU' => 'Cuba',
    'CZ' => 'Czech Republic',
    'DK' => 'Denmark',
    'DJ' => 'Djibouti',
    'DO' => 'Dominican Republic',
    'TP' => 'East Timor',
    'EC' => 'Ecuador',
    'EG' => 'Egypt',
    'SV' => 'El salvador',
    'GQ' => 'Equatorial Guinea',
    'ER' => 'Eritrea',
    'EE' => 'Estonia',
    'ET' => 'Ethiopia',
    'FK' => 'Falkland Islands',
    'FO' => 'Faroe Islands',
    'FJ' => 'Fiji',
    'FI' => 'Finland',
    'FR' => 'France',
    'GF' => 'French Guiana',
    'PF' => 'French Polynesia',
    'GA' => 'Gabon',
    'GM' => 'Gambia',
    'GE' => 'Georgia',
    'GW' => 'Guinea-Bissau',
    'DE' => 'Germany',
    'GH' => 'Ghana',
    'GI' => 'Gibraltar',
    'GR' => 'Greece',
    'GL' => 'Greenland',
    'GD' => 'Grenada',
    'GP' => 'Guadeloupe',
    'GU' => 'Guam',
    'GT' => 'Guatemala',
    'GN' => 'Guinea',
    'GY' => 'Guyana',
    'HT' => 'Haiti',
    'VA' => 'Vatican',
    'HN' => 'Honduras',
    'HU' => 'Hungary',
    'IS' => 'Iceland',
    'IN' => 'India',
    'ID' => 'Indonesia',
    'IR' => 'Iran',
    'IQ' => 'Iraq',
    'IE' => 'Ireland',
    'IL' => 'Israel',
    'IT' => 'Italy',
    'JM' => 'Jamaica',
    'JP' => 'Japan',
    'JO' => 'Jordan',
    'KZ' => 'Kazakhstan',
    'KE' => 'Kenya',
    'KI' => 'Kiribati',
    'XK' => 'Kosovo',
    'KW' => 'Kuwait',
    'KG' => 'Kyrgystan',
    'LA' => 'Lao',
    'LV' => 'Latvia',
    'LB' => 'Lebanon',
    'LS' => 'Lesotho',
    'LI' => 'Liechtenstein',
    'LT' => 'Lithuania',
    'LU' => 'Luxembourg',
    'LY' => 'Libya',
    'MO' => 'Macau',
    'LR' => 'Liberia',
    'MK' => 'Macedonia ',
    'MG' => 'Madagascar',
    'MW' => 'Malawi',
    'MY' => 'Malaysia',
    'MV' => 'Maldives',
    'ML' => 'Mali',
    'MT' => 'Malta',
    'MR' => 'Mauritania',
    'MU' => 'Mauritius',
    'YT' => 'Mayotte',
    'MX' => 'Mexico',
    'FM' => 'Micronesia',
    'MD' => 'Moldova',
    'MC' => 'Monaco',
    'ME' => 'Montenegro',
    'MN' => 'Mongolia',
    'MS' => 'Montserrat',
    'MA' => 'Morocco',
    'MH' => 'Marshall Islands',
    'MZ' => 'Mozambique',
    'MM' => 'Myanmar',
    'NA' => 'Namibia',
    'NR' => 'Nauru',
    'NP' => 'Nepal',
    'NL' => 'Netherlands',
    'NZ' => 'New Zealand',
    'NI' => 'Nicaragua',
    'NE' => 'Niger',
    'NG' => 'Nigeria',
    'NU' => 'Niue',
    'NF' => 'Norfolk Island',
    'KP' => 'North Korea',
    'NO' => 'Norway',
    'OM' => 'Oman',
    'PK' => 'Pakistan',
    'PW' => 'Palau',
    'PA' => 'Panama',
    'PG' => 'Papua New Guinea',
    'PY' => 'Paraguay',
    'PE' => 'Peru',
    'PH' => 'Philippines',
    'PL' => 'Poland',
    'PT' => 'Portugal',
    'PR' => 'Puerto Rico',
    'RO' => 'Romania',
    'RU' => 'Russia',
    'RW' => 'Rwanda',
    'WS' => 'Samoa',
    'SM' => 'San Marino',
    'SA' => 'Saudi Arabia',
    'SN' => 'Senegal',
    'RS' => 'Serbia',
    'SC' => 'Seychelles',
    'SL' => 'Sierra Leone',
    'SG' => 'Singapore',
    'SK' => 'Slovakia',
    'SI' => 'Slovenia',
    'SB' => 'Solomon Islands',
    'SO' => 'Somalia',
    'ZA' => 'South Africa',
    'KR' => 'South Korea',
    'ES' => 'Spain',
    'LK' => 'Sri Lanka',
    'SD' => 'Sudan',
    'SS' => 'South Sudan',
    'SR' => 'Suriname',
    'SZ' => 'Swaziland',
    'SE' => 'Sweden',
    'CH' => 'Switzerland',
    'SY' => 'Syria',
    'TW' => 'Taiwan',
    'TJ' => 'Tajikistan',
    'TZ' => 'Tanzania',
    'TH' => 'Thailand',
    'TG' => 'Togo',
    'TO' => 'Tonga',
    'TT' => 'Trinidad and Tobago',
    'TN' => 'Tunisia',
    'TR' => 'Turkey',
    'TM' => 'Turkmenistan',
    'TV' => 'Tuvalu',
    'UG' => 'Uganda',
    'UA' => 'Ukraine',
    'AE' => 'United Arab Emirates',
    'GB' => 'United Kingdom',
    'US' => 'United States of America',
    'UY' => 'Uruguay',
    'UZ' => 'Uzbekistan',
    'VU' => 'Vanuatu',
    'VE' => 'Venezuela',
    'VN' => 'Vietnam',
    'VG' => 'Virgin Islands',
    'EH' => 'Western Sahara',
    'YE' => 'Yemen',
    'YU' => 'Yugoslavia',
    'ZR' => 'Zaire',
    'ZM' => 'Zambia',
    'ZW' => 'Zimbabwe',
  ),
  'de' => 
  array (
    'AF' => 'Afghanistan',
    'AL' => 'Albanien',
    'AS' => 'Amerikanisch Samoa',
    'AD' => 'Andorra',
    'AO' => 'Angola',
    'AI' => 'Anguilla',
    'AQ' => 'Antarktis',
    'AG' => 'Antigua und Barbuda',
    'AR' => 'Argentinien',
    'AM' => 'Armenien',
    'AW' => 'Aruba',
    'AT' => 'Österreich',
    'AU' => 'Australien',
    'AZ' => 'Aserbaidschan',
    'BS' => 'Bahamas',
    'BH' => 'Bahrain',
    'BD' => 'Bangladesh',
    'BB' => 'Barbados',
    'BY' => 'Weißrussland',
    'BE' => 'Belgien',
    'BZ' => 'Belize',
    'BJ' => 'Benin',
    'BM' => 'Bermuda',
    'BT' => 'Bhutan',
    'BO' => 'Bolivien',
    'BA' => 'Bosnien Herzegowina',
    'BW' => 'Botswana',
    'BV' => 'Bouvet Island',
    'BR' => 'Brasilien',
    'BN' => 'Brunei Darussalam',
    'BG' => 'Bulgarien',
    'BF' => 'Burkina Faso',
    'BI' => 'Burundi',
    'KH' => 'Kambodscha',
    'CM' => 'Kamerun',
    'CA' => 'Kanada',
    'CV' => 'Kap Verde',
    'KY' => 'Cayman Inseln',
    'CF' => 'Zentralafrikanische Republik',
    'TD' => 'Tschad',
    'CL' => 'Chile',
    'CN' => 'China',
    'CO' => 'Kolumbien',
    'KM' => 'Comoros',
    'CG' => 'Kongo',
    'CD' => 'Demokratische Republik Kongo',
    'CK' => 'Cook Inseln',
    'CR' => 'Costa Rica',
    'CI' => 'Elfenbeinküste',
    'HR' => 'Kroatien',
    'CU' => 'Kuba',
    'CZ' => 'Tschechien',
    'DK' => 'Dänemark',
    'DJ' => 'Djibouti',
    'DO' => 'Dominikanische Republik',
    'TP' => 'Osttimor',
    'EC' => 'Ecuador',
    'EG' => 'Ägypten',
    'SV' => 'El Salvador',
    'GQ' => 'Äquatorial Guinea',
    'ER' => 'Eritrea',
    'EE' => 'Estland',
    'ET' => 'Äthiopien',
    'FK' => 'Falkland Inseln',
    'FO' => 'Faroe Inseln',
    'FJ' => 'Fiji',
    'FI' => 'Finnland',
    'FR' => 'Frankreich',
    'GF' => 'Französisch Guiana',
    'PF' => 'Französisch Polynesien',
    'GA' => 'Gabun',
    'GM' => 'Gambia',
    'GE' => 'Georgien',
    'GW' => 'Guinea-Bissau',
    'DE' => 'Deutschland',
    'GH' => 'Ghana',
    'GI' => 'Gibraltar',
    'GR' => 'Griechenland',
    'GL' => 'Grönland',
    'GD' => 'Grenada',
    'GP' => 'Guadeloupe',
    'GU' => 'Guam',
    'GT' => 'Guatemala',
    'GN' => 'Guinea',
    'GY' => 'Guyana',
    'HT' => 'Haiti',
    'VA' => 'Vatikan',
    'HN' => 'Honduras',
    'HU' => 'Ungarn',
    'IS' => 'Island',
    'IN' => 'Indien',
    'ID' => 'Indonesien',
    'IR' => 'Iran',
    'IQ' => 'Irak',
    'IE' => 'Irland',
    'IL' => 'Israel',
    'IT' => 'Italien',
    'JM' => 'Jamaika',
    'JP' => 'Japan',
    'JO' => 'Jordanien',
    'KZ' => 'Kasachstan',
    'KE' => 'Kenia',
    'KI' => 'Kiribati',
    'XK' => 'Kosovo',
    'KW' => 'Kuwait',
    'KG' => 'Kirgistan',
    'LA' => 'Laos',
    'LV' => 'Lettland',
    'LB' => 'Libanon',
    'LS' => 'Lesotho',
    'LI' => 'Liechtenstein',
    'LT' => 'Litauen',
    'LU' => 'Luxemburg',
    'LY' => 'Libyen',
    'MO' => 'Macau',
    'LR' => 'Liberia',
    'MK' => 'Mazedonien',
    'MG' => 'Madagaskar',
    'MW' => 'Malawi',
    'MY' => 'Malaysia',
    'MV' => 'Malediven',
    'ML' => 'Mali',
    'MT' => 'Malta',
    'MR' => 'Mauretanien',
    'MU' => 'Mauritius',
    'YT' => 'Mayotte',
    'MX' => 'Mexiko',
    'FM' => 'Mikronesien',
    'MD' => 'Moldavien',
    'MC' => 'Monaco',
    'ME' => 'Montenegro',
    'MN' => 'Mongolei',
    'MS' => 'Montserrat',
    'MA' => 'Marokko',
    'MH' => 'Marshallinseln',
    'MZ' => 'Mosambik',
    'MM' => 'Myanmar',
    'NA' => 'Namibia',
    'NR' => 'Nauru',
    'NP' => 'Nepal',
    'NL' => 'Niederlande',
    'NZ' => 'Neuseeland',
    'NI' => 'Nicaragua',
    'NE' => 'Niger',
    'NG' => 'Nigeria',
    'NU' => 'Niue',
    'NF' => 'Norfolk Inseln',
    'KP' => 'Nord Korea',
    'NO' => 'Norwegen',
    'OM' => 'Oman',
    'PK' => 'Pakistan',
    'PW' => 'Palau',
    'PA' => 'Panama',
    'PG' => 'Papua Neu Guinea',
    'PY' => 'Paraguay',
    'PE' => 'Peru',
    'PH' => 'Philippinen',
    'PL' => 'Polen',
    'PT' => 'Portugal',
    'PR' => 'Puerto Rico',
    'RO' => 'Rumänien',
    'RU' => 'Russland',
    'RW' => 'Ruanda',
    'WS' => 'Samoa',
    'SM' => 'San Marino',
    'SA' => 'Saudi-Arabien',
    'SN' => 'Senegal',
    'RS' => 'Serbien',
    'SC' => 'Seychellen',
    'SL' => 'Sierra Leone',
    'SG' => 'Singapur',
    'SK' => 'Slovakei',
    'SI' => 'Slovenien',
    'SB' => 'Solomon Inseln',
    'SO' => 'Somalia',
    'ZA' => 'Südafrika',
    'KR' => 'Südkorea',
    'ES' => 'Spanien',
    'LK' => 'Sri Lanka',
    'SD' => 'Sudan',
    'SS' => 'Südsudan',
    'SR' => 'Suriname',
    'SZ' => 'Swasiland',
    'SE' => 'Schweden',
    'CH' => 'Schweiz',
    'SY' => 'Syrien',
    'TW' => 'Taiwan',
    'TJ' => 'Tadschikistan',
    'TZ' => 'Tansania',
    'TH' => 'Thailand',
    'TG' => 'Togo',
    'TO' => 'Tonga',
    'TT' => 'Trinidad und Tobago',
    'TN' => 'Tunesien',
    'TR' => 'Türkei',
    'TM' => 'Turkmenistan',
    'TV' => 'Tuvalu',
    'UG' => 'Uganda',
    'UA' => 'Ukraine',
    'AE' => 'Vereinigte Arabische Emirate',
    'GB' => 'Vereinigtes Königreich',
    'US' => 'Vereinigte Staaten von Amerika',
    'UY' => 'Uruguay',
    'UZ' => 'Usbekistan',
    'VU' => 'Vanuatu',
    'VE' => 'Venezuela',
    'VN' => 'Vietnam',
    'VG' => 'Virgin Islands',
    'EH' => 'Westsahara',
    'YE' => 'Jemen',
    'YU' => 'Jugoslavien',
    'ZR' => 'Zaire',
    'ZM' => 'Sambia',
    'ZW' => 'Simbabwe',
  ),
);
$codes = array (
  'Afghanistan' => 'AF',
  'Aland Islands' => 'AX',
  'Albania' => 'AL',
  'Algeria' => 'DZ',
  'American Samoa' => 'AS',
  'Andorra' => 'AD',
  'Angola' => 'AO',
  'Anguilla' => 'AI',
  'Antarctica' => 'AQ',
  'Antigua And Barbuda' => 'AG',
  'Argentina' => 'AR',
  'Armenia' => 'AM',
  'Aruba' => 'AW',
  'Australia' => 'AU',
  'Austria' => 'AT',
  'Azerbaijan' => 'AZ',
  'Bahamas' => 'BS',
  'Bahrain' => 'BH',
  'Bangladesh' => 'BD',
  'Barbados' => 'BB',
  'Belarus' => 'BY',
  'Belgium' => 'BE',
  'Belize' => 'BZ',
  'Benin' => 'BJ',
  'Bermuda' => 'BM',
  'Bhutan' => 'BT',
  'Bolivia' => 'BO',
  'Bosnia And Herzegovina' => 'BA',
  'Botswana' => 'BW',
  'Bouvet Island' => 'BV',
  'Brazil' => 'BR',
  'British Indian Ocean Territory' => 'IO',
  'Brunei Darussalam' => 'BN',
  'Bulgaria' => 'BG',
  'Burkina Faso' => 'BF',
  'Burundi' => 'BI',
  'Cambodia' => 'KH',
  'Cameroon' => 'CM',
  'Canada' => 'CA',
  'Cape Verde' => 'CV',
  'Cayman Islands' => 'KY',
  'Central African Republic' => 'CF',
  'Chad' => 'TD',
  'Chile' => 'CL',
  'China' => 'CN',
  'Christmas Island' => 'CX',
  'Cocos (Keeling) Islands' => 'CC',
  'Colombia' => 'CO',
  'Comoros' => 'KM',
  'Congo' => 'CG',
  'Congo, Democratic Republic' => 'CD',
  'Cook Islands' => 'CK',
  'Costa Rica' => 'CR',
  'Cote D\'Ivoire' => 'CI',
  'Croatia' => 'HR',
  'Cuba' => 'CU',
  'Cyprus' => 'CY',
  'Czech Republic' => 'CZ',
  'Denmark' => 'DK',
  'Djibouti' => 'DJ',
  'Dominica' => 'DM',
  'Dominican Republic' => 'DO',
  'Ecuador' => 'EC',
  'Egypt' => 'EG',
  'El Salvador' => 'SV',
  'Equatorial Guinea' => 'GQ',
  'Eritrea' => 'ER',
  'Estonia' => 'EE',
  'Ethiopia' => 'ET',
  'Falkland Islands (Malvinas)' => 'FK',
  'Faroe Islands' => 'FO',
  'Fiji' => 'FJ',
  'Finland' => 'FI',
  'France' => 'FR',
  'French Guiana' => 'GF',
  'French Polynesia' => 'PF',
  'French Southern Territories' => 'TF',
  'Gabon' => 'GA',
  'Gambia' => 'GM',
  'Georgia' => 'GE',
  'Germany' => 'DE',
  'Ghana' => 'GH',
  'Gibraltar' => 'GI',
  'Greece' => 'GR',
  'Greenland' => 'GL',
  'Grenada' => 'GD',
  'Guadeloupe' => 'GP',
  'Guam' => 'GU',
  'Guatemala' => 'GT',
  'Guernsey' => 'GG',
  'Guinea' => 'GN',
  'Guinea-Bissau' => 'GW',
  'Guyana' => 'GY',
  'Haiti' => 'HT',
  'Heard Island & Mcdonald Islands' => 'HM',
  'Holy See (Vatican City State)' => 'VA',
  'Honduras' => 'HN',
  'Hong Kong' => 'HK',
  'Hungary' => 'HU',
  'Iceland' => 'IS',
  'India' => 'IN',
  'Indonesia' => 'ID',
  'Iran, Islamic Republic Of' => 'IR',
  'Iraq' => 'IQ',
  'Ireland' => 'IE',
  'Isle Of Man' => 'IM',
  'Israel' => 'IL',
  'Italy' => 'IT',
  'Jamaica' => 'JM',
  'Japan' => 'JP',
  'Jersey' => 'JE',
  'Jordan' => 'JO',
  'Kazakhstan' => 'KZ',
  'Kenya' => 'KE',
  'Kiribati' => 'KI',
  'Kosovo' => 'XK',
  'South Korea' => 'KR',
  'North Korea' => 'KP',
  'Kuwait' => 'KW',
  'Kyrgyzstan' => 'KG',
  'Lao People\'s Democratic Republic' => 'LA',
  'Latvia' => 'LV',
  'Lebanon' => 'LB',
  'Lesotho' => 'LS',
  'Liberia' => 'LR',
  'Libya' => 'LY',
  'Liechtenstein' => 'LI',
  'Lithuania' => 'LT',
  'Luxembourg' => 'LU',
  'Macao' => 'MO',
  'Macedonia' => 'MK',
  'Madagascar' => 'MG',
  'Malawi' => 'MW',
  'Malaysia' => 'MY',
  'Maldives' => 'MV',
  'Mali' => 'ML',
  'Malta' => 'MT',
  'Marshall Islands' => 'MH',
  'Martinique' => 'MQ',
  'Mauritania' => 'MR',
  'Mauritius' => 'MU',
  'Mayotte' => 'YT',
  'Mexico' => 'MX',
  'Micronesia, Federated States Of' => 'FM',
  'Moldova' => 'MD',
  'Monaco' => 'MC',
  'Montenegro' => 'ME',
  'Mongolia' => 'MN',
  'Montserrat' => 'MS',
  'Morocco' => 'MA',
  'Mozambique' => 'MZ',
  'Myanmar' => 'MM',
  'Namibia' => 'NA',
  'Nauru' => 'NR',
  'Nepal' => 'NP',
  'Netherlands' => 'NL',
  'Netherlands Antilles' => 'AN',
  'New Caledonia' => 'NC',
  'New Zealand' => 'NZ',
  'Nicaragua' => 'NI',
  'Niger' => 'NE',
  'Nigeria' => 'NG',
  'Niue' => 'NU',
  'Norfolk Island' => 'NF',
  'Northern Mariana Islands' => 'MP',
  'Norway' => 'NO',
  'Oman' => 'OM',
  'Pakistan' => 'PK',
  'Palau' => 'PW',
  'Palestinian Territory, Occupied' => 'PS',
  'Panama' => 'PA',
  'Papua New Guinea' => 'PG',
  'Paraguay' => 'PY',
  'Peru' => 'PE',
  'Philippines' => 'PH',
  'Pitcairn' => 'PN',
  'Poland' => 'PL',
  'Portugal' => 'PT',
  'Puerto Rico' => 'PR',
  'Qatar' => 'QA',
  'Reunion' => 'RE',
  'Romania' => 'RO',
  'Russian Federation' => 'RU',
  'Rwanda' => 'RW',
  'Saint Barthelemy' => 'BL',
  'Saint Helena' => 'SH',
  'Saint Kitts And Nevis' => 'KN',
  'Saint Lucia' => 'LC',
  'Saint Martin' => 'MF',
  'Saint Pierre And Miquelon' => 'PM',
  'Saint Vincent And Grenadines' => 'VC',
  'Samoa' => 'WS',
  'San Marino' => 'SM',
  'Sao Tome And Principe' => 'ST',
  'Saudi Arabia' => 'SA',
  'Senegal' => 'SN',
  'Serbia' => 'RS',
  'Seychelles' => 'SC',
  'Sierra Leone' => 'SL',
  'Singapore' => 'SG',
  'Slovakia' => 'SK',
  'Slovenia' => 'SI',
  'Solomon Islands' => 'SB',
  'Somalia' => 'SO',
  'South Africa' => 'ZA',
  'South Georgia And Sandwich Isl.' => 'GS',
  'Spain' => 'ES',
  'Sri Lanka' => 'LK',
  'Sudan' => 'SD',
  'South Sudan' => 'SS',
  'Suriname' => 'SR',
  'Svalbard And Jan Mayen' => 'SJ',
  'Swaziland' => 'SZ',
  'Sweden' => 'SE',
  'Switzerland' => 'CH',
  'Syrian Arab Republic' => 'SY',
  'Taiwan' => 'TW',
  'Tajikistan' => 'TJ',
  'Tanzania' => 'TZ',
  'Thailand' => 'TH',
  'Timor-Leste' => 'TL',
  'Togo' => 'TG',
  'Tokelau' => 'TK',
  'Tonga' => 'TO',
  'Trinidad And Tobago' => 'TT',
  'Tunisia' => 'TN',
  'Turkey' => 'TR',
  'Turkmenistan' => 'TM',
  'Turks And Caicos Islands' => 'TC',
  'Tuvalu' => 'TV',
  'Uganda' => 'UG',
  'Ukraine' => 'UA',
  'United Arab Emirates' => 'AE',
  'United Kingdom' => 'GB',
  'United States' => 'US',
  'United States Outlying Islands' => 'UM',
  'Uruguay' => 'UY',
  'Uzbekistan' => 'UZ',
  'Vanuatu' => 'VU',
  'Venezuela' => 'VE',
  'Vietnam' => 'VN',
  'Virgin Islands, British' => 'VG',
  'Virgin Islands, U.S.' => 'VI',
  'Wallis And Futuna' => 'WF',
  'Western Sahara' => 'EH',
  'Yemen' => 'YE',
  'Zambia' => 'ZM',
  'Zimbabwe' => 'ZW',
);
function translateCountryName($name,$to) {
global $codes;
global $countrynames;
$code = $codes[$name];
return $countrynames[$to][$code];
}
?>