this.nuNr = 0; 

function veranderPlaat(nr)
{
	foto = document.getElementById("fotoScherm");
	foto.src = this.plaatjesAdres[nr]+"_pagina_foto.jpg";
	foto.alt = this.plaatjesText[nr];
	foto.title = this.plaatjesText[nr];
	this.nuNr = nr;
}
function geefFoto()
{
	openFoto(this.plaatjesText[this.nuNr],this.plaatjesAdres[this.nuNr]+"_groot.jpg");
}
function openFoto(title,foto)
{
	venster = window.open("","","width=400,height=400,resizable,scrollbars=no,status=0");
	 
	venster.document.open();
	venster.document.write("<HTML><HEAD><title>"+title+"</title><script type=\"text/javascript\" src=\"javascript.js\"></script></HEAD><BODY bgColor=\"#ffffff\" leftMargin=\"0\" topMargin=\"0\" onload=\"zetScherm();\"><A href=\"javascript:window.close()\"><img src=\""+foto+"\" border=\"0\"></A></BODY></HTML>");
	venster.document.close();
	venster.focus();

}
function zetScherm() 
{
	if (window.innerWidth)
	{
		iWidth = window.innerWidth;
		iHeight = window.innerHeight;
	}
	else
	{
		iWidth = document.body.clientWidth;
		iHeight =document.body.clientHeight;
	}
	iWidth = document.images[0].width - iWidth;
	iHeight = document.images[0].height - iHeight;
	window.resizeBy(iWidth, iHeight);
}
