function reqField(myField, myLabel){
//Check for blank field

  //alert('in reqField: ' + myField.value + myLabel );

  //Local Variables
  var result = true;

  if (myField.value == "") {
    alert('Please enter a value for the "' + myLabel +'" field.');
    myField.focus();
    result = false;
  }
  return result;
}

function reqRadio(myRadio, myLabel){
//Check for non-selected radio option

//  alert('in reqRadio: ' + myRadio.value + myLabel );

  //Local Variables
  var result = true;

  for (i=0;i<myRadio.length;i++){
    if ( myRadio[i].checked ){
      result = true;
      if ((myRadio[i].value == "husband") || (myRadio[i].value == "wife")) {
        married = true;
      }
      break;
    }
    else {
      result = false;
    }
  }  //end for loop

  if (!result){
    alert('Please select an option for the "' + myLabel +'" field.');
    myRadio[0].focus();
  }
  return result;
}
