 function setPointer(theRow, thePointerColor)
 {
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
 }
 
 function showSWF(){
 var swfDiv = document.getElementById("flash");
 swfDiv.style.height = "360px";
 }
 function hideSWF(){
 var swfDiv = document.getElementById("flash");
 swfDiv.style.height = "76px";
 }
 
 
 function zkontroluj(formular)
{
        if (formular.f_jmeno.value=="")
    {
        alert("Vyplňte, prosím, své jméno a příjmení.");
        formular.f_jmeno.focus();
        return false;
    }
    else if (formular.f_email.value=="")
    {
        alert("Vyplňte, prosím, svůj e-mail.");
		        formular.f_email.focus();
        return false;
    }
	else if (window.RegExp)
    {
        re = new RegExp("^[^.]+(\.[^.]+)*@([^.]+[.])+[a-z]{2,3}$");
        if (!re.test(formular.f_email.value))
        {
            alert("Zadaná adresa není správnou adresou elektronické pošty.");
            formular.f_email.focus();
            return false;
        }
    }
    else
        return true;
}
