// Last modified for client-side if SSI fails by Jonathan C. Nilson

/* Edit this variable's declaration to rename the SPAN tag in the document code */

var lastModified_tagName = "lastModified";

var lm = document.getElementById(lastModified_tagName);

if (lm && lm.style) {
	// Ignore adjustment if SSI has already written the time and date.
}
else {
	// If no SSI information was written to the tag on the server,
	// fill in JavaScript data client-side.
	lm.style.innerText = document.lastModified;
}