function homeValidator(theForm)
{
	var error = "The following information was missing or incorrect: \n"; 
	var digits = "0123456789";

/*
	if (theForm.dd.options[0].selected == true)
	{
		error += "Please select from the dropdown list.";
	}
  
	if (theForm.pname.value == "")
	{
		error += "Please fill in the text element.";
	}
 
  
  if (theForm.Parents Name.value == "")
	{
		error += "Parent's name, \n";
	}
  */
 
  if (theForm.name.value == "")
	{
		error += "Your Full Name \n";
	}
	
	
	
  if (theForm.from.value == "")
	{
		error += "Email address \n";
	}
	
	if ((theForm.from.value.indexOf ('@',0) == -1 ||
		theForm.from.value.indexOf ('.',0) == -1) &&
		theForm.from.value != "")
	{
		error += "Please verify that your Email address is valid. \n";
	} 
  	
	if (theForm["custom Phone"].value.length < 10)
	{
		error += "Phone number needs area code or was missing, \n";
	}
	for (var i = 0; i < theForm["custom Phone"].value.length; i++)
	{
		temp = theForm["custom Phone"].value.substring(i, i+1)

		if (digits.indexOf(temp) == -1 && 
			theForm["custom Phone"].value != "")
		{
			error += "Phone number must only contain numbers, \n";
			break;
		}
	}
	
  
	if (theForm["custom Teen Name"].value == "")
	{
		error += "Child's name \n";
	}
  if (theForm["custom Teen Gender"].value == "Select")
	{
		error += "Gender of the child, \n";
	}
  
	
  if (theForm["custom Teen Age"].value == "")
	{
		error += "Age of Child \n";
	}
  
  /*
  if (theForm.concerns.value.length < 3)
	{
		error += "Problems & Concerns \n";
	}
  */
  
  if (error != "The following information was missing or incorrect: \n")
	{
//	 alert(theForm.concerns.value);
		alert(error);
		return (false);
	} else {
		alert("You entered the following: " + 
			theForm.pname.value + "" + theForm.phone.value + "" +
			theForm.Email.value);
		return (false);
	} 
}
