function validate_email (form) {

	// Check for valid email-id
	var email = form.email.value ;
	if ( ! isNaN(email) || (email.length==0) || (email.indexOf("@")==-1) || (email.indexOf(".")==-1) 
			|| (email.lastIndexOf(".") < email.indexOf("@")) ) { // if email is a number or empty
		alert('Please enter a valid email-id.') ;
		form.email.focus() ;		
		return false; 
	} 		
	// return FALSE value so form does not call CGI
	return true;
}