function picwin(url, ww, hh)
{
var nap = navigator.appName;
if (nap.indexOf("Netscape") > -1) {loadIntoNS(url, ww+17, hh+17); return;}

var wd = (screen.width - ww) /2;
var ht = (screen.height - hh) /2;
var title = "Klik op de foto om het venster te sluiten";
for (i=0; i<300; i++) title = title + "&nbsp;";

win = window.open('', 'win', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+ww+',height='+hh+',left='+wd+',top='+ht);
win.document.write('<HTML><TITLE>'+title+'</TITLE><BODY LEFTMARGIN=0 TOPMARGIN=0>');
win.document.write('<IMG SRC="' +url+ '" WIDTH=' +ww+ ' HEIGHT=' +hh+ ' ALT="Klik op de foto om het venster te sluiten" ONCLICK="javascript:window.close();return true" STYLE="cursor: hand">');
win.document.write('</BODY></HTML>');
return;
}

function loadIntoNS(url, ww, hh)
{
var wd = (screen.width - ww) /2;
var ht = (screen.height - hh) /2;
if (parseFloat(navigator.appVersion) > 4) {ww += 7; hh +=7;}

win = window.open(url, 'win', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+ww+',height='+hh+',left='+wd+',top='+ht);
return;
}