﻿//SETTING UP OUR POPUP
//0 means disabled; 1 means enabled;
var popupStatus = 0;

//loading popup with jQuery magic!
function loadPopupEuro(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundEuro").css({
			"opacity": "0.5"
		});
		$("#backgroundEuro").fadeIn("slow");
		$("#popupEuro").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupEuro(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundEuro").fadeOut("slow");
		$("#popupEuro").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupEuro(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupEuro").height();
	var popupWidth = $("#popupEuro").width();
	//centering
	$("#popupEuro").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundEuro").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Euro").click(function(){
		//centering with css
		centerPopupEuro();
		//load popup
		loadPopupEuro();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupEuroClose").click(function(){
		disablePopupEuro();
	});
	//Click out event!
	$("#backgroundEuro").click(function(){
		disablePopupEuro();
	});
});

//KATE

//loading popup with jQuery magic!
function loadPopupKate(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundKate").css({
			"opacity": "0.5"
		});
		$("#backgroundKate").fadeIn("slow");
		$("#popupKate").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupKate(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundKate").fadeOut("slow");
		$("#popupKate").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupKate(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupKate").height();
	var popupWidth = $("#popupKate").width();
	//centering
	$("#popupKate").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundKate").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Kate").click(function(){
		//centering with css
		centerPopupKate();
		//load popup
		loadPopupKate();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupKateClose").click(function(){
		disablePopupKate();
	});
	//Click out event!
	$("#backgroundKate").click(function(){
		disablePopupKate();
	});

});

//VELDRIJDEN

//loading popup with jQuery magic!
function loadPopupVeldrijden(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundVeldrijden").css({
			"opacity": "0.5"
		});
		$("#backgroundVeldrijden").fadeIn("slow");
		$("#popupVeldrijden").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupVeldrijden(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundVeldrijden").fadeOut("slow");
		$("#popupVeldrijden").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupVeldrijden(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupVeldrijden").height();
	var popupWidth = $("#popupVeldrijden").width();
	//centering
	$("#popupVeldrijden").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundVeldrijden").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Veldrijden").click(function(){
		//centering with css
		centerPopupVeldrijden();
		//load popup
		loadPopupVeldrijden();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupVeldrijdenClose").click(function(){
		disablePopupVeldrijden();
	});
	//Click out event!
	$("#backgroundVeldrijden").click(function(){
		disablePopupVeldrijden();
	});

});

//Mont

//loading popup with jQuery magic!
function loadPopupMont(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundMont").css({
			"opacity": "0.5"
		});
		$("#backgroundMont").fadeIn("slow");
		$("#popupMont").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupMont(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundMont").fadeOut("slow");
		$("#popupMont").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupMont(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupMont").height();
	var popupWidth = $("#popupMont").width();
	//centering
	$("#popupMont").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundMont").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Mont").click(function(){
		//centering with css
		centerPopupMont();
		//load popup
		loadPopupMont();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupMontClose").click(function(){
		disablePopupMont();
	});
	//Click out event!
	$("#backgroundMont").click(function(){
		disablePopupMont();
	});

});

//Topsportmanager

//loading popup with jQuery magic!
function loadPopupTopsportmanager(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundTopsportmanager").css({
			"opacity": "0.5"
		});
		$("#backgroundTopsportmanager").fadeIn("slow");
		$("#popupTopsportmanager").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupTopsportmanager(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundTopsportmanager").fadeOut("slow");
		$("#popupTopsportmanager").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupTopsportmanager(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupTopsportmanager").height();
	var popupWidth = $("#popupTopsportmanager").width();
	//centering
	$("#popupTopsportmanager").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundTopsportmanager").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Topsportmanager").click(function(){
		//centering with css
		centerPopupTopsportmanager();
		//load popup
		loadPopupTopsportmanager();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupTopsportmanagerClose").click(function(){
		disablePopupTopsportmanager();
	});
	//Click out event!
	$("#backgroundTopsportmanager").click(function(){
		disablePopupTopsportmanager();
	});

});

//Musical

//loading popup with jQuery magic!
function loadPopupMusical(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundMusical").css({
			"opacity": "0.5"
		});
		$("#backgroundMusical").fadeIn("slow");
		$("#popupMusical").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupMusical(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundMusical").fadeOut("slow");
		$("#popupMusical").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupMusical(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupMusical").height();
	var popupWidth = $("#popupMusical").width();
	//centering
	$("#popupMusical").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundMusical").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Musical").click(function(){
		//centering with css
		centerPopupMusical();
		//load popup
		loadPopupMusical();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupMusicalClose").click(function(){
		disablePopupMusical();
	});
	//Click out event!
	$("#backgroundMusical").click(function(){
		disablePopupMusical();
	});

});

//Tenten

//loading popup with jQuery magic!
function loadPopupTenten(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundTenten").css({
			"opacity": "0.5"
		});
		$("#backgroundTenten").fadeIn("slow");
		$("#popupTenten").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupTenten(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundTenten").fadeOut("slow");
		$("#popupTenten").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupTenten(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupTenten").height();
	var popupWidth = $("#popupTenten").width();
	//centering
	$("#popupTenten").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundTenten").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Tenten").click(function(){
		//centering with css
		centerPopupTenten();
		//load popup
		loadPopupTenten();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupTentenClose").click(function(){
		disablePopupTenten();
	});
	//Click out event!
	$("#backgroundTenten").click(function(){
		disablePopupTenten();
	});

});

//Topstuk

//loading popup with jQuery magic!
function loadPopupTopstuk(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundTopstuk").css({
			"opacity": "0.5"
		});
		$("#backgroundTopstuk").fadeIn("slow");
		$("#popupTopstuk").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupTopstuk(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundTopstuk").fadeOut("slow");
		$("#popupTopstuk").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupTopstuk(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupTopstuk").height();
	var popupWidth = $("#popupTopstuk").width();
	//centering
	$("#popupTopstuk").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});//Topstuk

