// update.js
//
    
 function initArray() 

{  
    this.length = initArray.arguments.length;
    for (var i = 0; i < this.length; i++)      
    {
	this[i+1] = initArray.arguments[i];
    }
}   
    var DOWArray = new initArray ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");   
    var MOYArray = new initArray ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");   

    var mod_date = new Date (document.lastModified);   

    var hours = mod_date.getHours ();
    var minutes = mod_date.getMinutes ();
    var seconds = mod_date.getSeconds ();

    var timeValue = "" + ((hours > 12) ? hours - 12 : hours);

    var currname = document.location.pathname.toLowerCase ();

    timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
//    timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
    timeValue += (hours >= 12) ? " PM" : " AM";


// ROW 1

    gnYearMod = mod_date.getYear ();
    if ((gnYearMod > 29) && (gnYearMod < 130))
    {
	gnYearMod += 1900
    }
    if (gnYearMod < 30)
    {
	gnYearMod += 2000
    }

    document.write ('<TD Width="400" Align="Right" VALIGN="middle" BGCOLOR="black">');
    document.write ('<FONT face="Verdana, Arial, Helvetica" COLOR="8C1717" SIZE="3">');
    document.write ('Page updated on: ');   
    if (gnYearMod != 1969)
    {
	// DATA CELL 1,2
	document.write (DOWArray[(mod_date.getDay()+1)], ', ');   
	document.write (MOYArray[(mod_date.getMonth()+1)], ' ');   
	document.write (mod_date.getDate (), ', '); 
	document.write (gnYearMod);
	document.write (', ', timeValue);
    }
    else
    {
	//document.write (document.title);
	document.write (document.frmDocMod.date.value);
    }
 
    document.write ('</FONT>');
    document.write ('</TD>');

    	document.write ('</TR>');
	document.write ('</TABLE>');

	document.write ('<HR WIDTH=54% SIZE=3 NOSHADE>');
//
//

