function preload(name,src) { eval(name +"= new Image();"+name +".src ='"+ src +"'"); } function __ShowPopup(url) { var okienko = window.open(url,"displayWindow",'width=' + 300 + ',height=' + 300 + ',resizable=0,scrollbars=no,menubar=no,statusbar=no' ); } function __ShowPopupRoz(url,width,height) { if(url=='./popup.php?id=-3') { url='inc/phprint.php'; var okienko = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,statusbar=no' ); } else var okienko = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,statusbar=no' ); } function __Reklama() { if(false) __ShowPopupRoz('popups/komentuj.php',250,250); } function Podswietl(co,tryb) { var obrazek=document.getElementById(co); if(tryb) obrazek.src='gfx_menu/detale/szare/bullet.gif'; else obrazek.src='gfx_menu/detale/szare/bullet_2.gif'; } function Podswietl2(co,tryb) { var obrazek=document.getElementById(co); if(tryb) obrazek.src='gfx_menu/detale/kropka.gif'; else obrazek.src='gfx_menu/detale/kropka_2.gif';; } function Show(co) { var tt = document.getElementById(co); tt.style.display=''; } function Hide(co) { var tt = document.getElementById(co); tt.style.display='none'; }