<!--
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 MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;
  if(!d) d=document; 
  if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; 
    n=n.substring(0,p);
    }
  if(!(x=d[n])&&d.all) x=d.all[n]; 
  for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); 
  return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_setTextOfTextfield(objName,x,newText) { //v3.0
  var obj = MM_findObj(objName); if (obj) obj.value = newText;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}

function Inh(divname,imagename) {
  a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  b = MM_findObj(imagename); //find the image by it's name, netscape and ie compatible
  
		if (a.style.display =='') {
			a.style.display = 'none';
			b.src='img/nplus.gif';
		}
		else {
 			a.style.display='';
			b.src='img/nmin.gif';
		}
  //alert(divname+'='+a.style.display+'#'+imagename);  
	}

function Sub(divname,imagename) {
  a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  b = MM_findObj(imagename); //find the image by it's name, netscape and ie compatible
  
		if (a.style.display =='') {
			a.style.display = 'none';
			b.src='img/bplus.gif';
		}
		else {
 			a.style.display='';
			b.src='img/bmin.gif';
		}
	}

function Bijlage(divname,imagename) {
  a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  b = MM_findObj(imagename); //find the image by it's name, netscape and ie compatible
  
		if (a.style.display =='') {
			a.style.display = 'none';
			b.src='img/bplus.gif';
		}
		else {
 			a.style.display='';
			b.src='img/bmin.gif';
		}
	}

function ShowHideDiv(divname) {
  a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  
		if (a.style.display =='') {
			a.style.display = 'none';
		}
		else {
 			a.style.display='';
		}
	}

//25 divs
divs = new Array('S1','S2','S3','S4','S5','S6','S7','S8',
        'S9','S10','S11','S12','S13','S14','S15','S16',
        'S17','S18','S19','S20','S21','S22','S23','S24','S25'
       );
imgs = new Array('S1_i','S2_i','S3_i','S4_i','S5_i','S6_i','S7_i','S8_i',
        'S9_i','S10_i','S11_i','S12_i','S13_i','S14_i','S15_i','S16_i',
        'S17_i','S18_i','S19_i','S20_i','S21_i','S22_i','S23_i','S24_i','S25_i'
       );

function closeall() {
   //find the div by it's name, netscape and ie compatible
  for (var i=0;i<=divs.length-1;i++) {
   a = MM_findObj(divs[i]);
   b = MM_findObj(imgs[i]);
   if (a != null) { a.style.display = 'none';
   b.src='img/bplus.gif';
 }
  }
}

function openall() {
   //find the div by it's name, netscape and ie compatible
  for (var i=0;i<=divs.length-1;i++) {
   a = MM_findObj(divs[i]);
   b = MM_findObj(imgs[i]);
   if (a != null) { a.style.display = ''; 
   b.src='img/bmin.gif';}
  }
}







// ************************
//  FUNCTIE VOOR KLEEFPIJL
// ************************

// default windowstatus
window.defaultStatus='';

// floater code
var floaterheight = 16;
var up_from_corner = 16;

var IE = (document.all) ? 1 : 0;
var NS = (document.layers) ? 1 : 0;
var OP = (window.navigator.userAgent.toLowerCase().indexOf('opera') != -1) ? 1 :0; 
var appVersion = 0;
if (OP) IE=0;
//more specific browser detetion
if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){
 //test for Firefox/x.x or Firefox x.x (ignoring remaining digits);
 var ffversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 if (ffversion>=3)
  appVersion = 3; 
 else if (ffversion>=2)
  appVersion = 2;
 else if (ffversion>=1)
  appVersion = 1;
}
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
 var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 if (ieversion>=8)
  appVersion = 8; 
 else if (ieversion>=7)
  appVersion = 7; 
 else if (ieversion>=6)
  appVersion = 6; 
 else if (ieversion>=5)
  appVersion = 5; 
}





var left = 118;
var up = floaterheight + up_from_corner;
var scrollPos = 0;
var timeout = 1;

self.onError=null;

function floater() {
  if (timeout == 1) {
    if(NS) {
      if (scrollPos == window.pageYOffset && scrollPos > 0) {
        scrollPos = window.pageYOffset;
        document.floater.visibility = "show";
        document.floater.top = (window.innerHeight+window.pageYOffset-up);
		document.floater.left = left;
      }
      else {
        scrollPos = window.pageYOffset;
        document.floater.visibility = "hide";
        timeout = 0;
        setTimeout("timeout = 1",50);
      }
    }
	if (IE) {
      if (scrollPos == document.body.scrollTop && scrollPos > 0) {
        scrollPos = document.body.scrollTop;
        document.all.floater.style.visibility = "visible";
        document.all.floater.style.pixelTop = (document.body.clientHeight+document.body.scrollTop-up);
        document.all.floater.style.pixelLeft = left;
	  }
      else {
        scrollPos = document.body.scrollTop;
        document.all.floater.style.visibility = "hidden";
        timeout = 0;
        setTimeout("timeout = 1",50);
      }
    }
  }
}

