function ShowHide(div) {
	
	var thisLevel = document.getElementById(div);
	if (thisLevel.style.display == "none") {
    thisLevel.style.display = "block";
	document.getElementById('login').className = 'activeLogin'
	
	} else {
		
	var thisLevel = document.getElementById(div);
	thisLevel.style.display = "none";
	document.getElementById('login').className = ''
	
    }
}
// Tab functions
function toggleRegio() {
	var d = document; {
		document.getElementById('tabContentRegio').style.display = "block";
		document.getElementById('tabContentCalendar').style.display = "none";
		document.getElementById('regio').className = 'hi';
		document.getElementById('calendar').className = '';
	} 
}
function toggleCalendar() {
	var d = document; {
		document.getElementById('tabContentCalendar').style.display = "block";
		document.getElementById('tabContentRegio').style.display = "none";
		document.getElementById('regio').className = '';
		document.getElementById('calendar').className = 'hi';
	} 
}


function openMe(newin) {
	flyout=window.open(newin,"warning","resizable=no,scrollbars=auto,width=420,height=110,top=50,left=50")
}
function Openme(newin) {
	flyout=window.open(newin,"warning","resizable=no,scrollbars=auto,width=420,height=110,top=50,left=50")
}

function openMe2(newin) {
	flyout=window.open(newin,"warning","resizable=yes,scrollbars=auto,width=420,height=210,top=10,left=10")
}

function openMe3(newin) {
	flyout=window.open(newin,"update","resizable=yes,scrollbars=yes,width=420,height=310,top=10,left=10")
}

function openPaswoord(newin) {
	flyout=window.open(newin,"update","resizable=yes,scrollbars=yes,width=520,height=310,top=10,left=10")
}



/* ROLLOVER - OLD SKOOL!!!! */
browserOK = true; 
	pics = new Array(); 
	
	var objCount = 0; 

	function preload(name, one, two) { 

  		if (browserOK) { 
			pics[objCount] = new Array(3); 
			pics[objCount][0] = new Image(); 
			pics[objCount][0].src = one; 
			pics[objCount][1] = new Image(); 
			pics[objCount][1].src = two; 
			pics[objCount][2] = name; 
			objCount++; 
		}
	}

	function on(name) {
		if (browserOK) { 
			for (x = 0; x < objCount; x++) { 
				if (name == pics[x][2]) { 
				document.images[pics[x][2]].src = pics[x][1].src; 
				} 
			} 
		} 
	} 

	function off(name){ 
		if (browserOK) { 
			for (x = 0; x < objCount; x++) { 
				if (name == pics[x][2]) { 
					document.images[pics[x][2]].src = pics[x][0].src; 
				} 
			} 
		} 
	}

preload("parochie", "/imgs/map_vl.gif", "/imgs/map_bisdombrugge.gif")
preload("bisdomgent", "/imgs/map_vl.gif", "/imgs/map_bisdomgent.gif")
preload("bisdomantwerpen", "/imgs/map_vl.gif", "/imgs/map_bisdomantwerpen.gif")
preload("bisdomhasselt", "/imgs/map_vl.gif", "/imgs/map_bisdomhasselt.gif")
preload("vicvlbrabant", "/imgs/map_vl.gif", "/imgs/map_vicvlbrabant.gif")
preload("vicbrussel", "/imgs/map_vl.gif", "/imgs/map_vicbrussel.gif")

