function doit(thejob) {
  document.main_form.job.value = thejob
  document.main_form.submit()
}

function doit_menu(thejob,num) {
  document.main_form.menu_number.value = num
  document.main_form.job.value = thejob
  document.main_form.submit()
}

function validateRadioButtons(radioList) {
        var radioValue = null;
	if (radioList.checked) {
		radioValue = "This is cool";
	}
        for (var i=0; i < radioList.length; i++) {
                if (radioList[i].checked) {
                        radioValue = radioList[i].value;
                        break;
                }
        }
        if (radioValue == null) {
                return false;
        } else {
                return true;
        }
}



function doit_radio(thejob,vname) {

  if(validateRadioButtons(eval("document.main_form."+vname))) {
    document.main_form.job.value = thejob
    document.main_form.submit()
  } else {
    alert("Sorry, you must first select an entry to modify.\n\n     Please check a radio button on the list of entries. \n     The radio button is the item unerneeth the \"SELECT\" header.");
  }
}

function cancel() {
  window.history.back();
}

function help_start() {
  alert("Sorry...\n\n  The Help system has not been implimented at this time\n  If yopu need help please call somebody who cares");
}

