function WriteDate()
{
  var font  = "Verdana";
  var fcolor = "#000080";
  var falign = "right";
  var fsize = "1";
  var now   = new Date();
  var month = "";
  var year  = "";
  var day  = "";
  var day  = now.getDay();
  var date  = now.getDate();
  
  if (now.getMonth() == 0) month = "January"
  if (now.getMonth() == 1) month = "February"
  if (now.getMonth() == 2) month = "March"
  if (now.getMonth() == 3) month = "April"
  if (now.getMonth() == 4) month = "May"
  if (now.getMonth() == 5) month = "June"
  if (now.getMonth() == 6) month = "July"
  if (now.getMonth() == 7) month = "August"
  if (now.getMonth() == 8) month = "September"
  if (now.getMonth() == 9) month = "October"
  if (now.getMonth() == 10) month = "November"
  if (now.getMonth() == 11) month = "December"
  
  if (now.getDay() == 0) day = "Sunday"
  if (now.getDay() == 1) day = "Monday"
  if (now.getDay() == 2) day = "Tuesday"
  if (now.getDay() == 3) day = "Wednesday"
  if (now.getDay() == 4) day = "Thursday"
  if (now.getDay() == 5) day = "Friday"
  if (now.getDay() == 6) day = "Saturday"
  
  // if (now.getYear() < 100) year = "19" + now.getYear()
  // if (now.getYear() >= 100) var year = "20" + now.getYear() - 18100
  year = now.getYear();
  document.write(date + " " + month + " " + year +", " + day + "<br>");
}
