function view(page,width,height) {
var winl = (screen.width - width) / 2;
var wint = (screen.height - height) / 2;
winprops = 'height='+height+',width='+width+',top='+wint+',left='+winl+',scrollbars=no,menubar=no,status=no'
window.open('/view.php?name='+page,'Donati',winprops)
}

function viewphoto(page,width,height) {
var winl = (screen.width - width) / 2;
var wint = (screen.height - height) / 2;
winprops = 'height='+height+',width='+width+',top='+wint+',left='+winl+',scrollbars=no,menubar=no,status=no'
window.open(page,'Donati',winprops)
}

