function isEmailAddr (s){ 
	var rv = false
	if ((s == null) || (s.length == 0)) 
       rv = false;
  else {
		var reEmail =/([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		//reEmail = /.+\@.+\..+$/
		
		rv = reEmail.test(s)
    }
	if(rv){
	return rv
	}else{
		return false
	}
}


// SASQ
 function formValidate2(theForm){
  if (theForm.Agency_Organisation.value == ""){
    alert("Please enter Agency or Organisation.");
    theForm.Agency_Organisation.focus();
    return (false);
  }
  if (theForm.Administrators_name.value == ""){
    alert("Please enter your Administrators name.");
    theForm.Administrators_name.focus();
    return (false);
  }
  if (theForm.Respondents_name.value == ""){
    alert("Please enter the Respondents name.");
    theForm.Respondents_name.focus();
    return (false);
  }
  if (!isEmailAddr(theForm.email_from.value)){
    alert("Please enter a complete email address in the form: yourname@yourdomain.com");
    theForm.email_from.focus();
    return (false);
  }
  if (theForm.Completed_SASQ_before[0].checked || theForm.Completed_SASQ_before[1].checked){
	}else{
    alert("You haven't answered the question \"Have you completed this questionnaire before?\"");
    theForm.Completed_SASQ_before[0].focus();
    return (false);
  } 
  if (theForm.Prior_experience[0].checked || theForm.Prior_experience[1].checked){
	}else{
    alert("You haven't answered the question \"Have you had prior experience in this position?\"");
    theForm.Prior_experience[0].focus();
    return (false);
  } 
  
//QA
  if (theForm.A1.value == ""){
    alert("State one major cause for question A.");
    theForm.A1.focus();
    return (false);
  }

  if (theForm.A2[0].checked || theForm.A2[1].checked || theForm.A2[2].checked || theForm.A2[3].checked || theForm.A2[4].checked || theForm.A2[5].checked || theForm.A2[6].checked){
	}else{
    alert("You missed question A2");
    theForm.A2[0].focus();
    return (false);
  } 
  if (theForm.A3[0].checked || theForm.A3[1].checked || theForm.A3[2].checked || theForm.A3[3].checked || theForm.A3[4].checked || theForm.A3[5].checked || theForm.A3[6].checked){
	}else{
    alert("You missed question A3");
    theForm.A3[0].focus();
    return (false);
  } 
  if (theForm.A4[0].checked || theForm.A4[1].checked || theForm.A4[2].checked || theForm.A4[3].checked || theForm.A4[4].checked || theForm.A4[5].checked || theForm.A4[6].checked){
	}else{
    alert("You missed question A4");
    theForm.A4[0].focus();
    return (false);
  } 
//QB
  if (theForm.B5.value == ""){
    alert("State one major cause for question B.");
    theForm.B5.focus();
    return (false);
  }

  if (theForm.B6[0].checked || theForm.B6[1].checked || theForm.B6[2].checked || theForm.B6[3].checked || theForm.B6[4].checked || theForm.B6[5].checked || theForm.B6[6].checked){
	}else{
    alert("You missed question B6");
    theForm.B6[0].focus();
    return (false);
  } 
  if (theForm.B7[0].checked || theForm.B7[1].checked || theForm.B7[2].checked || theForm.B7[3].checked || theForm.B7[4].checked || theForm.B7[5].checked || theForm.B7[6].checked){
	}else{
    alert("You missed question B7");
    theForm.B7[0].focus();
    return (false);
  } 
  if (theForm.B8[0].checked || theForm.B8[1].checked || theForm.B8[2].checked || theForm.B8[3].checked || theForm.B8[4].checked || theForm.B8[5].checked || theForm.B8[6].checked){
	}else{
    alert("You missed question B8");
    theForm.B8[0].focus();
    return (false);
  } 
//QC
  if (theForm.C9.value == ""){
    alert("State one major cause for question C.");
    theForm.C9.focus();
    return (false);
  }

  if (theForm.C10[0].checked || theForm.C10[1].checked || theForm.C10[2].checked || theForm.C10[3].checked || theForm.C10[4].checked || theForm.C10[5].checked || theForm.C10[6].checked){
	}else{
    alert("You missed question C10");
    theForm.C10[0].focus();
    return (false);
  } 
  if (theForm.C11[0].checked || theForm.C11[1].checked || theForm.C11[2].checked || theForm.C11[3].checked || theForm.C11[4].checked || theForm.C11[5].checked || theForm.C11[6].checked){
	}else{
    alert("You missed question C11");
    theForm.C11[0].focus();
    return (false);
  } 
  if (theForm.C12[0].checked || theForm.C12[1].checked || theForm.C12[2].checked || theForm.C12[3].checked || theForm.C12[4].checked || theForm.C12[5].checked || theForm.C12[6].checked){
	}else{
    alert("You missed question C12");
    theForm.C12[0].focus();
    return (false);
  } 
//QD
  if (theForm.D13.value == ""){
    alert("State one major cause for question D.");
    theForm.D13.focus();
    return (false);
  }

  if (theForm.D14[0].checked || theForm.D14[1].checked || theForm.D14[2].checked || theForm.D14[3].checked || theForm.D14[4].checked || theForm.D14[5].checked || theForm.D14[6].checked){
	}else{
    alert("You missed question D14");
    theForm.D14[0].focus();
    return (false);
  } 
  if (theForm.D15[0].checked || theForm.D15[1].checked || theForm.D15[2].checked || theForm.D15[3].checked || theForm.D15[4].checked || theForm.D15[5].checked || theForm.D15[6].checked){
	}else{
    alert("You missed question D15");
    theForm.D15[0].focus();
    return (false);
  } 
    if (theForm.D16[0].checked || theForm.D16[1].checked || theForm.D16[2].checked || theForm.D16[3].checked || theForm.D16[4].checked || theForm.D16[5].checked || theForm.D16[6].checked){
	}else{
    alert("You missed question D16");
    theForm.D16[0].focus();
    return (false);
  } 

//QE
  if (theForm.E17.value == ""){
    alert("State one major cause for question D.");
    theForm.E17.focus();
    return (false);
  }

  if (theForm.E18[0].checked || theForm.E18[1].checked || theForm.E18[2].checked || theForm.E18[3].checked || theForm.E18[4].checked || theForm.E18[5].checked || theForm.E18[6].checked){
	}else{
    alert("You missed question E18");
    theForm.E18[0].focus();
    return (false);
  } 
  if (theForm.E19[0].checked || theForm.E19[1].checked || theForm.E19[2].checked || theForm.E19[3].checked || theForm.E19[4].checked || theForm.E19[5].checked || theForm.E19[6].checked){
	}else{
    alert("You missed question E19");
    theForm.E19[0].focus();
    return (false);
  } 
  if (theForm.E20[0].checked || theForm.E20[1].checked || theForm.E20[2].checked || theForm.E20[3].checked || theForm.E20[4].checked || theForm.E20[5].checked || theForm.E20[6].checked){
	}else{
    alert("You missed question E20");
    theForm.E20[0].focus();
    return (false);
  } 
//QF
  if (theForm.F21.value == ""){
    alert("State one major cause for question F.");
    theForm.F21.focus();
    return (false);
  }
  if (theForm.F22[0].checked || theForm.F22[1].checked || theForm.F22[2].checked || theForm.F22[3].checked || theForm.F22[4].checked || theForm.F22[5].checked || theForm.F22[6].checked){
	}else{
    alert("You missed question F22");
    theForm.F22[0].focus();
    return (false);
  } 
  if (theForm.F23[0].checked || theForm.F23[1].checked || theForm.F23[2].checked || theForm.F23[3].checked || theForm.F23[4].checked || theForm.F23[5].checked || theForm.F23[6].checked){
	}else{
    alert("You missed question F23");
    theForm.F23[0].focus();
    return (false);
  }   
  if (theForm.F24[0].checked || theForm.F24[1].checked || theForm.F24[2].checked || theForm.F24[3].checked || theForm.F24[4].checked || theForm.F24[5].checked || theForm.F24[6].checked){
	}else{
    alert("You missed question F24");
    theForm.F24[0].focus();
    return (false);
  } 

//QG
  if (theForm.G25.value == ""){
    alert("State one major cause for question G.");
    theForm.G25.focus();
    return (false);
  }

  if (theForm.G26[0].checked || theForm.G26[1].checked || theForm.G26[2].checked || theForm.G26[3].checked || theForm.G26[4].checked || theForm.G26[5].checked || theForm.G26[6].checked){
	}else{
    alert("You missed question G26");
    theForm.G26[0].focus();
    return (false);
  } 
  if (theForm.G27[0].checked || theForm.G27[1].checked || theForm.G27[2].checked || theForm.G27[3].checked || theForm.G27[4].checked || theForm.G27[5].checked || theForm.G27[6].checked){
	}else{
    alert("You missed question G27");
    theForm.G27[0].focus();
    return (false);
  } 
  if (theForm.G28[0].checked || theForm.G28[1].checked || theForm.G28[2].checked || theForm.G28[3].checked || theForm.G28[4].checked || theForm.G28[5].checked || theForm.G28[6].checked){
	}else{
    alert("You missed question G28");
    theForm.G28[0].focus();
    return (false);
  } 
//QH
  if (theForm.H29.value == ""){
    alert("State one major cause for question H.");
    theForm.H29.focus();
    return (false);
  }

  if (theForm.H30[0].checked || theForm.H30[1].checked || theForm.H30[2].checked || theForm.H30[3].checked || theForm.H30[4].checked || theForm.H30[5].checked || theForm.H30[6].checked){
	}else{
    alert("You missed question H30");
    theForm.H30[0].focus();
    return (false);
  } 
  if (theForm.H31[0].checked || theForm.H31[1].checked || theForm.H31[2].checked || theForm.H31[3].checked || theForm.H31[4].checked || theForm.H31[5].checked || theForm.H31[6].checked){
	}else{
    alert("You missed question H31");
    theForm.H31[0].focus();
    return (false);
  } 
  if (theForm.H32[0].checked || theForm.H32[1].checked || theForm.H32[2].checked || theForm.H32[3].checked || theForm.H32[4].checked || theForm.H32[5].checked || theForm.H32[6].checked){
	}else{
    alert("You missed question H32");
    theForm.H32[0].focus();
    return (false);
  } 
//QI
  if (theForm.I33.value == ""){
    alert("State one major cause for question I.");
    theForm.I33.focus();
    return (false);
  }

  if (theForm.I34[0].checked || theForm.I34[1].checked || theForm.I34[2].checked || theForm.I34[3].checked || theForm.I34[4].checked || theForm.I34[5].checked || theForm.I34[6].checked){
	}else{
    alert("You missed question I34");
    theForm.I34[0].focus();
    return (false);
  } 
  if (theForm.I35[0].checked || theForm.I35[1].checked || theForm.I35[2].checked || theForm.I35[3].checked || theForm.I35[4].checked || theForm.I35[5].checked || theForm.I35[6].checked){
	}else{
    alert("You missed question I35");
    theForm.I35[0].focus();
    return (false);
  } 
  if (theForm.I36[0].checked || theForm.I36[1].checked || theForm.I36[2].checked || theForm.I36[3].checked || theForm.I36[4].checked || theForm.I36[5].checked || theForm.I36[6].checked){
	}else{
    alert("You missed question I36");
    theForm.I36[0].focus();
    return (false);
  } 
//QJ
  if (theForm.J37.value == ""){
    alert("State one major cause for question J.");
    theForm.J37.focus();
    return (false);
  }

  if (theForm.J38[0].checked || theForm.J38[1].checked || theForm.J38[2].checked || theForm.J38[3].checked || theForm.J38[4].checked || theForm.J38[5].checked || theForm.J38[6].checked){
	}else{
    alert("You missed question J38");
    theForm.J38[0].focus();
    return (false);
  } 
  if (theForm.J39[0].checked || theForm.J39[1].checked || theForm.J39[2].checked || theForm.J39[3].checked || theForm.J39[4].checked || theForm.J39[5].checked || theForm.J39[6].checked){
	}else{
    alert("You missed question J39");
    theForm.J39[0].focus();
    return (false);
  } 
  if (theForm.J40[0].checked || theForm.J40[1].checked || theForm.J40[2].checked || theForm.J40[3].checked || theForm.J40[4].checked || theForm.J40[5].checked || theForm.J40[6].checked){
	}else{
    alert("You missed question J40");
    theForm.J40[0].focus();
    return (false);
  } 
//QK
  if (theForm.K41.value == ""){
    alert("State one major cause for question K.");
    theForm.K41.focus();
    return (false);
  }

  if (theForm.K42[0].checked || theForm.K42[1].checked || theForm.K42[2].checked || theForm.K42[3].checked || theForm.K42[4].checked || theForm.K42[5].checked || theForm.K42[6].checked){
	}else{
    alert("You missed question K42");
    theForm.K42[0].focus();
    return (false);
  } 
  if (theForm.K43[0].checked || theForm.K43[1].checked || theForm.K43[2].checked || theForm.K43[3].checked || theForm.K43[4].checked || theForm.K43[5].checked || theForm.K43[6].checked){
	}else{
    alert("You missed question K43");
    theForm.K43[0].focus();
    return (false);
  } 
  if (theForm.K44[0].checked || theForm.K44[1].checked || theForm.K44[2].checked || theForm.K44[3].checked || theForm.K44[4].checked || theForm.K44[5].checked || theForm.K44[6].checked){
	}else{
    alert("You missed question K44");
    theForm.K44[0].focus();
    return (false);
  } 
//QL
  if (theForm.L45.value == ""){
    alert("State one major cause for question L.");
    theForm.L45.focus();
    return (false);
  }

  if (theForm.L46[0].checked || theForm.L46[1].checked || theForm.L46[2].checked || theForm.L46[3].checked || theForm.L46[4].checked || theForm.L46[5].checked || theForm.L46[6].checked){
	}else{
    alert("You missed question L46");
    theForm.L46[0].focus();
    return (false);
  } 
  if (theForm.L47[0].checked || theForm.L47[1].checked || theForm.L47[2].checked || theForm.L47[3].checked || theForm.L47[4].checked || theForm.L47[5].checked || theForm.L47[6].checked){
	}else{
    alert("You missed question L47");
    theForm.L47[0].focus();
    return (false);
  } 
  if (theForm.L48[0].checked || theForm.L48[1].checked || theForm.L48[2].checked || theForm.L48[3].checked || theForm.L48[4].checked || theForm.L48[5].checked || theForm.L48[6].checked){
	}else{
    alert("You missed question L48");
    theForm.L48[0].focus();
    return (false);
  } 


 return (true)
}



//DISC
 function formValidate(theForm){
  if (theForm.DISC_profile_takers_name.value == ""){
    alert("Please enter your DISC profile takers name.");
    theForm.DISC_profile_takers_name.focus();
    return (false);
  }
    if (theForm.gender[0].checked || theForm.gender[1].checked){
	}else{
    alert("You haven't antered your gender");
    theForm.gender[0].focus();
    return (false);
  } 

  if (theForm.taken_profile_before[0].checked || theForm.taken_profile_before[1].checked){
	}else{
    alert("You haven't answered the question \"Have you taken this profile before?\"");
    theForm.taken_profile_before[0].focus();
    return (false);
  } 
  if (theForm.prior_experience_in_position[0].checked || theForm.prior_experience_in_position[1].checked){
	}else{
    alert("You haven't answered the question \"Have you had prior experience in this position?\"");
    theForm.prior_experience_in_position[0].focus();
    return (false);
  } 
    if (theForm.DISC_Administrators_Name.value == ""){
    alert("Please enter your DISC Administrators Name.");
    theForm.DISC_Administrators_Name.focus();
    return (false);
  }
    if (theForm.Organisation_Administering_the_DISC_Contact_Details.value == ""){
    alert("Please enter Organisation Administering the DISC Contact Details.");
    theForm.Organisation_Administering_the_DISC_Contact_Details.focus();
    return (false);
  }
  
//Q1
  if (theForm.Q1Most[0].checked || theForm.Q1Most[1].checked || theForm.Q1Most[2].checked || theForm.Q1Most[3].checked){
	}else{
    alert("You haven't answered Most for question 1");
    theForm.Q1Most[3].focus();
    return (false);
  } 
    if (theForm.Q1Least[0].checked || theForm.Q1Least[1].checked || theForm.Q1Least[2].checked || theForm.Q1Least[3].checked){
	}else{
    alert("You haven't answered Least for question 1");
    theForm.Q1Least[3].focus();
    return (false);
  } 
//Q2
  if (theForm.Q2Most[0].checked || theForm.Q2Most[1].checked || theForm.Q2Most[2].checked || theForm.Q2Most[3].checked){
	}else{
    alert("You haven't answered Most for question 2");
    theForm.Q2Most[3].focus();
    return (false);
  } 
    if (theForm.Q2Least[0].checked || theForm.Q2Least[1].checked || theForm.Q2Least[2].checked || theForm.Q2Least[3].checked){
	}else{
    alert("You haven't answered Least for question 2");
    theForm.Q2Least[3].focus();
    return (false);
  } 
//Q3
  if (theForm.Q3Most[0].checked || theForm.Q3Most[1].checked || theForm.Q3Most[2].checked || theForm.Q3Most[3].checked){
	}else{
    alert("You haven't answered Most for question 3");
    theForm.Q3Most[3].focus();
    return (false);
  } 
    if (theForm.Q3Least[0].checked || theForm.Q3Least[1].checked || theForm.Q3Least[2].checked || theForm.Q3Least[3].checked){
	}else{
    alert("You haven't answered Least for question 3");
    theForm.Q3Least[3].focus();
    return (false);
  } 
//Q4
  if (theForm.Q4Most[0].checked || theForm.Q4Most[1].checked || theForm.Q4Most[2].checked || theForm.Q4Most[3].checked){
	}else{
    alert("You haven't answered Most for question 4");
    theForm.Q4Most[3].focus();
    return (false);
  } 
    if (theForm.Q4Least[0].checked || theForm.Q4Least[1].checked || theForm.Q4Least[2].checked || theForm.Q4Least[3].checked){
	}else{
    alert("You haven't answered Least for question 4");
    theForm.Q4Least[3].focus();
    return (false);
  } 
//Q5
  if (theForm.Q5Most[0].checked || theForm.Q5Most[1].checked || theForm.Q5Most[2].checked || theForm.Q5Most[3].checked){
	}else{
    alert("You haven't answered Most for question 5");
    theForm.Q5Most[3].focus();
    return (false);
  } 
    if (theForm.Q5Least[0].checked || theForm.Q5Least[1].checked || theForm.Q5Least[2].checked || theForm.Q5Least[3].checked){
	}else{
    alert("You haven't answered Least for question 5");
    theForm.Q5Least[3].focus();
    return (false);
  } 
//Q6
  if (theForm.Q6Most[0].checked || theForm.Q6Most[1].checked || theForm.Q6Most[2].checked || theForm.Q6Most[3].checked){
	}else{
    alert("You haven't answered Most for question 6");
    theForm.Q6Most[3].focus();
    return (false);
  } 
    if (theForm.Q6Least[0].checked || theForm.Q6Least[1].checked || theForm.Q6Least[2].checked || theForm.Q6Least[3].checked){
	}else{
    alert("You haven't answered Least for question 6");
    theForm.Q6Least[3].focus();
    return (false);
  } 
//Q7
  if (theForm.Q7Most[0].checked || theForm.Q7Most[1].checked || theForm.Q7Most[2].checked || theForm.Q7Most[3].checked){
	}else{
    alert("You haven't answered Most for question 7");
    theForm.Q7Most[3].focus();
    return (false);
  } 
    if (theForm.Q7Least[0].checked || theForm.Q7Least[1].checked || theForm.Q7Least[2].checked || theForm.Q7Least[3].checked){
	}else{
    alert("You haven't answered Least for question 7");
    theForm.Q7Least[3].focus();
    return (false);
  } 
//Q8
  if (theForm.Q8Most[0].checked || theForm.Q8Most[1].checked || theForm.Q8Most[2].checked || theForm.Q8Most[3].checked){
	}else{
    alert("You haven't answered Most for question 8");
    theForm.Q8Most[3].focus();
    return (false);
  } 
    if (theForm.Q8Least[0].checked || theForm.Q8Least[1].checked || theForm.Q8Least[2].checked || theForm.Q8Least[3].checked){
	}else{
    alert("You haven't answered Least for question 8");
    theForm.Q8Least[3].focus();
    return (false);
  } 
//Q9
  if (theForm.Q9Most[0].checked || theForm.Q9Most[1].checked || theForm.Q9Most[2].checked || theForm.Q9Most[3].checked){
	}else{
    alert("You haven't answered Most for question 9");
    theForm.Q9Most[3].focus();
    return (false);
  } 
    if (theForm.Q9Least[0].checked || theForm.Q9Least[1].checked || theForm.Q9Least[2].checked || theForm.Q9Least[3].checked){
	}else{
    alert("You haven't answered Least for question 9");
    theForm.Q9Least[3].focus();
    return (false);
  } 
//Q10
  if (theForm.Q10Most[0].checked || theForm.Q10Most[1].checked || theForm.Q10Most[2].checked || theForm.Q10Most[3].checked){
	}else{
    alert("You haven't answered Most for question 10");
    theForm.Q10Most[3].focus();
    return (false);
  } 
    if (theForm.Q10Least[0].checked || theForm.Q10Least[1].checked || theForm.Q10Least[2].checked || theForm.Q10Least[3].checked){
	}else{
    alert("You haven't answered Least for question 10");
    theForm.Q10Least[3].focus();
    return (false);
  } 
//Q11
  if (theForm.Q11Most[0].checked || theForm.Q11Most[1].checked || theForm.Q11Most[2].checked || theForm.Q11Most[3].checked){
	}else{
    alert("You haven't answered Most for question 11");
    theForm.Q11Most[3].focus();
    return (false);
  } 
    if (theForm.Q11Least[0].checked || theForm.Q11Least[1].checked || theForm.Q11Least[2].checked || theForm.Q11Least[3].checked){
	}else{
    alert("You haven't answered Least for question 11");
    theForm.Q11Least[3].focus();
    return (false);
  } 
//Q12
  if (theForm.Q12Most[0].checked || theForm.Q12Most[1].checked || theForm.Q12Most[2].checked || theForm.Q12Most[3].checked){
	}else{
    alert("You haven't answered Most for question 12");
    theForm.Q12Most[3].focus();
    return (false);
  } 
    if (theForm.Q12Least[0].checked || theForm.Q12Least[1].checked || theForm.Q12Least[2].checked || theForm.Q12Least[3].checked){
	}else{
    alert("You haven't answered Least for question 12");
    theForm.Q12Least[3].focus();
    return (false);
  } 
//Q13
  if (theForm.Q13Most[0].checked || theForm.Q13Most[1].checked || theForm.Q13Most[2].checked || theForm.Q13Most[3].checked){
	}else{
    alert("You haven't answered Most for question 13");
    theForm.Q13Most[3].focus();
    return (false);
  } 
    if (theForm.Q13Least[0].checked || theForm.Q13Least[1].checked || theForm.Q13Least[2].checked || theForm.Q13Least[3].checked){
	}else{
    alert("You haven't answered Least for question 13");
    theForm.Q13Least[3].focus();
    return (false);
  } 
//Q14
  if (theForm.Q14Most[0].checked || theForm.Q14Most[1].checked || theForm.Q14Most[2].checked || theForm.Q14Most[3].checked){
	}else{
    alert("You haven't answered Most for question 14");
    theForm.Q14Most[3].focus();
    return (false);
  } 
    if (theForm.Q14Least[0].checked || theForm.Q14Least[1].checked || theForm.Q14Least[2].checked || theForm.Q14Least[3].checked){
	}else{
    alert("You haven't answered Least for question 14");
    theForm.Q14Least[3].focus();
    return (false);
  } 
//Q15
  if (theForm.Q15Most[0].checked || theForm.Q15Most[1].checked || theForm.Q15Most[2].checked || theForm.Q15Most[3].checked){
	}else{
    alert("You haven't answered Most for question 15");
    theForm.Q15Most[3].focus();
    return (false);
  } 
    if (theForm.Q15Least[0].checked || theForm.Q15Least[1].checked || theForm.Q15Least[2].checked || theForm.Q15Least[3].checked){
	}else{
    alert("You haven't answered Least for question 15");
    theForm.Q15Least[3].focus();
    return (false);
  } 
//Q16
  if (theForm.Q16Most[0].checked || theForm.Q16Most[1].checked || theForm.Q16Most[2].checked || theForm.Q16Most[3].checked){
	}else{
    alert("You haven't answered Most for question 16");
    theForm.Q16Most[3].focus();
    return (false);
  } 
    if (theForm.Q16Least[0].checked || theForm.Q16Least[1].checked || theForm.Q16Least[2].checked || theForm.Q16Least[3].checked){
	}else{
    alert("You haven't answered Least for question 16");
    theForm.Q16Least[3].focus();
    return (false);
  } 
//Q17
  if (theForm.Q17Most[0].checked || theForm.Q17Most[1].checked || theForm.Q17Most[2].checked || theForm.Q17Most[3].checked){
	}else{
    alert("You haven't answered Most for question 17");
    theForm.Q17Most[3].focus();
    return (false);
  } 
    if (theForm.Q17Least[0].checked || theForm.Q17Least[1].checked || theForm.Q17Least[2].checked || theForm.Q17Least[3].checked){
	}else{
    alert("You haven't answered Least for question 17");
    theForm.Q17Least[3].focus();
    return (false);
  } 
//Q18
  if (theForm.Q18Most[0].checked || theForm.Q18Most[1].checked || theForm.Q18Most[2].checked || theForm.Q18Most[3].checked){
	}else{
    alert("You haven't answered Most for question 18");
    theForm.Q18Most[3].focus();
    return (false);
  } 
    if (theForm.Q18Least[0].checked || theForm.Q18Least[1].checked || theForm.Q18Least[2].checked || theForm.Q18Least[3].checked){
	}else{
    alert("You haven't answered Least for question 18");
    theForm.Q18Least[3].focus();
    return (false);
  } 
//Q19
  if (theForm.Q19Most[0].checked || theForm.Q19Most[1].checked || theForm.Q19Most[2].checked || theForm.Q19Most[3].checked){
	}else{
    alert("You haven't answered Most for question 19");
    theForm.Q19Most[3].focus();
    return (false);
  } 
    if (theForm.Q19Least[0].checked || theForm.Q19Least[1].checked || theForm.Q19Least[2].checked || theForm.Q19Least[3].checked){
	}else{
    alert("You haven't answered Least for question 19");
    theForm.Q19Least[3].focus();
    return (false);
  } 
//Q20
  if (theForm.Q20Most[0].checked || theForm.Q20Most[1].checked || theForm.Q20Most[2].checked || theForm.Q20Most[3].checked){
	}else{
    alert("You haven't answered Most for question 20");
    theForm.Q20Most[3].focus();
    return (false);
  } 
    if (theForm.Q20Least[0].checked || theForm.Q20Least[1].checked || theForm.Q20Least[2].checked || theForm.Q20Least[3].checked){
	}else{
    alert("You haven't answered Least for question 20");
    theForm.Q20Least[3].focus();
    return (false);
  } 
//Q21
  if (theForm.Q21Most[0].checked || theForm.Q21Most[1].checked || theForm.Q21Most[2].checked || theForm.Q21Most[3].checked){
	}else{
    alert("You haven't answered Most for question 21");
    theForm.Q21Most[3].focus();
    return (false);
  } 
    if (theForm.Q21Least[0].checked || theForm.Q21Least[1].checked || theForm.Q21Least[2].checked || theForm.Q21Least[3].checked){
	}else{
    alert("You haven't answered Least for question 21");
    theForm.Q21Least[3].focus();
    return (false);
  } 
//Q22
  if (theForm.Q22Most[0].checked || theForm.Q22Most[1].checked || theForm.Q22Most[2].checked || theForm.Q22Most[3].checked){
	}else{
    alert("You haven't answered Most for question 22");
    theForm.Q22Most[3].focus();
    return (false);
  } 
    if (theForm.Q22Least[0].checked || theForm.Q22Least[1].checked || theForm.Q22Least[2].checked || theForm.Q22Least[3].checked){
	}else{
    alert("You haven't answered Least for question 22");
    theForm.Q22Least[3].focus();
    return (false);
  } 
//Q23
  if (theForm.Q23Most[0].checked || theForm.Q23Most[1].checked || theForm.Q23Most[2].checked || theForm.Q23Most[3].checked){
	}else{
    alert("You haven't answered Most for question 23");
    theForm.Q23Most[3].focus();
    return (false);
  } 
    if (theForm.Q23Least[0].checked || theForm.Q23Least[1].checked || theForm.Q23Least[2].checked || theForm.Q23Least[3].checked){
	}else{
    alert("You haven't answered Least for question 23");
    theForm.Q23Least[3].focus();
    return (false);
  } 
//Q24
  if (theForm.Q24Most[0].checked || theForm.Q24Most[1].checked || theForm.Q24Most[2].checked || theForm.Q24Most[3].checked){
	}else{
    alert("You haven't answered Most for question 24");
    theForm.Q24Most[3].focus();
    return (false);
  } 
    if (theForm.Q24Least[0].checked || theForm.Q24Least[1].checked || theForm.Q24Least[2].checked || theForm.Q24Least[3].checked){
	}else{
    alert("You haven't answered Least for question 24");
    theForm.Q24Least[3].focus();
    return (false);
  } 

 return (true)
}