function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function toon_foto(strBestandsnaam,strOmschrijving) {

	var objFoto;

	objFoto = document.getElementById('foto');
	if (navigator.appName == 'Microsoft Internet Explorer') {
		objFoto.filters[0].apply();
	}
	objFoto.src = strBestandsnaam;
	objFoto.alt = strOmschrijving;
	if (navigator.appName == 'Microsoft Internet Explorer') {
		objFoto.filters[0].play();
	}
}

function diashow() {

	var objFoto;
	
	objFoto = document.getElementById('foto');
	objFoto.filters[0].apply();
	objFoto.src = arrFoto[intTeller].bestand;
	objFoto.alt = arrFoto[intTeller].omschrijving;
	objFoto.filters[0].play();

	intTeller++;
	if (intTeller >= arrFoto.length) {
		intTeller = 0;
	}
	setTimeout('diashow()',2500);
}

function fotodata(bestand,omschrijving) {
	this.bestand = bestand;
	this.omschrijving = omschrijving;
}

function nieuw_venster(strUrl,strOpties) {

	new_window = open('','',strOpties);
	new_window.document.write('<html><head><title>Kaart van de streek</title>');
	new_window.document.write('<link href="../site.css" rel="stylesheet" type="text/css">'); 
	new_window.document.write('</head>');
	new_window.document.write('<body margin="0">');
	new_window.document.write('<img src="'+strUrl+'">');
	new_window.document.write('</body></html>');
	new_window.document.close(); 





}