// JavaScript Document
function getMonth() {
	now = new Date();
	
	month = now.getMonth();
	
	if(month==0){month="January"}
	if(month==1){month="February"}
	if(month==2){month="March"}
	if(month==3){month="April"}
	if(month==4){month="May"}
	if(month==5){month="June"}
	if(month==6){month="July"}
	if(month==7){month="August"}
	if(month==8){month="September"}
	if(month==9){month="October"}
	if(month==10){month="November"}
	if(month==11){month="December"}

	return month;	
}

function getTodaysDate() {
	now = new Date();
	
	date = now.getDate();
	month = now.getMonth();
	year = now.getYear();
	hour = now.getHours();
	minutes = now.getMinutes();
	
	if(minutes>=0 && minutes<10){minutes= "0" + minutes}
	
	if(hour>=0 && hour<10){hour="0" + hour}
	
	if(month==0){month="January"}
	if(month==1){month="February"}
	if(month==2){month="March"}
	if(month==3){month="April"}
	if(month==4){month="May"}
	if(month==5){month="June"}
	if(month==6){month="July"}
	if(month==7){month="August"}
	if(month==8){month="September"}
	if(month==9){month="October"}
	if(month==10){month="November"}
	if(month==11){month="December"}
	
		
	if(date==1 || date==21 || date==31) {
		date+="st";
	}
	else if(date==2 || date==22) {
		date+="nd";
	}
	else if(date==3 || date==23) {
		date+="rd";
	}
	else {
		date+="th";
	}
		
	var dateToday = date + " " + month + " " + year;
	return dateToday;
}