function popup_url(url, size_w, size_h, scroll) { new_size_w = Number(size_w)+10; new_size_h = Number(size_h)+25; popup_left = Math.round((screen.availWidth-new_size_w)/2); popup_top = Math.round((screen.availHeight-new_size_h)/2); msg=open(url,"POPUP","scrollbars="+scroll+",toolbar=no,directories=no,width="+size_w+",height="+size_h+",menubar=no, top="+popup_top+", left="+popup_left+""); msg.document.close(); msg.focus(); }; function popup_page(page, size_w, size_h, scroll) { new_size_w = Number(size_w)+10; new_size_h = Number(size_h)+25; popup_left = Math.round((screen.availWidth-new_size_w)/2); popup_top = Math.round((screen.availHeight-new_size_h)/2); msg=open(page,"POPUPGaleria","scrollbars="+scroll+",toolbar=no,directories=no,width="+size_w+",height="+size_h+",menubar=no, top="+popup_top+", left="+popup_left+""); msg.document.close(); msg.focus(); }; function popup_img(url, size_w, size_h, scroll) { new_add_w = 10; new_add_h = 29; start_size_w = 150; start_size_h = 100; if (size_w!=null && size_h!=null) { start_size_w = size_w; start_size_h = size_h; } start_popup_left = Math.round((screen.availWidth-start_size_w)/2); start_popup_top = Math.round((screen.availHeight-start_size_h)/2); msg=open("","POPUP","toolbar=no,scrollbars=no,directories=no,menubar=no,status=no,width="+start_size_w+",height="+start_size_h+", top="+start_popup_top+", left="+start_popup_left+""); msg.document.close(); msg.document.write(""+JSTITLE+"\n"); if (size_w==null && size_h==null) { msg.document.write("\n"); } msg.document.write("\n"); msg.document.write("\n"); msg.document.write("

Proszę czekać...\n"); msg.document.write("Zamknij Okno\n"); msg.document.write("\n"); msg.focus(); }; function popup_flash(flashsrc, size_w, size_h, scroll) { new_size_w = Number(size_w)+10; new_size_h = Number(size_h)+25; popup_left = Math.round((screen.availWidth-new_size_w)/2); popup_top = Math.round((screen.availHeight-new_size_h)/2); msg=open("","POPUP","scrollbars="+scroll+",toolbar=no,directories=no,width="+size_w+",height="+size_h+",menubar=no, top="+popup_top+", left="+popup_left+""); msg.document.close(); msg.document.write("POPUP"); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.focus(); }; function sc(logo) { size_w = 378; size_h = 270; new_size_w = size_w; new_size_h = size_h+25; msg=open("","SiteCredits","scrollbars=yes,toolbar=no,directories=no,width="+new_size_w+",height="+new_size_h+",menubar=no"); msg.document.close(); msg.document.write("Site Credits"); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write(""); msg.document.write("
"); if (logo.length) msg.document.write(""); msg.document.write("
"); msg.document.write("

Project co-ordination
Gammanet sp. z o.o. | www.gammanet.pl

"); msg.document.write("

Art direction, photo illustration & graphics design
CGS studio | www.cgsstudio.pl

"); msg.document.write("

Content Management System
web kameleon | www.webkameleon.com

"); msg.document.write("
"); msg.resizeTo(new_size_w,new_size_h); msg.focus(); } ns4 = (document.layers)? true:false; ie4 = (document.all)? true:false; function oc(lift,thisid,bgid,bgiu) { if (lift.length) { styleObject = getStyleObject(lift); if (styleObject.display == 'none') { o_show(lift); if (bgiu.length) thisid.style.backgroundImage='url('+bgiu+')'; thisid.style.borderBottomStyle='none'; } else { o_hide(lift); if (bgid.length) thisid.style.backgroundImage='url('+bgid+')'; thisid.style.borderBottomStyle='solid'; } } }; function o_show(id) { if(changeObjectVisibility(id, 'visible','inline')) return true; else return false; } //show function o_hide(id) { if(changeObjectVisibility(id, 'hidden','none')) return true; else return false; } //hide function show(id,e) { e.cancelBubble=true; if(changeObjectVisibility(id, 'visible','inline')) { hideShowCovered(id); return true; } else return false; return; } function hide(id,e) { if (ie4) { el=document.all[id]; var p = getAbsolutePos(el); var EX1 = p.x; var EX2 = el.offsetWidth + EX1; var EY1 = p.y; var EY2 = el.offsetHeight + EY1; mX=event.clientX; mY=event.clientY; // alert('ex1='+EX1+',ey1='+EY1+',ex2='+EX2+',ey2='+EY2+'\nmX='+mX+',mY'+mY); if ((mX>EX1+1 && mXEY1 && mY