<!-- 

function addi(z)  {
   window.document.tform.tsearch.value =window.document.tform.tsearch.value + z;
}

function clearfield()  {
   window.document.tform.tsearch.value = '';
   window.document.tform.tsearch.focus();
}

function PopUp (file,name,property) {
   F = window.open(file,name,property);
}

function chkform(warn) {

  if ( (window.document.tdonate.de.value == "") || (window.document.tdonate.es.value == "") ) {

    alert(warn);
    return false;

  }

}

function sf() {
   window.document.tform.tsearch.focus();
   window.document.tform.tsearch.select();
}

function senddelete(url,warn) {
  if (confirm(warn)) {
    document.location.href = url;
  } 
}

function sendacc(url) {
  document.location.href = url;
}

function delentries(warn) {
  if (confirm(warn)) {
    document.delform.submit();
  }
}

function noenter(event) {
  var key;
  if(window.event) {
     key = window.event.keyCode;
  } else {
     key = event.which;     //firefox
  }
  if(key == 13) {
    return false;
  } else {
    return true;
  }
}

function newentry() {
  document.editform.nummer.value = -1;
  document.editform.submit();
}

function lock_trans_dir() {
  document.tform.tdir[1].disabled = !document.tform.tdir[1].disabled;
  if (document.tform.tdir[1].checked == 1) {
    document.tform.tdir[1].checked = 0;
    document.tform.tdir[0].checked = 1;
  }
}

//-->

