function ajax_flip_cal(month, year) {

	var parms = '&ajax=1&switch_cal_month=true&new_cal_month='+month+'&new_cal_year='+year;
	var url = window.document.location;

	var ajax = new Ajax(
		url,
		{
			method: 'post',
			postBody: parms,
			update: 'event-cal',
			onComplete: function() {refresh_tooltips();}
		}
	).request();
	return false;
}

function refresh_tooltips() {
	try {
		var myTips = new Tips($$('.eventlink'), {
	        	maxTitleChars: 50
		   });
	}catch(e) {}
}

Window.onDomReady(function() {refresh_tooltips();});