function valform()  {
	fstname_ok= true;
	if (document.FellowsOne.fstName.value =="") fstname_ok=false;
	
	lstname_ok= true;
	if (document.FellowsOne.lstName.value =="") lstname_ok=false;
	
	hsid_ok= true;
	if (document.FellowsOne.hsid.value =="") hsid_ok=false;
	
	name_ok = (fstname_ok && lstname_ok);

	id_ok = (hsid_ok); 

<!---Item 1. --->	
	qone_ok=true;
	if (!document.FellowsOne.OneFalse.checked) qone_ok=false;
	var count=0;
	   if (document.FellowsOne.OneTrue.checked)  {
	  	count++;}
	   if (document.FellowsOne.OneFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fstqst_ok = (qone_ok && count==1); 
<!---Item 2. --->	
	qtwo_ok=true;
	if (!document.FellowsOne.TwoTrue.checked) qtwo_ok=false;
	var count=0;
	   if (document.FellowsOne.TwoTrue.checked)  {
	  	count++;}
	   if (document.FellowsOne.TwoFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   secqst_ok = (qtwo_ok && count==1); 
     
	 form_ok = (name_ok && id_ok && fstqst_ok && secqst_ok); 

	if (form_ok)  {
	alert("Your test is submitted! This will be recorded in your training records.");
	}  else  {
	if (fstname_ok == false) alert("Please include your first name");
	if (lstname_ok == false) alert("Please include your last name");
	if (id_ok == false) alert("Your ID Number is required");
	if (fstqst_ok == false) alert("Sorry, 1. is not correct");
	if (secqst_ok == false) alert("Sorry, 2. is not correct");	
	
	}
	return (form_ok);
}
