<!--

function PopulateRegion() {

   var MakeList = document.form.country;
   
   // Clear out the model list
   
   ClearOptions(document.form.region);
	   
   // Add items to other list
   
   if (MakeList[MakeList.selectedIndex].value == "any") {
	
		AddToOptionList(document.form.region, "Any", "Any");
	
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Spain") {
	
		AddToOptionList(document.form.region, "any", "Any");
		AddToOptionList(document.form.region, "Costa Del Sol", "Costa Del Sol");
		AddToOptionList(document.form.region, "Costa Blanca", "Costa Blanca");
		AddToOptionList(document.form.region, "Almeria", "Almeria");	   
		
	}
	if (MakeList[MakeList.selectedIndex].value == "Cyprus") {

			AddToOptionList(document.form.region, "any", "Any");
			AddToOptionList(document.form.region, "all", "All of Cyprus");	   
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Turkey") {

			AddToOptionList(document.form.region, "any", "Any");
			AddToOptionList(document.form.region, "Bodrum", "Bodrum"); 
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Caribbean") {
	
		AddToOptionList(document.form.region, "any", "Any");
		AddToOptionList(document.form.region, "Barbados", "Barbados");
		AddToOptionList(document.form.region, "St. Lucia", "St. Lucia");   
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Florida") {
	
		AddToOptionList(document.form.region, "any", "Any");
		AddToOptionList(document.form.region, "Orlando", "Orlando");
		AddToOptionList(document.form.region, "Naples", "Naples");   
		
	}
	

}