//loading popup with jQuery magic!
function loadPopupTopstuk(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundTopstuk").css({
			"opacity": "0.5"
		});
		$("#backgroundTopstuk").fadeIn("slow");
		$("#popupTopstuk").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupTopstuk(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundTopstuk").fadeOut("slow");
		$("#popupTopstuk").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupTopstuk(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupTopstuk").height();
	var popupWidth = $("#popupTopstuk").width();
	//centering
	$("#popupTopstuk").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundTopstuk").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Topstuk").click(function(){
		//centering with css
		centerPopupTopstuk();
		//load popup
		loadPopupTopstuk();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupTopstukClose").click(function(){
		disablePopupTopstuk();
	});
	//Click out event!
	$("#backgroundTopstuk").click(function(){
		disablePopupTopstuk();
	});

});
	//only need force for IE6
	
	$("#backgroundTopstuk").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Topstuk").click(function(){
		//centering with css
		centerPopupTopstuk();
		//load popup
		loadPopupTopstuk();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupTopstukClose").click(function(){
		disablePopupTopstuk();
	});
	//Click out event!
	$("#backgroundTopstuk").click(function(){
		disablePopupTopstuk();
	});

});

//Zwembad

//loading popup with jQuery magic!
function loadPopupZwembad(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundZwembad").css({
			"opacity": "0.5"
		});
		$("#backgroundZwembad").fadeIn("slow");
		$("#popupZwembad").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupZwembad(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundZwembad").fadeOut("slow");
		$("#popupZwembad").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupZwembad(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupZwembad").height();
	var popupWidth = $("#popupZwembad").width();
	//centering
	$("#popupZwembad").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundZwembad").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Zwembad").click(function(){
		//centering with css
		centerPopupZwembad();
		//load popup
		loadPopupZwembad();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupZwembadClose").click(function(){
		disablePopupZwembad();
	});
	//Click out event!
	$("#backgroundZwembad").click(function(){
		disablePopupZwembad();
	});

});

//Taalunie

//loading popup with jQuery magic!
function loadPopupTaalunie(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundTaalunie").css({
			"opacity": "0.5"
		});
		$("#backgroundTaalunie").fadeIn("slow");
		$("#popupTaalunie").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupTaalunie(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundTaalunie").fadeOut("slow");
		$("#popupTaalunie").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupTaalunie(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupTaalunie").height();
	var popupWidth = $("#popupTaalunie").width();
	//centering
	$("#popupTaalunie").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundTaalunie").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Taalunie").click(function(){
		//centering with css
		centerPopupTaalunie();
		//load popup
		loadPopupTaalunie();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupTaalunieClose").click(function(){
		disablePopupTaalunie();
	});
	//Click out event!
	$("#backgroundTaalunie").click(function(){
		disablePopupTaalunie();
	});

});

//Pop

//loading popup with jQuery magic!
function loadPopupPop(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundPop").css({
			"opacity": "0.5"
		});
		$("#backgroundPop").fadeIn("slow");
		$("#popupPop").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupPop(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundPop").fadeOut("slow");
		$("#popupPop").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupPop(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupPop").height();
	var popupWidth = $("#popupPop").width();
	//centering
	$("#popupPop").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundPop").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Pop").click(function(){
		//centering with css
		centerPopupPop();
		//load popup
		loadPopupPop();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupPopClose").click(function(){
		disablePopupPop();
	});
	//Click out event!
	$("#backgroundPop").click(function(){
		disablePopupPop();
	});

});

//Jeugdraad

//loading popup with jQuery magic!
function loadPopupJeugdraad(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundJeugdraad").css({
			"opacity": "0.5"
		});
		$("#backgroundJeugdraad").fadeIn("slow");
		$("#popupJeugdraad").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupJeugdraad(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundJeugdraad").fadeOut("slow");
		$("#popupJeugdraad").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupJeugdraad(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupJeugdraad").height();
	var popupWidth = $("#popupJeugdraad").width();
	//centering
	$("#popupJeugdraad").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundJeugdraad").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Jeugdraad").click(function(){
		//centering with css
		centerPopupJeugdraad();
		//load popup
		loadPopupJeugdraad();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupJeugdraadClose").click(function(){
		disablePopupJeugdraad();
	});
	//Click out event!
	$("#backgroundJeugdraad").click(function(){
		disablePopupJeugdraad();
	});

});

//Participatiedecreet

//loading popup with jQuery magic!
function loadPopupParticipatiedecreet(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundParticipatiedecreet").css({
			"opacity": "0.5"
		});
		$("#backgroundParticipatiedecreet").fadeIn("slow");
		$("#popupParticipatiedecreet").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupParticipatiedecreet(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundParticipatiedecreet").fadeOut("slow");
		$("#popupParticipatiedecreet").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupParticipatiedecreet(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupParticipatiedecreet").height();
	var popupWidth = $("#popupParticipatiedecreet").width();
	//centering
	$("#popupParticipatiedecreet").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundParticipatiedecreet").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Participatiedecreet").click(function(){
		//centering with css
		centerPopupParticipatiedecreet();
		//load popup
		loadPopupParticipatiedecreet();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupParticipatiedecreetClose").click(function(){
		disablePopupParticipatiedecreet();
	});
	//Click out event!
	$("#backgroundParticipatiedecreet").click(function(){
		disablePopupParticipatiedecreet();
	});

});

//Circus

//loading popup with jQuery magic!
function loadPopupCircus(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundCircus").css({
			"opacity": "0.5"
		});
		$("#backgroundCircus").fadeIn("slow");
		$("#popupCircus").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupCircus(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundCircus").fadeOut("slow");
		$("#popupCircus").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupCircus(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupCircus").height();
	var popupWidth = $("#popupCircus").width();
	//centering
	$("#popupCircus").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundCircus").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Circus").click(function(){
		//centering with css
		centerPopupCircus();
		//load popup
		loadPopupCircus();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupCircusClose").click(function(){
		disablePopupCircus();
	});
	//Click out event!
	$("#backgroundCircus").click(function(){
		disablePopupCircus();
	});

});

//Lokalenfonds

//loading popup with jQuery magic!
function loadPopupLokalenfonds(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundLokalenfonds").css({
			"opacity": "0.5"
		});
		$("#backgroundLokalenfonds").fadeIn("slow");
		$("#popupLokalenfonds").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupLokalenfonds(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundLokalenfonds").fadeOut("slow");
		$("#popupLokalenfonds").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupLokalenfonds(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupLokalenfonds").height();
	var popupWidth = $("#popupLokalenfonds").width();
	//centering
	$("#popupLokalenfonds").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundLokalenfonds").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Lokalenfonds").click(function(){
		//centering with css
		centerPopupLokalenfonds();
		//load popup
		loadPopupLokalenfonds();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupLokalenfondsClose").click(function(){
		disablePopupLokalenfonds();
	});
	//Click out event!
	$("#backgroundLokalenfonds").click(function(){
		disablePopupLokalenfonds();
	});

});

