<!-- 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[0]="<tr><td><a class=\"menu\" href='werbelinks.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"werbelinks.html\")'><nobr>Werbelinks</nobr></a></td></tr>"
linkArray[0]+="<tr><td><a class=\"menu\" href='linkpartner.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"linkpartner.html\")'><nobr>Gute Linkpartner</nobr></a></td></tr>"
linkArray[0]+="<tr><td><a class=\"menu\" href='magnetic.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"magnetic.html\")'><nobr>Magnetic Genia</nobr></a></td></tr>"
linkArray[5]="<tr><td><a class=\"menu\" href='geldlotto.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"geldlotto.html\")'><nobr>Lotto mit Geld</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='gewinnspiele.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"gewinnspiele.html\")'><nobr>Gewinnspiele</nobr></a></td></tr>"
linkArray[6]="<tr><td><a class=\"menu\" href='ferienbuchung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"ferienbuchung.html\")'><nobr>Günstige Ferienbuchung</nobr></a></td></tr>"
linkArray[7]="<tr><td><a class=\"menu\" href='surfer.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"surfer.html\")'><nobr>Für Vielsurfer</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='partnerprogramme.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"partnerprogramme.html\")'><nobr>Partnerprogramme</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='firstload.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"firstload.html\")'><nobr>FIRSTLOAD!</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='shopping.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"shopping.html\")'><nobr>Shopping-Center</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='spiele.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"spiele.html\")'><nobr>Spiele</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='wurzelimperium.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"wurzelimperium.html\")'><nobr>WURZELIMPERIUM</nobr></a></td></tr>"
linkArray[9]="<tr><td><a class=\"menu\" href='voting.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"voting.html\")'><nobr>Voting</nobr></a></td></tr>"
linkArray[11]="<tr><td><a class=\"menu\" href='rechtliche hinweise.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"rechtliche hinweise.html\")'><nobr>Rechtliche Hinweise</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-->
