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

?>