function Tlacitko (zapnuto, vypnuto) {
   this.on0     = new Image;
   this.on0.src = zapnuto;
   this.off0     = new Image;
   this.off0.src = vypnuto;
}

function Vymen (zapnout, jmenoobr) {
   if ( zapnout )
      this.document[jmenoobr].src = Tlacitko[jmenoobr].on0.src;
    else
      this.document[jmenoobr].src = Tlacitko[jmenoobr].off0.src;
}

Tlacitko["sipka1"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka2"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka3"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka4"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka5"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka6"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka7"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka8"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka9"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka10"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");
Tlacitko["sipka11"] = new Tlacitko ( "img/sipka_on.gif", "img/sipka.gif");



