function goLastMonth(month, year, added_querystring) { 
	// If the month is January, decrement the year 
	if(month == 1) { 
		--year;
		month = 13;
	} 
	document.location.href = window.location.href.split("?")[0] + "?month=" + (month-1) + "&year="+year + added_querystring;
}

function goNextMonth(month, year, added_querystring) {
	// If the month is December, increment the year 
	if(month == 12) {
		++year;
		month = 0;
	}
	document.location.href =  window.location.href.split("?")[0] + "?month=" + (month+1) + "&year=" + year + added_querystring;
}

function openLargeCal(cat_array) {
	var theURL = 'evtcal_full.php?show_cat=' + cat_array;
	var theWin = window.open(theURL,'evtcalfull');
}