var aantalSubmenu = 2

function showSubmenu(welke){

	var toon = document.getElementById('sub'+welke);

	for (var x = 1; x <= aantalSubmenu; x++){
		document.getElementById('sub'+x).style.display = 'none';
	}

	$('sub'+welke).appear({ duration: 0.5, to: 0.95 });

	sIFR.replace(vagroundedlight, {
		selector: 'h2'
		,wmode: 'transparent'
		,css: [
			'.sIFR-root { text-align: left; display:inline; background:none; font-style: normal; color: #003c78; line-height:12px; font-size:15px; }'
			,'a { text-decoration: none; }'
			,'a:link { color: #003c78; }'
			,'a:hover { color: #f11718; }'
			,'margin { 0; }'
			,'float { left; }'
		]
	});
}

function menubehouden(a) {
	document.getElementById('sub'+a).style.display = 'block';
}

function hideSubmenu(){
	for (var x = 1; x <= aantalSubmenu; x++){
		document.getElementById('sub'+x).style.display = 'none';
	}
}

function huisOver(aanuit){
	var huis = document.roodHuis;

	if(aanuit=='1'){
		document.roodHuis.src = 'images/homeButOn.gif';
	}

	if(aanuit=='0'){
		document.roodHuis.src = 'images/homeBut.gif';
	}
}

fbPageOptions = {
	color: 'white',
	overlayOpacity: 90,
	shadowType: 'none',
	roundCorners: 'none',
	outerBorder: 0,
	innerBorder: 0,
	controlPos: 'tr',
	infoPos: 'tr',
	padding: 3,
	disableScroll: true,
	navType: 'both',
	boxTop: 100,
	showClose: false,
	scrolling: 'no'
};
