function OveritVyplneni()
	{
	var Vyplneno = true

	if (document.Registrace1.Jmeno.value == "")
		{
		document.Registrace1.Jmeno.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.Jmeno.className="formularpovinny";

	if (document.Registrace1.Prijmeni.value == "")
		{
		document.Registrace1.Prijmeni.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.Prijmeni.className="formularpovinny";

	if (document.Registrace1.UliceCP.value == "")
		{
		document.Registrace1.UliceCP.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.UliceCP.className="formularpovinny";

	if (document.Registrace1.PSC.value == "")
		{
		document.Registrace1.PSC.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.PSC.className="formularpovinny";

	if (document.Registrace1.Mesto.value == "")
		{
		document.Registrace1.Mesto.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.Mesto.className="formularpovinny";

	if (document.Registrace1.Telefon.value == "")
		{
		document.Registrace1.Telefon.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.Telefon.className="formularpovinny";

	if (document.Registrace1.Email.value == "")
		{
		document.Registrace1.Email.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.Email.className="formularpovinny";

	if (document.Registrace1.PristupoveJmeno.value == "")
		{
		document.Registrace1.PristupoveJmeno.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.PristupoveJmeno.className="formularpovinny";

	if (document.Registrace1.PristupoveHeslo1.value == "")
		{
		document.Registrace1.PristupoveHeslo1.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.PristupoveHeslo1.className="formularpovinny";

	if (document.Registrace1.PristupoveHeslo2.value == "")
		{
		document.Registrace1.PristupoveHeslo2.className="formularchybejici";
		Vyplneno = false;
		}
	else document.Registrace1.PristupoveHeslo2.className="formularpovinny";

	if (Vyplneno == false) alert("You did not provide correctly all important information\n\nFill out highlighted fields");
	return Vyplneno;
	}

function FiltrCislo()
	{
	if (event.keyCode != 13 && event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;
	}

