//Copyright  - Marc Curry

// GMT Method
//document.write("Last Modified: " + document.lastModified);

// Custom Method
var lastModDate = new Date(document.lastModified);

// Account for IE/NS differences in year calculations.
var yy = lastModDate.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
var month = lastModDate.getMonth() + 1;
var date = lastModDate.getDate();
var day = lastModDate.getDay();
var hours = lastModDate.getHours();
var ampm = (hours < 12) ? "am" : "pm";
var hoursnonmil = (hours > 12) ? hours - 12 : hours;
var mm = lastModDate.getMinutes();
var minutes = (mm < 10) ? "0" + mm: mm;

// DEBUGGING SECTION
//document.write("<br> <H3>Last Modification of This File</H3> ");
//document.write("<br>Year:  " + year);
//document.write("<br>Month:  " + month);
//document.write("<br>Date:  " + date);
//document.write("<br>Day:  " + day);
//document.write("<br>Hours:  " + hours); //document.write("<br>Hours (non mil):  " + hoursnonmil);
//document.write("<br>AM/PM:  " + ampm);
//document.write("<br>Minutes:  " + minutes);

// Not-so-raw output of date
function makeArray() {
     for (i = 0; i<makeArray.arguments.length; i++)
          this[i+1] = makeArray.arguments[i];
}
var months = new makeArray('January','February','March',
    'April','May','June','July','August','September',
    'October','November','December');

document.writeln("&nbsp;Last Modified:&nbsp; "); document.writeln("<font color=\"#dddddd\"> " + months[month] + " " + date + ", " + year + "&nbsp;&nbsp;" + hoursnonmil + ":" + minutes + ampm + "</font>");