
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

  var timerID = null
  var timerRunning = false
  function MakeArray(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();
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var day = now.getDay();
  Day = new MakeArray(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 < 10) ? "0" : "") + month + "-";
  timeValue += year + "  ";
  // US-Version
  //timeValue += ((month < 10) ? " 0" : " ") + month + "-";
  //timeValue += date + "-" + year + "    ";
  timeValue += ((hours <= 12) ? hours : hours - 12);
  timeValue += ((minutes > 9) ? ":" : ":0") + minutes;
  timeValue += ((seconds > 9) ? ":" : ":0") + seconds;
  timeValue += (hours > 12) ? " PM" : " AM";
  window.status = timeValue;
  timerID = setTimeout("showtime()",1000);
  timerRunning = true
  }
  function startclock () {
  stopclock();
  showtime()
  }