q1q1=null;
q2=null;

function open_window1(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=0,resizable=0,width=410,height=500');
}


function Zoom(dest, xxx1, xxx2){
	lewa=(screen.width / 2)-(xxx1/2);
	gora=(screen.height / 2)-(xxx2/2)-24;
if (q1q1 ==  null || q1q1.closed)  
	{
	q1q1=window.open(dest,"czechowscy1","width="+xxx1+",height="+xxx2+",scrollbars=no, resizable=yes, toolbar=no, status=yes, left="+lewa+",top="+gora);
	q1q1.creator=self;
	}
	else
	{
	q1q1.close();
	q1q1=window.open(dest,"czechowscy1","width="+xxx1+",height="+xxx2+",scrollbars=no, resizable=yes, toolbar=no, status=yes, left="+lewa+",top="+gora);
	q1q1.creator=self;
	}
}


function openwindow1(dest, xxx1, xxx2){
if (q1q1 ==  null || q1q1.closed)  
{
q1q1=window.open(dest,"zbkb","width="+xxx1+",height="+xxx2+",scrollbars=no, resizable=no, left=50,top=50");
q1q1.creator=self;
}
else
{
q1q1.close();
q1q1=window.open(dest,"zbkb","width="+xxx1+",height="+xxx2+",scrollbars=no, resizable=no, left=50,top=50");
q1q1.creator=self;
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
