<!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers

function surfto(target)
 {
navigating = 1
 window.location.href = target;
 }
var linkArray = new Array

<!--Platzhalter für SubMenus-->
linkArray[3]="<tr><td><a class=\"menu\" href='aerobic.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"aerobic.html\")'><nobr>Aerobic</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='badminton.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"badminton.html\")'><nobr>Badminton</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='faustball.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"faustball.html\")'><nobr>Faustball</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='tanzen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tanzen.html\")'><nobr>Tanzen</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='turnen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"turnen.html\")'><nobr>Turnen</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='volleyball.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"volleyball.html\")'><nobr>Volleyball</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='walking.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"walking.html\")'><nobr>Walking</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='sportabzeichengruppe.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"sportabzeichengruppe.html\")'><nobr>Sportabzeichen</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='tae bo.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tae bo.html\")'><nobr>Tae Bo</nobr></a></td></tr>"
linkArray[8]="<tr><td><a class=\"menu\" href='bilder_turnfeste.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_turnfeste.html\")'><nobr>Turnfeste</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_sommerfest.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_sommerfest.html\")'><nobr>Sommerfest</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_wellnesstag.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_wellnesstag.html\")'><nobr>Wellnesstag</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_arbeitseinsatz.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_arbeitseinsatz.html\")'><nobr>Arbeitseinsätze</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_ferienpassaktion.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_ferienpassaktion.html\")'><nobr>Ferienpassaktion</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_freizeiten.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_freizeiten.html\")'><nobr>Freizeiten</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_sonstige.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_sonstige.html\")'><nobr>Sonstiges</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='bilder_weihnachtsfeier.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bilder_weihnachtsfeier.html\")'><nobr>Weihnachtsfeier</nobr></a></td></tr>"


<!--GLOBAL VARIABLES-->
var navigating = 0
var thename
var theobj
var thetext
var winWidth
var boxPosition
var timerID
var seconds=3
var x=0
var y=0
<!--END GLOBAL VARIABLES-->

<!--GLOBAL FUNCTIONS-->
function buildText(value) {
text = "<table class='submenu' width='100%' border='0' cellspacing='2' cellpadding='2'>"
text += linkArray[value]+"</table>"
return text
}

function setObj(textelement,inwidth,boxpos,fixed,theObject) {
	clearTimeout(timerID)
	boxPosition=boxpos
	winWidth=inwidth
	thetext=buildText(textelement)

	if (boxPosition == "right") { // Right
	el=theObject
	x=0
	y=0
	while (el) {
	   y+=el.offsetTop
   	   x+=el.offsetLeft
   	   el=el.offsetParent
         }
         y -= document.body.scrollTop;
         x+=theObject.offsetWidth+2;
         if (fixed > 0) {
         	 x = fixed
         	}
	}

	if (boxPosition == "bottom") { // Top
	el=theObject
	x=0
	y=0
	while (el) {
	   y+=el.offsetTop
   	   x+=el.offsetLeft
   	   el=el.offsetParent
         }
         y -= document.body.scrollTop;
         y+=theObject.offsetHeight+2;

         if (fixed > 0) {
         	 y = fixed
         	}
  	}

	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		theobj.style.width=winWidth
		theobj.style.left=x
			if(iens6&&document.all) {
			theobj.style.top=document.body.scrollTop+y
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd",thetext)
			}
			if(iens6&&!document.all) {
			theobj.style.top=window.pageYOffset+y
				theobj.innerHTML = ""
				theobj.innerHTML=thetext
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		theobj.left=x
		theobj.top=y
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("thetext")
		theobj.document.close()
	}
	if (navigating == 0) viewIt()
}
function viewIt() {
		if(iens6) {
			theobj.style.visibility="visible"
		}
		if(ns4) {
 			theobj.visibility = "visible"
		}
	clearTimeout(timerID);
	timer(3);
}

function stopIt() {
	if(theobj) {
		if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		}
		if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		}
	}
}

function timer(sec) {
	seconds=parseInt(sec)
	if(seconds>0) {
		seconds--
		timerID=setTimeout("timer(seconds)",1000)
	}else{
		stopIt()
	}
}
<!--END GLOBAL FUNCTIONS-->

