var wpisy = Array(
'',
'
- wszystkie
- bary
- restauracja
- smażalnie
',
'',
''
)
function zerowanie(ile) {
for(i = 0; i < ile; i++) {
adres='pdm_' + i
document.getElementById(adres).innerHTML = ""
}
}
function show_window(nr, ile) {
zerowanie(ile)
adres='pdm_' + nr
x = document.getElementById(adres);
if(ie) {
x.innerHTML = "" + wpisy[nr] + "
"
}
else
{
x.innerHTML = "" + wpisy[nr] + "
"
}
}
var b = 0;
function add_question(baza,rekord) {
x = document.getElementById('pytanie')
nowe_pytanie = ""
x.innerHTML += nowe_pytanie
x.submit()
b++;
}
function prawo(elm) {
elm.style.backgroundColor = 'white'
elm.style.color = '#163666'
}
function lewo(elm) {
elm.style.backgroundColor = '#163666'
elm.style.color = 'white'
}