var gcs_dateline = {
	'version': '1.0.2',
	'sha1cr': '3CE66046D3C48452F2650659805969C3D31D96AA'
};
// Array containing the names of the days of the week.
var bd_datetime_dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];

// Array containing the names of months.
var bd_datetime_monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];

// Use the same information for all processing, i.e., Date().  Otherwise, the
// information displayed could be inaccurate.  If the clock goes over the 60 minute
// mark just after getting the hour, then the minute will be 00, thus displaying the
// time one hour less than before.  The same can happen with the hour and day of week.
var      bd_datetime_now = new Date();
var      bd_datetime_hour = bd_datetime_now.getHours();
var      bd_datetime_minute = bd_datetime_now.getMinutes();

// Some versions of JavaScript may not return the correct year.  If the year is less than 2000,
// only the last 2 digits might be returned.  For example, a PC without a battery will
// boot with the date set to January 1st, 1980.  This routine could show 80 for
// the year instead of 1980.  This must be an issue with the getYear() routine and may not
// exist in your version.  Regardless, the year returned is checked first.  If it is 2 digits,
// then it is checked to see if it is less than 80.  If so, then it is a PC running in the 21st
// century with a bad JavaScript getYear so 2000 is added otherwise 1900 is added.  Finally, the 
// corrected year is checked to see if it 1980.  If it is, then there is no way to know what 
// year it is in the 21st century.  It is hoped that it is not 2080 because that means someone 
// has booted up an antique, meaning not only the PC but this code.  Assuming the PC's battery 
// is dead, I tack a suggestion onto the date displayed to change the battery.
var bd_datetime_correctYear = 2001;  // The year this routine was worked on.
var bd_datetime_yearReturned = bd_datetime_now.getFullYear(); // changed getYear to getFullYear but left checking code in:
if (bd_datetime_yearReturned < 1900) {bd_datetime_yearReturned+=1900; } // Fix for Opera version 7.11 and earlier, (years are 103 for 2003, etc.)
if (bd_datetime_yearReturned < 100)
    {
    if (bd_datetime_yearReturned < 80)
       {bd_datetime_correctYear = bd_datetime_yearReturned + 2000; }
    else
       {bd_datetime_correctYear = bd_datetime_yearReturned + 1900; }
    }
else
    {bd_datetime_correctYear = bd_datetime_yearReturned; }

if (bd_datetime_correctYear == 1980)
   {document.write(bd_datetime_dayNames[bd_datetime_now.getDay()] + ", " + bd_datetime_monthNames[bd_datetime_now.getMonth()] + " " + bd_datetime_now.getDate() + ", " + bd_datetime_correctYear + " (Replace clock battery)"); }
else
   {document.write(bd_datetime_dayNames[bd_datetime_now.getDay()] + ", " + bd_datetime_monthNames[bd_datetime_now.getMonth()] + " " + bd_datetime_now.getDate() + ", " + bd_datetime_correctYear); }

var bd_datetime_ampm="";
if (bd_datetime_hour > 12)
    {
    bd_datetime_ampm = "<small>P.M.</small>";
    bd_datetime_hour = bd_datetime_hour - 12;
    }
else
    {bd_datetime_ampm = "<small>A.M.</small>"; }
if (bd_datetime_minute < 10)
    {
    if (bd_datetime_hour === 0)
        {document.write(", 12", ":0",bd_datetime_minute," ",bd_datetime_ampm); }
    else
        {document.write(", ",bd_datetime_hour,":0",bd_datetime_minute," ",bd_datetime_ampm); }
    }
else
    {
    if (bd_datetime_hour === 0)
        {document.write(", 12", ":",bd_datetime_minute," ",bd_datetime_ampm); }
    else
        {document.write(", ",bd_datetime_hour,":",bd_datetime_minute," ",bd_datetime_ampm); }
    }

//document.write(" - ");
document.write(' <a onclick="openWindow(this,\'oaipage\')" class="x" href="http://validator.w3.org/check?uri=referer&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&No200=1&verbose=1">-</a> ');


<!-----------------------------------------------------------------------------
function LastModifiedDateMMM() {
   var bd_lastmodifiedMMM_monthnames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
   var bd_lastmodifiedMMM_updated = new Date(document.lastModified);
   var bd_lastmodifiedMMM_Month = bd_lastmodifiedMMM_monthnames[bd_lastmodifiedMMM_updated.getMonth()];
   var bd_lastmodifiedMMM_Day   = bd_lastmodifiedMMM_updated.getDate();
   var bd_lastmodifiedMMM_Year  = bd_lastmodifiedMMM_updated.getFullYear();
   var bd_lastmodifiedMMM_Hour  = bd_lastmodifiedMMM_updated.getHours();
   var bd_lastmodifiedMMM_Min   = bd_lastmodifiedMMM_updated.getMinutes();
   var bd_lastmodifiedMMM_Sec   = bd_lastmodifiedMMM_updated.getSeconds();
   if( bd_lastmodifiedMMM_Year < 1969 ) {bd_lastmodifiedMMM_Year += 1900; }
   if( bd_lastmodifiedMMM_Year < 1969 ) {bd_lastmodifiedMMM_Year += 100; }  //Netscape 3 and IE 4.7 return 0 instead of 100 for 2000
   if( bd_lastmodifiedMMM_Hour < 10 )  {bd_lastmodifiedMMM_Hour = "0" + bd_lastmodifiedMMM_Hour; }
   if( bd_lastmodifiedMMM_Min  < 10 )  {bd_lastmodifiedMMM_Min = "0" + bd_lastmodifiedMMM_Min; }
   if( bd_lastmodifiedMMM_Sec  < 10 )  {bd_lastmodifiedMMM_Sec = "0" + bd_lastmodifiedMMM_Sec; }
   document.write("Last modified " + bd_lastmodifiedMMM_Month + " " + bd_lastmodifiedMMM_Day +  ", " + bd_lastmodifiedMMM_Year + " at " + bd_lastmodifiedMMM_Hour + ":" + bd_lastmodifiedMMM_Min + ":" + bd_lastmodifiedMMM_Sec);
}
//---------------------------------------------------------------------------->
LastModifiedDateMMM();
