var curtop = ''
var cursub = ''
var topid = ''
var curid = ''
var cursubid = ''
var keuze2 = ''

function viewtopmenu(item) {
	if (item != curtop) document.getElementById("m-" + item).src = '/' + project + '/images/hoofdnav/' + item + '_mo.gif'
}

function hidetopmenu(item) {
   if (item == curtop) {
	   document.getElementById("m-" + item).src = '/' + project + '/images/hoofdnav/' + item + '_act.gif'
	} else {
	   document.getElementById("m-" + item).src = '/' + project + '/images/hoofdnav/' + item + '.gif'
	}
}

function selecttopmenu(item,id) {
   document.getElementById('dummy').style.display = 'none'
	if (curtop != "" && document.getElementById("k-" + curtop)) {
		document.getElementById("k-" + curtop).style.display = "none"
		document.getElementById("m-" + curtop).src = '/' + project + '/images/hoofdnav/' + curtop + '.gif'
	}
	curtop = item;
	document.getElementById("k-" + item).style.display = ""
   document.getElementById("m-" + item).src = '/' + project + '/images/hoofdnav/' + item + '_act.gif'
	topid = id
	if (document.getElementById('sk-' + curid)) document.getElementById('sk-' + curid).className = 's-sublink'
}

function selectsubmenu(id) {
	location.href = 'default.asp?c1=' + topid + '&c2=' + id + '&div=inl'
}

function displaySub51(id,name) {
	if (curid != "") {
		document.getElementById('s-' + curid).style.display = 'none'
	}
	curid = id
	curtop = name
	if (curid != "") {
		document.getElementById('dummy').style.display = 'none'
		if (document.getElementById('s-' + curid)) 
			document.getElementById('s-' + curid).style.display = ''
		if (document.getElementById('m-' + curtop)) {
			document.getElementById('m-' + curtop).src = '/' + project + '/images/hoofdnav/'+ curtop + '_act.gif'
			document.getElementById('k-' + curtop).style.display = ''
		} else {
		}
		if (document.getElementById('sk-' + curid)) {
			document.getElementById('sk-' + curid).className = 's-sublink-act'
		}
	}
}

function displaySubMenu51(subid,subsubid) {
	if (subid) {
		cursubid = subid
		if (document.getElementById('sl-' + cursubid))
			document.getElementById('sl-' + cursubid).className = 's-submenulink-act'
		if (document.getElementById('ss-' + cursubid)) {
			document.getElementById('ss-' + cursubid).style.display = ''
			document.getElementById('ssl-' + subsubid).className = 's-subsublink-act'
		}
	}
}

function displaysubsub(id) {
	if (cursubid != "") {
		if (document.getElementById('ss-' + cursubid)) 
			 document.getElementById('ss-' + cursubid).style.display = 'none'
      document.getElementById('sl-' + cursubid).className = 's-submenulink'
	}
	cursubid = id
	if (id != "") {
      document.getElementById('ss-' + cursubid).style.display = ''
      document.getElementById('sl-' + cursubid).className = 's-submenulink-act'
	}
}


