function valbutton(translation) {
{with (translation)
if (emptyvalidation(nom,"Please tell me your name.")==false) {nom.focus(); return false;};}
myOption = -1;for (i=translation.Check.length-1; i > -1; i--) {if (translation.Check[i].checked) {myOption = i; i = -1;}}if (myOption == -1) {alert("Please check one of the two boxes before you submit!");return false;}// place any other field validations that you require heretranslation.submit(); // this line submits the form after validation}

function emptyvalidation(entered, alertbox){// Emptyfield Validation by Henrik Petersen / NetKontoret// Explained at www.echoecho.com/jsforms.htm// Please do not remove this line and the two lines above.with (entered){if (value==null || value==""){if (alertbox!="") {alert(alertbox);} return false;}else {return true;}}} 