<!--

// automaticke SELECT menu v editaci
function navigator(upraveni_obsahu) { location.href=(document.upraveni_obsahu.vyber.options[document.upraveni_obsahu.vyber.selectedIndex].value);}

// X Standard
function myOnSubmitEventHandler() {
				try {
					if(typeof(document.getElementById('editor1').EscapeUnicode) == 'undefined') {
						throw "Error"
					} else {
						document.getElementById('editor1').EscapeUnicode = true;
						document.getElementById('xhtml1').value = document.getElementById('editor1').value;
					}			
				}
				catch(er) {
					document.getElementById('xhtml1').value = document.getElementById('alternate1').value;
				}
}

function kontrola() 
{ 
    if (window.RegExp) 
    { 
	znaky=new RegExp("^[a-z,á,ä,č,ď,é,ě,í,ř,š,ť,ů,ü,ý,ž,A-Z,Č,Ď,Š,Ř,Ť,Ž,0-9,-. +]{2,200}$"); 
        if (!znaky.test(formular.jmeno.value)) 
        { 
	    formular.jmeno.focus(); 
	    InformacniPoleJmeno.style.display = "";
            return false; 
        } else {
	InformacniPoleJmeno.style.display = "none";
	}
	
	znaky=new RegExp("^[a-z,á,ä,č,ď,é,ě,í,ř,š,ť,ů,ü,ý,ž,A-Z,Č,Ď,Š,Ř,Ť,Ž,0-9,-. ]{4,200}$"); 
        if (!znaky.test(formular.kontaktniosoba.value)) 
        { 
	    formular.kontaktniosoba.focus(); 
	    InformacniPolekontaktniosoba.style.display = "";
            return false; 
        } else {
	InformacniPolekontaktniosoba.style.display = "none";
	}

	znaky=new RegExp("^[+ 1234567890]{9,32}$"); 
        if (!znaky.test(formular.telefon.value)) 
        { 
	    formular.telefon.focus(); 
	    InformacniPoleTelefon.style.display = "";
            return false; 
        } else {
	InformacniPoleTelefon.style.display = "none";
	}
	
	
	 znaky=new RegExp("^[^.]+(\.[^.]+)*@([^.]+[.])+[a-z]{2,3}$"); 
        if (!znaky.test(formular.email.value)) 
        { 
	    formular.email.focus(); 
	    InformacniPoleEmail.style.display = "";
            return false; 
        } else {
	InformacniPoleEmail.style.display = "none";
	}
    } 
} 

// -->
