	function validcheckup (theform){
		var yesorno = false;
		for (var i=0; i < theform.q1.length; i++) {
     		if (theform.q1[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 1.");
      		theform.q1[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q2.length; i++) {
     		if (theform.q2[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 2.");
      		theform.q2[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q3.length; i++) {
     		if (theform.q3[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 3.");
      		theform.q3[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q4.length; i++) {
     		if (theform.q4[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 4.");
      		theform.q4[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q5.length; i++) {
     		if (theform.q5[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 5.");
      		theform.q5[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q6.length; i++) {
     		if (theform.q6[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 6.");
      		theform.q6[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q7.length; i++) {
     		if (theform.q7[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 7.");
      		theform.q7[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q8.length; i++) {
     		if (theform.q8[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 8.");
      		theform.q8[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q9.length; i++) {
     		if (theform.q9[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 9.");
      		theform.q9[0].focus();
      		return false;
  		}
  		var yesorno = false;
		for (var i=0; i < theform.q10.length; i++) {
     		if (theform.q10[i].checked) {
        		yesorno = true;
     		}
  		}
  		if (yesorno == false){
      		alert ("Please make a selection for question 10.");
      		theform.q10[0].focus();
      		return false;
  		}
  		return true;
	}
