// JavaScript Document
var Menu1ToggleState = 0;
var Menu2ToggleState = 0;

function changeContent(){
	$('#middleBar').load('nl/philohistoire.php');
}

function changeContent2(){
	$('#middleBar').load('content2.php');
}

function changeContent3(){
	StoptheRotator('bg7380');
	$('#middleBar').load('nl/chambres.php');
}

function changeContent4(){
	$('#middleBar').load('nl/salon.php');
}

function changeContent5(){
	StoptheRotator('bg7075');
	$('#middleBar').load('lunchenendineren.php');
}

function changeContent6(){
	StoptheRotator('bg6834');
	$('#middleBar').load('ontbijt.php');
}

function changeContent7(){
	StoptheRotator('bg6866');
	$('#middleBar').load('privatedining.php');
}

function changeContent8(){
	StoptheRotator('bg8912');
	$('#middleBar').load('parking.php');
}

function changeContent9(){
	$('#middleBar').load('garage.php');
}

function changeContent10(){
	$('#middleBar').load('indepers.php');
}

function changeContent11(){
	StoptheRotator('monique');
	$('#middleBar').load('monique.php');
}

function changeContent12(){
	StoptheRotator('mart');
	$('#middleBar').load('mart.php');
}

function changeContent13(){
	StoptheRotator('bg7234');
	$('#middleBar').load('eetkamer.php');
}

function changeContent14(){
	StoptheRotator('tuinterras');
	$('#middleBar').load('tuinenterras.php');
}


function toggleMenu() { 
	$("#divsubmenu").toggle(); 
	
	if (Menu1ToggleState > 0) {
		Menu1ToggleState = 0;
	} else {
		Menu1ToggleState = 1;	
	}
}

function toggleMenu2() { 
	$("#divsubmenu2").toggle(); 
	
	if (Menu2ToggleState > 0) {
		Menu2ToggleState = 0;
	} else {
		Menu2ToggleState = 1;	
	}
}

