function validEmail(address)
{
	invalidChars = "/:,;"
	
	if (address == "")
	{
		return false;
	}	

	for (i=0; i<invalidChars.length; i++)
	{
		badChar = invalidChars.charAt(i)
		if (address.indexOf(badChar,0) > -1)
		{
			return false;
		}
	}

	atPos = address.indexOf("@",1)
	if (atPos == -1)
	{
		return false;
	}

	if (address.indexOf("@",atPos+1) > -1)
	{
		return false;
	}
	
	periodPos = address.indexOf(".",atPos)
	if (periodPos == -1)
	{
		return false;
	}
	
	if (periodPos+3 > address.length)
	{
		return false;
	}	

	return true

}

function submitIt(feedback_form)
{
	if (!validEmail(feedback_form.email.value))
	{
		alert("Please enter a properly formatted email address.")
		feedback_form.email.focus()
		feedback_form.email.select()
		return false
	}
	
	return true
}		


