
moColors = new Array ();
moColors['rood']	= '#990C1F';
moColors['geel']	= '#EBBA2C';
moColors['groen']	= '#92AB33';
moColors['blauw']	= '#113159';
moColors['oranje']	= '#F05520';

activeMenu = null;
function toggleMenu (id) {
	var aDiv = document.getElementById("a" + id);
	if (activeMenu && activeMenu != aDiv)
		activeMenu.style.display = "none";
	aDiv.style.display = (aDiv.style.display == "block") ? "none" : "block";
	activeMenu = aDiv;
}

function hoversmenu (ele, state) {
	ele.style.backgroundColor = state ? '#F0F0F0' : 'transparent';
}

function hover_sub (state, row) {
	if (state) {
		document.getElementById("menulinks_" + row).style.backgroundColor = moColors[KLEUR];
		document.getElementById("menurechts_" + row).style.backgroundColor = "#F7F3F7";
	} else {
		document.getElementById("menulinks_" + row).style.backgroundColor = "#B5B2B5";
		document.getElementById("menurechts_" + row).style.backgroundColor = "#FFFFFF";
	}
}

function hover_subsub (state, row) {
	if (state) {
		document.getElementById("menurechts_" + row).style.backgroundColor = "#F7F3F7";
	} else {
		document.getElementById("menurechts_" + row).style.backgroundColor = "#FFFFFF";
	}
}