<!--
function Foto(img,txt){
foto1= new Image();
foto1.src=(img);
CheckFoto(img,txt);
}
function CheckFoto(img,txt){
if((foto1.width!=0)&&(foto1.height!=0)){
viewFoto(img,txt);
}
else{
uitvoering="CheckFoto('"+img+"','"+txt+"')";
interval=setTimeout(uitvoering,20);
}
}
function viewFoto(img,txt){
imgbreedte=(foto1.width+20);
imghoogte=(foto1.height+100); //hier vul je de hoogte in van je tekstbalkje. LET OP is wel voor alle foto's even groot dan.
if (!txt) (txt=img)
vars="width="+imgbreedte+",height="+imghoogte+",left="+((screen.width-imgbreedte)/2)+",top="+((screen.height-imghoogte)/2)+"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=0,resizable=0";
newwindow=window.open("","nieuwvenster",vars);
newwindow.document.write("<html>\n<head>\n<title>Fotoboek</title>\n"); //vul hier de titel in voor de browser balk
newwindow.document.write("<meta http-equiv=\"imagetoolbar\" content=\"no\">\n");
newwindow.document.write("</head>\n\n<body bgcolor=\"#666666\" marginwidth=\"0\" marginheight=\"0\">\n");
newwindow.document.write("<div align=\"center\"><img src=\""+img+"\" border=\"0\" onclick=\"javascript:window.close()\"><div align=\"/center\">\n");
newwindow.document.write(txt+"\n");
newwindow.document.write("</body>\n</html>\n");
newwindow.document.focus();
newwindow.document.close();
}
// einde script -->
