function checkVote(theForm) {
    var why = "";
    for (i=0, n=theForm.a.length; i<n; i++) {
        if (theForm.a[i].checked) {
            var checkvalue = theForm.a[i].value;
            break;
        } 
    }
    why += checkRadio(checkvalue);
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}

// email

// exactly one radio button is chosen

function checkRadio(checkvalue) {
var error = "";
   if (!(checkvalue)) {
       error = "Please indicate your choice on this question by selecting YES or NO.\n";
    }
return error;
}


