var inValid = "azertyuiopqsdfghjklmwxcvbn0123456789";

function Form_Validator(theForm)

{

	var alertstr = " ";



	if (theForm.passname.value == "")

	{

		alert(alertstr + "Please fill in your name.");

		theForm.passname.focus();

		return (false);

	}

	if (theForm.passname.value.length < 4)

	{

		alert(alertstr + "Please fill in your name correctly.");

		theForm.passname.focus();

		return (false);

	}

		if (theForm.depair.value == "")

	{

		alert(alertstr + "Please specify the departure airport.");

		theForm.depair.focus();

		return (false);

	}

	if (theForm.email.value == "")

	{

		alert(alertstr + "Please specify a valid contact email.");

		theForm.email.focus();

		return (false);

	}
}