function okno(zdj,w,h)
{	

if(window.noweOkno&&!window.noweOkno.closed)
	{
	window.noweOkno.close();
	}


	config="width="+w+","+"height="+h+","+"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no"

	noweOkno=window.open("","nazwaJakas",config);
	noweOkno.document.open();
	noweOkno.document.clear();
	noweOkno.document.write('<title>Uczniowski klub je¼dziecki RUMAK</title>')
	noweOkno.document.write('<body style="margin: 0px;">');
	noweOkno.document.write('<table cellpadding=0 cellspacing=0 border=0 width="100%" height="100%">');
	noweOkno.document.write('<tr>');
	noweOkno.document.write('<td style="background-image: url(images/zamykanie.gif); background-repeat: no-repeat; background-position: center;">');
	noweOkno.document.write('<a href="javascript:window.close()"><img src='+zdj+' width='+w+' height='+h+' border=0 alt="Kliknij aby zamkn±æ okno"></a>');
	noweOkno.document.write('</td>');
	noweOkno.document.write('</tr>');
	noweOkno.document.write('</table>');
	noweOkno.document.write('</body>');
	noweOkno.document.close();
	noweOkno.focus();
}

function wyniki(adres)
{	
	noweOkno=window.open(adres,"okno","");
	noweOkno.focus();
}

function powieksz(nr,szer)
{	

if(window.noweOkno&&!window.noweOkno.closed)
	{
	window.noweOkno.close();
	}

	if(szer==89)
	{
		width=338
		height=450
	}

	if(szer==145)
	{
		width=600
		height=450
	}


	ustaw="width="+width
	+",height="+height + ","
	+"toolbar=no,"
	+"location=no,"
	+"directories=no,"
	+"status=no,"
	+"menubar=no,"
	+"scrollbars=no,"
	+"resizable=no,"
	

	noweOkno=window.open("","Rumak",ustaw);
	noweOkno.document.open();
	noweOkno.document.clear();
	a='<title>Mo¿na u nas spotkaæ '+nr+'</title>'
	a+='<body style="margin: 0px">'
	a+='<table cellpadding=0 cellspacing=0 border=0 width="100%" height="100%">'
	a+='<tr>'
	a+='<td style="background-image: url(images/zamykanie.gif); background-repeat: no-repeat; background-position: center;">'
	a+='<a href="javascript:window.close()"><img src=spotkac/'+nr+' border=0 alt="Kliknij aby zamkn±æ okno"></a>'
	a+='</td>'
	a+='</tr>'
	a+='</table>'
	a+='</body>'
	noweOkno.document.write(a);
	noweOkno.document.close();
	noweOkno.focus();
}