//Verenigingen

//loading popup with jQuery magic!
function loadPopupVerenigingen(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundVerenigingen").css({
			"opacity": "0.5"
		});
		$("#backgroundVerenigingen").fadeIn("slow");
		$("#popupVerenigingen").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupVerenigingen(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundVerenigingen").fadeOut("slow");
		$("#popupVerenigingen").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupVerenigingen(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupVerenigingen").height();
	var popupWidth = $("#popupVerenigingen").width();
	//centering
	$("#popupVerenigingen").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundVerenigingen").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Verenigingen").click(function(){
		//centering with css
		centerPopupVerenigingen();
		//load popup
		loadPopupVerenigingen();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupVerenigingenClose").click(function(){
		disablePopupVerenigingen();
	});
	//Click out event!
	$("#backgroundVerenigingen").click(function(){
		disablePopupVerenigingen();
	});

});

//Boeken

//loading popup with jQuery magic!
function loadPopupBoeken(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBoeken").css({
			"opacity": "0.5"
		});
		$("#backgroundBoeken").fadeIn("slow");
		$("#popupBoeken").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBoeken(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBoeken").fadeOut("slow");
		$("#popupBoeken").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBoeken(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBoeken").height();
	var popupWidth = $("#popupBoeken").width();
	//centering
	$("#popupBoeken").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBoeken").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Boeken").click(function(){
		//centering with css
		centerPopupBoeken();
		//load popup
		loadPopupBoeken();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBoekenClose").click(function(){
		disablePopupBoeken();
	});
	//Click out event!
	$("#backgroundBoeken").click(function(){
		disablePopupBoeken();
	});

});

//Olympische

//loading popup with jQuery magic!
function loadPopupOlympische(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundOlympische").css({
			"opacity": "0.5"
		});
		$("#backgroundOlympische").fadeIn("slow");
		$("#popupOlympische").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupOlympische(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundOlympische").fadeOut("slow");
		$("#popupOlympische").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupOlympische(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupOlympische").height();
	var popupWidth = $("#popupOlympische").width();
	//centering
	$("#popupOlympische").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundOlympische").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Olympische").click(function(){
		//centering with css
		centerPopupOlympische();
		//load popup
		loadPopupOlympische();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupOlympischeClose").click(function(){
		disablePopupOlympische();
	});
	//Click out event!
	$("#backgroundOlympische").click(function(){
		disablePopupOlympische();
	});

});

//Jeugdbeweging

//loading popup with jQuery magic!
function loadPopupJeugdbeweging(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundJeugdbeweging").css({
			"opacity": "0.5"
		});
		$("#backgroundJeugdbeweging").fadeIn("slow");
		$("#popupJeugdbeweging").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupJeugdbeweging(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundJeugdbeweging").fadeOut("slow");
		$("#popupJeugdbeweging").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupJeugdbeweging(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupJeugdbeweging").height();
	var popupWidth = $("#popupJeugdbeweging").width();
	//centering
	$("#popupJeugdbeweging").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundJeugdbeweging").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Jeugdbeweging").click(function(){
		//centering with css
		centerPopupJeugdbeweging();
		//load popup
		loadPopupJeugdbeweging();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupJeugdbewegingClose").click(function(){
		disablePopupJeugdbeweging();
	});
	//Click out event!
	$("#backgroundJeugdbeweging").click(function(){
		disablePopupJeugdbeweging();
	});

});

//Gaza

//loading popup with jQuery magic!
function loadPopupGaza(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundGaza").css({
			"opacity": "0.5"
		});
		$("#backgroundGaza").fadeIn("slow");
		$("#popupGaza").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupGaza(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundGaza").fadeOut("slow");
		$("#popupGaza").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupGaza(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupGaza").height();
	var popupWidth = $("#popupGaza").width();
	//centering
	$("#popupGaza").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundGaza").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Gaza").click(function(){
		//centering with css
		centerPopupGaza();
		//load popup
		loadPopupGaza();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupGazaClose").click(function(){
		disablePopupGaza();
	});
	//Click out event!
	$("#backgroundGaza").click(function(){
		disablePopupGaza();
	});

});

//Arafatsjaal

//loading popup with jQuery magic!
function loadPopupArafatsjaal(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundArafatsjaal").css({
			"opacity": "0.5"
		});
		$("#backgroundArafatsjaal").fadeIn("slow");
		$("#popupArafatsjaal").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupArafatsjaal(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundArafatsjaal").fadeOut("slow");
		$("#popupArafatsjaal").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupArafatsjaal(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupArafatsjaal").height();
	var popupWidth = $("#popupArafatsjaal").width();
	//centering
	$("#popupArafatsjaal").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundArafatsjaal").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Arafatsjaal").click(function(){
		//centering with css
		centerPopupArafatsjaal();
		//load popup
		loadPopupArafatsjaal();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupArafatsjaalClose").click(function(){
		disablePopupArafatsjaal();
	});
	//Click out event!
	$("#backgroundArafatsjaal").click(function(){
		disablePopupArafatsjaal();
	});

});

//Sportinfrastructuur 

//loading popup with jQuery magic!
function loadPopupSportinfrastructuur(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundSportinfrastructuur").css({
			"opacity": "0.5"
		});
		$("#backgroundSportinfrastructuur").fadeIn("slow");
		$("#popupSportinfrastructuur").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupSportinfrastructuur(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundSportinfrastructuur").fadeOut("slow");
		$("#popupSportinfrastructuur").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupSportinfrastructuur (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupSportinfrastructuur").height();
	var popupWidth = $("#popupSportinfrastructuur").width();
	//centering
	$("#popupSportinfrastructuur").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundSportinfrastructuur").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Sportinfrastructuur").click(function(){
		//centering with css
		centerPopupSportinfrastructuur();
		//load popup
		loadPopupSportinfrastructuur();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupSportinfrastructuurClose").click(function(){
		disablePopupSportinfrastructuur();
	});
	//Click out event!
	$("#backgroundSportinfrastructuur").click(function(){
		disablePopupSportinfrastructuur();
	});

});

