<!--
var fotab = new Array();

/* Aantal foto's + 1 */
var numFotos = 15;

for (i=1; i<=numFotos; i++) { fotab[i] = true; }

function toon(foto) {
  for (i=1; i<=numFotos; i++) {
    tonen = ((fotab[foto] && foto == i) || !fotab[foto])?'show':'hide';
    showHideFoto('f' + i,'',tonen);
  	tonen = (foto == i && fotab[foto])?'show':'hide';
	  showHideTekst('t' + i,'',tonen);	
	  showHideTekst('r' + i,'',tonen);	
  }
  fotab[foto] = !fotab[foto];
	for (i=1; i<=numFotos; i++) {
		if (i != foto) { fotab[i] = true; }
	}
	pn = findObj('persoon','');
	obj = findObj('breek');
  if (!fotab[foto]) {
    pv = findObj('p' + foto);
    pn.innerHTML = stripTags(pv.innerHTML);
  	obj.style.display = 'none';
	} else {
	  pn.innerHTML = '';
		obj.style.display = 'inline';
	}
}

function showHideFoto() {
  var i, visStr, obj, args = showHideFoto.arguments;
  for (i=0; i<(args.length-2); i+=3) {
    if ((obj = findObj(args[i])) != null) {
      visStr = args[i+2];
      if (obj.style) {
        obj = obj.style;
        if (visStr == 'show') {
					visStr = 'visible';
					disStr = 'inline';
				} else {
          if (visStr == 'hide') {
						visStr = 'hidden';
						disStr = 'none';
					}
				}
      }
      obj.visibility = visStr;
			obj.display = disStr;
    }
  }
}

function showHideTekst() { 
  var i, disStr, obj, args = showHideTekst.arguments;
  for (i=0; i<(args.length-2); i+=3) {
    if ((obj = findObj(args[i])) != null) {
      disStr = args[i+2];
      if (obj.style) {
        obj = obj.style;
        if (disStr == 'show') disStr = 'inline';
		    else if (disStr == 'hide') disStr = 'none';
      }
  	  obj.display = disStr;
    }
  }
}

function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  
  return foundObj;
}

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();
}

var regExp = /<\/?[^>]+>/gi;

function stripTags(xStr){
   xStr = xStr.replace(regExp,"");
   return xStr;
}

function init() {
  MM_reloadPage(true);
  if (navigator.userAgent.indexOf("Safari") > -1) {
	scrollDivInit();
  }
}
-->
