function displayAnchors() {
	oTarget=document.getElementById("anchors");
	oSource=document.getElementById("inhoud");
	
	if (typeof(oTarget)!="undefined") {
		if (typeof(oSource)!="undefined") {
			showAnchorsFor(oSource,oTarget)
		}
	}
}


function showAnchorsFor(element,targetElement) {	
	if ((typeof(element)!="undefined") && (typeof(targetElement)!="undefined")) {
		try {
			var allLinks = element.getElementsByTagName("A");
			strResult="<ul>";
			var kopje = true;
			for (a=0; a < allLinks.length; a++) {	
				if (allLinks[a].href.toUpperCase() == "") {		
					strResult+="<li>";
					strResult+="<a target=\"_self\" href=\"#"+allLinks[a].name+"\" class=\"link_text\">"+allLinks[a].name+"</a>";
					strResult+="</li>";
				}		
			}
			strResult+="</ul>";
			if (a>0) {
				targetElement.style.display='block';
				targetElement.innerHTML=strResult;
			}
		} catch(e) {
			// couldn't fill anchor block, it's not the end of the world so don't alert the user
		}
	}
}