// Statusleiste
function Linkinfo (Ausgabe)
{
window.status = "Schwimmverein Bayreuth 1921 e.V.";
}
// Statusleiste ende

// Datumsanzeige
<!-- Datumsanzeige
function Datum() {
jetzt = new Date();
Tag = jetzt.getDate();
Monat = (jetzt.getMonth()+1);
Jahr = jetzt.getYear();
document.write(Tag+"."+Monat+"."+Jahr)
//-->
}

// Datumsanzeige ende

function PrintDate() {
var x = new Date();
day=new Array(7);
day[0]="Sonntag";
day[1]="Montag";
day[2]="Dienstag";
day[3]="Mittwoch";
day[4]="Donnerstag";
day[5]="Freitag";
day[6]="Samstag";
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";
document.write(day[x.getDay()]+', ');
document.write(x.getDate()+'. '+month[x.getMonth()]+' '+x.getYear());
}



function ZF(URL2,F2,URL4,F4)
 {  
  parent.frames[F2].location.href=URL2;
  parent.frames[F4].location.href=URL4;
 }



var clockid=new Array()
var clockidoutside=new Array()
var i_clock=-1
var thistime= new Date()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
var thistime = hours+":"+minutes+":"+seconds
	
function writeclock() {
	i_clock++
	if (document.all || document.getElementById || document.layers) {
		clockid[i_clock]="clock"+i_clock
		document.write("<span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span>")
	}
}

function clockon() {
	thistime= new Date()
	hours=thistime.getHours()
	minutes=thistime.getMinutes()
	seconds=thistime.getSeconds()
	if (eval(hours) <10) {hours="0"+hours}
	if (eval(minutes) < 10) {minutes="0"+minutes}
	if (seconds < 10) {seconds="0"+seconds}
	thistime = hours+":"+minutes+":"+seconds
		
	if (document.all) {
		for (i=0;i<=clockid.length-1;i++) {
			var thisclock=eval(clockid[i])
			thisclock.innerHTML=thistime
		}
	}
	
	if (document.getElementById) {
		for (i=0;i<=clockid.length-1;i++) {
			document.getElementById(clockid[i]).innerHTML=thistime
		}
	}
	var timer=setTimeout("clockon()",1000)
}
window.onload=clockon

// Ende uhr
