function ShowImage(winWidth,winHeight,pic) {
	
	newWindow =	window.open('','galerija');
	screenW = (screen.width / 2) - (winWidth / 2);
 	screenH = (screen.height / 2) -(winHeight / 2)
	newWindow.close()
	newWindow =	window.open(pic,'galerija','width='+ winWidth +', height='+ winHeight +', resizable=no ,left ='+  screenW  +',top ='+  screenH  +' ');
	
	newWindow.focus()
}
