function nextmonth(url,maand) {
	document.getElementById('maand').innerHTML = "<img src='/images/loader.gif' alt='' />";
	var httpObj = false;
		httpObj = window.XMLHttpRequest ? new window.XMLHttpRequest : (window.ActiveXObject ? new ActiveXObject("MSXML2.XMLHTTP"): null);
		httpObj.onreadystatechange = function() {
		if (httpObj.readyState == 4) {
			//alert(httpObj.responseText);
			document.getElementById('agenda2').innerHTML = httpObj.responseText;
			fleXenv.fleXcrollMain('agenda2');
			jQuery('#agenda2').toggle('fast');
			jQuery('#agenda2').toggle('fast');
			fleXenv.updateScrollBars();
		}
	};
	httpObj.open('POST', url, true);
	httpObj.send(null);
}

function changemonth(url) {
	var httpObj = false;
		httpObj = window.XMLHttpRequest ? new window.XMLHttpRequest : (window.ActiveXObject ? new ActiveXObject("MSXML2.XMLHTTP"): null);
		httpObj.onreadystatechange = function() {
		if (httpObj.readyState == 4) {
			//alert(httpObj.responseText);
			jQuery('#dynkalender').slideToggle('fast');
			document.getElementById('dynkalender').innerHTML = httpObj.responseText;
			jQuery('#dynkalender').slideToggle('fast');
		}
	};
	httpObj.open('POST', url, true);
	httpObj.send(null);
}
function load_dump(dedatum) {
	var httpObj = false;
		httpObj = window.XMLHttpRequest ? new window.XMLHttpRequest : (window.ActiveXObject ? new ActiveXObject("MSXML2.XMLHTTP"): null);
		httpObj.onreadystatechange = function() {
		if (httpObj.readyState == 4) {
			document.getElementById('dump').innerHTML = httpObj.responseText;
		}
	};
	httpObj.open('POST', '/ajax/loaddump.php?datum='+dedatum, true);
	httpObj.send(null);
}
