franta-hg@107: var hlasovani = {}; franta-hg@107: franta-hg@107: hlasovani.hlasuj = function (podnik, hlas) { franta-hg@107: if (hlas) { franta-hg@107: alert("Hlasuješ ANO:" + hlas + "pro podnik " + podnik); franta-hg@107: } else { franta-hg@107: alert("Hlasuješ NE:" + hlas + "pro podnik " + podnik); franta-hg@107: } franta-hg@107: };