//Sociaal 

//loading popup with jQuery magic!
function loadPopupSociaal (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundSociaal ").css({
			"opacity": "0.5"
		});
		$("#backgroundSociaal ").fadeIn("slow");
		$("#popupSociaal ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupSociaal (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundSociaal ").fadeOut("slow");
		$("#popupSociaal ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupSociaal (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupSociaal ").height();
	var popupWidth = $("#popupSociaal ").width();
	//centering
	$("#popupSociaal ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundSociaal ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Sociaal ").click(function(){
		//centering with css
		centerPopupSociaal ();
		//load popup
		loadPopupSociaal ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupSociaalClose").click(function(){
		disablePopupSociaal ();
	});
	//Click out event!
	$("#backgroundSociaal ").click(function(){
		disablePopupSociaal ();
	});

});

//Billijke 

//loading popup with jQuery magic!
function loadPopupBillijke (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBillijke ").css({
			"opacity": "0.5"
		});
		$("#backgroundBillijke ").fadeIn("slow");
		$("#popupBillijke ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBillijke (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBillijke ").fadeOut("slow");
		$("#popupBillijke ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBillijke (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBillijke ").height();
	var popupWidth = $("#popupBillijke ").width();
	//centering
	$("#popupBillijke ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBillijke ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Billijke ").click(function(){
		//centering with css
		centerPopupBillijke ();
		//load popup
		loadPopupBillijke ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBillijkeClose").click(function(){
		disablePopupBillijke ();
	});
	//Click out event!
	$("#backgroundBillijke ").click(function(){
		disablePopupBillijke ();
	});

});

//Jeugdinformatie 

//loading popup with jQuery magic!
function loadPopupJeugdinformatie (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundJeugdinformatie ").css({
			"opacity": "0.5"
		});
		$("#backgroundJeugdinformatie ").fadeIn("slow");
		$("#popupJeugdinformatie ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupJeugdinformatie (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundJeugdinformatie ").fadeOut("slow");
		$("#popupJeugdinformatie ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupJeugdinformatie (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupJeugdinformatie ").height();
	var popupWidth = $("#popupJeugdinformatie ").width();
	//centering
	$("#popupJeugdinformatie ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundJeugdinformatie ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Jeugdinformatie ").click(function(){
		//centering with css
		centerPopupJeugdinformatie ();
		//load popup
		loadPopupJeugdinformatie ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupJeugdinformatieClose").click(function(){
		disablePopupJeugdinformatie ();
	});
	//Click out event!
	$("#backgroundJeugdinformatie ").click(function(){
		disablePopupJeugdinformatie ();
	});

});

//Dans 

//loading popup with jQuery magic!
function loadPopupDans (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundDans ").css({
			"opacity": "0.5"
		});
		$("#backgroundDans ").fadeIn("slow");
		$("#popupDans ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupDans (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundDans ").fadeOut("slow");
		$("#popupDans ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupDans (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupDans ").height();
	var popupWidth = $("#popupDans ").width();
	//centering
	$("#popupDans ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundDans ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Dans ").click(function(){
		//centering with css
		centerPopupDans ();
		//load popup
		loadPopupDans ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupDansClose").click(function(){
		disablePopupDans ();
	});
	//Click out event!
	$("#backgroundDans ").click(function(){
		disablePopupDans ();
	});

});

//Mijn 

//loading popup with jQuery magic!
function loadPopupMijn (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundMijn ").css({
			"opacity": "0.5"
		});
		$("#backgroundMijn ").fadeIn("slow");
		$("#popupMijn ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupMijn (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundMijn ").fadeOut("slow");
		$("#popupMijn ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupMijn (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupMijn ").height();
	var popupWidth = $("#popupMijn ").width();
	//centering
	$("#popupMijn ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundMijn ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Mijn ").click(function(){
		//centering with css
		centerPopupMijn ();
		//load popup
		loadPopupMijn ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupMijnClose").click(function(){
		disablePopupMijn ();
	});
	//Click out event!
	$("#backgroundMijn ").click(function(){
		disablePopupMijn ();
	});

});

//Cultuursubsidies 

//loading popup with jQuery magic!
function loadPopupCultuursubsidies (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundCultuursubsidies ").css({
			"opacity": "0.5"
		});
		$("#backgroundCultuursubsidies ").fadeIn("slow");
		$("#popupCultuursubsidies ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupCultuursubsidies (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundCultuursubsidies ").fadeOut("slow");
		$("#popupCultuursubsidies ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupCultuursubsidies (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupCultuursubsidies ").height();
	var popupWidth = $("#popupCultuursubsidies ").width();
	//centering
	$("#popupCultuursubsidies ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundCultuursubsidies ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Cultuursubsidies ").click(function(){
		//centering with css
		centerPopupCultuursubsidies ();
		//load popup
		loadPopupCultuursubsidies ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupCultuursubsidiesClose").click(function(){
		disablePopupCultuursubsidies ();
	});
	//Click out event!
	$("#backgroundCultuursubsidies ").click(function(){
		disablePopupCultuursubsidies ();
	});

});

//CultuurInvest 

//loading popup with jQuery magic!
function loadPopupCultuurInvest (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundCultuurInvest ").css({
			"opacity": "0.5"
		});
		$("#backgroundCultuurInvest ").fadeIn("slow");
		$("#popupCultuurInvest ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupCultuurInvest (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundCultuurInvest ").fadeOut("slow");
		$("#popupCultuurInvest ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupCultuurInvest (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupCultuurInvest ").height();
	var popupWidth = $("#popupCultuurInvest ").width();
	//centering
	$("#popupCultuurInvest ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundCultuurInvest ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#CultuurInvest ").click(function(){
		//centering with css
		centerPopupCultuurInvest ();
		//load popup
		loadPopupCultuurInvest ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupCultuurInvestClose").click(function(){
		disablePopupCultuurInvest ();
	});
	//Click out event!
	$("#backgroundCultuurInvest ").click(function(){
		disablePopupCultuurInvest ();
	});

});

//Zuid 

