<!--

function showEnlarged(prefix, picUrl) 
{
	window.open(prefix+"display-popup.php?"+picUrl, "poppis", "resizable=1,HEIGHT=350,WIDTH=350,Left=20%,Top=20%");
}

function validateContact()
{
	fv = new formValidator();
	
	if (fv.isEmpty("your_name"))
		fv.raiseError("Please specify your name.");
		
	if (fv.isEmpty("your_tel_number"))
		fv.raiseError("Please specify your telephone number.");
	
	if (fv.isEmpty("email"))
		fv.raiseError("Please specify your email address.");
	else
	{
		if (!fv.isEmailAddress("email"))
			fv.raiseError("Please specify a valid email address.");
	}
	
	if (fv.isEmpty("room_type"))
		fv.raiseError("Please specify the room type.");
		
	if (fv.isEmpty("date_arrival"))
		fv.raiseError("Please specify the arrival date.");
		
	if (fv.isEmpty("date_departure"))
		fv.raiseError("Please specify the departure date.");
		
	if (fv.isEmpty("no_of_people"))
		fv.raiseError("Please specify the number of people.");
		
	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
		return true;
}

-->