function validF() 
{

var Temp     = document.caseform.email 
var AtSym    = Temp.value.indexOf('@')
var Period   = Temp.value.lastIndexOf('.')
var Space    = Temp.value.indexOf(' ')
var Length   = Temp.value.length - 1 

 if ((AtSym < 1) || (Period <= AtSym+1) ||  (Period == Length ) ||
 (Space  != -1)) 
    {  
	alert("Please enter a properly formatted email address here.\n (It should be in the format 'you@yourISP.com'.)");
	Temp.focus();
	return false;
	}
	

			if (document.caseform.name.value == "") 
			{
				alert("Please tell us your name.");
				document.caseform.name.focus();
				return false;
			}
			
			if (document.caseform.diagnosis.value == "") 
			{
				alert("What is your diagnosis?");
				document.caseform.diagnosis.focus();
				return false;
			}
			
			
}