// populate areas list from zone/region
function PopulateArea() {

   var MakeList = document.form.region;
   
   // Clear out the model list
   
   ClearOptions(document.form.area);
	   
   // Add items to other list
   
   if (MakeList[MakeList.selectedIndex].value == "any") {
	
		AddToOptionList(document.form.area, "any", "Any");
	
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Costa Del Sol") {
	
		AddToOptionList(document.form.area, "any", "Any");
		AddToOptionList(document.form.area, "Elviria","Elviria");
		AddToOptionList(document.form.area, "Mijas","Mijas");
		AddToOptionList(document.form.area, "Marbella","Marbella");
		AddToOptionList(document.form.area, "Los Monteros","Los Monteros");
		AddToOptionList(document.form.area, "Nueva Andalucia","Nueva Andalucia");
		AddToOptionList(document.form.area, "Puerto Banus","Puerto Banus");
		AddToOptionList(document.form.area, "Sotogrande","Sotogrande");
		AddToOptionList(document.form.area, "San Roque","San Roque");
		AddToOptionList(document.form.area, "Duquesa","Duquesa");
		AddToOptionList(document.form.area, "Estepona","Estepona");
		AddToOptionList(document.form.area, "Benahavis","Benahavis");
		AddToOptionList(document.form.area, "San Pedro","San Pedro");
		AddToOptionList(document.form.area, "Golden Mile","Golden Mile");
		AddToOptionList(document.form.area, "El Rosario","El Rosario");
		AddToOptionList(document.form.area, "Las Chapas","Las Chapas");
		AddToOptionList(document.form.area, "Cabopino","Cabopino");
		AddToOptionList(document.form.area, "Calahonda","Calahonda");
		AddToOptionList(document.form.area, "Riviera del Sol","Riviera del Sol");
		AddToOptionList(document.form.area, "Miraflores","Miraflores");
		AddToOptionList(document.form.area, "Golf Valley","Golf Valley");
		AddToOptionList(document.form.area, "La Cala de Mijas","La Cala de Mijas");
		AddToOptionList(document.form.area, "Calahonda/Riviera/Miraflores","Calahonda/Riviera/Miraflores");
		AddToOptionList(document.form.area, "Elviria/Las Chapas/Cabopino","Elviria/Las Chapas/Cabopino");
		AddToOptionList(document.form.area, "Los Monteros/Bahia de Marbella","Los Monteros/Bahia de Marbella");
		AddToOptionList(document.form.area, "Puerto Banus/Nueva Andalucia/La Quinta","Puerto Banus/Nueva Andalucia/La Quinta");
		AddToOptionList(document.form.area, "San Pedro/Guadalmina/Benahavis","San Pedro/Guadalmina/Benahavis");

		AddToOptionList(document.form.area, "Estepona/Casares/Manilva/Duquesa","Estepona/Casares/Manilva/Duquesa");
		AddToOptionList(document.form.area, "San Roque/Sotogrande","San Roque/Sotogrande");
		AddToOptionList(document.form.area, "La Cala de Mijas/Mijas Pueblo","La Cala de Mijas/Mijas Pueblo");
		AddToOptionList(document.form.area, "Mijas/Mijas Costa","Mijas/Mijas Costa");
		AddToOptionList(document.form.area, "Guadalmina/Benahavis","Guadalmina/Benahavis");
		AddToOptionList(document.form.area, "Estepona/Casares/Duquesa","Estepona/Casares/Duquesa");
		AddToOptionList(document.form.area, "Costa Blanca","Costa Blanca");
		AddToOptionList(document.form.area, "Benalmadena/Fuengirola","Benalmadena/Fuengirola");	   
		
	}
	if (MakeList[MakeList.selectedIndex].value == "Costa Blanca") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "Costa Blanca", "Costa Blanca");	   
		
	}
	if (MakeList[MakeList.selectedIndex].value == "Almeria") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "Almerimar","Almerimar");
			AddToOptionList(document.form.area, "Cabo de Gata","Cabo de Gata");
			AddToOptionList(document.form.area, "Roquetas","Roquetas");
			AddToOptionList(document.form.area, "San Juan de los Terreros","San Juan de los Terreros");
			AddToOptionList(document.form.area, "Envia Golf","Envia Golf");
			AddToOptionList(document.form.area, "Aguadulce","Aguadulce");
			AddToOptionList(document.form.area, "Balerma","Balerma");
			AddToOptionList(document.form.area, "Terque","Terque");
			AddToOptionList(document.form.area, "Garrucha","Garrucha");
			AddToOptionList(document.form.area, "Mojacar","Mojacar");
			AddToOptionList(document.form.area, "Albunol","Albunol");
			AddToOptionList(document.form.area, "Antas","Antas");
			AddToOptionList(document.form.area, "Inland","Inland");
			AddToOptionList(document.form.area, "Zurgena","Zurgena");
			AddToOptionList(document.form.area, "Almanzora","Almanzora");
			AddToOptionList(document.form.area, "Vera Playa","Vera Playa");
		
	}
	if (MakeList[MakeList.selectedIndex].value == "all") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");
			AddToOptionList(document.form.area, "Larnaca","Larnaca");
			AddToOptionList(document.form.area, "Akamas","Akamas");
			AddToOptionList(document.form.area, "Paphos","Paphos");
			AddToOptionList(document.form.area, "Troodos","Troodos");
			AddToOptionList(document.form.area, "Limmasol","Limmasol");
			AddToOptionList(document.form.area, "Protaras","Protaras");
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Bodrum") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Barbados") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");   
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "St. Lucia") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");	   
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Orlando") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");   
		
	}
	
	if (MakeList[MakeList.selectedIndex].value == "Naples") {

			AddToOptionList(document.form.area, "any", "Any");
			AddToOptionList(document.form.area, "all","All Areas");   
		
	}
	

}

function ClearOptions(OptionList) {
	// Always clear an option list from the last entry to the first
	for (x = OptionList.length; x >= 0; x = x - 1) {
	OptionList[x] = null;
   }
}

function AddToOptionList(OptionList, OptionValue, OptionText) {
   // Add option to the bottom of the list
   OptionList[OptionList.length] = new Option(OptionText, OptionValue);
}

// -->