function load_month(date_ordinal)
{
    ajax = new sack();
    ajax.method = "POST";
	ajax.requestFile = '/calendar/loadmonth/'+date_ordinal+'/';
    ajax.onCompletion = function(){ show_month(ajax.response); };	
	ajax.onError = function(){ alert('AJAX error');alert(ajax.responseStatus) };
	ajax.runAJAX();
}

function show_month(response){
    var cal = document.getElementById("calendar");
    cal.innerHTML = response;
}
