<!-- Begin
  
  function res(){
    check = window.confirm("Klicken Sie OK wenn Sie wirklich abbrechen möchten.");
    return check;
  }
  
  function conf(){
    check = window.confirm("Wollen Sie wirklich unwiederruflich löschen?");
    return check;
  }
  
  function conf_all(){
    check = window.confirm("ACHTUNG: Wollen Sie wirklich ALLE unwiederruflich löschen?");
    return check;
  }
  
  function reloadOpener()
  {
    if (window.opener && !window.opener.closed)
    {
      window.opener.location.reload();
    }
    else
    {}
  }
  
  function setzeCurser() {
    if (document.forms.length > 0) {
      var field = document.forms[0];
      for (i = 0; i < field.length; i++) {
        if ((field.elements[i].type == "text") || (field.elements[i].type == "textarea") || (field.elements[i].type.toString().charAt(0) == "s")) {
          document.forms[0].elements[i].focus();
          break;
        }
      }
    }
  }
  
  function Berechne() {
    document.mail.zaehler.value =
    document.mail.text_emp.value.length;
  }
  
  function Zaehlen(source, target){
    target.value = source.value.length;
       if (target.style) {
         var l = Number(target.value);
         if (l >= 0 && l < 900)
            target.style.color = 'black';
         if (l > 899 && l < 1001)
            target.style.color = 'blue';
         else if (l >= 1001)
            target.style.color = 'red';
      }
  }
  
//  End -
