// Last Updated 6-25-2008

function dropdown ( ) {
	
	var aioPrograms = Array(); 
	var auoPrograms = Array(); 
	var suoPrograms = Array(); 
	
	var c = Array(); // countries array
	c.push({ "propername":"Afghanistan", "abbrv":"AFG", "extra":"Islamic Republic of Afghanistan" });
	c.push({ "propername":"Åland Islands", "abbrv":"ALA", "extra":"" });
	c.push({ "propername":"Albania", "abbrv":"ALB", "extra":"Republic of Albania" });
	c.push({ "propername":"Algeria", "abbrv":"DZA", "extra":"People's Democratic Republic of Algeria" });
	c.push({ "propername":"American Samoa", "abbrv":"ASM", "extra":"" });
	c.push({ "propername":"Andorra", "abbrv":"AND", "extra":"Principality of Andorra" });
	c.push({ "propername":"Angola", "abbrv":"AGO", "extra":"Republic of Angola" });
	c.push({ "propername":"Anguilla", "abbrv":"AIA", "extra":"" });
	c.push({ "propername":"Antarctica", "abbrv":"ATA", "extra":"" });
	c.push({ "propername":"Antigua and Barbuda", "abbrv":"ATG", "extra":"" });
	c.push({ "propername":"Argentina", "abbrv":"ARG", "extra":"" });
	c.push({ "propername":"Armenia", "abbrv":"ARM", "extra":"Republic of Armenia" });
	c.push({ "propername":"Aruba", "abbrv":"ABW", "extra":"" });
	c.push({ "propername":"Australia", "abbrv":"AUS", "extra":"Commonwealth of Australia" });
	c.push({ "propername":"Austria", "abbrv":"AUT", "extra":"Republic of Austria" });
	c.push({ "propername":"Azerbaijan", "abbrv":"AZE", "extra":"" });
	c.push({ "propername":"Bahamas", "abbrv":"BHS", "extra":"Commonwealth of The Bahamas" });
	c.push({ "propername":"Bahrain", "abbrv":"BHR", "extra":"Kingdom of Bahrain" });
	c.push({ "propername":"Bangladesh", "abbrv":"BGD", "extra":"People's Republic of Bangladesh" });
	c.push({ "propername":"Barbados", "abbrv":"BRB", "extra":"" });
	c.push({ "propername":"Belarus", "abbrv":"BLR", "extra":"Republic of Belarus" });
	c.push({ "propername":"Belgium", "abbrv":"BEL", "extra":"Kingdom of Belgium" });
	c.push({ "propername":"Belize", "abbrv":"BLZ", "extra":"" });
	c.push({ "propername":"Benin", "abbrv":"BEN", "extra":"Republic of Benin" });
	c.push({ "propername":"Bermuda", "abbrv":"BMU", "extra":""});
	c.push({ "propername":"Bhutan", "abbrv":"BTN", "extra":"Kingdom of Bhutan" });
	c.push({ "propername":"Bolivia", "abbrv":"BOL", "extra":"Republic of Bolivia" });
	c.push({ "propername":"Bosnia and Herzegovina", "abbrv":"BIN", "extra":"" });
	c.push({ "propername":"Botswana", "abbrv":"BWA", "extra":"Republic of Botswana" });
	c.push({ "propername":"Bouvet Island", "abbrv":"BVT", "extra":"" });
	c.push({ "propername":"Brazil", "abbrv":"BRA", "extra":"Federative Republic of Brazil" });
	c.push({ "propername":"British Indian Ocean Territory", "abbrv":"IOT", "extra":"" });
	c.push({ "propername":"Brunei", "abbrv":"BRN", "extra":"Negara Brunei Darussalam" });
	c.push({ "propername":"Bulgaria", "abbrv":"BGR", "extra":"Republic of Bulgaria" });
	c.push({ "propername":"Burkina Faso", "abbrv":"BFA", "extra":"" });
	c.push({ "propername":"Burundi", "abbrv":"BDI", "extra":"Republic of Burundi" });
	c.push({ "propername":"Cambodia", "abbrv":"KHM", "extra":"Kingdom of Cambodia" });
	c.push({ "propername":"Cameroon", "abbrv":"CMR", "extra":"Republic of Cameroon" });
	c.push({ "propername":"Canada", "abbrv":"CAN", "extra":"" });
	c.push({ "propername":"Cape Verde", "abbrv":"CPV", "extra":"Republic of Cape Verde" });
	c.push({ "propername":"Cayman Islands", "abbrv":"CYM", "extra":"" });
	c.push({ "propername":"Central African Republic", "abbrv":"CAF", "extra":"" });
	c.push({ "propername":"Chad", "abbrv":"TCD", "extra":"Republic of Chad" });
	c.push({ "propername":"Chile", "abbrv":"CHL", "extra":"Republic of Chile" });
	c.push({ "propername":"China", "abbrv":"CHN", "extra":"People's Republic of China" });
	c.push({ "propername":"Christmas Island", "abbrv":"CXR", "extra":"" });
	c.push({ "propername":"Cocos Islands", "abbrv":"CCK", "extra":"Keeling Islands" });
	c.push({ "propername":"Colombia", "abbrv":"COL", "extra":"Republic of Colombia" });
	c.push({ "propername":"Comoros", "abbrv":"COM", "extra":"Union of the Comoros" });
	c.push({ "propername":"Congo", "abbrv":"COG", "extra":"Republic of Congo" });
	c.push({ "propername":"Congo", "abbrv":"COD", "extra":"The Democratic Republic of the Congo" });
	c.push({ "propername":"Cook Islands", "abbrv":"COK", "extra":"" });
	c.push({ "propername":"Costa Rica", "abbrv":"CRI", "extra":"Republic of Costa Rica" });
	c.push({ "propername":"Cote d'Ivoire", "abbrv":"CIV", "extra":"" });
	c.push({ "propername":"Croatia", "abbrv":"HRV", "extra":"Republic of Croatia" });
	c.push({ "propername":"Cuba", "abbrv":"CUB", "extra":"Republic of Cuba" });
	c.push({ "propername":"Cyprus", "abbrv":"CYP", "extra":"" });
	c.push({ "propername":"Czech Republic", "abbrv":"CZE", "extra":"" });
	c.push({ "propername":"Denmark", "abbrv":"DNK", "extra":"" });
	c.push({ "propername":"Djibouti", "abbrv":"DJI", "extra":"Republic of Djibouti" });
	c.push({ "propername":"Dominica", "abbrv":"DMA", "extra":"Commonwealth of Dominica" });
	c.push({ "propername":"Dominican Republic", "abbrv":"DOM", "extra":"" });
	c.push({ "propername":"Ecuador", "abbrv":"ECU", "extra":"Republic of Ecuador" });
	c.push({ "propername":"Egypt", "abbrv":"EGY", "extra":"Arab Republic of Egypt" });
	c.push({ "propername":"El Salvador", "abbrv":"SLV", "extra":"Republic of El Salvador" });
	c.push({ "propername":"Equatorial Guinea", "abbrv":"GNQ", "extra":"Republic of Equatorial Guinea" });
	c.push({ "propername":"Eritrea", "abbrv":"ERI", "extra":"State of Eritrea" });
	c.push({ "propername":"Estonia", "abbrv":"EST", "extra":"Republic of Estonia" });
	c.push({ "propername":"Ethiopia", "abbrv":"ETH", "extra":"Federal Democratic Republic of Ethiopia" });
	c.push({ "propername":"Falkland Islands", "abbrv":"FLK", "extra":"Malvinas" });
	c.push({ "propername":"Faroe Islands", "abbrv":"FRO", "extra":"" });
	c.push({ "propername":"Fiji", "abbrv":"FJI", "extra":"Republic of the Fiji Islands" });
	c.push({ "propername":"Finland", "abbrv":"FIN", "extra":"Republic of Finland" });
	c.push({ "propername":"France", "abbrv":"FRA", "extra":"French Republic" });
	c.push({ "propername":"French Guiana", "abbrv":"GUF", "extra":"" });
	c.push({ "propername":"French Polynesia", "abbrv":"PYF", "extra":"" });
	c.push({ "propername":"French Southern Territories", "abbrv":"ATF", "extra":"" });
	c.push({ "propername":"Gabon", "abbrv":"GAB", "extra":"Gabonese Republic" });
	c.push({ "propername":"Gambia", "abbrv":"GMB", "extra":"Republic of The Gambia" });
	c.push({ "propername":"Georgia", "abbrv":"GEO", "extra":"" });
	c.push({ "propername":"Germany", "abbrv":"DEU", "extra":"Federal Republic of Germany" });
	c.push({ "propername":"Ghana", "abbrv":"GHA", "extra":"Republic of Ghana" });
	c.push({ "propername":"Gibraltar", "abbrv":"GIB", "extra":"" });
	c.push({ "propername":"Greece", "abbrv":"GRC", "extra":"Hellenic Republic" });
	c.push({ "propername":"Greenland", "abbrv":"GRL", "extra":"" });
	c.push({ "propername":"Grenada", "abbrv":"GRD", "extra":"" });
	c.push({ "propername":"Guadeloupe", "abbrv":"GLB", "extra":"" });
	c.push({ "propername":"Guam", "abbrv":"GUM", "extra":"" });
	c.push({ "propername":"Guatemala", "abbrv":"GTM", "extra":"Republic of Guatemala" });
	c.push({ "propername":"Guernsey", "abbrv":"GGY", "extra":"" });
	c.push({ "propername":"Guinea", "abbrv":"GIN", "extra":"Republic of Guinea" });
	c.push({ "propername":"Guinea-Bissau", "abbrv":"GNB", "extra":"Republic of Guinea-Bissau" });
	c.push({ "propername":"Guyana", "abbrv":"GUY", "extra":"Co-operative Republic of Guyana" });
	c.push({ "propername":"Haiti", "abbrv":"HTI", "extra":"Republic of Haiti" });
	c.push({ "propername":"Heard Island and McDonald Islands", "abbrv":"HDM", "extra":"" });
	c.push({ "propername":"Holy See", "abbrv":"Vat", "extra":"Vatican City State" });
	c.push({ "propername":"Honduras", "abbrv":"HND", "extra":"Republic of Honduras" });
	c.push({ "propername":"Hungary", "abbrv":"HUN", "extra":"Republic of Hungary" });
	c.push({ "propername":"Iceland", "abbrv":"ISL", "extra":"Republic of Iceland" });
	c.push({ "propername":"India", "abbrv":"IND", "extra":"Republic of India" });
	c.push({ "propername":"Indonesia", "abbrv":"IDN", "extra":"Republic of Indonesia" });
	c.push({ "propername":"Iran", "abbrv":"IRN", "extra":"Islamic Republic of Iran" });
	c.push({ "propername":"Iraq", "abbrv":"IRQ", "extra":"Republic of Iraq" });
	c.push({ "propername":"Ireland", "abbrv":"IRL", "extra":"" });
	c.push({ "propername":"Isle of Man", "abbrv":"IMN", "extra":"" });
	c.push({ "propername":"Israel", "abbrv":"ISR", "extra":"State of Israel" });
	c.push({ "propername":"Italy", "abbrv":"ITA", "extra":"" });
	c.push({ "propername":"Jamaica", "abbrv":"JAM", "extra":"" });
	c.push({ "propername":"Japan", "abbrv":"JPN", "extra":"" });
	c.push({ "propername":"Jersey", "abbrv":"JEY", "extra":"" });
	c.push({ "propername":"Jordan", "abbrv":"JOR", "extra":"Hashemite Kingdom of Jordan" });
	c.push({ "propername":"Kazakhstan", "abbrv":"KAZ", "extra":"Republic of Kazakhstan" });
	c.push({ "propername":"Kenya", "abbrv":"KEN", "extra":"Republic of Kenya" });
	c.push({ "propername":"Kiribati", "abbrv":"KIR", "extra":"Republic of Kiribati" });
	c.push({ "propername":"Korea", "abbrv":"PRK", "extra":"Democratic People's Republc of Korea" });
	c.push({ "propername":"Korea", "abbrv":"KOR", "extra":"Republic of Korea" });
	c.push({ "propername":"Kuwait", "abbrv":"KWT", "extra":"State of Kuwait" });
	c.push({ "propername":"Kyrgyzstan", "abbrv":"KGZ", "extra":"" });
	c.push({ "propername":"Laos", "abbrv":"LA", "extra":"Lao People's Democratic Republic" });
	c.push({ "propername":"Latvia", "abbrv":"LVA", "extra":"Republic of Latvia" });
	c.push({ "propername":"Lebanon", "abbrv":"LBN", "extra":"Republic of Lebanon" });
	c.push({ "propername":"Lesotho", "abbrv":"LSO", "extra":"Kingdom of Lesotho" });
	c.push({ "propername":"Liberia", "abbrv":"LBR", "extra":"Republic of Liberia" });
	c.push({ "propername":"Libya", "abbrv":"LBY", "extra":"Great Socialist People's Libyan Arab Jamahiriya" });
	c.push({ "propername":"Liechtenstein", "abbrv":"LIE", "extra":"Principality of Liechtenstein" });
	c.push({ "propername":"Lithuania", "abbrv":"LTU", "extra":"Republic of Lithuania" });
	c.push({ "propername":"Luxembourg", "abbrv":"LUX", "extra":"Grand Duchy of Luxembourg" });
	c.push({ "propername":"Macao", "abbrv":"MAC", "extra":"" });
	c.push({ "propername":"Macedonia", "abbrv":"MKD", "extra":"The Former Yugoslav Republic of Macedonia" });
	c.push({ "propername":"Madagascar", "abbrv":"MDG", "extra":"Republic of Madagascar" });
	c.push({ "propername":"Malawi", "abbrv":"MWI", "extra":"Republic of Malawi" });
	c.push({ "propername":"Malaysia", "abbrv":"MYS", "extra":"" });
	c.push({ "propername":"Maldives", "abbrv":"MDV", "extra":"Republic of Maldives" });
	c.push({ "propername":"Mali", "abbrv":"MLI", "extra":"Republic of Mali" });
	c.push({ "propername":"Malta", "abbrv":"MLT", "extra":"Republic of Malta" });
	c.push({ "propername":"Marshall Islands", "abbrv":"MHL", "extra":"Republic of the Marshall Islands" });
	c.push({ "propername":"Martinique", "abbrv":"MTQ", "extra":"" });
	c.push({ "propername":"Mauritania", "abbrv":"MRT", "extra":"Islamic Republic of Mauritania" });
	c.push({ "propername":"Mauritius", "abbrv":"MUS", "extra":"Republic of Mauritius" });
	c.push({ "propername":"Mayotte", "abbrv":"MYT", "extra":"" });
	c.push({ "propername":"Mexico", "abbrv":"MEX", "extra":"United Mexican States" });
	c.push({ "propername":"Micronesia", "abbrv":"FSM", "extra":"Federated States of Micronesia" });
	c.push({ "propername":"Moldova", "abbrv":"MDA", "extra":"Republic of Moldova" });
	c.push({ "propername":"Monaco", "abbrv":"MCO", "extra":"Principality of Monaco" });
	c.push({ "propername":"Mongolia", "abbrv":"MNG", "extra":"" });
	c.push({ "propername":"Montserrat", "abbrv":"MSR", "extra":"" });
	c.push({ "propername":"Morocco", "abbrv":"MAR", "extra":"" });
	c.push({ "propername":"Mozambique", "abbrv":"MOZ", "extra":"" });
	c.push({ "propername":"Myanmar", "abbrv":"MMR", "extra":"" });
	c.push({ "propername":"Namibia", "abbrv":"NAM", "extra":"Republic of Namibia" });
	c.push({ "propername":"Nauru", "abbrv":"NRU", "extra":"Republic of Nauru" });
	c.push({ "propername":"Nepal", "abbrv":"NPL", "extra":"State of Nepal" });
	c.push({ "propername":"Netherlands", "abbrv":"NLD", "extra":"" });
	c.push({ "propername":"Netherlands Antilles", "abbrv":"ANT", "extra":"" });
	c.push({ "propername":"New Caledonia", "abbrv":"NCL", "extra":"" });
	c.push({ "propername":"New Zealand", "abbrv":"NZL", "extra":"" });
	c.push({ "propername":"Nicaragua", "abbrv":"NIC", "extra":"Republic of Nicaragua" });
	c.push({ "propername":"Niger", "abbrv":"NER", "extra":"Republic of Niger" });
	c.push({ "propername":"Nigeria", "abbrv":"NGA", "extra":"Federal Republic of Nigeria" });
	c.push({ "propername":"Niue", "abbrv":"NIU", "extra":"" });
	c.push({ "propername":"Norfolk Island", "abbrv":"NFK", "extra":"" });
	c.push({ "propername":"Northern Mariana Islands", "abbrv":"MNP", "extra":"" });
	c.push({ "propername":"Norway", "abbrv":"NOR", "extra":"Kingdom of Norway" });
	c.push({ "propername":"Oman", "abbrv":"OMN", "extra":"Sultanate of Oman" });
	c.push({ "propername":"Pakistan", "abbrv":"PAK", "extra":"Islamic Republic of Pakistan" });
	c.push({ "propername":"Palau", "abbrv":"PLW", "extra":"Republic of Palau" });
	c.push({ "propername":"Palestinian Territory", "abbrv":"PSE", "extra":"" });
	c.push({ "propername":"Panama", "abbrv":"PA", "extra":"Republic of Panama" });
	c.push({ "propername":"Papua New Guinea", "abbrv":"PNG", "extra":"Independent State of Papua New Guinea" });
	c.push({ "propername":"Paraguay", "abbrv":"PRY", "extra":"Republic of Paraguay" });
	c.push({ "propername":"Peru", "abbrv":"PER", "extra":"Republic of Peru" });
	c.push({ "propername":"Philippines", "abbrv":"PHL", "extra":"Republic of the Philippines" });
	c.push({ "propername":"Pitcairn", "abbrv":"PCN", "extra":"" });
	c.push({ "propername":"Poland", "abbrv":"POL", "extra":"Republic of Poland" });
	c.push({ "propername":"Portugal", "abbrv":"PRT", "extra":"Portuguese Republic" });
	c.push({ "propername":"Puerto Rico", "abbrv":"PRI", "extra":"" });
	c.push({ "propername":"Qatar", "abbrv":"QAT", "extra":"State of Qatar" });
	c.push({ "propername":"Reunion", "abbrv":"REU", "extra":"" });
	c.push({ "propername":"Romania", "abbrv":"ROU", "extra":"" });
	c.push({ "propername":"Russia", "abbrv":"RUS", "extra":"Russian Federation" });
	c.push({ "propername":"Rwanda", "abbrv":"RWA", "extra":"Republic of Rwanda" });
	c.push({ "propername":"Saint Helena", "abbrv":"SHN", "extra":"" });
	c.push({ "propername":"Saint Kitts and Nevis", "abbrv":"KAN", "extra":"Federation of Saint Christopher and Nevis" });
	c.push({ "propername":"Saint Lucia", "abbrv":"LCA", "extra":"" });
	c.push({ "propername":"Saint Vincent and the Grenadines", "abbrv":"VCT", "extra":"" });
	c.push({ "propername":"Samoa", "abbrv":"WSM", "extra":"Independent State of Samoa" });
	c.push({ "propername":"San Marino", "abbrv":"SMR", "extra":"Most Serene Republic of San Marino" });
	c.push({ "propername":"Sao Tome And Principe", "abbrv":"STP", "extra":"Democratic Republic of Sao Tome And Principe" });
	c.push({ "propername":"Saudi Arabia", "abbrv":"SAU", "extra":"Kingdom of Saudi Arabia" });
	c.push({ "propername":"Senegal", "abbrv":"SEN", "extra":"Republic of Senegal" });
	c.push({ "propername":"Serbia and Montenegro", "abbrv":"SCG", "extra":"" });
	c.push({ "propername":"Seychelles", "abbrv":"SYC", "extra":"Republic of Seychelles" });
	c.push({ "propername":"Sierra Leone", "abbrv":"SLE", "extra":"Republic of Sierra Leone" });
	c.push({ "propername":"Singapore", "abbrv":"SGP", "extra":"Republic of Singapore" });
	c.push({ "propername":"Slovakia", "abbrv":"SVK", "extra":"Slovak Republic" });
	c.push({ "propername":"Slovenia", "abbrv":"SVN", "extra":"Republic of Slovenia" });
	c.push({ "propername":"Solomon Islands", "abbrv":"SLB", "extra":"" });
	c.push({ "propername":"Somalia", "abbrv":"SOM", "extra":"" });
	c.push({ "propername":"South Africa", "abbrv":"ZAF", "extra":"" });
	c.push({ "propername":"South Georgia and the South Sandwich Islands", "abbrv":"SGS", "extra":"" });
	c.push({ "propername":"Spain", "abbrv":"ESP", "extra":"Kingdom of Spain" });
	c.push({ "propername":"Sri Lanka", "abbrv":"LKA", "extra":"Democratic Socialist Republic of Sri Lanka" });
	c.push({ "propername":"Sudan", "abbrv":"SDN", "extra":"Republic of the Sudan" });
	c.push({ "propername":"Suriname", "abbrv":"SUR", "extra":"Republic of Suriname" });
	c.push({ "propername":"Svalbard and Jan Mayen", "abbrv":"SJM", "extra":"" });
	c.push({ "propername":"Swaziland", "abbrv":"SWZ", "extra":"Kingdom of Swaziland" });
	c.push({ "propername":"Sweden", "abbrv":"SWE", "extra":"Kingdom of Sweden" });
	c.push({ "propername":"Switzerland", "abbrv":"CHE", "extra":"Swiss Confederation" });
	c.push({ "propername":"Syria", "abbrv":"SYR", "extra":"Syrian Arab Republic" });
	c.push({ "propername":"Taiwan", "abbrv":"TWN", "extra":"Providence of China" });
	c.push({ "propername":"Tajikistan", "abbrv":"TJK", "extra":"Republic of Tajikistan" });
	c.push({ "propername":"Tanzania", "abbrv":"TZA", "extra":"United Republic of Tanzania" });
	c.push({ "propername":"Thailand", "abbrv":"THA", "extra":"Kingdom of Thailand" });
	c.push({ "propername":"Timor-Leste", "abbrv":"TLS", "extra":"" });
	c.push({ "propername":"Togo", "abbrv":"TGO", "extra":"Togolese Republic" });
	c.push({ "propername":"Tokelau", "abbrv":"TKL", "extra":"" });
	c.push({ "propername":"Tonga", "abbrv":"TON", "extra":"" });
	c.push({ "propername":"Trinidad and Tobago", "abbrv":"TTO", "extra":"Republic of Trinidad and Tobago" });
	c.push({ "propername":"Tunisia", "abbrv":"TUN", "extra":"Tunisian Republic" });
	c.push({ "propername":"Turkey", "abbrv":"TUR", "extra":"Republic of Turkey" });
	c.push({ "propername":"Turkmenistan", "abbrv":"TKM", "extra":"" });
	c.push({ "propername":"Turks and Caicos Islands", "abbrv":"TCA", "extra":"" });
	c.push({ "propername":"Tuvalu", "abbrv":"TUV", "extra":"" });
	c.push({ "propername":"Uganda", "abbrv":"UGA", "extra":"Republic of Uganda" });
	c.push({ "propername":"Ukraine", "abbrv":"UKR", "extra":"" });
	c.push({ "propername":"United Arab Emirates", "abbrv":"ARE", "extra":"" });
	c.push({ "propername":"United Kingdom", "abbrv":"GBR", "extra":"United Kingdom of Great Britain and Northern Ireland" });
	c.push({ "propername":"United States", "abbrv":"USA", "extra":"United States of America" });
	c.push({ "propername":"United States Minor Outlying Islands", "abbrv":"UMI", "extra":"" });
	c.push({ "propername":"Uruguay", "abbrv":"URY", "extra":"Eastern Republic of Uruguay" });
	c.push({ "propername":"Uzbekistan", "abbrv":"UZB", "extra":"Republic of Uzbekistan" });
	c.push({ "propername":"Vanuatu", "abbrv":"VUT", "extra":"Republic of Vanuatu" });
	c.push({ "propername":"Venezuela", "abbrv":"VEN", "extra":"Bolivarian Republic of Venezuela" });
	c.push({ "propername":"Viet Nam", "abbrv":"VNM", "extra":"Socialist Republic of Vietnam" });
	c.push({ "propername":"British Virgin Islands", "abbrv":"VGB", "extra":"" });
	c.push({ "propername":"U.S. Virgin Islands", "abbrv":"VIR", "extra":"" });
	c.push({ "propername":"Wallis and Futuna", "abbrv":"WLF", "extra":"" });
	c.push({ "propername":"Western Sahara", "abbrv":"ESH", "extra":"" });
	c.push({ "propername":"Yemen", "abbrv":"YEM", "extra":"Republic of Yemen" });
	c.push({ "propername":"Zambia", "abbrv":"ZMB", "extra":"Republic of Zambia" });
	c.push({ "propername":"Zimbabwe", "abbrv":"ZWE", "extra":"Republic of Zimbabwe" });

	var s = Array(); // states array
	s.push({ "abbrv":"AK", "propername":"Alaska" });
	s.push({ "abbrv":"AL", "propername":"Alabama" });
	s.push({ "abbrv":"AR", "propername":"Arkansas" });
	s.push({ "abbrv":"AZ", "propername":"Arizona" });
	s.push({ "abbrv":"CA", "propername":"California" });
	s.push({ "abbrv":"CO", "propername":"Colorado" });
	s.push({ "abbrv":"CT", "propername":"Connecticut" });
	s.push({ "abbrv":"DC", "propername":"District of Columbia" });
	s.push({ "abbrv":"DE", "propername":"Delaware" });
	s.push({ "abbrv":"FL", "propername":"Florida" });
	s.push({ "abbrv":"GA", "propername":"Georgia" });
	s.push({ "abbrv":"HI", "propername":"Hawaii" });
	s.push({ "abbrv":"IA", "propername":"Iowa" });
	s.push({ "abbrv":"ID", "propername":"Idaho" });
	s.push({ "abbrv":"IL", "propername":"Illinois" });
	s.push({ "abbrv":"IN", "propername":"Indiana" });
	s.push({ "abbrv":"KS", "propername":"Kansas" });
	s.push({ "abbrv":"KY", "propername":"Kentucky" });
	s.push({ "abbrv":"LA", "propername":"Louisiana" });
	s.push({ "abbrv":"MA", "propername":"Massachusetts" });
	s.push({ "abbrv":"MD", "propername":"Maryland" });
	s.push({ "abbrv":"ME", "propername":"Maine" });
	s.push({ "abbrv":"MI", "propername":"Michigan" });
	s.push({ "abbrv":"MN", "propername":"Minnesota" });
	s.push({ "abbrv":"MO", "propername":"Missouri" });
	s.push({ "abbrv":"MS", "propername":"Mississippi" });
	s.push({ "abbrv":"MT", "propername":"Montana" });
	s.push({ "abbrv":"NC", "propername":"North Carolina" });
	s.push({ "abbrv":"ND", "propername":"North Dakota" });
	s.push({ "abbrv":"NE", "propername":"Nebraska" });
	s.push({ "abbrv":"NH", "propername":"New Hampshire" });
	s.push({ "abbrv":"NJ", "propername":"New Jersey" });
	s.push({ "abbrv":"NM", "propername":"New Mexico" });
	s.push({ "abbrv":"NV", "propername":"Nevada" });
	s.push({ "abbrv":"NY", "propername":"New York" });
	s.push({ "abbrv":"OH", "propername":"Ohio" });
	s.push({ "abbrv":"OK", "propername":"Oklahoma" });
	s.push({ "abbrv":"OR", "propername":"Oregon" });
	s.push({ "abbrv":"PA", "propername":"Pennsylvania" });
	s.push({ "abbrv":"RI", "propername":"Rhode Island" });
	s.push({ "abbrv":"SC", "propername":"South Carolina" });
	s.push({ "abbrv":"SD", "propername":"South Dakota" });
	s.push({ "abbrv":"TN", "propername":"Tennessee" });
	s.push({ "abbrv":"TX", "propername":"Texas" });
	s.push({ "abbrv":"UT", "propername":"Utah" });
	s.push({ "abbrv":"VA", "propername":"Virginia" });
	s.push({ "abbrv":"VT", "propername":"Vermont" });
	s.push({ "abbrv":"WA", "propername":"Washington" });
	s.push({ "abbrv":"WI", "propername":"Wisconsin" });
	s.push({ "abbrv":"WV", "propername":"West Virginia" });
	s.push({ "abbrv":"WY", "propername":"Wyoming" });

	var t = Array();  // US territories array
	t.push({ "abbrv":"GM", "propername":"Guam" });
	t.push({ "abbrv":"PR", "propername":"Puerto Rico" });
	
	this.country = function ( dropdownid, selectedoption, abbreviations, fullname ) {
		if ( ! document.getElementById ( dropdownid ) ) { alert ( 'Selectbox ID '+ dropdownid +' not available' ); return false; };
		for ( var i = 0; i < c.length; i++ ) {
			var subnode = document.createElement ( 'option' );
			var optionvalue = abbreviations == 1 ? c[i].abbrv : c[i].propername;
			subnode.setAttribute ( 'value', optionvalue );
			if ( selectedoption != 0 && ( c[i].abbrv == selectedoption || c[i].propername == selectedoption ) ) {
				subnode.setAttribute ( 'selected', 'selected' );
			}
			var completename = fullname == 1 ? (c[i].extra.length > 0 ? c[i].propername + ' - ' + c[i].extra : c[i].propername) : c[i].propername;
			var opt1txt = document.createTextNode (completename );
			subnode.appendChild ( opt1txt );
			document.getElementById ( dropdownid ).appendChild ( subnode );
		}
	
	};
	
	this.state = function ( dropdownid, selectedoption, abbreviations, fullname, territory ) {
		if ( ! document.getElementById ( dropdownid ) ) { alert ( 'Selectbox ID '+ dropdownid +' not available' ); return false; };
		var selsubnode = document.createElement ( 'option' );
		selsubnode.setAttribute ( 'value', '' );
		var selopttxt = document.createTextNode ( 'Select one...' );
		selsubnode.appendChild ( selopttxt );
		document.getElementById ( dropdownid ).appendChild ( selsubnode );
		
		for ( var i = 0; i < s.length; i++ ) {
			var subnode = document.createElement ( 'option' );
			var optionvalue = abbreviations == 1 ? s[i].abbrv : s[i].propername;
			subnode.setAttribute ( 'value', optionvalue );
			if ( selectedoption != 0 && ( s[i].abbrv == selectedoption || s[i].propername == selectedoption ) ) {
				subnode.setAttribute ( 'selected', 'selected' );
			}
			var completename = fullname == 1 ? s[i].abbrv + ' - ' + s[i].propername : s[i].propername;
			var opt1txt = document.createTextNode (completename );
			subnode.appendChild ( opt1txt );
			document.getElementById ( dropdownid ).appendChild ( subnode );
		}
		if (territory == 1) {
			var sepnode = document.createElement ( 'option' );
			sepnode.setAttribute ( 'value', '' );
			var dashes = document.createTextNode ('------------------' );
			sepnode.appendChild ( dashes );
			document.getElementById ( dropdownid ).appendChild ( sepnode );
			for (var j = 0; j < t.length; j++ ) {
				var subnode = document.createElement ( 'option' );
				var optionvalue = abbreviations == 1 ? t[j].abbrv : t[j].propername;
				subnode.setAttribute ( 'value', optionvalue );
				if ( selectedoption != 0 && ( t[j].abbrv == selectedoption || t[j].propername == selectedoption ) ) {
					subnode.setAttribute ( 'selected', 'selected' );
				}
				var completename = fullname == 1 ? t[j].abbrv + ' - ' + t[j].propername : t[j].propername;
				var opt1txt = document.createTextNode (completename );
				subnode.appendChild ( opt1txt );
				document.getElementById ( dropdownid ).appendChild ( subnode );
			}	
		}
	};
	
	this.debug = function ( ) {
		alert ( 'found '+ c.length +' country objects');
	};
}

