function valform()  {
	fstname_ok= true;
	if (document.AppealThree.fstName.value =="") fstname_ok=false;
	
	lstname_ok= true;
	if (document.AppealThree.lstName.value =="") lstname_ok=false;
	
	hsid_ok= true;
	if (document.AppealThree.hsid.value =="") hsid_ok=false;
	
	name_ok = (fstname_ok && lstname_ok);

	id_ok = (hsid_ok); 

<!---Item 1. --->	
	qone_ok=true;
	if (!document.AppealThree.OneTrue.checked) qone_ok=false;
	var count=0;
	   if (document.AppealThree.OneTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.OneFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fstqst_ok = (qone_ok && count==1); 
<!---Item 2. --->	
	qtwo_ok=true;
	if (!document.AppealThree.TwoFalse.checked) qtwo_ok=false;
	var count=0;
	   if (document.AppealThree.TwoTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.TwoFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   secqst_ok = (qtwo_ok && count==1); 
<!---Item 3. --->	
	qthree_ok=true;
	if (!document.AppealThree.ThreeTrue.checked) qthree_ok=false;
	var count=0;
	   if (document.AppealThree.ThreeTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.ThreeFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   trdqst_ok = (qthree_ok && count==1); 
<!---Item 4. --->	
	qfour_ok=true;
	if (!document.AppealThree.FourTrue.checked) qfour_ok=false;
	var count=0;
	   if (document.AppealThree.FourTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.FourFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fthqst_ok = (qfour_ok && count==1); 
<!---Item 5. --->	
	qfive_ok=true;
	if (!document.AppealThree.FiveTrue.checked) qfive_ok=false;
	var count=0;
	   if (document.AppealThree.FiveTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.FiveFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   fveqst_ok = (qfive_ok && count==1);
<!---Item 6. --->	
	qsix_ok=true;
	if (!document.AppealThree.SixTrue.checked) qsix_ok=false;
	var count=0;
	   if (document.AppealThree.SixTrue.checked)  {
	  	count++;}
	   if (document.AppealThree.SixFalse.checked)  {
	  	count++;}
	   if (count!=1); {
	form_ok=false;
        }
   sixqst_ok = (qsix_ok && count==1);     
 
 
	 form_ok = (name_ok && id_ok && fstqst_ok && secqst_ok && trdqst_ok && fthqst_ok
	  && fveqst_ok && sixqst_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("ERROR - Each time this box appears you missed an item.");
	if (secqst_ok == false) alert("ERROR - Each time this box appears you missed an item.");
	if (trdqst_ok == false) alert("ERROR - Each time this box appears you missed an item.");
	if (fthqst_ok == false) alert("ERROR - Each time this box appears you missed an item.");
	if (fveqst_ok == false) alert("ERROR - Each time this box appears you missed an item.");
	if (sixqst_ok == false) alert("ERROR - Each time this box appears you missed an item.");
	
	
	}
	return (form_ok);
}
