function Form1_Validator(theForm)
{
	if (theForm.from.value == "")
	{
		alert("please input departure city/airport!");
		theForm.from.focus();
		return (false);
	}
	if (theForm.to.value == "")
	{
		alert("please input destination city/airport!");
		theForm.to.focus();
		return (false);
	}
	if (theForm.departuredate.value == "")
	{
		alert("Please input departure date !");
		theForm.departuredate.focus();
		return (false);
	}
	if (theForm.name.value == "")
	{
		alert("Please input your name!");
		theForm.name.focus();
		return (false);
	}
	if (theForm.email.value == "")
	{
		alert("Please input your email!");
		theForm.email.focus();
		return (false);
	}
	if (theForm.phone.value == "")
	{
		alert("Please input your phone!");
		theForm.phone.focus();
		return (false);
	}
	if (theForm.m_code.value == "")
	{
		alert("Please input Verification Code!");
		theForm.m_code.focus();
		return (false);
	}
	
}