//loading popup with jQuery magic!
function loadPopupZuid (){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundZuid ").css({
			"opacity": "0.5"
		});
		$("#backgroundZuid ").fadeIn("slow");
		$("#popupZuid ").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupZuid (){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundZuid ").fadeOut("slow");
		$("#popupZuid ").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupZuid (){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupZuid ").height();
	var popupWidth = $("#popupZuid ").width();
	//centering
	$("#popupZuid ").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundZuid ").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Zuid ").click(function(){
		//centering with css
		centerPopupZuid ();
		//load popup
		loadPopupZuid ();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupZuidClose").click(function(){
		disablePopupZuid ();
	});
	//Click out event!
	$("#backgroundZuid ").click(function(){
		disablePopupZuid ();
	});

});

//Marokko

//loading popup with jQuery magic!
function loadPopupMarokko(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundMarokko").css({
			"opacity": "0.5"
		});
		$("#backgroundMarokko").fadeIn("slow");
		$("#popupMarokko").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupMarokko(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundMarokko").fadeOut("slow");
		$("#popupMarokko").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupMarokko(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupMarokko").height();
	var popupWidth = $("#popupMarokko").width();
	//centering
	$("#popupMarokko").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundMarokko").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Marokko").click(function(){
		//centering with css
		centerPopupMarokko();
		//load popup
		loadPopupMarokko();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupMarokkoClose").click(function(){
		disablePopupMarokko();
	});
	//Click out event!
	$("#backgroundMarokko").click(function(){
		disablePopupMarokko();
	});

});

//Nederland

//loading popup with jQuery magic!
function loadPopupNederland(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundNederland").css({
			"opacity": "0.5"
		});
		$("#backgroundNederland").fadeIn("slow");
		$("#popupNederland").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupNederland(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundNederland").fadeOut("slow");
		$("#popupNederland").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupNederland(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupNederland").height();
	var popupWidth = $("#popupNederland").width();
	//centering
	$("#popupNederland").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundNederland").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Nederland").click(function(){
		//centering with css
		centerPopupNederland();
		//load popup
		loadPopupNederland();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupNederlandClose").click(function(){
		disablePopupNederland();
	});
	//Click out event!
	$("#backgroundNederland").click(function(){
		disablePopupNederland();
	});

});

//Franse

//loading popup with jQuery magic!
function loadPopupFranse(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundFranse").css({
			"opacity": "0.5"
		});
		$("#backgroundFranse").fadeIn("slow");
		$("#popupFranse").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupFranse(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundFranse").fadeOut("slow");
		$("#popupFranse").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupFranse(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupFranse").height();
	var popupWidth = $("#popupFranse").width();
	//centering
	$("#popupFranse").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundFranse").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Franse").click(function(){
		//centering with css
		centerPopupFranse();
		//load popup
		loadPopupFranse();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupFranseClose").click(function(){
		disablePopupFranse();
	});
	//Click out event!
	$("#backgroundFranse").click(function(){
		disablePopupFranse();
	});

});

//Film

//loading popup with jQuery magic!
function loadPopupFilm(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundFilm").css({
			"opacity": "0.5"
		});
		$("#backgroundFilm").fadeIn("slow");
		$("#popupFilm").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupFilm(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundFilm").fadeOut("slow");
		$("#popupFilm").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupFilm(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupFilm").height();
	var popupWidth = $("#popupFilm").width();
	//centering
	$("#popupFilm").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundFilm").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Film").click(function(){
		//centering with css
		centerPopupFilm();
		//load popup
		loadPopupFilm();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupFilmClose").click(function(){
		disablePopupFilm();
	});
	//Click out event!
	$("#backgroundFilm").click(function(){
		disablePopupFilm();
	});

});

//Kinderrechten

//loading popup with jQuery magic!
function loadPopupKinderrechten(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundKinderrechten").css({
			"opacity": "0.5"
		});
		$("#backgroundKinderrechten").fadeIn("slow");
		$("#popupKinderrechten").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupKinderrechten(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundKinderrechten").fadeOut("slow");
		$("#popupKinderrechten").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupKinderrechten(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupKinderrechten").height();
	var popupWidth = $("#popupKinderrechten").width();
	//centering
	$("#popupKinderrechten").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundKinderrechten").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Kinderrechten").click(function(){
		//centering with css
		centerPopupKinderrechten();
		//load popup
		loadPopupKinderrechten();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupKinderrechtenClose").click(function(){
		disablePopupKinderrechten();
	});
	//Click out event!
	$("#backgroundKinderrechten").click(function(){
		disablePopupKinderrechten();
	});

});

//Bibliotheek

//loading popup with jQuery magic!
function loadPopupBibliotheek(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBibliotheek").css({
			"opacity": "0.5"
		});
		$("#backgroundBibliotheek").fadeIn("slow");
		$("#popupBibliotheek").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBibliotheek(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBibliotheek").fadeOut("slow");
		$("#popupBibliotheek").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBibliotheek(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBibliotheek").height();
	var popupWidth = $("#popupBibliotheek").width();
	//centering
	$("#popupBibliotheek").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBibliotheek").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Bibliotheek").click(function(){
		//centering with css
		centerPopupBibliotheek();
		//load popup
		loadPopupBibliotheek();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBibliotheekClose").click(function(){
		disablePopupBibliotheek();
	});
	//Click out event!
	$("#backgroundBibliotheek").click(function(){
		disablePopupBibliotheek();
	});

});

//Gevangenen

//loading popup with jQuery magic!
function loadPopupGevangenen(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundGevangenen").css({
			"opacity": "0.5"
		});
		$("#backgroundGevangenen").fadeIn("slow");
		$("#popupGevangenen").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupGevangenen(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundGevangenen").fadeOut("slow");
		$("#popupGevangenen").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupGevangenen(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupGevangenen").height();
	var popupWidth = $("#popupGevangenen").width();
	//centering
	$("#popupGevangenen").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundGevangenen").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Gevangenen").click(function(){
		//centering with css
		centerPopupGevangenen();
		//load popup
		loadPopupGevangenen();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupGevangenenClose").click(function(){
		disablePopupGevangenen();
	});
	//Click out event!
	$("#backgroundGevangenen").click(function(){
		disablePopupGevangenen();
	});

});

//Spelen

