function validate() {
	
	if (document.emailform.email.value.indexOf("@") != 1 && 
		document.emailform.email.value.indexOf(".") < 1) {
		window.alert("Please enter a valid e-mail address.");
		return false;
	}
	return true;
	
}
		


