var moddate = new Date(document.lastModified)
var modday = moddate.getDate()
var daytext
if (modday == 1 || modday == 21 || modday == 31) {daytext = "st"}
else {
	if (modday == 2 || modday == 22 ) {daytext = "nd"}
	else {
		if (modday == 3 || modday == 23 ) {daytext = "rd"}
		else  {daytext = "th"};
		};
	};
var modmonth 
var modmonth = moddate.getMonth() + 1

if (modmonth == 1) {modmonth = "January"}
else { 
	if (modmonth == 2) {modmonth = "February"}
	else { 
		if (modmonth == 3) {modmonth = "March"}
		else { 
			if (modmonth == 4) {modmonth = "April"}
			else { 
				if (modmonth == 5) {modmonth = "May"}
				else { 
					if (modmonth == 6) {modmonth = "June"}
					else { 
						if (modmonth ==7 ) {modmonth = "July"}
						else { 
							if (modmonth == 8) {modmonth = "August"}
							else { 
								if (modmonth == 9) {modmonth = "September"}
								else { 
									if (modmonth == 10) {modmonth = "October"}
									else { 
										if (modmonth == 11) {modmonth = "November"}
										else { modmonth = "December"};
									};
								};
							};
						};
					};
				};
			};
		};
	};
											


};

var modyear = moddate.getFullYear()

document.write("</div>")
document.write("&copy Revolving Doors Agency</br>")

document.write("<small><small>Last Modified: ")
document.write(modday + daytext + " " + modmonth + " " + modyear)
document.write(" </small></small>" )
document.write("</div>")



