var okienko; function oknoPic(adres, Typ) { if (!okienko || okienko.closed) { var h; if (Typ == 2) h = 160; else h = 460; var left = screen.width/2 - 160; var top = screen.height/2 - h/2; okienko = window.open("","subWindow","width=320,height=" + h + ",resizable,left="+ left + ",top=" + top); var strona; strona = ""; strona+= "Podgl±d obrazka
"; strona+= ""; strona+= "
"; okienko.document.write(strona); } else okienko.focus(); } function enabledOpowiesci() { var stan; stan = fable.fable1.value==0; fable.hero1.disabled = stan; fable.hero2.disabled = stan; fable.city.disabled = stan; fable.dedicate.disabled = stan; fable.zdjecie.disabled = stan; lhero1.disabled = stan; lhero2.disabled = stan; lcity.disabled = stan; ldedicate.disabled = stan; lzdjecie.disabled = stan; } function enabledKlient() { var stan; stan = fable.odbior.value==1; fable.poczta.disabled = stan; fable.miasto.disabled = stan; fable.ulica.disabled = stan; lmiasto.disabled = stan; lulica.disabled = stan; }