// <script language="JavaScript">
// NOTE: The last.Modified method apparently returns a 2-digit 
// year, regardless of OS date format settings.  This makes it
// non-Y2K compliant
// This script determines the last two digits of the year. If 
// the digits are less than 75, it assumes that the century is 
// 2000. Otherwise, it assumes the century is 1900. This script 
// will be Y2K-compliant until 2075.
//
// Зайдуллин С.С. 7 ноября 2000 г.
// Основано на datemod.js от Lockheed Martin Corp.  April 21, 1998 Rob Wildermann

m=new Array("Янв","Фев","Мар","Апр","Мая","Июн","Июл","Авг","Сен","Окт","Ноя","Дек");
d=new Date(document.lastModified);
month=
y=d.getYear()
checkDate=(d.getMonth()+1)+"/"+d.getDate()+"/"+y

//document.writeln("<br><br>");
//document.writeln("<div align='right'><hr width='40%'></div>");
document.writeln("<div align='right'><hr width='300'></div>");

document.writeln("<div style='font-family: Arial; font-size: 8pt; text-align: right'><small>");
 
document.writeln("Последнее обновление: ");
if (checkDate=="12/31/69") {
  // Date is 12/31/69, must be error
  document.writeln("дата недоступна");
}
else {
  // Date is not 12/31/69, must be valid

  if (y < 75) y=y + 2000; //year less than 75, must be y2k
  else
    if (y<1900) y=y + 1900;

  document.writeln(+d.getDate()+" "+m[d.getMonth()]+" "+y);
}

document.writeln("</small></div>");