function goFloater() {
	startFloater = setInterval("floater()",10);
}


function Show(divname) {
	a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
	a.style.display='block';
}

function ShowPopUp(divname) {
	a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  //check if we're not too close to the rimm
//  var scrW = document.width;
//  var thisW = a.style.top;
//  var thisHor = a.style.left;
//  alert(a.id+"#"+thisHor+"#"+thisW+"#"+scrW)
//  if (thisHor+thisW>scrW){
    //a.style.left = thisHor-((thisHor+thisW)-scrW);
    //}
	a.style.display='block';
}


function ShowTR(divname) {
	a = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
	if (!IE){
    a.style.display='block';
    a.style.display='table-row';
    }
  else{
    a.style.display='block';
    }
}

function Hide(divname) {
	c = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
	c.style.display='none';
}

function HideTR(divname) {
	c = MM_findObj(divname); //find the div by it's name, netscape and ie compatible
  //if (!IE) a.style.display='table-row';
	c.style.display='none';
  //c.style.visibility='hidden';
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { var daIFname="i"+obj.id; obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v;
    //make sure it is visible when page is scrolled
    //alert(obj.id+"="+obj.visibility);
  	if (IE) {
      //check for accompaning iframe
      daIF = eval("document.all."+daIFname) 
      if (appVersion<7){
        daIF.style.visibility=v;
        }
      scrollPos = document.documentElement['scrollTop'];
      if ( scrollPos > 0) {
        obj.top = parseInt(scrollPos+20)+'px' ;
        daIF.style.top = parseInt(scrollPos+20)+'px' ;
        }
      }

    }//end for

}

function MM_setTextOfLayer(objName,x,newText) { //v4.01
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (document.layers){
      document.write(unescape(newText)); 
      document.close();
      }
    else {
      //alert(obj.style.top)
      innerHTML = unescape(newText);
      }
}

//var toelName = new String();

function addToelichting(toel){
  toelName = new String('toelichting'+toel)
  imgOutput = new String('<img src="./img/toelichting.gif" '+
                 'alt="" '+
                 'name="vr1" '+
                 'width="15" '+
                 'height="15" '+
                 'border="0" '+
                 'align="absmiddle" '+
                 'id="vr1" ');
  if (IE){
    imgOutput = imgOutput +new String('onMouseOver="Show(\''+toelName+'\');'+'Show(\'i'+toelName+'\');"onMouseOut="Hide(\''+toelName+'\');Hide(\'i'+toelName+'\');">');
    }
  else{  
    imgOutput = imgOutput + new String('onMouseOver="Show(\''+toelName+'\');"'+'onMouseOut="Hide(\''+toelName+'\');"> ');
    }

  document.write(imgOutput);

  if (IE){
    document.write('<iframe id="i'+toelName+'" src="./img/x.gif" class="itoelichtingB" onMouseOut="Hide(\'i'+toelName+'\');"></iframe>')
    }

  document.write('<div id="'+toelName+'" name="'+toelName+'" class="toelichtingB" onMouseOut="Hide(\''+toelName+'\');"></div>')
  
  MM_setTextOfLayer(new String(toelName),'', new String(toelTekst[toel]));
  }

function addInfo(toel){
  document.write('<img src="img/informatie.gif" '+
                 'alt="Extra informatie" '+
                 'name="vr1" '+
                 'width="15" '+
                 'height="15" '+
                 'border="0" '+
                 'align="absmiddle" '+
                 'id="vr1" '+
                 'style="cursor:pointer;" '+
                 'onClick="'+
                 'popInfo('+toel+');'+
                 'return false"> '
                 );
  }

function addInfoMeer(toel){
  document.write('<img src="img/informatie.gif" '+
                 'alt="Extra informatie" '+
                 'name="vr1" '+
                 'width="15" '+
                 'height="15" '+
                 'border="0" '+
                 'align="absmiddle" '+
                 'id="vr1" '+
                 'style="cursor:pointer;" '+
                 'onClick="'+
                 'popInfoMeer('+toel+');'+
                 'return false"> '
                 );
  }

function popInfo(toel){
  MM_showHideLayers('toelichting','','show','toelichtingb','','hide');
  if (OP){
    document.getElementById("toelichting").style.overflow = 'hidden';
    document.getElementById("toelichtingTekst").style.top = 125;
    document.getElementById("toelichtingTekst").innerHTML='';
    }
  MM_setTextOfLayer('toelichtingTekst','', new String(toelTekst[toel]));
  }

function popInfoMeer(toel){
  MM_showHideLayers('toelichtingb','','show','toelichting','','hide'); 
  if (OP){
    document.getElementById("toelichtingb").style.overflow = 'hidden';
    document.getElementById("toelichtingbTekst").style.top = 125;
    document.getElementById("toelichtingbTekst").innerHTML='';
    }
  MM_setTextOfLayer('toelichtingbTekst','', new String(toelTekst[toel]));
  }

//-->
