// this makes the date for the top of the page

function getDateHeader(){
	var today = new Date();
	
	var thisMonth = 0;
	
	switch (today.getMonth()) {
		case 0: thisMonth = "JANUARY"; break;
		case 1: thisMonth = "FEBRUARY"; break;
		case 2: thisMonth = "MARCH"; break;
		case 3: thisMonth = "APRIL"; break;
		case 4: thisMonth = "MAY"; break;
		case 5: thisMonth = "JUNE"; break;
		case 6: thisMonth = "JULY"; break;
		case 7: thisMonth = "AUGUST"; break;
		case 8: thisMonth = "SEPTEMBER"; break;
		case 9: thisMonth = "OCTOBER"; break;
		case 10: thisMonth = "NOVEMBER"; break;
		case 11: thisMonth = "DECEMBER"; break;
	}
	
	var ordinal;
	
	switch (today.getDate()) {
		case 1,21,31: ordinal = "ST"; break;
		case 2,22: ordinal = "ND"; break;
		case 3,23: ordinal = "RD"; break;
		default: ordinal = "TH"; break;
	}
	
	return today.getDate() + ordinal + " " + thisMonth + " " + today.getFullYear();
}