// Zeigt die Zeit und das Datum in der Statuszeile an

  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();

  	Monat = new MakeArray(12);
        	Monat[1]="Januar";
        	Monat[2]="Februar";
        	Monat[3]="März";
        	Monat[4]="April";
        	Monat[5]="Mai";
        	Monat[6]="Juni";
        	Monat[7]="Juli";
        	Monat[8]="August";
        	Monat[9]="September";
        	Monat[10]="Oktober";
        	Monat[11]="November";
        	Monat[12]="Dezember";

  	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 += " Heute ist " +(Day[day]) + " der ";
        	timeValue += date + ". ";
        	timeValue += (Monat[month]) + " ";
        	timeValue += year + " es ist ";
        	timeValue += ((hours <= 24) ? hours : hours);
        	timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
        	timeValue += ((seconds < 10) ? ":0" : ":") + seconds + " Uhr";

	window.status = timeValue;
	timerID = setTimeout("showtime()",1000);
	timerRunning = true
	}

//mehrere Seiten mit einem Link öffnen
  
  function seitenladen(adr1,adr2,adr3)
         {
         parent.frames[2].location.href=adr1;
         parent.frames[3].location.href=adr2;
         parent.frames[1].location.href=adr3;
         return
         }
