<!--
var Opera = window.opera ? true : false;

var activeSub = "";
var activeItem = "";
var nowId = "";

function getClient() {
    // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase()
	var apv=navigator.appVersion.toLowerCase()
	this.major = parseInt(navigator.appVersion)
	// browserversion
    this.ns  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1)))
   	this.gecko = (this.ns && (this.major >= 5))
    this.ie   = (agt.indexOf("msie") != -1)
    this.ie4  = (this.ie && (this.major == 3))
	this.ie45 = (agt.indexOf('msie 4.5') != -1);
    this.ie5  = (this.ie && (this.major == 4))
	// platform
	this.mac = (apv.indexOf("macintosh")>0);
	// compatible browsers
	this.ie4comp = ((this.ie4 && !this.mac) || this.ie45 || this.ie5)
	this.comp = (this.ie4comp || this.gecko);
	return (this)
	
}

var is = new getClient();

function swapImage(imgSrc, imgName) { 
	if (is.comp) {
		var img = document.getElementsByName(imgName);
		img[0].src = imgSrc;
	}
}

function roSubmit(id,pic){
	if(is.comp && !(is.mac && is.ie4comp)){
		var ref = document.getElementById(id);
		ref.src = pic;
	}
} 

function IEHoverPseudo() {

	var navItems = document.getElementById("hoofdnav").getElementsByTagName("li");
		
	for (var i=0; i<navItems.length; i++) {

		if(navItems[i].className == "menuparent" ) {
			navItems[i].onmouseover=function() { 
				this.className += " over"; 
				this.style.zIndex=999;
			}
			navItems[i].onmouseout=function() { 
				this.className = "menuparent"; 
				this.style.zIndex=999;
			}
		}
		else if(navItems[i].className == "actief menuparent") {

			navItems[i].onmouseover=function() { 
				this.className += " over"; 
				this.style.zIndex=999;

			}
			navItems[i].onmouseout=function() { 
				this.className = "actief menuparent"; 
				this.style.zIndex=999;
			}
		}
	}
	
}

function toggleTreeNode(icon,contid){
  objNode = document.getElementById(contid);
  icon.className = icon.className.indexOf('plus')!=-1 ? icon.className.replace('plus','min') : icon.className.replace('min','plus');
  objNode.style.display = objNode.style.display == 'block' ? 'none' : 'block';
}

function toggleTreeNodeReverse(icon,contid){
  objNode = document.getElementById(contid);
  icon.className = icon.className.indexOf('min')!=-1 ? icon.className.replace('min','plus') : icon.className.replace('plus','min');
  objNode.style.display = objNode.style.display == 'none' ? 'block' : 'none';
}
//-->