function aprifoto(nomefile, nomefinestra, larghezza, altezza)
{
larghezza+=60;
altezza+=120;
foto=window.open(nomefile, nomefinestra, "toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=1, resizable=1, copyhistory=0, width=" + larghezza + ", height=" + altezza + ", left=" + Math.round((screen.width-larghezza)/2?(screen.width-larghezza)/2:0) + ", top=" + Math.round((screen.height-altezza)/2?(screen.height-altezza)/2:0));
}

