<!--

function tick() {
  var hours, minutes, seconds, ap;
  var intHours, intMinutes, intSeconds;  var today;
  today = new Date();
  intDay = today.getDay();
  intDate = today.getDate();
  intMonth = today.getMonth();
  intYear = today.getYear();
  intHours = today.getHours();
  intMinutes = today.getMinutes();
  intSeconds = today.getSeconds();
  if (DayNam[intDay] == 'Monday')
   { tag = "Montag" }
   else if (DayNam[intDay] == 'Tuesday')
   { tag = "Dienstag" }
    else if (DayNam[intDay] == 'Wednesday')
    { tag = "Mittwoch" }
     else if (DayNam[intDay] == 'Thursday')
     { tag = "Donnerstag" }
      else if (DayNam[intDay] == 'Friday')
      { tag = "Freitag" }
       else if (DayNam[intDay] == 'Saturday')
        { tag = "Samstag" }
        else if (DayNam[intDay] == 'Sunday')
         { tag = "Sonntag" }

  timeString = tag+", der "+intDate;
  if (intDate == 1 || intDate == 21 || intDate == 31) {
    timeString= timeString + ". ";
  } else if (intDate == 2 || intDate == 22) {
    timeString= timeString + ". ";
  } else if (intDate == 3 || intDate == 23) {
    timeString= timeString + ". ";
  } else {
    timeString = timeString + ". ";
  }
  if (intYear < 2000){
	intYear += 1900;
  }

  if (MnthNam[intMonth] == 'January')
   { monat = "Januar" }
   else if (MnthNam[intMonth] == 'February')
   { monat = "Februar" }
    else if (MnthNam[intMonth] == 'March')
    { monat = "Maerz" }
     else if (MnthNam[intMonth] == 'April')
     { monat = "April" }
      else if (MnthNam[intMonth] == 'May')
       { monat = "Mai" }
       else if (MnthNam[intMonth] == 'June')
        { monat = "Juni" }
         else if (MnthNam[intMonth] == 'July')
         { monat = "Juli" }
          else if (MnthNam[intMonth] == 'August')
          { monat = "August" }
           else if (MnthNam[intMonth] == 'September')
           { monat = "September" }
            else if (MnthNam[intMonth] == 'October')
            { monat = "Oktober" }
             else if (MnthNam[intMonth] == 'November')
              { monat = "November" }
              else if (MnthNam[intMonth] == 'December')
               { monat = "Dezember" }


  timeString = timeString+" "+monat+" "+intYear;
  if (intHours == 0) {
     hours = "00:";
     ap = "";
  } else if (intHours < 12) {
     hours = intHours+":";
     ap = "";
  } else if (intHours == 12) {
     hours = "12:";
     ap = "";
  } else {

     hours = intHours + ":";
     ap = "";
  }
  if (intMinutes < 10) {
     minutes = "0"+intMinutes;
  } else {
     minutes = intMinutes;
  }
  if (intSeconds < 10) {
     seconds = ":0"+intSeconds;
  } else {
     seconds = ":"+intSeconds;
  }
  timeString = timeString+", "+hours+minutes+" ";
  var clock = (document.all) ? document.all("clock") : document.getElementById("clock");
  clock.innerHTML = timeString;
  window.setTimeout("tick();", 6000);
}

tick();

//-->
