<!--
function ValidateForm(theForm)
{

// check gender
     if (theForm.gender.selectedIndex == 0) {
       alert("Por favor, seleccione o sexo");
       theForm.gender.selectedIndex=0;
       theForm.gender.focus();
       return (false);
       }

// check height
     if (theForm.height.selectedIndex == 0) {
       alert("Por favor, seleccione a altura");
       theForm.height.selectedIndex=0;
       theForm.height.focus();
       return (false);
       }

// check age
     if (theForm.age.selectedIndex == 0) {
       alert("Por favor, seleccione a idade.");
       theForm.age.selectedIndex=0;
       theForm.age.focus();
       return (false);
       }
   
// check weight
     if (theForm.Weight.selectedIndex == 0) {
       alert("Por favor, seleccione o peso");
       theForm.Weight.selectedIndex=0;
       theForm.Weight.focus();
       return (false);
       }

// check country
    if (theForm.country.options[theForm.country.selectedIndex].value == ""){
       alert("Por favor, seleccione o país");
       theForm.country.selectedIndex=0;
       theForm.country.focus();
       return (false);
   }

// End Validate function
  return (true);
}
//-->

