
function RegionSelect (){
var i,j=0
var StrCountry=document.RegForm.Country;
var StrRegion=document.RegForm.Region;

for (i=StrRegion.length-1; i>=0; i--){
	if(StrRegion.options[i].selected==true){document.RegForm.RegionHidden.value=StrRegion.options[i].value;
		if (StrRegion.options[i].value=="Afr"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Algeria","Algeria");
			StrCountry.options[1] = new Option("Angola","Angola");
			StrCountry.options[2] = new Option("Nigeria","Nigeria");
			StrCountry.options[3] = new Option("Benin","Benin");
			StrCountry.options[4] = new Option("Botswana","Botswana");		
			StrCountry.options[5] = new Option("Burkina Faso","Burkina Faso");
			StrCountry.options[6] = new Option("Burundi","Burundi");
			StrCountry.options[7] = new Option("Cameroon","Cameroon");
			StrCountry.options[8] = new Option("Cape Verde","Cape Verde");
			StrCountry.options[9] = new Option("Central African Republic","Central African Republic");
			StrCountry.options[10] = new Option("Chad","Chad");
			StrCountry.options[11] = new Option("Comoros","Comoros");
			StrCountry.options[12] = new Option("Congo","Congo");
			StrCountry.options[13] = new Option("Cote D'Ivoire","Cote D'Ivoire");
			StrCountry.options[14] = new Option("Djibouti","Djibouti");
			StrCountry.options[15] = new Option("Egypt","Egypt");
			StrCountry.options[16] = new Option("Equatorial Guinea","Equatorial Guinea");
			StrCountry.options[17] = new Option("Eritrea","Eritrea");
			StrCountry.options[18] = new Option("Ethiopia","Ethiopia");
			StrCountry.options[19] = new Option("Gabon","Gabon");
			StrCountry.options[20] = new Option("Gambia","Gambia");
			StrCountry.options[21] = new Option("Ghana","Ghana");
			StrCountry.options[22] = new Option("Guinea","Guinea");
			StrCountry.options[23] = new Option("Guineabissau","Guineabissau");
			StrCountry.options[24] = new Option("Kenya","Kenya");
			StrCountry.options[25] = new Option("Lesotho","Lesotho");
			StrCountry.options[26] = new Option("Liberia","Liberia");
			StrCountry.options[27] = new Option("Libyan Arab Jamahiriya","Libyan Arab Jamahiriya");
			StrCountry.options[28] = new Option("Madagascar","Madagascar");
			StrCountry.options[29] = new Option("Malawi","Malawi");
			StrCountry.options[30] = new Option("Mali","Mali");
			StrCountry.options[31] = new Option("Mauritania","Mauritania");
			StrCountry.options[32] = new Option("Mauritius","Mauritius");
			StrCountry.options[33] = new Option("Morocco","Morocco");
			StrCountry.options[34] = new Option("Mozambique","Mozambique");
			StrCountry.options[35] = new Option("Namibia","Namibia");
			StrCountry.options[36] = new Option("Niger","Niger");
			StrCountry.options[37] = new Option("Nigeria","Nigeria");
			StrCountry.options[38] = new Option("Reunion","Reunion");
			StrCountry.options[39] = new Option("Rwanda","Rwanda");
			StrCountry.options[40] = new Option("Sao Tome and Principe","Sao Tome and Principe");
			StrCountry.options[41] = new Option("Senegal","Senegal");
			StrCountry.options[42] = new Option("Seychelles","Seychelles");
			StrCountry.options[43] = new Option("Sierra Leone","Sierra Leone");
			StrCountry.options[44] = new Option("Somalia","Somalia");
			StrCountry.options[45] = new Option("South Africa","South Africa");
			StrCountry.options[46] = new Option("Sudan","Sudan");
			StrCountry.options[47] = new Option("Swaziland","Swaziland");
			StrCountry.options[48] = new Option("Tanzania, United Republic","Tanzania, United Republic");
			StrCountry.options[49] = new Option("Togo","Togo");
			StrCountry.options[50] = new Option("Tunisia","Tunisia");
			StrCountry.options[51] = new Option("Uganda","Uganda");
			StrCountry.options[52] = new Option("Zaire [Dem. Rep. of Congo]","Zaire [Dem. Rep. of Congo]");
			StrCountry.options[53] = new Option("Zambia","Zambia");
			StrCountry.options[54] = new Option("Zimbabwe","Zimbabwe");
		}
		if (StrRegion.options[i].value=="As"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Afghanistan","Afghanistan");
			StrCountry.options[1] = new Option("Azerbaijan","Azerbaijan");
			StrCountry.options[2] = new Option("Kyrgyzstan","Kyrgyzstan");
			StrCountry.options[3] = new Option("Mongolia","Mongolia");
			StrCountry.options[4] = new Option("Tajikistan","Tajikistan");
			StrCountry.options[5] = new Option("Uzbekistan","Uzbekistan");
		}
		if (StrRegion.options[i].value=="Austr"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("American Samoa","American Samoa");
			StrCountry.options[1] = new Option("Australia","Australia");
			StrCountry.options[2] = new Option("Capital Territory","Capital Territory");
			StrCountry.options[3] = new Option("Cook Islands","Cook Islands");
			StrCountry.options[4] = new Option("Fiji","Fiji");
			StrCountry.options[5] = new Option("Guam","Guam");
			StrCountry.options[6] = new Option("Kiribati","Kiribati");
			StrCountry.options[7] = new Option("Micronesia, Federated States","Micronesia, Federated States");
			StrCountry.options[8] = new Option("Nauru","Nauru");
			StrCountry.options[9] = new Option("New Caledonia","New Caledonia");
			StrCountry.options[10] = new Option("New South Wales","New South Wales");
			StrCountry.options[11] = new Option("New Zealand","New Zealand");
			StrCountry.options[12] = new Option("Niue","Niue");
			StrCountry.options[13] = new Option("Northern Mariana Islands","Northern Mariana Islands");
			StrCountry.options[14] = new Option("Northern Territory","Northern Territory");
			StrCountry.options[15] = new Option("Pacific Islands of Micronesia","Pacific Islands of Micronesia");
			StrCountry.options[16] = new Option("Pacific, The","Pacific, The");
			StrCountry.options[17] = new Option("Palau","Palau");
			StrCountry.options[18] = new Option("Papua New Guinea","Papua New Guinea");
			StrCountry.options[19] = new Option("Queensland","Queensland");
			StrCountry.options[20] = new Option("Samoa","Samoa");
			StrCountry.options[21] = new Option("Solomon Islands","Solomon Islands");
			StrCountry.options[22] = new Option("South Australia","South Australia");
			StrCountry.options[23] = new Option("Tahiti [French  Polynesia]","Tahiti [French  Polynesia]");
			StrCountry.options[24] = new Option("Tasmania","Tasmania");
			StrCountry.options[25] = new Option("Tonga","Tonga");
			StrCountry.options[26] = new Option("Tuvalu","Tuvalu");
			StrCountry.options[27] = new Option("Vanuatu","Vanuatu");
			StrCountry.options[28] = new Option("Victoria","Victoria");
			StrCountry.options[29] = new Option("Western Australia","Western Australia");
		}
		

		if (StrRegion.options[i].value=="Can"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Alberta","Alberta");
			StrCountry.options[1] = new Option("British Columbia","British Columbia");
			StrCountry.options[2] = new Option("Manitoba","Manitoba");
			StrCountry.options[3] = new Option("New Brunswick","New Brunswick");
			StrCountry.options[4] = new Option("Newfoundland","Newfoundland");
			StrCountry.options[5] = new Option("Nova Scotia","Nova Scotia");
			StrCountry.options[6] = new Option("Northwest Territories","Northwest Territories");
			StrCountry.options[7] = new Option("Ontario","Ontario");
			StrCountry.options[8] = new Option("Prince Edward Island","Prince Edward Island");
			StrCountry.options[9] = new Option("Quebec","Quebec");
			StrCountry.options[10] = new Option("Saskatchewan","Saskatchewan");
			StrCountry.options[11] = new Option("Yukon Territoy","Yukon Territoy");
		}
		if (StrRegion.options[i].value=="Eur"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Albania","Albania");
			StrCountry.options[1] = new Option("Alderney","Alderney");
			StrCountry.options[2] = new Option("Andorra","Andorra");
			StrCountry.options[3] = new Option("Austria","Austria");
			StrCountry.options[4] = new Option("Azores","Azores");
			StrCountry.options[5] = new Option("Balearic Islands","Balearic Islands");
			StrCountry.options[6] = new Option("Belarus","Belarus");
			StrCountry.options[7] = new Option("Belgium","Belgium");
			StrCountry.options[8] = new Option("Bosnia and Herzegovina","Bosnia and Herzegovina");
			StrCountry.options[9] = new Option("British Dependent Territories","British Dependent Territories");
			StrCountry.options[10] = new Option("Bulgaria","Bulgaria");
			StrCountry.options[11] = new Option("Canary Islands","Canary Islands");
			StrCountry.options[12] = new Option("Croatia [local name: Hrvatska]","Croatia [local name: Hrvatska]");
			StrCountry.options[13] = new Option("Cyprus","Cyprus");
			StrCountry.options[14] = new Option("Czech Republic","Czech Republic");
			StrCountry.options[15] = new Option("Denmark","Denmark");
			StrCountry.options[16] = new Option("England","England");
			StrCountry.options[17] = new Option("Estonia","Estonia");
			StrCountry.options[18] = new Option("Finland","Finland");
			StrCountry.options[19] = new Option("France","France");
			StrCountry.options[20] = new Option("French Overseas Posessions","French Overseas Posessions");
			StrCountry.options[21] = new Option("French Overseas Territories","French Overseas Territories");
			StrCountry.options[22] = new Option("Germany","Germany");
			StrCountry.options[23] = new Option("Gibraltar","Gibraltar");
			StrCountry.options[24] = new Option("Greece","Greece");
			StrCountry.options[25] = new Option("Guernsey","Guernsey");
			StrCountry.options[26] = new Option("Hungary","Hungary");
			StrCountry.options[27] = new Option("Iceland","Iceland");
			StrCountry.options[28] = new Option("Ireland","Ireland");
			StrCountry.options[29] = new Option("Isle Of Man","Isle Of Man");
			StrCountry.options[30] = new Option("Italy","Italy");
			StrCountry.options[31] = new Option("Jersey","Jersey");
			StrCountry.options[32] = new Option("Latvia","Latvia");
			StrCountry.options[33] = new Option("Liechtenstein","Liechtenstein");
			StrCountry.options[34] = new Option("Lithuania","Lithuania");
			StrCountry.options[35] = new Option("Luxembourg","Luxembourg");
			StrCountry.options[36] = new Option("Macedonia, The Former Yugoslav","Macedonia, The Former Yugoslav");
			StrCountry.options[37] = new Option("Madeira","Madeira");
			StrCountry.options[38] = new Option("Malta","Malta");
			StrCountry.options[39] = new Option("Moldova, Republic","Moldova, Republic");
			StrCountry.options[40] = new Option("Monaco","Monaco");
			StrCountry.options[41] = new Option("Netherlands","Netherlands");
			StrCountry.options[42] = new Option("Northern Ireland","Northern Ireland");
			StrCountry.options[43] = new Option("Norway","Norway");
			StrCountry.options[44] = new Option("Poland","Poland");
			StrCountry.options[45] = new Option("Portugal","Portugal");
			StrCountry.options[46] = new Option("Russia","Russia");
			StrCountry.options[47] = new Option("Romania","Romania");
			StrCountry.options[48] = new Option("San Marino","San Marino");
			StrCountry.options[49] = new Option("Sark & Herm","Sark & Herm");
			StrCountry.options[50] = new Option("Scotland","Scotland");
			StrCountry.options[51] = new Option("Slovakia [Slovak Republic]","Slovakia [Slovak Republic]");
			StrCountry.options[52] = new Option("Slovenia","Slovenia");
			StrCountry.options[53] = new Option("Spain","Spain");
			StrCountry.options[54] = new Option("Sweden","Sweden");
			StrCountry.options[55] = new Option("Switzerland","Switzerland");
			StrCountry.options[56] = new Option("Ukraine","Ukraine");
			StrCountry.options[57] = new Option("United Kingdom","United Kingdom");
			StrCountry.options[58] = new Option("Vatican City State [Holy See]","Vatican City State [Holy See]");
			StrCountry.options[59] = new Option("Wales","Wales");
			StrCountry.options[60] = new Option("Yugoslavia","Yugoslavia");
		}
		if (StrRegion.options[i].value=="FarEast"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("China","China");
			StrCountry.options[1] = new Option("Hong Kong","Hong Kong");
			StrCountry.options[2] = new Option("Japan","Japan");
			StrCountry.options[3] = new Option("Korea, Dem People's Republic","Korea, Dem People's Republic");
			StrCountry.options[4] = new Option("Korea, Republic","Korea, Republic");
			StrCountry.options[5] = new Option("Macau","Macau");
			StrCountry.options[6] = new Option("Taiwan","Taiwan");
		}
		if (StrRegion.options[i].value=="Indian"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Bangladesh","Bangladesh");
			StrCountry.options[1] = new Option("Bhutan","Bhutan");
			StrCountry.options[2] = new Option("India","India");
			StrCountry.options[3] = new Option("Maldives","Maldives");
			StrCountry.options[4] = new Option("Nepal","Nepal");
			StrCountry.options[5] = new Option("Pakistan","Pakistan");
			StrCountry.options[6] = new Option("Sri Lanka","Sri Lanka");
		}
		if (StrRegion.options[i].value=="LA"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Anguilla","Anguilla");
			StrCountry.options[1] = new Option("Antigua and Barbuda","Antigua and Barbuda");
			StrCountry.options[2] = new Option("Aruba","Aruba");
			StrCountry.options[3] = new Option("Bahamas","Bahamas");
			StrCountry.options[4] = new Option("Barbados","Barbados");
			StrCountry.options[5] = new Option("Belize","Belize");
			StrCountry.options[6] = new Option("Bonaire","Bonaire");
			StrCountry.options[7] = new Option("Cayman Islands","Cayman Islands");
			StrCountry.options[8] = new Option("Cuba","Cuba");
			StrCountry.options[9] = new Option("Curacao","Curacao");
			StrCountry.options[10] = new Option("Dominica","Dominica");
			StrCountry.options[11] = new Option("Dominican Republic","Dominican Republic");
			StrCountry.options[12] = new Option("El Salvador","El Salvador");
			StrCountry.options[13] = new Option("Grenada","Grenada");
			StrCountry.options[14] = new Option("Guadeloupe","Guadeloupe");
			StrCountry.options[15] = new Option("Guatemala","Guatemala");
			StrCountry.options[16] = new Option("Haiti","Haiti");
			StrCountry.options[17] = new Option("Honduras","Honduras");
			StrCountry.options[18] = new Option("Jamaica","Jamaica");
			StrCountry.options[19] = new Option("Martinique","Martinique");
			StrCountry.options[20] = new Option("Montserrat","Montserrat");
			StrCountry.options[21] = new Option("Nicaragua","Nicaragua");
			StrCountry.options[22] = new Option("Panama","Panama");
			StrCountry.options[23] = new Option("Puerto Rico","Puerto Rico");
			StrCountry.options[24] = new Option("Saba","Saba");
			StrCountry.options[25] = new Option("Saint Kitts and Nevis","Saint Kitts and Nevis");
			StrCountry.options[26] = new Option("Saint Lucia","Saint Lucia");
			StrCountry.options[27] = new Option("Saint Vincent and the Grenadines","Saint Vincent and the Grenadines");
			StrCountry.options[28] = new Option("St Eustatius","St Eustatius");
			StrCountry.options[29] = new Option("St Maarten","St Maarten");
			StrCountry.options[30] = new Option("Trinidad and Tobago","Trinidad and Tobago");
			StrCountry.options[31] = new Option("Turks and Caicos Islands","Turks and Caicos Islands");
			StrCountry.options[32] = new Option("Virgin Islands - British","Virgin Islands - British");
			StrCountry.options[33] = new Option("Virgin Islands - US","Virgin Islands - US");
		}
		if (StrRegion.options[i].value=="MiddleEast"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Armenia","Armenia");
			StrCountry.options[1] = new Option("Bahrain","Bahrain");
			StrCountry.options[2] = new Option("Georgia","Georgia");
			StrCountry.options[3] = new Option("Iran [Islamic Republic of]","Iran [Islamic Republic of]");
			StrCountry.options[4] = new Option("Iraq","Iraq");
			StrCountry.options[5] = new Option("Israel","Israel");
			StrCountry.options[6] = new Option("Jordan","Jordan");
			StrCountry.options[7] = new Option("Kuwait","Kuwait");
			StrCountry.options[8] = new Option("Lebanon","Lebanon");
			StrCountry.options[9] = new Option("Oman","Oman");
			StrCountry.options[10] = new Option("Qatar","Qatar");
			StrCountry.options[11] = new Option("Saudi Arabia","Saudi Arabia");
			StrCountry.options[12] = new Option("Syrian Arab Republic","Syrian Arab Republic");
			StrCountry.options[13] = new Option("Turkey","Turkey");
			StrCountry.options[14] = new Option("Turkmenistan","Turkmenistan");
			StrCountry.options[15] = new Option("United Arab Emirates","United Arab Emirates");
			StrCountry.options[16] = new Option("Yemen","Yemen");
		}
		if (StrRegion.options[i].value=="SouthAmerica"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Antarctica","Antarctica");
			StrCountry.options[1] = new Option("Argentina","Argentina");
			StrCountry.options[2] = new Option("Bolivia","Bolivia");
			StrCountry.options[3] = new Option("Brazil","Brazil");
			StrCountry.options[4] = new Option("Chile","Chile");
			StrCountry.options[5] = new Option("Colombia","Colombia");
			StrCountry.options[6] = new Option("Ecuador","Ecuador");
			StrCountry.options[7] = new Option("Falkland Islands","Falkland Islands");
			StrCountry.options[8] = new Option("French Guiana","French Guiana");
			StrCountry.options[9] = new Option("Guyana","Guyana");
			StrCountry.options[10] = new Option("Paraguay","Paraguay");
			StrCountry.options[11] = new Option("Peru","Peru");
			StrCountry.options[12] = new Option("Suriname","Suriname");
			StrCountry.options[13] = new Option("Uruguay","Uruguay");
			StrCountry.options[14] = new Option("Venezuela","Venezuela");
		}
		if (StrRegion.options[i].value=="SEAsia"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Brunei Darussalam","Brunei Darussalam");
			StrCountry.options[1] = new Option("Cambodia","Cambodia");
			StrCountry.options[2] = new Option("Indonesia","Indonesia");
			StrCountry.options[3] = new Option("Laos","Laos");
			StrCountry.options[4] = new Option("Malaysia","Malaysia");
			StrCountry.options[5] = new Option("Myanmar","Myanmar");
			StrCountry.options[6] = new Option("Philippines","Philippines");
			StrCountry.options[7] = new Option("Singapore","Singapore");
			StrCountry.options[8] = new Option("Thailand","Thailand");
			StrCountry.options[9] = new Option("Vietnam","Vietnam");
		}
		if (StrRegion.options[i].value=="US"){
			for(j=StrCountry.length-1; j>=0; j--){StrCountry.options[j]=null;}
			StrCountry.options[0] = new Option("Alabama","Alabama");
			StrCountry.options[1] = new Option("Alaska","Alaska");
			StrCountry.options[2] = new Option("Arizona","Arizona");
			StrCountry.options[3] = new Option("Arkansas","Arkansas");
			StrCountry.options[4] = new Option("California","California");
			StrCountry.options[5] = new Option("Colorado","Colorado");
			StrCountry.options[6] = new Option("Connecticut","Connecticut");
			StrCountry.options[7] = new Option("Delaware","Delaware");
			StrCountry.options[8] = new Option("District of Columbia","District of Columbia");
			StrCountry.options[9] = new Option("Florida","Florida");
			StrCountry.options[10] = new Option("Georgia","Georgia");
			StrCountry.options[11] = new Option("Guam","Guam");
			StrCountry.options[12] = new Option("Hawaii","Hawaii");
			StrCountry.options[13] = new Option("Idaho","Idaho");
			StrCountry.options[14] = new Option("Illinois","Illinois");
			StrCountry.options[15] = new Option("Indiana","Indiana");
			StrCountry.options[16] = new Option("Iowa","Iowa");
			StrCountry.options[17] = new Option("Kansas","Kansas");
			StrCountry.options[18] = new Option("Kentucky","Kentucky");
			StrCountry.options[19] = new Option("Louisiana","Louisiana");
			StrCountry.options[20] = new Option("Maine","Maine");
			StrCountry.options[21] = new Option("Maryland","Maryland");
			StrCountry.options[22] = new Option("Massachusetts","Massachusetts");
			StrCountry.options[23] = new Option("Michigan","Michigan");
			StrCountry.options[24] = new Option("Minnesota","Minnesota");
			StrCountry.options[25] = new Option("Mississipi","Mississipi");
			StrCountry.options[26] = new Option("Missouri","Missouri");
			StrCountry.options[27] = new Option("Montana","Montana");
			StrCountry.options[28] = new Option("Nebraska","Nebraska");
			StrCountry.options[29] = new Option("Nevada","Nevada");
			StrCountry.options[30] = new Option("New Hampshire","New Hampshire");
			StrCountry.options[31] = new Option("New Jersey","New Jersey");
			StrCountry.options[32] = new Option("New Mexico","New Mexico");
			StrCountry.options[33] = new Option("New York","New York");
			StrCountry.options[34] = new Option("North Carolina","North Carolina");
			StrCountry.options[35] = new Option("North Dakota","North Dakota");
			StrCountry.options[36] = new Option("Ohio","Ohio");
			StrCountry.options[37] = new Option("Oklahoma","Oklahoma");
			StrCountry.options[38] = new Option("Oregon","Oregon");
			StrCountry.options[39] = new Option("Pennsylvania","Pennsylvania");
			StrCountry.options[40] = new Option("Puerto Rico","Puerto Rico");
			StrCountry.options[41] = new Option("Rhode Island","Rhode Island");
			StrCountry.options[42] = new Option("South Carolina","South Carolina");
			StrCountry.options[43] = new Option("South Dakota","South Dakota");
			StrCountry.options[44] = new Option("Tennessee","Tennessee");
			StrCountry.options[45] = new Option("Texas","Texas");
			StrCountry.options[46] = new Option("Utah","Utah");
			StrCountry.options[47] = new Option("Vermont","Vermont");
			StrCountry.options[48] = new Option("Virginia","Virginia");
			StrCountry.options[49] = new Option("Washington","Washington");
			StrCountry.options[50] = new Option("West Virginia","West Virginia");
			StrCountry.options[51] = new Option("Wisconsin","Wisconsin");
			StrCountry.options[52] = new Option("Wyoming","Wyoming");
		}
	}
}
}
function CounrtySelect(){
var StrCountry=document.RegForm.Country;
var i=0
for (i=StrCountry.length-1; i>=0; i--){
	if(StrCountry.options[i].selected==true){document.RegForm.CounrtyHidden.value=StrCountry.options[i].value;}
}	
}
function Form1_Validator(theForm)
{

  if (theForm.Region.selectedIndex < 0)
  {
    alert("Please select you location");
    theForm.Region.focus();
    return (false);
  }

  if (theForm.Country.selectedIndex < 0)
  {
    alert("Please select you location");
    theForm.Country.focus();
    return (false);
  }
  return (true);
}