<!-- 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[1]="<tr><td><a class=\"menu\" href='chronik 1803-.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"chronik 1803-.html\")'><nobr>Chronik 1803</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='chronik 1839-.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"chronik 1839-.html\")'><nobr>Chronik 1839-</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='chronik 1848-.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"chronik 1848-.html\")'><nobr>Chronik 1848-</nobr></a></td></tr>"
linkArray[6]="<tr><td><a class=\"menu\" href='2005.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"2005.html\")'><nobr>2005</nobr></a></td></tr>"
linkArray[6]+="<tr><td><a class=\"menu\" href='2006.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"2006.html\")'><nobr>2006</nobr></a></td></tr>"
linkArray[6]+="<tr><td><a class=\"menu\" href='2007.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"2007.html\")'><nobr>2007</nobr></a></td></tr>"
linkArray[7]="<tr><td><a class=\"menu\" href='sz 20.04.2007.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"sz 20.04.2007.html\")'><nobr>SZ 20.04.2007</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wochenblatt.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wochenblatt.html\")'><nobr>Wochenblatt 19.04.2007</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wochenblatt4.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wochenblatt4.html\")'><nobr>Wochenblatt 26.04.2007</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wochenblatt3.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wochenblatt3.html\")'><nobr>Wochenblatt 28.09.2006</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wochenblatt5.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wochenblatt5.html\")'><nobr>Wochenblatt 07.07.2005</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wochenblatt2.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wochenblatt2.html\")'><nobr>Wochenblatt 30.06.2005</nobr></a></td></tr>"
linkArray[8]="<tr><td><a class=\"menu\" href='offiziere.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"offiziere.html\")'><nobr>Offiziere</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='unteroffiziere.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"unteroffiziere.html\")'><nobr>Unteroffiziere</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='schuetzen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"schuetzen.html\")'><nobr>Schützen</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='spielleute1.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"spielleute1.html\")'><nobr>Spielleute</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-->
