<?php
function DisplayCountryOption($SelectedOne)
{
	global $TABCOUNTRY;
	
	asort($TABCOUNTRY);
	
	foreach($TABCOUNTRY AS $CountryCode => $CountryName)
	{
		$selected = "";
		if($SelectedOne == $CountryCode)
			$selected = "selected";
		echo "<option value='".$CountryCode."' ".$selected.">".$CountryName."</option>";
	}
}

$TABCOUNTRY["AD"]="Andorra";
$TABCOUNTRY["AE"]="United Arab Emirates";
$TABCOUNTRY["AF"]="Afghanistan";
$TABCOUNTRY["AG"]="Antigua & Barbuda";
$TABCOUNTRY["AI"]="Anguilla";
$TABCOUNTRY["AL"]="Albania";
$TABCOUNTRY["AM"]="Armenia";
$TABCOUNTRY["AN"]="Netherlands Antilles";
$TABCOUNTRY["AO"]="Angola";
$TABCOUNTRY["AQ"]="Antarctica";
$TABCOUNTRY["AR"]="Argentina";
$TABCOUNTRY["AS"]="American Samoa";
$TABCOUNTRY["AT"]="Austria";
$TABCOUNTRY["AU"]="Australia";
$TABCOUNTRY["AW"]="Aruba";
$TABCOUNTRY["AZ"]="Azerbaijan";
$TABCOUNTRY["BA"]="Bosnia and Herzegovina";
$TABCOUNTRY["BB"]="Barbados";
$TABCOUNTRY["BD"]="Bangladesh";
$TABCOUNTRY["BE"]="Belgium";
$TABCOUNTRY["BF"]="Burkina Faso";
$TABCOUNTRY["BG"]="Bulgaria";
$TABCOUNTRY["BH"]="Bahrain";
$TABCOUNTRY["BI"]="Burundi";
$TABCOUNTRY["BJ"]="Benin";
$TABCOUNTRY["BM"]="Bermuda";
$TABCOUNTRY["BN"]="Brunei Darussalam";
$TABCOUNTRY["BO"]="Bolivia";
$TABCOUNTRY["BR"]="Brazil";
$TABCOUNTRY["BS"]="Bahama";
$TABCOUNTRY["BT"]="Bhutan";
$TABCOUNTRY["BV"]="Bouvet Island";
$TABCOUNTRY["BW"]="Botswana";
$TABCOUNTRY["BY"]="Belarus";
$TABCOUNTRY["BZ"]="Belize";
$TABCOUNTRY["CA"]="Canada";
$TABCOUNTRY["CC"]="Cocos (Keeling) Islands";
$TABCOUNTRY["CF"]="Central African Republic";
$TABCOUNTRY["CG"]="Congo";
$TABCOUNTRY["CH"]="Switzerland";
$TABCOUNTRY["CI"]="C&ocirc;te D'ivoire (Ivory Coast)";
$TABCOUNTRY["CK"]="Cook Iislands";
$TABCOUNTRY["CL"]="Chile";
$TABCOUNTRY["CM"]="Cameroon";
$TABCOUNTRY["CN"]="China";
$TABCOUNTRY["CO"]="Colombia";
$TABCOUNTRY["CR"]="Costa Rica";
$TABCOUNTRY["CU"]="Cuba";
$TABCOUNTRY["CV"]="Cape Verde";
$TABCOUNTRY["CX"]="Christmas Island";
$TABCOUNTRY["CY"]="Cyprus";
$TABCOUNTRY["CZ"]="Czech Republic";
$TABCOUNTRY["DE"]="Germany";
$TABCOUNTRY["DJ"]="Djibouti";
$TABCOUNTRY["DK"]="Denmark";
$TABCOUNTRY["DM"]="Dominica";
$TABCOUNTRY["DO"]="Dominican Republic";
$TABCOUNTRY["DZ"]="Algeria";
$TABCOUNTRY["EC"]="Ecuador";
$TABCOUNTRY["EE"]="Estonia";
$TABCOUNTRY["EG"]="Egypt";
$TABCOUNTRY["EH"]="Western Sahara";
$TABCOUNTRY["ER"]="Eritrea";
$TABCOUNTRY["ES"]="Spain";
$TABCOUNTRY["ET"]="Ethiopia";
$TABCOUNTRY["FI"]="Finland";
$TABCOUNTRY["FJ"]="Fiji";
$TABCOUNTRY["FK"]="Falkland Islands (Malvinas)";
$TABCOUNTRY["FM"]="Micronesia";
$TABCOUNTRY["FO"]="Faroe Islands";
$TABCOUNTRY["FR"]="France";
$TABCOUNTRY["GA"]="Gabon";
$TABCOUNTRY["GB"]="United Kingdom (Great Britain)";
$TABCOUNTRY["GD"]="Grenada";
$TABCOUNTRY["GE"]="Georgia";
$TABCOUNTRY["GF"]="French Guiana";
$TABCOUNTRY["GH"]="Ghana";
$TABCOUNTRY["GI"]="Gibraltar";
$TABCOUNTRY["GL"]="Greenland";
$TABCOUNTRY["GM"]="Gambia";
$TABCOUNTRY["GN"]="Guinea";
$TABCOUNTRY["GP"]="Guadeloupe";
$TABCOUNTRY["GQ"]="Equatorial Guinea";
$TABCOUNTRY["GR"]="Greece";
$TABCOUNTRY["GS"]="South Georgia and the South Sandwich Islands";
$TABCOUNTRY["GT"]="Guatemala";
$TABCOUNTRY["GU"]="Guam";
$TABCOUNTRY["GW"]="Guinea-Bissau";
$TABCOUNTRY["GY"]="Guyana";
$TABCOUNTRY["HK"]="Hong Kong";
$TABCOUNTRY["HM"]="Heard & McDonald Islands";
$TABCOUNTRY["HN"]="Honduras";
$TABCOUNTRY["HR"]="Croatia";
$TABCOUNTRY["HT"]="Haiti";
$TABCOUNTRY["HU"]="Hungary";
$TABCOUNTRY["ID"]="Indonesia";
$TABCOUNTRY["IE"]="Ireland";
$TABCOUNTRY["IL"]="Israel";
$TABCOUNTRY["IN"]="India";
$TABCOUNTRY["IO"]="British Indian Ocean Territory";
$TABCOUNTRY["IQ"]="Iraq";
$TABCOUNTRY["IR"]="Islamic Republic of Iran";
$TABCOUNTRY["IS"]="Iceland";
$TABCOUNTRY["IT"]="Italy";
$TABCOUNTRY["JM"]="Jamaica";
$TABCOUNTRY["JO"]="Jordan";
$TABCOUNTRY["JP"]="Japan";
$TABCOUNTRY["KE"]="Kenya";
$TABCOUNTRY["KG"]="Kyrgyzstan";
$TABCOUNTRY["KH"]="Cambodia";
$TABCOUNTRY["KI"]="Kiribati";
$TABCOUNTRY["KM"]="Comoros";
$TABCOUNTRY["KN"]="St. Kitts and Nevis";
$TABCOUNTRY["KP"]="Korea, Democratic People's Republic of";
$TABCOUNTRY["KR"]="Korea, Republic of";
$TABCOUNTRY["KW"]="Kuwait";
$TABCOUNTRY["KY"]="Cayman Islands";
$TABCOUNTRY["KZ"]="Kazakhstan";
$TABCOUNTRY["LA"]="Lao People's Democratic Republic";
$TABCOUNTRY["LB"]="Lebanon";
$TABCOUNTRY["LC"]="Saint Lucia";
$TABCOUNTRY["LI"]="Liechtenstein";
$TABCOUNTRY["LK"]="Sri Lanka";
$TABCOUNTRY["LR"]="Liberia";
$TABCOUNTRY["LS"]="Lesotho";
$TABCOUNTRY["LT"]="Lithuania";
$TABCOUNTRY["LU"]="Luxembourg";
$TABCOUNTRY["LV"]="Latvia";
$TABCOUNTRY["LY"]="Libyan Arab Jamahiriya";
$TABCOUNTRY["MA"]="Morocco";
$TABCOUNTRY["MC"]="Monaco";
$TABCOUNTRY["MD"]="Moldova, Republic of";
$TABCOUNTRY["MG"]="Madagascar";
$TABCOUNTRY["MH"]="Marshall Islands";
$TABCOUNTRY["ML"]="Mali";
$TABCOUNTRY["MN"]="Mongolia";
$TABCOUNTRY["MM"]="Myanmar";
$TABCOUNTRY["MO"]="Macau";
$TABCOUNTRY["MP"]="Northern Mariana Islands";
$TABCOUNTRY["MQ"]="Martinique";
$TABCOUNTRY["MR"]="Mauritania";
$TABCOUNTRY["MS"]="Monserrat";
$TABCOUNTRY["MT"]="Malta";
$TABCOUNTRY["MU"]="Mauritius";
$TABCOUNTRY["MV"]="Maldives";
$TABCOUNTRY["MW"]="Malawi";
$TABCOUNTRY["MX"]="Mexico";
$TABCOUNTRY["MY"]="Malaysia";
$TABCOUNTRY["MZ"]="Mozambique";
$TABCOUNTRY["NA"]="Namibia";
$TABCOUNTRY["NC"]="New Caledonia";
$TABCOUNTRY["NE"]="Niger";
$TABCOUNTRY["NF"]="Norfolk Island";
$TABCOUNTRY["NG"]="Nigeria";
$TABCOUNTRY["NI"]="Nicaragua";
$TABCOUNTRY["NL"]="Netherlands";
$TABCOUNTRY["NO"]="Norway";
$TABCOUNTRY["NP"]="Nepal";
$TABCOUNTRY["NR"]="Nauru";
$TABCOUNTRY["NU"]="Niue";
$TABCOUNTRY["NZ"]="New Zealand";
$TABCOUNTRY["OM"]="Oman";
$TABCOUNTRY["PA"]="Panama";
$TABCOUNTRY["PE"]="Peru";
$TABCOUNTRY["PF"]="French Polynesia";
$TABCOUNTRY["PG"]="Papua New Guinea";
$TABCOUNTRY["PH"]="Philippines";
$TABCOUNTRY["PK"]="Pakistan";
$TABCOUNTRY["PL"]="Poland";
$TABCOUNTRY["PM"]="St. Pierre & Miquelon";
$TABCOUNTRY["PN"]="Pitcairn";
$TABCOUNTRY["PR"]="Puerto Rico";
$TABCOUNTRY["PT"]="Portugal";
$TABCOUNTRY["PW"]="Palau";
$TABCOUNTRY["PY"]="Paraguay";
$TABCOUNTRY["QA"]="Qatar";
$TABCOUNTRY["RE"]="R&eacute;union";
$TABCOUNTRY["RO"]="Romania";
$TABCOUNTRY["RU"]="Russian Federation";
$TABCOUNTRY["RW"]="Rwanda";
$TABCOUNTRY["SA"]="Saudi Arabia";
$TABCOUNTRY["SB"]="Solomon Islands";
$TABCOUNTRY["SC"]="Seychelles";
$TABCOUNTRY["SD"]="Sudan";
$TABCOUNTRY["SE"]="Sweden";
$TABCOUNTRY["SG"]="Singapore";
$TABCOUNTRY["SH"]="St. Helena";
$TABCOUNTRY["SI"]="Slovenia";
$TABCOUNTRY["SJ"]="Svalbard & Jan Mayen Islands";
$TABCOUNTRY["SK"]="Slovakia";
$TABCOUNTRY["SL"]="Sierra Leone";
$TABCOUNTRY["SM"]="San Marino";
$TABCOUNTRY["SN"]="Senegal";
$TABCOUNTRY["SO"]="Somalia";
$TABCOUNTRY["SR"]="Suriname";
$TABCOUNTRY["ST"]="Sao Tome & Principe";
$TABCOUNTRY["SV"]="El Salvador";
$TABCOUNTRY["SY"]="Syrian Arab Republic";
$TABCOUNTRY["SZ"]="Swaziland";
$TABCOUNTRY["TC"]="Turks & Caicos Islands";
$TABCOUNTRY["TD"]="Chad";
$TABCOUNTRY["TF"]="French Southern Territories";
$TABCOUNTRY["TG"]="Togo";
$TABCOUNTRY["TH"]="Thailand";
$TABCOUNTRY["TJ"]="Tajikistan";
$TABCOUNTRY["TK"]="Tokelau";
$TABCOUNTRY["TM"]="Turkmenistan";
$TABCOUNTRY["TN"]="Tunisia";
$TABCOUNTRY["TO"]="Tonga";
$TABCOUNTRY["TP"]="East Timor";
$TABCOUNTRY["TR"]="Turkey";
$TABCOUNTRY["TT"]="Trinidad & Tobago";
$TABCOUNTRY["TV"]="Tuvalu";
$TABCOUNTRY["TW"]="Taiwan, Province of China";
$TABCOUNTRY["TZ"]="Tanzania, United Republic of";
$TABCOUNTRY["UA"]="Ukraine";
$TABCOUNTRY["UG"]="Uganda";
$TABCOUNTRY["UM"]="United States Minor Outlying Islands";
$TABCOUNTRY["US"]="United States of America";
$TABCOUNTRY["UY"]="Uruguay";
$TABCOUNTRY["UZ"]="Uzbekistan";
$TABCOUNTRY["VA"]="Vatican City State (Holy See)";
$TABCOUNTRY["VC"]="St. Vincent & the Grenadines";
$TABCOUNTRY["VE"]="Venezuela";
$TABCOUNTRY["VG"]="British Virgin Islands";
$TABCOUNTRY["VI"]="United States Virgin Islands";
$TABCOUNTRY["VN"]="Viet Nam";
$TABCOUNTRY["VU"]="Vanuatu";
$TABCOUNTRY["WF"]="Wallis & Futuna Islands";
$TABCOUNTRY["WS"]="Samoa";
$TABCOUNTRY["YE"]="Yemen";
$TABCOUNTRY["YT"]="Mayotte";
$TABCOUNTRY["YU"]="Yugoslavia";
$TABCOUNTRY["ZA"]="South Africa";
$TABCOUNTRY["ZM"]="Zambia";
$TABCOUNTRY["ZR"]="Zaire";
$TABCOUNTRY["ZW"]="Zimbabwe";
$TABCOUNTRY["ZZ"]="Unknown or unspecified country";
?>