<!--

function open_page(page,w1,h1){
s=new Date();
width=eval(w1)+20;
height=eval(h1)+20;
parametry='width='+width+', height='+height;
nazwaOkna="page"+s.getTime();


if (document.all) {
   /* the following is only available after onLoad */
   w = document.body.clientWidth;
   h = document.body.clientHeight;
}
else {
   w = window.innerWidth;
   h = window.innerHeight;
}
var leftPos = (w-width)/2, topPos = (h-height)/2;

nazwa=window.open(page,nazwaOkna,'width=' + width + ',height='+height+',top='+topPos+',left='+leftPos+',toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no');
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function popUpWindow(URLStr, left, top, width, height)
{
 
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function Togglediv(divName) 
{ with (document.getElementById(divName).style) { 
	if (display == "none") 
	display = "" 
	else display = "none"; 
	}
} 
function Showdiv(divName) 
{ with (document.getElementById(divName).style) 
	{ 
	 display = "block"; 
	}
} 
function Hidediv(divName) 
{ with (document.getElementById(divName).style) 
	{ 
	 display = "none"; 
	}
} 


function showBigImg(u,w,h){
	//w=250;
	//h=300;
	s=new Date();
URLzdjecia=u;
width=eval(w)+5;
height=eval(h)+5;
parametry='width='+width+', height='+height;
nazwaOkna="zdjecie"+s.getTime();
tresc="<html><head><title>Powiekszenie - kliknij na obrazek aby zamkn±æ okno</title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-2'></head><body style='margin:0,0,0,0;  padding 0; background-color:#ffffff' onClick='self.close();'><table width='100%' height='100%'><tr><td align='center' valign='middle'><img src="+URLzdjecia+"  alt='Kliknij, aby zamkn±æ'></td></tr></table></body></html>";

nazwa= window.open('',nazwaOkna,parametry);
top.nazwa.document.writeln(tresc);

	}
//-->