//loading popup with jQuery magic!
function loadPopupSpelen(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundSpelen").css({
			"opacity": "0.5"
		});
		$("#backgroundSpelen").fadeIn("slow");
		$("#popupSpelen").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupSpelen(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundSpelen").fadeOut("slow");
		$("#popupSpelen").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupSpelen(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupSpelen").height();
	var popupWidth = $("#popupSpelen").width();
	//centering
	$("#popupSpelen").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundSpelen").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Spelen").click(function(){
		//centering with css
		centerPopupSpelen();
		//load popup
		loadPopupSpelen();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupSpelenClose").click(function(){
		disablePopupSpelen();
	});
	//Click out event!
	$("#backgroundSpelen").click(function(){
		disablePopupSpelen();
	});

});

//Sportelen

//loading popup with jQuery magic!
function loadPopupSportelen(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundSportelen").css({
			"opacity": "0.5"
		});
		$("#backgroundSportelen").fadeIn("slow");
		$("#popupSportelen").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupSportelen(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundSportelen").fadeOut("slow");
		$("#popupSportelen").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupSportelen(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupSportelen").height();
	var popupWidth = $("#popupSportelen").width();
	//centering
	$("#popupSportelen").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundSportelen").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Sportelen").click(function(){
		//centering with css
		centerPopupSportelen();
		//load popup
		loadPopupSportelen();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupSportelenClose").click(function(){
		disablePopupSportelen();
	});
	//Click out event!
	$("#backgroundSportelen").click(function(){
		disablePopupSportelen();
	});

});

//Sport

//loading popup with jQuery magic!
function loadPopupSport(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundSport").css({
			"opacity": "0.5"
		});
		$("#backgroundSport").fadeIn("slow");
		$("#popupSport").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupSport(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundSport").fadeOut("slow");
		$("#popupSport").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupSport(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupSport").height();
	var popupWidth = $("#popupSport").width();
	//centering
	$("#popupSport").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundSport").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Sport").click(function(){
		//centering with css
		centerPopupSport();
		//load popup
		loadPopupSport();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupSportClose").click(function(){
		disablePopupSport();
	});
	//Click out event!
	$("#backgroundSport").click(function(){
		disablePopupSport();
	});

});

//Buurtsport

//loading popup with jQuery magic!
function loadPopupBuurtsport(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBuurtsport").css({
			"opacity": "0.5"
		});
		$("#backgroundBuurtsport").fadeIn("slow");
		$("#popupBuurtsport").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBuurtsport(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBuurtsport").fadeOut("slow");
		$("#popupBuurtsport").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBuurtsport(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBuurtsport").height();
	var popupWidth = $("#popupBuurtsport").width();
	//centering
	$("#popupBuurtsport").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBuurtsport").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Buurtsport").click(function(){
		//centering with css
		centerPopupBuurtsport();
		//load popup
		loadPopupBuurtsport();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBuurtsportClose").click(function(){
		disablePopupBuurtsport();
	});
	//Click out event!
	$("#backgroundBuurtsport").click(function(){
		disablePopupBuurtsport();
	});

});

//Week

//loading popup with jQuery magic!
function loadPopupWeek(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundWeek").css({
			"opacity": "0.5"
		});
		$("#backgroundWeek").fadeIn("slow");
		$("#popupWeek").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupWeek(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundWeek").fadeOut("slow");
		$("#popupWeek").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupWeek(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupWeek").height();
	var popupWidth = $("#popupWeek").width();
	//centering
	$("#popupWeek").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundWeek").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Week").click(function(){
		//centering with css
		centerPopupWeek();
		//load popup
		loadPopupWeek();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupWeekClose").click(function(){
		disablePopupWeek();
	});
	//Click out event!
	$("#backgroundWeek").click(function(){
		disablePopupWeek();
	});

});

//Doping

//loading popup with jQuery magic!
function loadPopupDoping(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundDoping").css({
			"opacity": "0.5"
		});
		$("#backgroundDoping").fadeIn("slow");
		$("#popupDoping").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupDoping(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundDoping").fadeOut("slow");
		$("#popupDoping").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupDoping(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupDoping").height();
	var popupWidth = $("#popupDoping").width();
	//centering
	$("#popupDoping").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundDoping").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Doping").click(function(){
		//centering with css
		centerPopupDoping();
		//load popup
		loadPopupDoping();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupDopingClose").click(function(){
		disablePopupDoping();
	});
	//Click out event!
	$("#backgroundDoping").click(function(){
		disablePopupDoping();
	});

});

//Nand

//loading popup with jQuery magic!
function loadPopupNand(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundNand").css({
			"opacity": "0.5"
		});
		$("#backgroundNand").fadeIn("slow");
		$("#popupNand").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupNand(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundNand").fadeOut("slow");
		$("#popupNand").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupNand(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupNand").height();
	var popupWidth = $("#popupNand").width();
	//centering
	$("#popupNand").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundNand").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Nand").click(function(){
		//centering with css
		centerPopupNand();
		//load popup
		loadPopupNand();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupNandClose").click(function(){
		disablePopupNand();
	});
	//Click out event!
	$("#backgroundNand").click(function(){
		disablePopupNand();
	});

});

//10

//loading popup with jQuery magic!
function loadPopup10(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#background10").css({
			"opacity": "0.5"
		});
		$("#background10").fadeIn("slow");
		$("#popup10").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopup10(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#background10").fadeOut("slow");
		$("#popup10").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopup10(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popup10").height();
	var popupWidth = $("#popup10").width();
	//centering
	$("#popup10").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#background10").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#10").click(function(){
		//centering with css
		centerPopup10();
		//load popup
		loadPopup10();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popup10Close").click(function(){
		disablePopup10();
	});
	//Click out event!
	$("#background10").click(function(){
		disablePopup10();
	});

});

//Amateurkunsten

//loading popup with jQuery magic!
function loadPopupAmateurkunsten(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundAmateurkunsten").css({
			"opacity": "0.5"
		});
		$("#backgroundAmateurkunsten").fadeIn("slow");
		$("#popupAmateurkunsten").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupAmateurkunsten(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundAmateurkunsten").fadeOut("slow");
		$("#popupAmateurkunsten").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupAmateurkunsten(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupAmateurkunsten").height();
	var popupWidth = $("#popupAmateurkunsten").width();
	//centering
	$("#popupAmateurkunsten").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundAmateurkunsten").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Amateurkunsten").click(function(){
		//centering with css
		centerPopupAmateurkunsten();
		//load popup
		loadPopupAmateurkunsten();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupAmateurkunstenClose").click(function(){
		disablePopupAmateurkunsten();
	});
	//Click out event!
	$("#backgroundAmateurkunsten").click(function(){
		disablePopupAmateurkunsten();
	});

});

