var timerID = null
  var timerRunning = false
  function KHArray(size)
  {
  this.length = size;
  for(var i = 1; i <= size; i++)
  {
  this[i] = "";
  }
  return this;
  }
  function stopclock (){
  if(timerRunning)
  clearTimeout(timerID);
  timerRunning = false
  }
  function showtime () {
  var now = new Date();
  var year = now.getYear();
if (year<=99)
  year= "19"+year;
if ((year>99) && (year<2000))
 year+=1900;
  var month = now.getMonth()+1;
  month = new Array(12);
  month[0]="Januar";
  month[1]="Februar";
  month[2]="März";
  month[3]="April";
  month[4]="Mai";
  month[5]="Juni";
  month[6]="Juli";
  month[7]="August";
  month[8]="September";
  month[9]="Oktober";
  month[10]="November";
  month[11]="Dezember";

  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var day = now.getDay();
  Day = new KHArray(7);
  Day[0]=" Sonntag,";
  Day[1]=" Montag,";
  Day[2]=" Dienstag,";
  Day[3]=" Mittwoch,";
  Day[4]=" Donnerstag,";
  Day[5]=" Freitag,";
  Day[6]=" Samstag,";
  var timeValue = "";
  timeValue += (Day[day]) + "  ";
  timeValue += date + ". ";
  timeValue += month[now.getMonth()]+"  ";
  timeValue += year + ";  Uhrzeit: ";
  timeValue += ((hours <= 24) ? hours : hours - 24);
  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
  timeValue += (hours < 24) ? " h" : "";
  document.jsfrm.face.value = timeValue;
  timerID = setTimeout("showtime()",1000);
  timerRunning = true
  }
  function startclock () {
  stopclock();
  showtime()
  }
