function valform()  {
	fstname_ok= true;
	if (document.EdFive.fstName.value =="") fstname_ok=false;
	
	lstname_ok= true;
	if (document.EdFive.lstName.value =="") lstname_ok=false;
	
	hsid_ok= true;
	if (document.EdFive.hsid.value =="") hsid_ok=false;
	
	name_ok = (fstname_ok && lstname_ok);

	id_ok = (hsid_ok); 

<!---Item 1. --->	
	qone_ok=true;
	if (!document.EdFive.OneFalse.checked) qone_ok=false;
	var count=0;
	   if (document.EdFive.OneTrue.checked)  {
	  	count++;}
	   if (document.EdFive.OneFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fstqst_ok = (qone_ok && count==1); 
<!---Item 2. --->	
	qtwo_ok=true;
	if (!document.EdFive.TwoTrue.checked) qtwo_ok=false;
	var count=0;
	   if (document.EdFive.TwoTrue.checked)  {
	  	count++;}
	   if (document.EdFive.TwoFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   secqst_ok = (qtwo_ok && count==1); 
<!---Item 3. --->	
	qthree_ok=true;
	if (!document.EdFive.ThreeTrue.checked) qthree_ok=false;
	var count=0;
	   if (document.EdFive.ThreeTrue.checked)  {
	  	count++;}
	   if (document.EdFive.ThreeFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   trdqst_ok = (qthree_ok && count==1); 
<!---Item 4. --->	
	qfour_ok=true;
	if (!document.EdFive.FourFalse.checked) qfour_ok=false;
	var count=0;
	   if (document.EdFive.FourTrue.checked)  {
	  	count++;}
	   if (document.EdFive.FourFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fthqst_ok = (qfour_ok && count==1); 
<!---Item 5. --->	
	qfive_ok=true;
	if (!document.EdFive.FiveTrue.checked) qfive_ok=false;
	var count=0;
	   if (document.EdFive.FiveTrue.checked)  {
	  	count++;}
	   if (document.EdFive.FiveFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fveqst_ok = (qfive_ok && count==1); 
<!---Item 6. --->	
	qsix_ok=true;
	if (!document.EdFive.SixTrue.checked) qsix_ok=false;
	var count=0;
	   if (document.EdFive.SixTrue.checked)  {
	  	count++;}
	   if (document.EdFive.SixFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   sixqst_ok = (qsix_ok && count==1); 
<!---Item 7. --->	
	qseven_ok=true;
	if (!document.EdFive.SevenFalse.checked) qseven_ok=false;
	var count=0;
	   if (document.EdFive.SevenTrue.checked)  {
	  	count++;}
	   if (document.EdFive.SevenFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   svnqst_ok = (qseven_ok && count==1); 
<!---Item 8. --->	
	qeight_ok=true;
	if (!document.EdFive.EightTrue.checked) qeight_ok=false;
	var count=0;
	   if (document.EdFive.EightTrue.checked)  {
	  	count++;}
	   if (document.EdFive.EightFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   ehtqst_ok = (qeight_ok && count==1); 
<!---Item 9. --->	
	qnine_ok=true;
	if (!document.EdFive.NineFalse.checked) qnine_ok=false;
	var count=0;
	   if (document.EdFive.NineTrue.checked)  {
	  	count++;}
	   if (document.EdFive.NineFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   ninqst_ok = (qnine_ok && count==1); 
 
	 form_ok = (name_ok && id_ok && fstqst_ok && secqst_ok && trdqst_ok && fthqst_ok
	  && fveqst_ok && sixqst_ok && svnqst_ok && ehtqst_ok && ninqst_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");
	if (trdqst_ok == false) alert("Sorry, 3. is not correct");
	if (fthqst_ok == false) alert("Sorry, 4. is not correct");
	if (fveqst_ok == false) alert("Sorry, 5. is not correct");
	if (sixqst_ok == false) alert("Sorry, 6. is not correct");
	if (svnqst_ok == false) alert("Sorry, 7. is not correct");
	if (ehtqst_ok == false) alert("Sorry, 8. is not correct");
	if (ninqst_ok == false) alert("Sorry, 9. is not correct");
	}
	return (form_ok);
}
