
// format date as MMM dd, yyyy
// example: January 15, 2003

function date_mmmddyyyy(date) {
	var d = date.getDate();
	var m = date.getMonth() + 1;
	var y = date.getYear();
	if (y < 1900) y += 1900;

	var mmm =
		 (1 == m)?'January':(2 == m)?'February':(3 == m)?'March':
		 (4 == m)?'April':(5 == m)?'May':(6 == m)?'June':
		 (7 == m)?'July':(8 == m)?'August':(9 == m)?'September':
		 (10 == m)?'October':(11 == m)?'November':'December';
	return "" + mmm + " " + d + ", " + y;
}

// get the last modified date of the current document

function date_lastmodified() {
	var lmd = document.lastModified;
	var s = "Unknown";
	var d1;

	// check if we have a valid date before proceeding

	if (0 != (d1=Date.parse(lmd)))
	{
		s = "" + date_mmmddyyyy(new Date(d1));
	}
	return s;
}

document.write('<div class="copyright"><p>The DAR Insignia is the property of, and is copyrighted by, the National Society of the Daughters of the American Revolution.<br/>Web hyperlinks to non-DAR sites are not the responsibility of the NSDAR, the state organizations, or individual chapters.</p>')
document.write('<p>Webmasters: <a href="mailto:carolurban@lycos.com">Carol Urban</a> and <a href="mailto:linda.dill@comcast.net">Linda Dill</a></p>')
document.write("<P class=copy>Last Updated: "  +
	       date_lastmodified() );
document.write('</p></div>');

