<!--

	// Print out the email address using JavaScript to stop it being harvested

	function printEmailAddress() {
		document.write('Email: <a hr' + 'ef="mai');
		document.write('lto:');
		document.write('info');
		document.write('@');
		document.write('over5s');
		document.write('.com">');
		document.write('info');
		document.write('@');
		document.write('over5s');
		document.write('.com</' + 'a>');
	}


	// Function to fill the search list box with new values

	function changeList(box) {
		list = lists[box.options[box.selectedIndex].value];
		emptyList( box.form.catid );
		fillList( box.form.catid, list );
	}


	function fillList( box, arr ) {
		for ( i = 0; i < arr[0].length; i++ ) {
			option = new Option( arr[0][i], arr[1][i] );
			box.options[box.length] = option;
		}
		box.selectedIndex=0;
	}


	// Function to empty the search list box before filling it
	function emptyList( box ) {
		while ( box.options.length ) box.options[0] = null;
	}

	// Function to validate the user's search

	function validateSearch(searchform) {
		if (searchform.parentid.options[searchform.parentid.selectedIndex].value == 0) {
			alert('Please select a holiday type');
			return false;
		}
		else if (searchform.catid.options[searchform.catid.selectedIndex].value == 0) {
			alert('Please select a destination');
			return false;
		}


		return true;
	}


	// Function to validate the user's destination selection

	function validateDestination(destform) {
		if (destform.catid.options[destform.catid.selectedIndex].value == 0) {
			alert('Please select a destination');
			return false;
		}

		return true;
	}



//-->
