function checkMe()
{
	var lError=0;
	var strErrorMessage="Please enter the following:\n";
	var intAt=-1;
	var intDot=-1;
	var strErrorMessage1="\nPlease correct these errors:";
	var GoodEmailAddress=1;
	var lError1=0;
	
	if(!document.frmSurvey.tbName.value)
	{
		lError=1;
		strErrorMessage+="Your name\n";
	}
	
	if(!document.frmSurvey.tbAddress.value)
	{
		lError=1;
		strErrorMessage+="Your address\n";
	}
	
	if(!document.frmSurvey.tbCity.value)
	{
		lError=1;
		strErrorMessage+="Your city\n";
	}
	
	if(!document.frmSurvey.tbState.value)
	{
		lError=1;
		strErrorMessage+="Your state\n";
	}

	if(document.frmSurvey.tbZip.value.length<5)
	{
		lError=1;
		strErrorMessage+="Your zip code\n";
	}
	
	if(!document.frmSurvey.tbHomePhone.value)
	{
		lError=1;
		strErrorMessage+="Your home phone\n";
	}


	var arText = new Array();

	arText[0] = document.frmSurvey.tbName.value;
	arText[1] = document.frmSurvey.tbAddress.value;
	arText[2] = document.frmSurvey.tbCity.value;
	arText[3] = document.frmSurvey.tbState.value;
	arText[4] = document.frmSurvey.tbZip.value;
	arText[5] = document.frmSurvey.tbHomePhone.value;
	arText[6] = document.frmSurvey.tbWorkPhone.value;
	arText[7] = document.frmSurvey.tbCellPhone.value;
	arText[8] =  document.frmSurvey.tbEmail.value;
	arText[9] =  document.frmSurvey.tbBirthday.value;
	arText[10] =  document.frmSurvey.tbBirthPlace.value;
	arText[11] =  document.frmSurvey.tbWifeName.value;
	arText[12] =  document.frmSurvey.tbBoys.value;
	arText[13] =  document.frmSurvey.tbGirls.value;
	arText[14] =  document.frmSurvey.tbOccupation.value;
	arText[15] =  document.frmSurvey.tbEmployer.value;
	arText[16] =  document.frmSurvey.tbParish.value;
	arText[17] =  document.frmSurvey.tbHobbies.value;
	arText[18] =  document.frmSurvey.tbPersonal.value;


	var arWhere = new Array();

	arWhere[0] = "Name text field";
	arWhere[1] = "Address text field";
	arWhere[2] = "City text field";
	arWhere[3] = "State text field";
	arWhere[4] = "Zip text field";
	arWhere[5] = "Home phone text field";
	arWhere[6] = "Work phone text field";
	arWhere[7] = "Cell phone text field";
	arWhere[8] = "Email text field";
	arWhere[9] = "Birthday text field";
	arWhere[10] = "Birth place text field";
	arWhere[11] = "Wife's name text field";
	arWhere[12] = "Boys text field";
	arWhere[13] = "Girls text field";
	arWhere[14] = "Occupation text field";
	arWhere[15] = "Employer text field";
	arWhere[16] = "Parish text field";
	arWhere[17] = "Hobbies text field";
	arWhere[18] = "Personally expect text field";

	for(i=0;i<19;i++)
	{
		arText[i]=arText[i].toLowerCase();
		if(((arText[i].indexOf("\\"))>-1) || ((arText[i].indexOf(":"))>-1) || ((arText[i].indexOf("%"))>-1))
		{
			lError=1;
			lError1=1;
			strErrorMessage1+="\n\\, :, % not allowed in " + arWhere[i] + ".  ";
		}
		 
		if(((arText[i].indexOf("to:"))>-1) || ((arText[i].indexOf("cc:"))>-1) || ((arText[i].indexOf("bcc:"))>-1) || ((arText[i].indexOf("from:"))>-1))
		{
			lError=1;
			strErrorMessage1+="\nIt appears that you are trying to use this site for spamming. Your message will not be sent. ";
		}
	}


	if(document.frmSurvey.tbEmail.value)
	{
		intAt = document.frmSurvey.tbEmail.value.indexOf("@");
		intDot = document.frmSurvey.tbEmail.value.indexOf(".", intAt);

		if(intAt>intDot)
		{
			if(intAt>-1  && intDot>-1)
			lError=1;
			lError1=1;
			strErrorMessage1+="\nBad email address.  ";
		}
	}
	if(lError1==1)
		strErrorMessage+=strErrorMessage1;

	if(lError==1)
		alert(strErrorMessage);
	else
		document.getElementById("frmSurvey").submit();

}