	function Toggle_Div(divId) {
	    if (document.getElementById) {
			// standaard
			thisDiv = document.getElementById(divId);
			if (thisDiv) {
			    if (thisDiv.style.display == "none") {
			        thisDiv.style.display = "block";
			    }
			    else {
			        thisDiv.style.display = "none";
			    }
			}
			else {
			    //alert("Error: Could not locate div with id: " + divId);
			}
		}		
		else if (document.all) {
			// oudere versies van IE
			thisDiv = document.all[divId];
			if (thisDiv) {
			    if (thisDiv.style.display == "none") {
			        thisDiv.style.display = "block";
			    }
			    else {
			        thisDiv.style.display = "none";
			    }
			}
			else {
			    //alert("Error: Could not locate div with id: " + divId);
			}
		}
		else if (document.layers) {
			// firefox
			thisDiv = document.layers[divId];
			if (thisDiv) {
			    if (thisDiv.style.display == "none") {
			        thisDiv.style.display = "block";
			    }
			    else {
			        thisDiv.style.display = "none";
			    }
			}
			else {
			    //alert("Error: Could not locate div with id: " + divId);
			}
		}
	}
	
	function SwitchTo(strDivIdentifier) {
		var divList = document.getElementsByTagName("DIV");
		
		for (i = 0; i < divList.length; i++) {
			if (divList[i].id.indexOf(strDivIdentifier.substr(0, strDivIdentifier.lastIndexOf("_"))) == 0) {
				if (divList[i].id == strDivIdentifier) {
					divList[i].className = divList[i].className.replace(/Disabled/gi, "Enabled");
					document.getElementById(divList[i].id + "-link").className = document.getElementById(divList[i].id + "-link").className.replace(/Off/gi, "On");
				}
				else {
					divList[i].className = divList[i].className.replace(/Enabled/gi, "Disabled");
					document.getElementById(divList[i].id + "-link").className = document.getElementById(divList[i].id + "-link").className.replace(/On/gi, "Off");
				}
			}
		}
	}