


		function validEmail(email2) {
			invalidChars = " /:,;"
	
			if (email2 == "") {
				return false
			}
			for (i=0; i<invalidChars.length; i++) {
				badChar = invalidChars.charAt(i)
				if (email2.indexOf(badChar,0) > -1) {
					return false
				}
			}
			atPos = email2.indexOf("@",1)
			if (atPos == -1) {
				return false
			}
			if (email2.indexOf("@",atPos+1) > -1) {
				return false
			}
			periodPos = email2.indexOf(".",atPos)
			if (periodPos == -1) {
				return false
			}
			if (periodPos+3 > email2.length)	{
				return false
			}
			return true
		}

		function submitIt(carForm) {
			if (!validEmail(carForm.email.value)) {
				alert("A valid email address is required to signup for our newsletter.")
				carForm.email.focus()
				carForm.email.select()
				return false
			}
	
			return true
		}

function openWindow (url,name,widgets) 
{
	popupWin = window.open (url,name,widgets);
	popupWin.opener.top.name="opener";
	popupWin.focus();
}
