function Validate(theForm)
{
  if (theForm.txtEmail.value > ""){
		if (emailChecking(theForm.txtEmail)==false)
			return (false);
		}
		
	var Phone = theForm.txtPhone.value
	if ((Phone.length <= 13) && (Phone.length > 0)){
		return (false);
	}
	
  if (theForm.txtFirstName.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.txtFirstName.focus();
    return (false);
  }

	if (theForm.txtLastName.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.txtLastName.focus();
    return (false);
  }

  if ((theForm.txtEmail.value == "") && (theForm.txtPhone.value == ""))
  {
    alert("Please enter a value for the \"Phone\" or \"Email\" fields.");
    theForm.txtPhone.focus();
    return (false);
  }

  if (theForm.txtComments.value == "")
  {
    alert("Please enter a value for the \"Feedback/Comments\" field.");
    theForm.txtComments.focus();
    return (false);
  }
  return (true);
}
  
