<!-- Hide script from older browsers



     function validateSurvey(form) {

		  if (form.shouldBeEmpty.value != "") {
		  	return false;
		  } 
			
          if (form.checkList != null) {



               if (form.checkList.length > 1) {

                    for (i=0; i<form.checkList.length; i++) {

                         checkOptions = 'checkList' + form.checkList[i].value;

                         k = 0;

                         for (j=0; j<form[checkOptions].length; j++) {

                              if (form[checkOptions][j].checked) {

                                   k++;

                              }

                         }

                         if (k == 0) {

                              alert("Please answer this question.");

                              window.location = '/survey/surveyen.html#' + form.checkList[i].value;

//                              form[checkOptions][0].focus();

                              return false;



                         }

                    }



               } else {



                    k = 0;

                    checkOptions = 'checkList' + form.checkList.value;

                    for (j=0; j<form[checkOptions].length; j++) {

                         if (form[checkOptions][j].checked) {

                              k++;

                         }

                    }

                    if (k == 0) {

                         alert("Please answer this question.");

                         window.location = '/survey/surveyen.html#' + form.checkList[j].value;

//                         form[checkOptions][0].focus();

                         return false;

                   }

               }

          }



          if (form.checkOpen != null) {



               if (form.checkOpen.length > 1) {

                    for (i=0; i<form.checkOpen.length; i++) {

                         checkOptions = 'checkOpen' + form.checkOpen[i].value;

                         if (form[checkOptions].value == "") {

                              alert("Please answer this question.");

                              window.location = '/survey/surveyen.html#' + form.checkOpen[i].value;

//                              form[checkOptions].focus();

                              return false;

                         }

                    }

               } else {

                    checkOptions = 'checkOpen' + form.checkOpen.value;

                    if (form[checkOptions].value == "") {

                         alert("Please answer this question.");

                         window.location = '/survey/surveyen.html#' + form.checkOpen[i].value;

//                         form[checkOptions].focus();

                         return false;

                    }

               }



          }



          if (form.checkMatrix != null) {



               if (form.checkMatrix.length > 1) {

                    for (i=0; i<form.checkMatrix.length; i++) {

                         checkOptions = 'checkMatrix' + form.checkMatrix[i].value;

                         k = 0;

                         for (j=0; j<form[checkOptions].length; j++) {

                              if (form[checkOptions][j].checked) {

                                   k++;

                              }

                         }

                         if (k == 0) {

                              alert("Please answer this question.");

                              window.location = '/survey/surveyen.html#' + form.checkMatrix[i].value;

//                              form[checkOptions][0].focus();

                              return false;

                         }

                    }

               } else {

                    checkOptions = 'checkMatrix' + form.checkMatrix.value;

                    k = 0;

                    for (j=0; j<form[checkOptions].length; j++) {

                         if (form[checkOptions][j].checked) {

                              k++;

                         }

                    }

                    if (k == 0) {

                         alert("Please answer this question.");

                         window.location = '/survey/surveyen.html#' + form.checkMatrix[j].value;

//                         form[checkOptions][0].focus();

                         return false;

                    }

               }



          }



     }



// End hiding script -->

