function GetState(v){
// called by state_change.onblur()
s = v.value.toUpperCase();
if (s == 'AL' || s == 'ALABAMA'){
   s = 'Alabama';
} else if (s == 'AK' || s == 'ALASKA'){
   s = 'Alaska';
} else if (s == 'AS' || s == 'AMERICAN SAMOA'){
   s = 'American Samoa';
} else if (s == 'AZ' || s == 'ARIZONA'){
   s = 'Arizona';
} else if (s == 'AR' || s == 'ARKANSAS'){
   s = 'Arkansas';
} else if (s == 'CA' || s == 'CALIFORNIA'){
   s = 'California';
} else if (s == 'CO' || s == 'COLORADO'){
   s = 'Colorado';
} else if (s == 'CT' || s == 'CONNECTICUT'){
   s = 'Connecticut';
} else if (s == 'DE' || s == 'DELAWARE'){
   s = 'Delaware';
} else if (s == 'DC' || s == 'DISTRICT OF COLUMBIA'){
   s = 'District Of Columbia';
} else if (s == 'FM' || s == 'FEDERATED STATES OF MICRONESIA'){
   s = 'Micronesia';
} else if (s == 'FL' || s == 'FLORIDA'){
   s = 'Florida';
} else if (s == 'GA' || s == 'GEORGIA'){
   s = 'Georgia';
} else if (s == 'GU' || s == 'GUAM'){
   s = 'Guam';
} else if (s == 'HI' || s == 'HAWAII'){
   s = 'Hawaii';
} else if (s == 'ID' || s == 'IDAHO'){
   s = 'Idaho';
} else if (s == 'IL' || s == 'ILLINOIS'){
   s = 'Illinois';
} else if (s == 'IN' || s == 'INDIANA'){
   s = 'Indiana';
} else if (s == 'IA' || s == 'IOWA'){
   s = 'Iowa';
} else if (s == 'KS' || s == 'KANSAS'){
   s = 'Kansas';
} else if (s == 'KY' || s == 'KENTUCKY'){
   s = 'Kentucky';
} else if (s == 'LA' || s == 'LOUISIANA'){
   s = 'Louisiana';
} else if (s == 'ME' || s == 'MAINE'){
   s = 'Maine';
} else if (s == 'MH' || s == 'MARSHALL ISLANDS' || s == 'MARSHALLISLANDS'){
   s = 'Marshall Islands';
} else if (s == 'MD' || s == 'MARYLAND'){
   s = 'Maryland';
} else if (s == 'MA' || s == 'MASSACHUSETTS'){
   s = 'Massachusetts';
} else if (s == 'MI' || s == 'MICHIGAN'){
   s = 'Michigan';
} else if (s == 'MN' || s == 'MINNESOTA'){
   s = 'Minnesota';
} else if (s == 'MS' || s == 'MISSISSIPPI'){
   s = 'Mississippi';
} else if (s == 'MO' || s == 'MISSOURI'){
   s = 'Missouri';
} else if (s == 'MT' || s == 'MONTANA'){
   s = 'Montana';
} else if (s == 'NE' || s == 'NEBRASKA'){
   s = 'Nebraska';
} else if (s == 'NV' || s == 'NEVADA'){
   s = 'Nevada';
} else if (s == 'NH' || s == 'NEW HAMPSHIRE' || s == 'NEWHAMPSHIRE'){
   s = 'New Hampshire';
} else if (s == 'NJ' || s == 'NEW JERSEY' || s == 'NEWJERSEY'){
   s = 'New Jersey';
} else if (s == 'NM' || s == 'NEW MEXICO' || s == 'NEWMEXICO'){
   s = 'New Mexico';
} else if (s == 'NY' || s == 'NEW YORK' || s == 'NEWYORK'){
   s = 'New York';
} else if (s == 'NC' || s == 'NORTH CAROLINA' || s == 'NORTHCAROLINA'){
   s = 'North Carolina';
} else if (s == 'ND' || s == 'NORTH DAKOTA' || s == 'NORTHDAKOTA'){
   s = 'North Dakota';
} else if (s == 'MP' || s == 'NORTHERN MARIANA ISLANDS' || s == 'NORTHERNMARIANAISLANDS'){
   s = 'Northern Mariana Islands';
} else if (s == 'OH' || s == 'OHIO'){
   s = 'Ohio';
} else if (s == 'OK' || s == 'OKLAHOMA'){
   s = 'Oklahoma';
} else if (s == 'OR' || s == 'OREGON'){
   s = 'Oregon';
} else if (s == 'PW' || s == 'PALAU'){
   s = 'Palau';
} else if (s == 'PA' || s == 'PENNSYLVANIA'){
   s = 'Pennsylvania';
} else if (s == 'PR' || s == 'PUERTO RICO' || s == 'PUERTORICO'){
   s = 'Puerto Rico';
} else if (s == 'RI' || s == 'RHODE ISLAND' || s == 'RHODEISLAND'){
   s = 'Rhode Island';
} else if (s == 'SC' || s == 'SOUTH CAROLINA'){
   s = 'South Carolina';
} else if (s == 'SD' || s == 'SOUTH DAKOTA'){
   s = 'South Dakota';
} else if (s == 'TN' || s == 'TENNESSEE'){
   s = 'Tennessee';
} else if (s == 'TX' || s == 'TEXAS'){
   s = 'Texas';
} else if (s == 'UT' || s == 'UTAH'){
   s = 'Utah';
} else if (s == 'VT' || s == 'VERMONT'){
   s = 'Vermont';
} else if (s == 'VI' || s == 'VIRGIN ISLANDS'){
   s = 'Virgin Islands';
} else if (s == 'VA' || s == 'VIRGINIA'){
   s = 'Virginia';
} else if (s == 'WA' || s == 'WASHINGTON'){
   s = 'Washington';
} else if (s == 'WV' || s == 'WEST VIRGINIA' || s == 'W VIRGINIA' || s == 'WESTVIRGINIA'){
   s = 'West Virginia';
} else if (s == 'WI' || s == 'WISCONSIN'){
   s = 'Wisconsin';
} else if (s == 'WY' || s == 'WYOMING'){
   s = 'Wyoming';
} else if (s == 'AUS' || s == 'AUSTRALIA'){
   s = 'Australia';
} else if (s == 'CN' || s == 'CANADA'){
   s = 'Canada';
} else if (s == 'QLD' || s == 'QUEENSLAND'){
   s = 'Queensland';
} else if (s == 'SOUTH AFRICA' || s == 'SOUTHAFRICA'){
   s = 'South Africa';
} else if (s == 'UK'){
   s = 'United Kingdom';
} else if (s == 'ON' || s == 'ONT' || s == 'ONT.' || s == 'ONTARIO'){
   s = 'Ontario';
} else if (s == 'QC' || s == 'QUE' || s == 'QUE.' || s == 'PQ' || s == 'P.Q.' || s == 'QUEBEC'){
   s = 'Quebec';
} else if (s == 'NS' || s == 'N.S.'){
   s = 'Nova Scotia';
} else if (s == 'NB' || s == 'N.B.'){
   s = 'New Brunswick';
} else if (s == 'MB' || s == 'MAN.'){
   s = 'Manitoba';
} else if (s == 'BC' || s == 'B.C.'){
   s = 'British Columbia';
} else if (s == 'PE' || s == 'PEI' || s == 'P.E.I.' || s == 'P.E. ISLAND'){
   s = 'Prince Edward Island';
} else if (s == 'SK' || s == 'Sask.' || s == 'SSK' || s == 'SKWN'){
   s = 'Saskatchewan';
} else if (s == 'AB' || s == 'Alta.'){
   s = 'Alberta';
} else if (s == 'NL' || s == 'Nfld' || s == 'NF' || s == 'LB'){
   s = 'Newfoundland and Labrador';
} else if (s == 'JAPAN'){
   s = 'Japan';
}
/*
Armed Forces Africa                AE
Armed Forces Americas                AA
(except Canada)
Armed Forces Canada                AE
Armed Forces Europe                AE
Armed Forces Middle East        AE
Armed Forces Pacific                AP
*/
v.value = s;
}