//Erfgoeddag

//loading popup with jQuery magic!
function loadPopupErfgoeddag(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundErfgoeddag").css({
			"opacity": "0.5"
		});
		$("#backgroundErfgoeddag").fadeIn("slow");
		$("#popupErfgoeddag").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupErfgoeddag(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundErfgoeddag").fadeOut("slow");
		$("#popupErfgoeddag").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupErfgoeddag(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupErfgoeddag").height();
	var popupWidth = $("#popupErfgoeddag").width();
	//centering
	$("#popupErfgoeddag").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundErfgoeddag").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Erfgoeddag").click(function(){
		//centering with css
		centerPopupErfgoeddag();
		//load popup
		loadPopupErfgoeddag();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupErfgoeddagClose").click(function(){
		disablePopupErfgoeddag();
	});
	//Click out event!
	$("#backgroundErfgoeddag").click(function(){
		disablePopupErfgoeddag();
	});

});

//WAK

//loading popup with jQuery magic!
function loadPopupWAK(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundWAK").css({
			"opacity": "0.5"
		});
		$("#backgroundWAK").fadeIn("slow");
		$("#popupWAK").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupWAK(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundWAK").fadeOut("slow");
		$("#popupWAK").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupWAK(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupWAK").height();
	var popupWidth = $("#popupWAK").width();
	//centering
	$("#popupWAK").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundWAK").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#WAK").click(function(){
		//centering with css
		centerPopupWAK();
		//load popup
		loadPopupWAK();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupWAKClose").click(function(){
		disablePopupWAK();
	});
	//Click out event!
	$("#backgroundWAK").click(function(){
		disablePopupWAK();
	});

});

//Bozar

//loading popup with jQuery magic!
function loadPopupBozar(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBozar").css({
			"opacity": "0.5"
		});
		$("#backgroundBozar").fadeIn("slow");
		$("#popupBozar").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBozar(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBozar").fadeOut("slow");
		$("#popupBozar").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBozar(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBozar").height();
	var popupWidth = $("#popupBozar").width();
	//centering
	$("#popupBozar").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBozar").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Bozar").click(function(){
		//centering with css
		centerPopupBozar();
		//load popup
		loadPopupBozar();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBozarClose").click(function(){
		disablePopupBozar();
	});
	//Click out event!
	$("#backgroundBozar").click(function(){
		disablePopupBozar();
	});

});

//Armoede

//loading popup with jQuery magic!
function loadPopupArmoede(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundArmoede").css({
			"opacity": "0.5"
		});
		$("#backgroundArmoede").fadeIn("slow");
		$("#popupArmoede").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupArmoede(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundArmoede").fadeOut("slow");
		$("#popupArmoede").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupArmoede(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupArmoede").height();
	var popupWidth = $("#popupArmoede").width();
	//centering
	$("#popupArmoede").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundArmoede").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Armoede").click(function(){
		//centering with css
		centerPopupArmoede();
		//load popup
		loadPopupArmoede();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupArmoedeClose").click(function(){
		disablePopupArmoede();
	});
	//Click out event!
	$("#backgroundArmoede").click(function(){
		disablePopupArmoede();
	});

});

//Vreemdeling

//loading popup with jQuery magic!
function loadPopupVreemdeling(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundVreemdeling").css({
			"opacity": "0.5"
		});
		$("#backgroundVreemdeling").fadeIn("slow");
		$("#popupVreemdeling").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupVreemdeling(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundVreemdeling").fadeOut("slow");
		$("#popupVreemdeling").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupVreemdeling(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupVreemdeling").height();
	var popupWidth = $("#popupVreemdeling").width();
	//centering
	$("#popupVreemdeling").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundVreemdeling").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Vreemdeling").click(function(){
		//centering with css
		centerPopupVreemdeling();
		//load popup
		loadPopupVreemdeling();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupVreemdelingClose").click(function(){
		disablePopupVreemdeling();
	});
	//Click out event!
	$("#backgroundVreemdeling").click(function(){
		disablePopupVreemdeling();
	});

});

//Kongo

//loading popup with jQuery magic!
function loadPopupKongo(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundKongo").css({
			"opacity": "0.5"
		});
		$("#backgroundKongo").fadeIn("slow");
		$("#popupKongo").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupKongo(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundKongo").fadeOut("slow");
		$("#popupKongo").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupKongo(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupKongo").height();
	var popupWidth = $("#popupKongo").width();
	//centering
	$("#popupKongo").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundKongo").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Kongo").click(function(){
		//centering with css
		centerPopupKongo();
		//load popup
		loadPopupKongo();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupKongoClose").click(function(){
		disablePopupKongo();
	});
	//Click out event!
	$("#backgroundKongo").click(function(){
		disablePopupKongo();
	});

});

//Cultuurcentrum

//loading popup with jQuery magic!
function loadPopupCultuurcentrum(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundCultuurcentrum").css({
			"opacity": "0.5"
		});
		$("#backgroundCultuurcentrum").fadeIn("slow");
		$("#popupCultuurcentrum").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupCultuurcentrum(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundCultuurcentrum").fadeOut("slow");
		$("#popupCultuurcentrum").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupCultuurcentrum(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupCultuurcentrum").height();
	var popupWidth = $("#popupCultuurcentrum").width();
	//centering
	$("#popupCultuurcentrum").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundCultuurcentrum").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Cultuurcentrum").click(function(){
		//centering with css
		centerPopupCultuurcentrum();
		//load popup
		loadPopupCultuurcentrum();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupCultuurcentrumClose").click(function(){
		disablePopupCultuurcentrum();
	});
	//Click out event!
	$("#backgroundCultuurcentrum").click(function(){
		disablePopupCultuurcentrum();
	});

});

//Doven

