function focus() {
  if (document.getElementById) {
    document.frmLidmaatschap.txtNaam.focus();
  }
  else if (document.all) {
    document.all['txtNaam'].focus();
  }
}
function chkfrm() {
if (document.frmLidmaatschap.txtNaam.value == "")
  {
    alert("Uw naam ontbreekt. Probeer opnieuw.");
    document.frmLidmaatschap.txtNaam.focus();
    return false;
  }
if (document.frmLidmaatschap.selBeroep.selectedIndex == null || document.frmLidmaatschap.selBeroep.selectedIndex == 0)
{
    alert("Uw beroep ontbreekt. Probeer opnieuw.");
    document.frmLidmaatschap.selBeroep.focus();
    return false;
}
return true;
}
