<?PHP
// Displays a list of the 50 x_states
function display_states($x_state, $input_style)
	{
	return ("
	<select name='x_state' ".$input_style.">
		<option value='AE'".((isset($x_state))?"".(($x_state=="AE")?" selected":"")."":"").">AE-APO</option>
		<option value='AL'".((isset($x_state))?"".(($x_state=="AL")?" selected":"")."":"").">Alabama</option>
		<option value='AK'".((isset($x_state))?"".(($x_state=="AK")?" selected":"")."":"").">Alaska</option>
		<option value='AS'".((isset($x_state))?"".(($x_state=="AS")?" selected":"")."":"").">American Samoa</option>
		<option value='AP'".((isset($x_state))?"".(($x_state=="AP")?" selected":"")."":"").">AP-APO</option>
		<option value='AZ'".((isset($x_state))?"".(($x_state=="AZ")?" selected":"")."":"").">Arizona</option>
		<option value='AR'".((isset($x_state))?"".(($x_state=="AR")?" selected":"")."":"").">Arkansas</option>
		<option value='CA'".((isset($x_state))?"".(($x_state=="CA")?" selected":"")."":"").">California</option>
		<option value='CO'".((isset($x_state))?"".(($x_state=="CO")?" selected":"")."":"").">Colorado</option>
		<option value='CT'".((isset($x_state))?"".(($x_state=="CT")?" selected":"")."":"").">Connecticut</option>
		<option value='DE'".((isset($x_state))?"".(($x_state=="DE")?" selected":"")."":"").">Delaware</option>
		<option value='DC'".((isset($x_state))?"".(($x_state=="DC")?" selected":"")."":"").">District of Columbia</option>
		<option value='FL'".((isset($x_state))?"".(($x_state=="FL")?" selected":"")."":"").">Florida</option>
		<option value='AA'".((isset($x_state))?"".(($x_state=="AA")?" selected":"")."":"").">FPO</option>
		<option value='GA'".((isset($x_state))?"".(($x_state=="GA")?" selected":"")."":"").">Georgia</option>
		<option value='GU'".((isset($x_state))?"".(($x_state=="GU")?" selected":"")."":"").">Guam</option>
		<option value='HI'".((isset($x_state))?"".(($x_state=="ID")?" selected":"")."":"").">Hawaii</option>
		<option value='ID'".((isset($x_state))?"".(($x_state=="ID")?" selected":"")."":"").">Idaho</option>
		<option value='IL'".((isset($x_state))?"".(($x_state=="IL")?" selected":"")."":"").">Illinois</option>
		<option value='IN'".((isset($x_state))?"".(($x_state=="IN")?" selected":"")."":"").">Indiana</option>
		<option value='IA'".((isset($x_state))?"".(($x_state=="IA")?" selected":"")."":"").">Iowa</option>
		<option value='KS'".((isset($x_state))?"".(($x_state=="KS")?" selected":"")."":"").">Kansas</option>
		<option value='KY'".((isset($x_state))?"".(($x_state=="KY")?" selected":"")."":"").">Kentucky</option>
		<option value='LA'".((isset($x_state))?"".(($x_state=="LA")?" selected":"")."":"").">Louisiana</option>
		<option value='ME'".((isset($x_state))?"".(($x_state=="ME")?" selected":"")."":"").">Maine</option>
		<option value='MH'".((isset($x_state))?"".(($x_state=="MH")?" selected":"")."":"").">Marshall Islands</option>
		<option value='MD'".((isset($x_state))?"".(($x_state=="MD")?" selected":"")."":"").">Maryland</option>
		<option value='MA'".((isset($x_state))?"".(($x_state=="MA")?" selected":"")."":"").">Massachusetts</option>
		<option value='MI'".((isset($x_state))?"".(($x_state=="MI")?" selected":"")."":"").">Michigan</option>
		<option value='MN'".((isset($x_state))?"".(($x_state=="MN")?" selected":"")."":"").">Minnesota</option>
		<option value='MS'".((isset($x_state))?"".(($x_state=="MS")?" selected":"")."":"").">Mississippi</option>
		<option value='MO'".((isset($x_state))?"".(($x_state=="MO")?" selected":"")."":"").">Missouri</option>
		<option value='MT'".((isset($x_state))?"".(($x_state=="MT")?" selected":"")."":"").">Montana</option>
		<option value='NE'".((isset($x_state))?"".(($x_state=="NE")?" selected":"")."":"").">Nebraska</option>
		<option value='NV'".((isset($x_state))?"".(($x_state=="NV")?" selected":"")."":"").">Nevada</option>
		<option value='NH'".((isset($x_state))?"".(($x_state=="NH")?" selected":"")."":"").">New Hampshire</option>
		<option value='NJ'".((isset($x_state))?"".(($x_state=="NJ")?" selected":"")."":"").">New Jersey</option>
		<option value='NM'".((isset($x_state))?"".(($x_state=="NM")?" selected":"")."":"").">New Mexico</option>
		<option value='NY'".((isset($x_state))?"".(($x_state=="NY")?" selected":"")."":"").">New York</option>
		<option value='NC'".((isset($x_state))?"".(($x_state=="NC")?" selected":"")."":" selected").">North Carolina</option>
		<option value='ND'".((isset($x_state))?"".(($x_state=="ND")?" selected":"")."":"").">North Dakota</option>
		<option value='MP'".((isset($x_state))?"".(($x_state=="MP")?" selected":"")."":"").">Northern Mariana Islands</option>
		<option value='OH'".((isset($x_state))?"".(($x_state=="OH")?" selected":"")."":"").">Ohio</option>
		<option value='OK'".((isset($x_state))?"".(($x_state=="OK")?" selected":"")."":"").">Oklahoma</option>
		<option value='OR'".((isset($x_state))?"".(($x_state=="OR")?" selected":"")."":"").">Oregon</option>
		<option value='PW'".((isset($x_state))?"".(($x_state=="PW")?" selected":"")."":"").">Palau</option>
		<option value='PA'".((isset($x_state))?"".(($x_state=="PA")?" selected":"")."":"").">Pennsylvania</option>
		<option value='PR'".((isset($x_state))?"".(($x_state=="PR")?" selected":"")."":"").">Puerto Rico</option>
		<option value='RI'".((isset($x_state))?"".(($x_state=="RI")?" selected":"")."":"").">Rhode Island</option>
		<option value='SC'".((isset($x_state))?"".(($x_state=="SC")?" selected":"")."":"").">South Carolina</option>
		<option value='SD'".((isset($x_state))?"".(($x_state=="SD")?" selected":"")."":"").">South Dakota</option>
		<option value='TN'".((isset($x_state))?"".(($x_state=="TN")?" selected":"")."":"").">Tennessee</option>
		<option value='TX'".((isset($x_state))?"".(($x_state=="TX")?" selected":"")."":"").">Texas</option>
		<option value='UT'".((isset($x_state))?"".(($x_state=="UT")?" selected":"")."":"").">Utah</option>
		<option value='VT'".((isset($x_state))?"".(($x_state=="VT")?" selected":"")."":"").">Vermont</option>
		<option value='VI'".((isset($x_state))?"".(($x_state=="VI")?" selected":"")."":"").">Virgin Islands</option>
		<option value='VA'".((isset($x_state))?"".(($x_state=="VA")?" selected":"")."":"").">Virginia</option>
		<option value='WA'".((isset($x_state))?"".(($x_state=="WA")?" selected":"")."":"").">Washington</option>
		<option value='WV'".((isset($x_state))?"".(($x_state=="WV")?" selected":"")."":"").">West Virginia</option>
		<option value='WI'".((isset($x_state))?"".(($x_state=="WI")?" selected":"")."":"").">Wisconsin</option>
		<option value='WY'".((isset($x_state))?"".(($x_state=="WY")?" selected":"")."":"").">Wyoming</option>
	</select>
		");
	}

// valid 2 digit country codes for auth.net
function display_country($xCountry, $input_style)
	{
	return ("
	<select name='x_Country' ".$input_style.">
		<option value='US'".(($xCountry=="US")?" selected":"").">UNITED STATES</option>
		<option value='AF'".(($xCountry=="AF")?" selected":"").">AFGHANISTAN</option>
		<option value='AL'".(($xCountry=="AL")?" selected":"").">ALBANIA</option>
		<option value='DZ'".(($xCountry=="DZ")?" selected":"").">ALGERIA</option>
		<option value='AS'".(($xCountry=="AS")?" selected":"").">AMERICAN SAMOA</option>
		<option value='AD'".(($xCountry=="AD")?" selected":"").">ANDORRA</option>
		<option value='AO'".(($xCountry=="AO")?" selected":"").">ANGOLA</option>
		<option value='AI'".(($xCountry=="AI")?" selected":"").">ANGUILLA</option>
		<option value='AQ'".(($xCountry=="AQ")?" selected":"").">ANTARCTICA</option>
		<option value='AG'".(($xCountry=="AG")?" selected":"").">ANTIGUA / BARBUDA</option>
		<option value='AR'".(($xCountry=="AR")?" selected":"").">ARGENTINA</option>
		<option value='AM'".(($xCountry=="AM")?" selected":"").">ARMENIA</option>
		<option value='AW'".(($xCountry=="AW")?" selected":"").">ARUBA</option>
		<option value='AU'".(($xCountry=="AU")?" selected":"").">AUSTRALIA</option>
		<option value='AT'".(($xCountry=="AT")?" selected":"").">AUSTRIA</option>
		<option value='AZ'".(($xCountry=="AZ")?" selected":"").">AZERBAIJAN</option>
		<option value='BS'".(($xCountry=="BS")?" selected":"").">BAHAMAS</option>
		<option value='BH'".(($xCountry=="BH")?" selected":"").">BAHRAIN</option>
		<option value='BD'".(($xCountry=="BD")?" selected":"").">BANGLADESH</option>
		<option value='BB'".(($xCountry=="BB")?" selected":"").">BARBADOS</option>
		<option value='BY'".(($xCountry=="BY")?" selected":"").">BELARUS</option>
		<option value='BE'".(($xCountry=="BE")?" selected":"").">BELGIUM</option>
		<option value='BZ'".(($xCountry=="BZ")?" selected":"").">BELIZE</option>
		<option value='BJ'".(($xCountry=="BJ")?" selected":"").">BENIN</option>
		<option value='BM'".(($xCountry=="BM")?" selected":"").">BERMUDA</option>
		<option value='BT'".(($xCountry=="BT")?" selected":"").">BHUTAN</option>
		<option value='BO'".(($xCountry=="BO")?" selected":"").">BOLIVIA</option>
		<option value='BA'".(($xCountry=="BA")?" selected":"").">BOSNIA / HERZEGOVINA</option>
		<option value='BW'".(($xCountry=="BW")?" selected":"").">BOTSWANA</option>
		<option value='BV'".(($xCountry=="BV")?" selected":"").">BOUVET ISLAND</option>
		<option value='BR'".(($xCountry=="BR")?" selected":"").">BRAZIL</option>
		<option value='IO'".(($xCountry=="IO")?" selected":"").">BRITISH INDIAN OCEAN TERRITORY</option>
		<option value='BN'".(($xCountry=="BN")?" selected":"").">BRUNEI DARUSSALAM</option>
		<option value='BG'".(($xCountry=="BG")?" selected":"").">BULGARIA</option>
		<option value='BF'".(($xCountry=="BF")?" selected":"").">BURKINA FASO</option>
		<option value='BI'".(($xCountry=="BI")?" selected":"").">BURUNDI</option>
		<option value='KH'".(($xCountry=="KH")?" selected":"").">CAMBODIA</option>
		<option value='CM'".(($xCountry=="CM")?" selected":"").">CAMEROON</option>
		<option value='CA'".(($xCountry=="CA")?" selected":"").">CANADA</option>
		<option value='CV'".(($xCountry=="CV")?" selected":"").">CAPE VERDE</option>
		<option value='KY'".(($xCountry=="KY")?" selected":"").">CAYMAN ISLANDS</option>
		<option value='CF'".(($xCountry=="CF")?" selected":"").">CENTRAL AFRICAN REPUBLIC</option>
		<option value='TD'".(($xCountry=="TD")?" selected":"").">CHAD</option>
		<option value='CL'".(($xCountry=="CL")?" selected":"").">CHILE</option>
		<option value='CN'".(($xCountry=="CN")?" selected":"").">CHINA</option>
		<option value='CX'".(($xCountry=="CX")?" selected":"").">CHRISTMAS ISLAND</option>
		<option value='CC'".(($xCountry=="CC")?" selected":"").">COCOS (KEELING) ISLANDS</option>
		<option value='CO'".(($xCountry=="CO")?" selected":"").">COLOMBIA</option>
		<option value='KM'".(($xCountry=="KM")?" selected":"").">COMOROS</option>
		<option value='CG'".(($xCountry=="CG")?" selected":"").">CONGO</option>
		<option value='CD'".(($xCountry=="CD")?" selected":"").">CONGO, DEMOCRATIC REPUBLIC</option>
		<option value='CK'".(($xCountry=="CK")?" selected":"").">COOK ISLANDS</option>
		<option value='CR'".(($xCountry=="CR")?" selected":"").">COSTA RICA</option>
		<option value='CI'".(($xCountry=="CI")?" selected":"").">CÔTE D'IVOIRE</option>
		<option value='HR'".(($xCountry=="HR")?" selected":"").">CROATIA</option>
		<option value='CU'".(($xCountry=="CU")?" selected":"").">CUBA</option>
		<option value='CY'".(($xCountry=="CY")?" selected":"").">CYPRUS</option>
		<option value='CZ'".(($xCountry=="CZ")?" selected":"").">CZECH REPUBLIC</option>
		<option value='DK'".(($xCountry=="DK")?" selected":"").">DENMARK</option>
		<option value='DJ'".(($xCountry=="DJ")?" selected":"").">DJIBOUTI</option>
		<option value='DM'".(($xCountry=="DM")?" selected":"").">DOMINICA</option>
		<option value='DO'".(($xCountry=="DO")?" selected":"").">DOMINICAN REPUBLIC</option>
		<option value='EC'".(($xCountry=="EC")?" selected":"").">ECUADOR</option>
		<option value='EG'".(($xCountry=="EG")?" selected":"").">EGYPT</option>
		<option value='SV'".(($xCountry=="SV")?" selected":"").">EL SALVADOR</option>
		<option value='GQ'".(($xCountry=="GQ")?" selected":"").">EQUATORIAL GUINEA</option>
		<option value='ER'".(($xCountry=="ER")?" selected":"").">ERITREA</option>
		<option value='EE'".(($xCountry=="EE")?" selected":"").">ESTONIA</option>
		<option value='ET'".(($xCountry=="ET")?" selected":"").">ETHIOPIA</option>
		<option value='FK'".(($xCountry=="FK")?" selected":"").">FALKLAND ISLANDS (MALVINAS)</option>
		<option value='FO'".(($xCountry=="FO")?" selected":"").">FAROE ISLANDS</option>
		<option value='FJ'".(($xCountry=="FJ")?" selected":"").">FIJI</option>
		<option value='FI'".(($xCountry=="FI")?" selected":"").">FINLAND</option>
		<option value='FR'".(($xCountry=="FR")?" selected":"").">FRANCE</option>
		<option value='GF'".(($xCountry=="GF")?" selected":"").">FRENCH GUIANA</option>
		<option value='PF'".(($xCountry=="PF")?" selected":"").">FRENCH POLYNESIA</option>
		<option value='TF'".(($xCountry=="TF")?" selected":"").">FRENCH SOUTHERN TERRITORIES</option>
		<option value='GA'".(($xCountry=="GA")?" selected":"").">GABON</option>
		<option value='GM'".(($xCountry=="GM")?" selected":"").">GAMBIA</option>
		<option value='GE'".(($xCountry=="GE")?" selected":"").">GEORGIA</option>
		<option value='DE'".(($xCountry=="DE")?" selected":"").">GERMANY</option>
		<option value='GH'".(($xCountry=="GH")?" selected":"").">GHANA</option>
		<option value='GI'".(($xCountry=="GI")?" selected":"").">GIBRALTAR</option>
		<option value='GR'".(($xCountry=="GR")?" selected":"").">GREECE</option>
		<option value='GL'".(($xCountry=="GL")?" selected":"").">GREENLAND</option>
		<option value='GD'".(($xCountry=="GD")?" selected":"").">GRENADA</option>
		<option value='GP'".(($xCountry=="GP")?" selected":"").">GUADELOUPE</option>
		<option value='GU'".(($xCountry=="GU")?" selected":"").">GUAM</option>
		<option value='GT'".(($xCountry=="GT")?" selected":"").">GUATEMALA</option>
		<option value='GN'".(($xCountry=="GN")?" selected":"").">GUINEA</option>
		<option value='GW'".(($xCountry=="GW")?" selected":"").">GUINEA-BISSAU</option>
		<option value='GY'".(($xCountry=="GY")?" selected":"").">GUYANA</option>
		<option value='HT'".(($xCountry=="HT")?" selected":"").">HAITI</option>
		<option value='HM'".(($xCountry=="HM")?" selected":"").">HEARD ISLAND</option>
		<option value='HM'".(($xCountry=="HM")?" selected":"").">MCDONALD ISLANDS</option>
		<option value='VA'".(($xCountry=="VA")?" selected":"").">VATICAN CITY STATE</option>
		<option value='HN'".(($xCountry=="HN")?" selected":"").">HONDURAS</option>
		<option value='HK'".(($xCountry=="HK")?" selected":"").">HONG KONG</option>
		<option value='HU'".(($xCountry=="HU")?" selected":"").">HUNGARY</option>
		<option value='IS'".(($xCountry=="IS")?" selected":"").">ICELAND</option>
		<option value='IN'".(($xCountry=="IN")?" selected":"").">INDIA</option>
		<option value='ID'".(($xCountry=="ID")?" selected":"").">INDONESIA</option>
		<option value='IR'".(($xCountry=="IR")?" selected":"").">IRAN</option>
		<option value='IQ'".(($xCountry=="IQ")?" selected":"").">IRAQ</option>
		<option value='IE'".(($xCountry=="IE")?" selected":"").">IRELAND</option>
		<option value='IL'".(($xCountry=="IL")?" selected":"").">ISRAEL</option>
		<option value='IT'".(($xCountry=="IT")?" selected":"").">ITALY</option>
		<option value='JM'".(($xCountry=="JM")?" selected":"").">JAMAICA</option>
		<option value='JP'".(($xCountry=="JP")?" selected":"").">JAPAN</option>
		<option value='JO'".(($xCountry=="JO")?" selected":"").">JORDAN</option>
		<option value='KZ'".(($xCountry=="KZ")?" selected":"").">KAZAKHSTAN</option>
		<option value='KE'".(($xCountry=="KE")?" selected":"").">KENYA</option>
		<option value='KI'".(($xCountry=="KI")?" selected":"").">KIRIBATI</option>
		<option value='KP'".(($xCountry=="KP")?" selected":"").">KOREA</option>
		<option value='KR'".(($xCountry=="KR")?" selected":"").">KOREA, REPUBLIC OF</option>
		<option value='KW'".(($xCountry=="KW")?" selected":"").">KUWAIT</option>
		<option value='KG'".(($xCountry=="KG")?" selected":"").">KYRGYZSTAN</option>
		<option value='LA'".(($xCountry=="LA")?" selected":"").">LAO PEOPLE'S DEMOCRATIC REPUBLIC</option>
		<option value='LV'".(($xCountry=="LV")?" selected":"").">LATVIA</option>
		<option value='LB'".(($xCountry=="LB")?" selected":"").">LEBANON</option>
		<option value='LS'".(($xCountry=="LS")?" selected":"").">LESOTHO</option>
		<option value='LR'".(($xCountry=="LR")?" selected":"").">LIBERIA</option>
		<option value='LY'".(($xCountry=="LY")?" selected":"").">LIBYAN ARAB JAMAHIRIYA</option>
		<option value='LI'".(($xCountry=="LI")?" selected":"").">LIECHTENSTEIN</option>
		<option value='LT'".(($xCountry=="LT")?" selected":"").">LITHUANIA</option>
		<option value='LU'".(($xCountry=="LU")?" selected":"").">LUXEMBOURG</option>
		<option value='MO'".(($xCountry=="MO")?" selected":"").">MACAO</option>
		<option value='MK'".(($xCountry=="MK")?" selected":"").">MACEDONIA</option>
		<option value='MG'".(($xCountry=="MG")?" selected":"").">MADAGASCAR</option>
		<option value='MW'".(($xCountry=="MW")?" selected":"").">MALAWI</option>
		<option value='MY'".(($xCountry=="MY")?" selected":"").">MALAYSIA</option>
		<option value='MV'".(($xCountry=="MV")?" selected":"").">MALDIVES</option>
		<option value='ML'".(($xCountry=="ML")?" selected":"").">MALI</option>
		<option value='MT'".(($xCountry=="MT")?" selected":"").">MALTA</option>
		<option value='MH'".(($xCountry=="MH")?" selected":"").">MARSHALL ISLANDS</option>
		<option value='MQ'".(($xCountry=="MQ")?" selected":"").">MARTINIQUE</option>
		<option value='MR'".(($xCountry=="MR")?" selected":"").">MAURITANIA</option>
		<option value='MU'".(($xCountry=="MU")?" selected":"").">MAURITIUS</option>
		<option value='YT'".(($xCountry=="YT")?" selected":"").">MAYOTTE</option>
		<option value='MX'".(($xCountry=="MX")?" selected":"").">MEXICO</option>
		<option value='FM'".(($xCountry=="FM")?" selected":"").">MICRONESIA</option>
		<option value='MD'".(($xCountry=="MD")?" selected":"").">MOLDOVA</option>
		<option value='MC'".(($xCountry=="MC")?" selected":"").">MONACO</option>
		<option value='MN'".(($xCountry=="MN")?" selected":"").">MONGOLIA</option>
		<option value='MS'".(($xCountry=="MS")?" selected":"").">MONTSERRAT</option>
		<option value='MA'".(($xCountry=="MA")?" selected":"").">MOROCCO</option>
		<option value='MZ'".(($xCountry=="MZ")?" selected":"").">MOZAMBIQUE</option>
		<option value='MM'".(($xCountry=="MM")?" selected":"").">MYANMAR</option>
		<option value='NA'".(($xCountry=="NA")?" selected":"").">NAMIBIA</option>
		<option value='NR'".(($xCountry=="NR")?" selected":"").">NAURU</option>
		<option value='NP'".(($xCountry=="NP")?" selected":"").">NEPAL</option>
		<option value='NL'".(($xCountry=="NL")?" selected":"").">NETHERLANDS</option>
		<option value='AN'".(($xCountry=="AN")?" selected":"").">NETHERLANDS ANTILLES</option>
		<option value='NC'".(($xCountry=="NC")?" selected":"").">NEW CALEDONIA</option>
		<option value='NZ'".(($xCountry=="NZ")?" selected":"").">NEW ZEALAND</option>
		<option value='NI'".(($xCountry=="NI")?" selected":"").">NICARAGUA</option>
		<option value='NE'".(($xCountry=="NE")?" selected":"").">NIGER</option>
		<option value='NG'".(($xCountry=="NG")?" selected":"").">NIGERIA</option>
		<option value='NU'".(($xCountry=="NU")?" selected":"").">NIUE</option>
		<option value='NF'".(($xCountry=="NF")?" selected":"").">NORFOLK ISLAND</option>
		<option value='MP'".(($xCountry=="MP")?" selected":"").">NORTHERN MARIANA ISLANDS</option>
		<option value='NO'".(($xCountry=="NO")?" selected":"").">NORWAY</option>
		<option value='OM'".(($xCountry=="OM")?" selected":"").">OMAN</option>
		<option value='PK'".(($xCountry=="PK")?" selected":"").">PAKISTAN</option>
		<option value='PW'".(($xCountry=="PW")?" selected":"").">PALAU</option>
		<option value='PS'".(($xCountry=="PS")?" selected":"").">PALESTINIAN TERRITORY</option>
		<option value='PA'".(($xCountry=="PA")?" selected":"").">PANAMA</option>
		<option value='PG'".(($xCountry=="PG")?" selected":"").">PAPUA NEW GUINEA</option>
		<option value='PY'".(($xCountry=="PY")?" selected":"").">PARAGUAY</option>
		<option value='PE'".(($xCountry=="PE")?" selected":"").">PERU</option>
		<option value='PH'".(($xCountry=="PH")?" selected":"").">PHILIPPINES</option>
		<option value='PN'".(($xCountry=="PN")?" selected":"").">PITCAIRN</option>
		<option value='PL'".(($xCountry=="PL")?" selected":"").">POLAND</option>
		<option value='PT'".(($xCountry=="PT")?" selected":"").">PORTUGAL</option>
		<option value='PR'".(($xCountry=="PR")?" selected":"").">PUERTO RICO</option>
		<option value='QA'".(($xCountry=="QA")?" selected":"").">QATAR</option>
		<option value='RE'".(($xCountry=="RE")?" selected":"").">RÉUNION</option>
		<option value='RO'".(($xCountry=="RO")?" selected":"").">ROMANIA</option>
		<option value='RU'".(($xCountry=="RU")?" selected":"").">RUSSIAN FEDERATION</option>
		<option value='RW'".(($xCountry=="RW")?" selected":"").">RWANDA</option>
		<option value='SH'".(($xCountry=="SH")?" selected":"").">SAINT HELENA</option>
		<option value='KN'".(($xCountry=="KN")?" selected":"").">SAINT KITTS AND NEVIS</option>
		<option value='LC'".(($xCountry=="LC")?" selected":"").">SAINT LUCIA</option>
		<option value='PM'".(($xCountry=="PM")?" selected":"").">SAINT PIERRE AND MIQUELON</option>
		<option value='VC'".(($xCountry=="VC")?" selected":"").">SAINT VINCENT AND THE GRENADINES</option>
		<option value='WS'".(($xCountry=="WS")?" selected":"").">SAMOA</option>
		<option value='SM'".(($xCountry=="SM")?" selected":"").">SAN MARINO</option>
		<option value='ST'".(($xCountry=="ST")?" selected":"").">SAO TOME AND PRINCIPE</option>
		<option value='SA'".(($xCountry=="SA")?" selected":"").">SAUDI ARABIA</option>
		<option value='SN'".(($xCountry=="SN")?" selected":"").">SENEGAL</option>
		<option value='SC'".(($xCountry=="SC")?" selected":"").">SEYCHELLES</option>
		<option value='SL'".(($xCountry=="SL")?" selected":"").">SIERRA LEONE</option>
		<option value='SG'".(($xCountry=="SG")?" selected":"").">SINGAPORE</option>
		<option value='SK'".(($xCountry=="SK")?" selected":"").">SLOVAKIA</option>
		<option value='SI'".(($xCountry=="SI")?" selected":"").">SLOVENIA</option>
		<option value='SB'".(($xCountry=="SB")?" selected":"").">SOLOMON ISLANDS</option>
		<option value='SO'".(($xCountry=="SO")?" selected":"").">SOMALIA</option>
		<option value='ZA'".(($xCountry=="ZA")?" selected":"").">SOUTH AFRICA</option>
		<option value='GS'".(($xCountry=="GS")?" selected":"").">SOUTH GEORGIA</option>
		<option value='GS'".(($xCountry=="GS")?" selected":"").">THE SOUTH SANDWICH ISLANDS</option>
		<option value='ES'".(($xCountry=="ES")?" selected":"").">SPAIN</option>
		<option value='LK'".(($xCountry=="LK")?" selected":"").">SRI LANKA</option>
		<option value='SD'".(($xCountry=="SD")?" selected":"").">SUDAN</option>
		<option value='SR'".(($xCountry=="SR")?" selected":"").">SURINAME</option>
		<option value='SJ'".(($xCountry=="SJ")?" selected":"").">SVALBARD AND JAN MAYEN</option>
		<option value='SZ'".(($xCountry=="SZ")?" selected":"").">SWAZILAND</option>
		<option value='SE'".(($xCountry=="SE")?" selected":"").">SWEDEN</option>
		<option value='CH'".(($xCountry=="CH")?" selected":"").">SWITZERLAND</option>
		<option value='SY'".(($xCountry=="SY")?" selected":"").">SYRIAN ARAB REPUBLIC</option>
		<option value='TW'".(($xCountry=="TW")?" selected":"").">TAIWAN</option>
		<option value='TJ'".(($xCountry=="TJ")?" selected":"").">TAJIKISTAN</option>
		<option value='TZ'".(($xCountry=="TZ")?" selected":"").">TANZANIA</option>
		<option value='TH'".(($xCountry=="TH")?" selected":"").">THAILAND</option>
		<option value='TL'".(($xCountry=="TL")?" selected":"").">TIMOR-LESTE</option>
		<option value='TG'".(($xCountry=="TG")?" selected":"").">TOGO</option>
		<option value='TK'".(($xCountry=="TK")?" selected":"").">TOKELAU</option>
		<option value='TO'".(($xCountry=="TO")?" selected":"").">TONGA</option>
		<option value='TT'".(($xCountry=="TT")?" selected":"").">TRINIDAD AND TOBAGO</option>
		<option value='TN'".(($xCountry=="TN")?" selected":"").">TUNISIA</option>
		<option value='TR'".(($xCountry=="TR")?" selected":"").">TURKEY</option>
		<option value='TM'".(($xCountry=="TM")?" selected":"").">TURKMENISTAN</option>
		<option value='TC'".(($xCountry=="TC")?" selected":"").">TURKS AND CAICOS ISLANDS</option>
		<option value='TV'".(($xCountry=="TV")?" selected":"").">TUVALU</option>
		<option value='UG'".(($xCountry=="UG")?" selected":"").">UGANDA</option>
		<option value='UA'".(($xCountry=="UA")?" selected":"").">UKRAINE</option>
		<option value='AE'".(($xCountry=="AE")?" selected":"").">UNITED ARAB EMIRATES</option>
		<option value='GB'".(($xCountry=="GB")?" selected":"").">UNITED KINGDOM</option>
		<option value='UM'".(($xCountry=="UM")?" selected":"").">US MINOR OUTLYING ISLANDS</option>
		<option value='UY'".(($xCountry=="UY")?" selected":"").">URUGUAY</option>
		<option value='UZ'".(($xCountry=="UZ")?" selected":"").">UZBEKISTAN</option>
		<option value='VU'".(($xCountry=="VU")?" selected":"").">VANUATU</option>
		<option value='VE'".(($xCountry=="VE")?" selected":"").">VENEZUELA</option>
		<option value='VN'".(($xCountry=="VN")?" selected":"").">VIET NAM</option>
		<option value='VG'".(($xCountry=="VG")?" selected":"").">VIRGIN ISLANDS, BRITISH</option>
		<option value='VI'".(($xCountry=="VI")?" selected":"").">VIRGIN ISLANDS, U.S.</option>
		<option value='WF'".(($xCountry=="WF")?" selected":"").">WALLIS AND FUTUNA</option>
		<option value='EH'".(($xCountry=="EH")?" selected":"").">WESTERN SAHARA</option>
		<option value='YE'".(($xCountry=="YE")?" selected":"").">YEMEN</option>
		<option value='YU'".(($xCountry=="YU")?" selected":"").">YUGOSLAVIA</option>
		<option value='ZM'".(($xCountry=="ZM")?" selected":"").">ZAMBIA</option>
		<option value='ZW'".(($xCountry=="ZW")?" selected":"").">ZIMBABWE</option>
	</select>
		");
	}
?>