//loading popup with jQuery magic!
function loadPopupDoven(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundDoven").css({
			"opacity": "0.5"
		});
		$("#backgroundDoven").fadeIn("slow");
		$("#popupDoven").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupDoven(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundDoven").fadeOut("slow");
		$("#popupDoven").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupDoven(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupDoven").height();
	var popupWidth = $("#popupDoven").width();
	//centering
	$("#popupDoven").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundDoven").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Doven").click(function(){
		//centering with css
		centerPopupDoven();
		//load popup
		loadPopupDoven();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupDovenClose").click(function(){
		disablePopupDoven();
	});
	//Click out event!
	$("#backgroundDoven").click(function(){
		disablePopupDoven();
	});

});

//Blinden

//loading popup with jQuery magic!
function loadPopupBlinden(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundBlinden").css({
			"opacity": "0.5"
		});
		$("#backgroundBlinden").fadeIn("slow");
		$("#popupBlinden").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupBlinden(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundBlinden").fadeOut("slow");
		$("#popupBlinden").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupBlinden(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupBlinden").height();
	var popupWidth = $("#popupBlinden").width();
	//centering
	$("#popupBlinden").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundBlinden").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Blinden").click(function(){
		//centering with css
		centerPopupBlinden();
		//load popup
		loadPopupBlinden();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupBlindenClose").click(function(){
		disablePopupBlinden();
	});
	//Click out event!
	$("#backgroundBlinden").click(function(){
		disablePopupBlinden();
	});

});

//Carnaval

//loading popup with jQuery magic!
function loadPopupCarnaval(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundCarnaval").css({
			"opacity": "0.5"
		});
		$("#backgroundCarnaval").fadeIn("slow");
		$("#popupCarnaval").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupCarnaval(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundCarnaval").fadeOut("slow");
		$("#popupCarnaval").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupCarnaval(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupCarnaval").height();
	var popupWidth = $("#popupCarnaval").width();
	//centering
	$("#popupCarnaval").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundCarnaval").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Carnaval").click(function(){
		//centering with css
		centerPopupCarnaval();
		//load popup
		loadPopupCarnaval();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupCarnavalClose").click(function(){
		disablePopupCarnaval();
	});
	//Click out event!
	$("#backgroundCarnaval").click(function(){
		disablePopupCarnaval();
	});

});

//KifKifawards

//loading popup with jQuery magic!
function loadPopupKifKifawards(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundKifKifawards").css({
			"opacity": "0.5"
		});
		$("#backgroundKifKifawards").fadeIn("slow");
		$("#popupKifKifawards").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupKifKifawards(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundKifKifawards").fadeOut("slow");
		$("#popupKifKifawards").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupKifKifawards(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupKifKifawards").height();
	var popupWidth = $("#popupKifKifawards").width();
	//centering
	$("#popupKifKifawards").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundKifKifawards").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#KifKifawards").click(function(){
		//centering with css
		centerPopupKifKifawards();
		//load popup
		loadPopupKifKifawards();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupKifKifawardsClose").click(function(){
		disablePopupKifKifawards();
	});
	//Click out event!
	$("#backgroundKifKifawards").click(function(){
		disablePopupKifKifawards();
	});

});

//Yess

//loading popup with jQuery magic!
function loadPopupYess(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundYess").css({
			"opacity": "0.5"
		});
		$("#backgroundYess").fadeIn("slow");
		$("#popupYess").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupYess(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundYess").fadeOut("slow");
		$("#popupYess").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupYess(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupYess").height();
	var popupWidth = $("#popupYess").width();
	//centering
	$("#popupYess").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundYess").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Yess").click(function(){
		//centering with css
		centerPopupYess();
		//load popup
		loadPopupYess();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupYessClose").click(function(){
		disablePopupYess();
	});
	//Click out event!
	$("#backgroundYess").click(function(){
		disablePopupYess();
	});

});

//Kunstbende

//loading popup with jQuery magic!
function loadPopupKunstbende(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundKunstbende").css({
			"opacity": "0.5"
		});
		$("#backgroundKunstbende").fadeIn("slow");
		$("#popupKunstbende").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupKunstbende(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundKunstbende").fadeOut("slow");
		$("#popupKunstbende").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupKunstbende(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupKunstbende").height();
	var popupWidth = $("#popupKunstbende").width();
	//centering
	$("#popupKunstbende").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundKunstbende").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Kunstbende").click(function(){
		//centering with css
		centerPopupKunstbende();
		//load popup
		loadPopupKunstbende();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupKunstbendeClose").click(function(){
		disablePopupKunstbende();
	});
	//Click out event!
	$("#backgroundKunstbende").click(function(){
		disablePopupKunstbende();
	});

});

//Daarkom

//loading popup with jQuery magic!
function loadPopupDaarkom(){
	//loads popup only if it is disabled
	if(popupStatus==0){
		$("#backgroundDaarkom").css({
			"opacity": "0.5"
		});
		$("#backgroundDaarkom").fadeIn("slow");
		$("#popupDaarkom").fadeIn("slow");
		popupStatus = 1;
	}
}

//disabling popup with jQuery magic!
function disablePopupDaarkom(){
	//disables popup only if it is enabled
	if(popupStatus==1){
		$("#backgroundDaarkom").fadeOut("slow");
		$("#popupDaarkom").fadeOut("slow");
		popupStatus = 0;
	}
}

//centering popup
function centerPopupDaarkom(){
	//request data for centering
	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
	var popupHeight = $("#popupDaarkom").height();
	var popupWidth = $("#popupDaarkom").width();
	//centering
	$("#popupDaarkom").css({
		"position": "absolute",
		"top": windowHeight/2-popupHeight/2,
		"left": windowWidth/2-popupWidth/2
	});
	//only need force for IE6
	
	$("#backgroundDaarkom").css({
		"height": windowHeight
	});
	
}


//CONTROLLING EVENTS IN jQuery
$(document).ready(function(){
	
	//LOADING POPUP
	//Click the button event!
	$("#Daarkom").click(function(){
		//centering with css
		centerPopupDaarkom();
		//load popup
		loadPopupDaarkom();
	});
				
	//CLOSING POPUP
	//Click the x event!
	$("#popupDaarkomClose").click(function(){
		disablePopupDaarkom();
	});
	//Click out event!
	$("#backgroundDaarkom").click(function(){
		disablePopupDaarkom();
	});

});
