//	isEmail uses regexp to detect @ and . characters in email address, and to 
//	check that address doesn't contain apostrophes or spaces.
function isEmail(myField){
	var myStr = myField.value;
	if (myStr.indexOf("@") == -1 || myStr.indexOf(".") == -1 || myStr.indexOf(" ") != -1){
		return false;	
	}
	return true;
}

