	var xresizefun=function (){ 
		if ($('#submenu').height()>$('#content').height()) {
					submenu();
		}
		if ($('#contentcontainer').height()>$('#content').height()) {
					nieuws();
		}
		if ($('#submenu').height()>$('#contentnews').height()) {
					submenuniews();
		}
		if ($('#contentcontainer').height()>$('#contentnews').height()) {
					nieuwsnieuws();
		}
		
	}
	
	window.onload=xresizefun;
		
	$(window).resize(xresizefun);
	
	function submenu() {
		$('#content').height($('#submenu').height());
	};
	
	function nieuws() {
		$('#content').height($('#contentcontainer').height());
	};
	
	function submenuniews() {
		$('#contentnews').height($('#submenu').height());
	};
	
	function nieuwsnieuws() {
		$('#contentnews').height($('#contentcontainer').height());
	};
