<!-- 
var k=0;

function ClassAanAktieveLinkToewijzen(divID) {
	var DHTML = (document.getElementById || document.all || document.layers); // DHTML check
	if ( !DHTML ) alert('Uw browser ondersteund geen DHTML');

	if (document.getElementById) { // check op browser-functies
		var Obj = document.getElementById(divID);
	} else if (document.all) {
		var Obj = document.all[divID];
	} else if (document.layers) {
		var Obj = document.layers[divID];
	}

	var URL = window.location.href; // URL van pagina
	var inhoud = Obj.getElementsByTagName("a"); // vind links in divID

	if (inhoud.length != 0) { // als er inhoud in zit,
		for(i=0; i<inhoud.length; i++) { // maak een loop met alle links
			if (URL.indexOf(inhoud[i].href) > -1) {  // check of inhoud van link overeenkomt met URL
				inhoud[i].className  ="active"; // Class toewijzen
				k++;
			}
//			if (URL.indexOf("index") > -1 && inhoud[i].innerHTML.toLowerCase() =="home") { // extra - als je home gebruikt op index-pagina
//				inhoud[i].className  ="aktief"; // Class toewijzen
//			}
		}
	}	
    if(k<1) {
		inhoud[0].className  ="active";
    }	
	
}


-->
