      function checkpassword(){
        if(document.haslo.haslo_old.value==""){
          window.alert("Podaj swoje hasło.\n(Enter your password)")
          errfound = true;
        }
        else
          return;
        return !errfound;
      }



