// JavaScript Document
function showMonth(year, month){
	//check price / p&p for errors
	var handlerFunc = function(t) {
		//alert (t.responseText)
		document.getElementById('calendar').innerHTML = t.responseText;
	}
	var errFunc = function(t) {
		alert('Error ' + t.status + ' -- ' + t.statusText);
	}
	//
	new Ajax.Request('ajax/do_calendar.php', {parameters:'year='+year+'&month='+month, onSuccess:handlerFunc, onFailure:errFunc});
}

