function validEmail(email) {
			invalidChars = " /:,;"
	
			if (email == "") {
				return false
			}
			for (i=0; i<invalidChars.length; i++) {
				badChar = invalidChars.charAt(i)
				if (email.indexOf(badChar,0) > -1) {
					return false
				}
			}
			atPos = email.indexOf("@",1)
			if (atPos == -1) {
				return false
			}
			if (email.indexOf("@",atPos+1) > -1) {
				return false
			}
			periodPos = email.indexOf(".",atPos)
			if (periodPos == -1) {
				return false
			}
			if (periodPos+3 > email.length)	{
				return false
			}
			return true
		}

		function submitIt(carForm) {
			if (!validEmail(carForm.SenderEmail.value)) {
				alert("Please enter your valid e-mail address. Common problems include: missing the @ symbol, using a comma instead of a period (dot), and typing spaces within the e-mail address.")
				carForm.SenderEmail.focus()
				carForm.SenderEmail.select()
				return false
			}
			if (!validEmail(carForm.Email.value)) {
				alert("Please enter a valid e-mail address for your friend. Common problems include: missing the @ symbol, using a comma instead of a period (dot), and typing spaces within the e-mail address.")
				carForm.Email.focus()
				carForm.Email.select()
				return false
			}
	
			return true
		}