// ※ 文字コードは UTF-8N です。※
// 最終更新日

function _HpbDays()
{
  this[0] = "日".fontcolor("red"); this[1] = "月"; this[2] = "火"; this[3] = "水";
  this[4] = "木"; this[5] = "金"; this[6] = "土".fontcolor("blue");
}

var now = new Date(document.lastModified);
var yr  = now.getYear();
var mn  = now.getMonth() + 1;
var dt  = now.getDate();
var dy  = now.getDay();

var fyr = (yr < 1900) ? 1900 + yr : yr;

var dys = new _HpbDays();
var dyj = dys[dy];

var str = "平成" + (fyr - 1988) + "年" + mn + "月" + dt + "日" + "(" + dyj + ")";
document.write(str.bold());

