function check_input(formular) {
	var ChybHlaska;
	var checkThis;
	var Jmeno = "1";
	var Heslo =  "1";
	var status = false;
	var hodnota_jmeno = document.getElementById(formular).jmeno.value;
	var hodnota_heslo = document.getElementById(formular).heslo.value;

  if (hodnota_heslo.length == 0) {
    ChybHlaska = "Zadejte, prosím, Vaše heslo!";
    Heslo = "0";
    document.getElementById(formular).heslo.focus();
  }
	if (hodnota_jmeno.length == 0) {
		ChybHlaska = "Zadejte, prosím, Vaše přihlašovací jméno!";
		Jmeno = "0";
		document.getElementById(formular).jmeno.focus();
	}
	/*
	if (Jmeno == "1" && Heslo == "1") {
		status = true;
    disableSumbitFormButton("submit_button", "... přihlašuji ...")
	} else {
		alert(ChybHlaska);
	}	
  */
  status = true;
  disableSumbitFormButton("submit_button", "... přihlašuji ...")
  
	return status;	
} 