
function obrazek(nazwa,x,y)
{
	center1=screen.width/2 - x/2;
	center2=screen.height/2 - y/2;
	okno=window.open("", "", "height="+y+",width="+x+", left="+center1+",top="+center2);
	okno.document.open();
	okno.document.write("<html>\n<head>\n<title>Jantar sp z o.o. - foto galeria</title>\n</head>\n<body style=\"margin:0px\">\n<a href=javascript:window.close()><img src="+nazwa+" border=0 alt='Kliknij by zamknac powiekszenie'></a>\n</body>\n</html>");
	okno.document.close();
}
