    // Date & Time Writer

    // *** CONFIGURATION OPTIONS *** //

      var hour24 = 0;      // 24 hour time format (21:41)      options: 0=false 1=true
      var abbrDay = 0;     // Abbreviate day (Mon, Tue...)     options: 0=false 1=true
      var abbrMonth = 0;   // Abbreviate month (Jan, Feb...)   options: 0=false 1=true
      var abbrYear = 0;    // Abbreviate year (2001 = 01)      options: 0=false 1=true
      var dateExt = 1;     // Show date extension (1st, 15th)  options: 0=false 1=true
      var timeSep = ":";   // Time Separator
      var dateSep = "/";   // Date Separator

    // *** END CONFIGURATION OPTIONS *** //

      todayFull = new Date();
      todayDay = (todayFull.getDay() +1);
      todayMonth = (todayFull.getMonth() +1);
      todayDate = todayFull.getDate();
      todayYear = todayFull.getYear();
      todayHour = todayFull.getHours();
      todayMinute = todayFull.getMinutes();
      todaySecond = todayFull.getSeconds();
      ampm = "";

      if (abbrDay != 0) todayDay = todayDay + 7;
      if (abbrMonth != 0) todayMonth = todayMonth + 12;
      if (dateExt != 1) todayDate = todayDate + 31;

      arrayDay = new Array(0, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
      arrayMonth = new Array(0, "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
      arrayDate = new Array (0, "1st", "2nd", "3rd", "4th", "5th", "6th", "7th", "8th", "9th", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th", "21st", "22nd", "23rd", "24th", "25th", "26th", "27th", "28th", "29th", "30th", "31st", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31");

      if (hour24 == 0) {

        if (todayHour > 12) {
          todayHour = todayHour - 12;
          ampm = " p.m.";
        }
        else {
          ampm = " a.m.";
        }

        if (todayHour == 0) todayHour = 12;

      }
      else {
        if (todayHour < 10) todayHour = "0" + todayHour;  // leading 0 on hours less than 10 in 24hr format only
      }

      if (todayMinute < 10) todayMinute = "0" + todayMinute;  // leading 0 on minutes less than 10
      if (todaySecond < 10) todaySecond = "0" + todaySecond;  // leading 0 on seconds less than 10
      if (todayYear < 2000) todayYear =  todayYear + 1900;    // Y2K fix for dumb browsers like Netscape 4.x

      if (abbrYear != 0) {
        todayYear = todayYear - 2000;
        todayYear = "0" + todayYear;                          // leading 0 on two digit year
      }

      longDate = (arrayDay[todayDay] + ", " + arrayMonth[todayMonth] + " " + arrayDate[todayDate] + ", " + todayYear);
      longDateNoDay = (arrayMonth[todayMonth] + " " + arrayDate[todayDate] + ", " + todayYear);
      shortDate = (todayMonth + dateSep + todayDate + dateSep + todayYear);
      longTime = (todayHour + timeSep + todayMinute + ampm);
      shortTime = (todayHour + timeSep + todayMinute + ampm);
