/*
 * provide calendar month navigation model
 */
function viewCommunityCalendar(dir) {
	var frm = document.CommunityCalendar;
	if (dir == -1) {
		frm.curDate.value = frm.PrevDate.value;
		frm.submit();
	} else if (dir == 1) {
		frm.curDate.value = frm.NextDate.value;
		frm.submit();
	} // end if
} // end function