
/*  code by Alan Dix  2004   http://www.meandeviation.com/
    you are free to use, copy, or distribute this code so long as this notice
    is included in full and any modifications clearly indicated */

function PrintAddress(name,host,isLink,otherName) {
    var email = name + "@" + host;
    var linktext = email;   // text to display within link
    if (otherName) {
        linktext = otherName;
        isLink = 1;  // only makes sense for live link
    }
    if ( isLink ) document.write("<a href=\"mailto:" + email + "\">");
    document.write(linktext);
    if ( isLink ) document.write("</a>");
    document.close();
}

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Lee Underwood :: http://javascript.internet.com/ */

function displayDate() {
  var now = new Date();
  var today = now.getDate();
  var month = now.getMonth();
    var monthName = new Array(12)
      monthName[0]="January ";
      monthName[1]="February ";
      monthName[2]="March ";
      monthName[3]="April ";
      monthName[4]="May ";
      monthName[5]="June ";
      monthName[6]="July ";
      monthName[7]="August ";
      monthName[8]="September ";
      monthName[9]="October ";
      monthName[10]="November ";
      monthName[11]="December ";
  var year = now.getFullYear();

  document.write(monthName[month]+today+ ", "+year);
}

