// submit the attraction form if everything passes
function _submitAttractionForm()
{
	if (document.form3.OrganizationTitle.value=="")
	{
		alert("Please provide the business, organization or location name.");
		document.form3.OrganizationTitle.focus();
	}
	else if (document.form3.Address1.value=="")
	{
		alert("Please provide a street address. This allows us to create a map to the specified attraction.");
		document.form3.Address1.focus();
	}
	else if (document.form3.City.value=="")
	{
		alert("Please provide a city. This allows us to create a map to the specified attraction.");
		document.form3.City.focus();
	}
	else if (document.form3.State.value=="")
	{
		alert("Please provide a state. This allows us to create a map to the specified attraction.");
		document.form3.State.focus();
	}
	else if (document.form3.ZipCode.value=="")
	{
		alert("Please provide a zip code. This allows us to create a map to the specified attraction.");
		document.form3.ZipCode.focus();
	}
	else if (document.form3.UserEmail.value==""||document.form3.UserEmail.value.indexOf("@")<2||document.form3.UserEmail.value.indexOf(".")<2)
	{
		alert("Please provide a valid email address.");
		document.form3.UserEmail.focus();
	}
	else
	{
		var formURL = "?AttractionEmail=webmaster@cityofmuncie.com&InfoType=!! Area Attraction Request !!&Reply=/attractions/form.asp"
		document.form3.action = "/scripts/FormMailer.asp" + formURL;
		document.form3.submit();
	}
}