function foto (img_src, imgWidth, imgHeight) {
	var left = (screen.width - imgWidth) / 2;
	var top = (screen.height - imgHeight) / 2;
	var winAttribs = "width=" + imgWidth + ",height=" + imgHeight + ",top=" + top + ",left=" + left + ",toolbar=0,status=0,menubar=0,resizable=0,scrollbars=no,directories=0,dependent=yes";
	var winHandler = window.open("", "image", winAttribs);
	var htmlContent = '<html><head><title>Zenid.Net</title><style>div.image{position:absolute;top:0;left:0;width:'+imgWidth+'px;height:'+imgHeight+'px;border:0px;padding:0px;z-index:0;overflow:auto;background-color:#c0c0c0;background-image:url(\''+img_src+'\');background-repeat:no-repeat;}</style></head><body oncontextmenu="return false" ondragstart="return false" onselectstart="return false"><div class="image" onClick="self.close();"></div></body></html>';
	winHandler.document.open();
	winHandler.document.write(htmlContent);
	winHandler.document.close();
	winHandler.focus();
}