function ZwinRozwin(what,img){
       if (document.all(what).style.display=='none') { 
              document.all(what).style.display='';
              document[img].src='images/menu.png';
       }
       else { 
              document.all(what).style.display='none';
              document[img].src='images/menu.png';

       }
}

function imgShow(nazwa,szer,wys) {
left=Math.round((screen.width-szer)/2);
t=Math.round((screen.height-wys)/2);
config='left='+left+',top='+t+',width='+szer+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no';
stadion=window.open('','',config)
stadion.document.write('<HTML><HEAD>');
stadion.document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');
stadion.document.write('<TITLE>Zoom</title>');
stadion.document.write('<script language="javascript">');
stadion.document.write('setTimeout(');
stadion.document.write('"self.close()');
stadion.document.write(';",70000)');stadion.document.write('</');
stadion.document.write('script>');
stadion.document.write('</HEAD>');
stadion.document.write('<body bgcolor=white leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>');
stadion.document.write('<DIV align=center><a href=# onclick="javascript:self.close();"><img src='+nazwa+' border=0></A></DIV>');
stadion.document.write('</body></html>');
stadion.focus();
}

function showPageNoScroll(what,width,height) {
       left=Math.round((screen.width-width)/2);
       t=Math.round((screen.height-height)/2);
       return window.open(what,'','fullscreen=0,status=0,toolbar=0,directories=0,menubar=0,scrollbars=0,resizeable=0,left='+left+',top='+t+',width='+width+',height='+height);
       //return true;
}
