<!-- 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='fahrzeuge.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"fahrzeuge.html\")'><nobr>Übersicht</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='f-actroskoffer.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"f-actroskoffer.html\")'><nobr>Actros Kofferzug</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='f-actrossattel.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"f-actrossattel.html\")'><nobr>Actros Sattelzugmaschine</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='f-actrosslz.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"f-actrosslz.html\")'><nobr>Actros Schwerlastzugmaschine</nobr></a></td></tr>"
linkArray[1]+="<tr><td><a class=\"menu\" href='f-still.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"f-still.html\")'><nobr>Still R50</nobr></a></td></tr>"
linkArray[2]="<tr><td><a class=\"menu\" href='elektronik.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"elektronik.html\")'><nobr>Übersicht</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='e-multi2k.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"e-multi2k.html\")'><nobr>2 Kanal Multiswitch Decoder</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='e-multi5k.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"e-multi5k.html\")'><nobr>5 Kanal Multiswitch Decoder</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='e-multi16k.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"e-multi16k.html\")'><nobr>16 Kanal Multiswitch Decoder</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='e-raucher.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"e-raucher.html\")'><nobr>Raucherzeuger Steuerelektronik </nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='e-stuetze.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"e-stuetze.html\")'><nobr>Auflieger Stützensteuerung</nobr></a></td></tr>"
linkArray[3]="<tr><td><a class=\"menu\" href='tips.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tips.html\")'><nobr>Übersicht</nobr></a></td></tr>"
linkArray[3]+="<tr><td><a class=\"menu\" href='tipsammlung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tipsammlung.html\")'><nobr>Tip-Sammlung</nobr></a></td></tr>"
linkArray[4]="<tr><td><a class=\"menu\" href='uebermich.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"uebermich.html\")'><nobr>Übersicht</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='medien.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"medien.html\")'><nobr>Medien</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='impressum.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"impressum.html\")'><nobr>Impressum/Kontakt</nobr></a></td></tr>"
linkArray[5]="<tr><td><a class=\"menu\" href='links.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"links.html\")'><nobr>Übersicht</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='links-private.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"links-private.html\")'><nobr>Private</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='links-firmen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"links-firmen.html\")'><nobr>Firmen</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='links-favs.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"links-favs.html\")'><nobr>Favoriten</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='impressum.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"impressum.html\")'><nobr>Rechtliches</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='erotik.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"erotik.html\")'><nobr>Erotisches</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-->