function showWorld(){
	var theCountry = document.getElementById('countries').value
	if(theCountry == "USA"){
		document.getElementById("studentVisaRequired").value = "Y";
		document.getElementById('countryDD').style.display = "";
		document.getElementById('us_states').style.display = "";
		document.getElementById('dom_phones').style.display = "none";
		document.getElementById('int_phones').style.display = "";
		document.getElementById('zip_code').style.display = "";
	}else{
		document.getElementById("studentVisaRequired").value = "Y";
		document.getElementById('countryDD').style.display = "";
		document.getElementById('us_states').style.display = "none";
		document.getElementById('dom_phones').style.display = "none";
		document.getElementById('int_phones').style.display = "";
		document.getElementById('zip_code').style.display = "none";
		}
	}
	
function hideWorld(){
	document.getElementById('studentVisaRequired').value = "N";
	document.getElementById('countryDD').style.display = "none";
	document.getElementById('us_states').style.display = "";
	document.getElementById('dom_phones').style.display = "";
	document.getElementById('int_phones').style.display = "none";
	document.getElementById('zip_code').style.display = "";
}

function checkForUSA(){
var theCountry = document.getElementById('countries').value;
	if(theCountry == "USA"){
		document.getElementById('countryDD').style.display = "";
		document.getElementById('us_states').style.display = "";
		document.getElementById('dom_phones').style.display = "";
		document.getElementById('int_phones').style.display = "none";
		document.getElementById('zip_code').style.display = "";
	}else{
		document.getElementById('countryDD').style.display = "";
		document.getElementById('us_states').style.display = "none";
		document.getElementById('dom_phones').style.display = "none";
		document.getElementById('int_phones').style.display = "";
		document.getElementById('zip_code').style.display = "none";
	}
}
function showMil(){
	document.getElementById('mil_status').style.display = "block"
	document.getElementById('mil_status2').style.display = "block"
	document.getElementById('militaryStatus').value = "active"
};
function hideMil(){
	document.getElementById('mil_status').style.display = "none"
	document.getElementById('mil_status2').style.display = "none"
	document.getElementById('militaryStatus').value = ""
};


