// Javascript- vizualizácia
 $(document).ready(function(){
   $(".SI_tabulka tr").mouseover(function(){$(this).addClass("over");}).mouseout(function(){$(this).removeClass("over");});
   $(".stripeMe tr:even").addClass("alt");
 });

function vytvorForm(id)  {
  if (document.getElementById(id).style.display != "block")  {
    document.getElementById(id).style.display = "block";
  }
  else document.getElementById(id).style.display = "none";
}

function zobraz(id) {
    document.getElementById(id).style.display ="block";
}

function zatvor(id) {
    document.getElementById(id).style.display ="none";  
}

function kontrola() {
hlavicka=document.getElementById('head').value;
text=document.getElementById('text').value;
kod=document.getElementById('kod').value;
  if ((text=="") || (hlavicka=="") || (kod==""))  {
    alert("Musíte vyplniť všetky povinné polia");
    return false;
  }
}

//document.className('SI_riadok').onmouseover.style.background-color="black";

