// functie pentru vizualizarea imaginilor intr-o fereastra popup
function newWindow(img) {
	winWidth = 700
	winHeight = 500
	leftPos = screen.width/2 - winWidth/2
	topPos = (screen.height/2 - winHeight/2) - 30
	win = window.open(img, "wind", "width="+ winWidth +",height="+ winHeight +",scrollbars=yes,resizable=no,left="+ leftPos +",top="+ topPos +"")
	win.focus()	
}
