// requires forumID to be defined
function getBlogCalendar(calMonth,calYear) {
	// fade portlet & display throbber
	jQuery('#portlet-blog-archive-calendar').css('opacity',0.5);
	// show throbber
	jQuery('#archive-calendar-throbber').show();

	var url = 'jsonobj-get-blog-calendar.jspa?forumID=' + forumID + '&month=' + calMonth + '&year=' + calYear + "&bodyOnly=true";
	jQuery('#archive-calendar-body').load(url,
		function(data) {
			// bring portlet back to full opacity
			jQuery('#portlet-blog-archive-calendar').css('opacity',1.0);
			// hide throbber
			jQuery('#archive-calendar-throbber').hide();
			// IE adds empty text nodes... clear them
			jQuery.trim(jQuery('#archive-calendar-date-cell').html());
			// jQuery('#archive-calendar-date-cell').down().down().cleanWhitespace();
			jQuery.trim(jQuery('#archive-calendar-arrow-left-cell').html());
			jQuery.trim(jQuery('#archive-calendar-arrow-right-cell').html());
		
	});
}

