<!--
//Date Format//
//copyright Jean Smith & Chan Electronic Publishing 1997//
//you are free to use this JavaScript in any application//
//as long as you leave this credit intact//


//version 1.2 workaround for year 2000 differences in browsers//

function MakeArray (n) {
this.length=n;
for (var i = 0; i <= n; i++) {
this[i]=0 }
return this
}
//make array and assign month strings//

month = new MakeArray(11);
month[0]="January"
month[1]="February"
month[2]="March"
month[3]="April"
month[4]="May"
month[5]="June"
month[6]="July"
month[7]="August"
month[8]="September"
month[9]="October"
month[10]="November"
month[11]="December"

//assign complete date of last update to variable//

MyDate=new Date(document.lastModified);

//get day of month that document was updated//
//and concatenate with zero if necessary//

upDay="0" + (MyDate.getDate());
var1=upDay.length;
if (var1==3){
upDay=(MyDate.getDate());
}

//get month number and assign name from array//

upMonth=month[MyDate.getMonth()];

// get last two digits of year and concatenate with 19 or 20//

var2=MyDate.getYear();

 if (var2>1999) {
   upYear=var2;
 } else {
   if (var2>99) {
      var2 = var2 - 100;
   }
  if (var2<10) {
         var2 = "0" + var2;
      }
	  
if (var2<90) {	  
   upYear="20" + var2;
   } else {
     upYear="19" + var2;
   }
 }

//get hours, minutes and seconds of document update//
//and concatenate with zero if necessary//

upHours=MyDate.getHours();
if (upHours<10) {
upHours="0" + upHours;
}
upMins=MyDate.getMinutes();
if (upMins<10) {
upMins="0" + upMins;
}
upSecs=MyDate.getSeconds();
if (upSecs<10) {
upSecs="0" + upSecs;
}

//build up time string//

upTime=upHours + ":" + upMins + ":" + upSecs;

//write date in required format to document//

	document.write("Updated:   " + upDay + " " + upMonth + " " + upYear + " " + upTime);
// -->
