ciao grazie!
sarebbe così:


function dlApriFinestraZoom(imgW, imgH, page)
{

var w = imgW;
var h = imgH;


var l = Math.floor( (screen.width - (w/2) ) / 2);
var t = Math.floor( (screen.height - (h/2) ) / 2);
cmd = "zoom.htm?Foto=" + page;
vReturnValue = window.open(cmd, "", "toolbar=no,width=" + w + ",height=" + h + ",left=" + l + ",top=" + t + ",status=no,scrollbars=no,resizable=0");

return false;
}



<a href="#" onclick="dlApriFinestraZoom('montali1.jpg')">