// this function validates the gender box for the free report sign up. //function valbutton(thisform) { // ***validate radio button set, Checkbox0Gender //myOption = -1; //for (i=thisform.Checkbox0Gender.length-1; i > -1; i--) { //if (thisform.Checkbox0Gender[i].checked) { //myOption = i; i = -1; //} //} //if (myOption == -1) { //alert("Oops! You forgot to select your gender. Please select either Male or Female."); //return false; //} // ***alert("You selected button number " + myOption + " which has a value of " + thisform.Checkbox0Gender[myOption].value); //thisform.submit(); // this line submits the form after validation //}