<!-- 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='aktuell.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"aktuell.html\")'><nobr>Aktuelles</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='gembri.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"gembri.html\")'><nobr>Gemeindebriefe</nobr></a></td></tr>"
linkArray[3]="<tr><td><a class=\"menu\" href='taufe.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"taufe.html\")'><nobr>Taufe</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='konfi.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"konfi.html\")'><nobr>Konfirmation</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='trauung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"trauung.html\")'><nobr>Trauung</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='sterben.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"sterben.html\")'><nobr>Sterben/Trauern</nobr></a></td></tr>"
linkArray[5]="<tr><td><a class=\"menu\" href='pfarren.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"pfarren.html\")'><nobr>Überblick</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='bez1.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bez1.html\")'><nobr>Bezirk 1</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='bez2.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bez2.html\")'><nobr>Bezirk 2</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='bez3.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bez3.html\")'><nobr>Bezirk 3</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='bez4.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bez4.html\")'><nobr>Bezirk 4</nobr></a></td></tr>"
linkArray[6]="<tr><td><a class=\"menu\" href='organisten.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"organisten.html\")'><nobr>Kirchenmusiker</nobr></a></td></tr>"
linkArray[6]+="<tr><td><a class=\"menu\" href='choere.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"choere.html\")'><nobr>Chöre</nobr></a></td></tr>"
linkArray[7]="<tr><td><a class=\"menu\" href='kifamgrup.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"kifamgrup.html\")'><nobr>Kinder + Familien</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='fraugrup.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"fraugrup.html\")'><nobr>Frauen</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='senigrup.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"senigrup.html\")'><nobr>Senioren</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='verschgrup.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"verschgrup.html\")'><nobr>Verschiedene</nobr></a></td></tr>"
linkArray[8]="<tr><td><a class=\"menu\" href='tansania.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tansania.html\")'><nobr>Partnerschaftsgruppe</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='tans-infos.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tans-infos.html\")'><nobr>Infos / Berichte</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='tans-geschichte.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tans-geschichte.html\")'><nobr>Geschichte</nobr></a></td></tr>"
linkArray[8]+="<tr><td><a class=\"menu\" href='tans-links.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tans-links.html\")'><nobr>Tansania-Links</nobr></a></td></tr>"
linkArray[10]="<tr><td><a class=\"menu\" href='herrenfeld.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"herrenfeld.html\")'><nobr>Herrenfeld</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='haardterberg.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"haardterberg.html\")'><nobr>Haardterberg</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='familienzentrum.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"familienzentrum.html\")'><nobr>Vogelsang</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='dautenbach.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"dautenbach.html\")'><nobr>Dautenbach</nobr></a></td></tr>"
linkArray[11]="<tr><td><a class=\"menu\" href='famzentrum-konzept.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"famzentrum-konzept.html\")'><nobr>Konzept</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='famzentrum-angebote.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"famzentrum-angebote.html\")'><nobr>Angebote</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='famzentrum-bilder.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"famzentrum-bilder.html\")'><nobr>Bilder</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='famzentrum-werwo.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"famzentrum-werwo.html\")'><nobr>Wer&Wo?</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='famzentrum-kooperationen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"famzentrum-kooperationen.html\")'><nobr>Kooperationen</nobr></a></td></tr>"
linkArray[15]="<tr><td><a class=\"menu\" href='kirchgeld.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"kirchgeld.html\")'><nobr>Kirchgeld</nobr></a></td></tr>"
linkArray[15]+="<tr><td><a class=\"menu\" href='spenden.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"spenden.html\")'><nobr>Spenden</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-->

