<!--

function openWindow() {
iMyWidth = (window.screen.width/2) - (250 + 10)
iMyHeight = (window.screen.height/2) - (150 + 25)
Fokus = window.open("", "WIN","height=200,width=400,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
Fokus.focus()
}

function imgpopup(imagine){
	win = window.open( "", "_blank", "resizable=0,HEIGHT=100,WIDTH=100"); 
	obiect = new Image();
	obiect.src = imagine;
	obiect.onload = function(){
			latime = document.all?win.document.body.clientWidth:win.window.innerWidth; 
			inaltime = document.all?win.document.body.clientHeight:win.window.innerHeight;
			win.document.write("<html><head style=\"margin: 0; padding: 0;\"></head><body style=\"margin: 0; padding: 0;\"><img src=\""+imagine+"\" alt=\"Click to close\" onclick=\"window.close()\" /></body></html>");
			win.resizeBy((obiect.width - latime), (obiect.height - inaltime));
			win.focus();
	}
} 

function incrementeaza(id) {
	win2=window.open('html/incrementeaza.php?photoID=' + id);
}
//-->


