// JavaScript Document
function pokazUkryjZakladke(nr)
{
var i;
document.getElementById("but_"+nr).className = "but_on";
for (i=1;i<=3;i++)
  if (i!=nr) document.getElementById("but_"+i).className = "but_off";

document.getElementById("tresc_"+nr).className = "on";
for (i=1;i<=3;i++)
  if (i!=nr) document.getElementById("tresc_"+i).className = "off";
}

function pokazUkryjSub(nr)
{
var i;
document.getElementById("sub_"+nr).className = "on";
for (i=1;i<=3;i++)
  if (i!=nr) document.getElementById("sub_"+i).className = "off";
}

