// Funkcja do otwierania okien popup

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

// Obrazki

function ThumbImage(szerokosc, wysokosc, zawartosc, naglowek) 
{
	var newWnd = window.open('',  '','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,fullscreen=no,channelmode=no,width='+szerokosc+',height='+wysokosc+',top=50,left=50')
	newWnd.document.write('<html><head><title>'+naglowek+'</title></head><body topmargin=0, leftmargin=0, rightmargin=0, bottomargin=0>')
	newWnd.document.write(zawartosc)
	newWnd.document.write('</body></html>')	
}
