<!-- 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[5]="<tr><td><a class=\"menu\" href='dungeons-and-dragons.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"dungeons-and-dragons.html\")'><nobr>Dungeons & Dragons</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='pathfinder.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"pathfinder.html\")'><nobr>Pathfinder</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='warhammer.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"warhammer.html\")'><nobr>Warhammer 40.000</nobr></a></td></tr>"
linkArray[7]="<tr><td><a class=\"menu\" href='drachenland.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"drachenland.html\")'><nobr>Drachenland</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='traumreisen.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"traumreisen.html\")'><nobr>Traumreisen</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='schelmin.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"schelmin.html\")'><nobr>Schelmin</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='abenteuer-sets.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"abenteuer-sets.html\")'><nobr>Abenteuer-Sets</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='traumzeit.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"traumzeit.html\")'><nobr>Traumzeit</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='edition-troll.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"edition-troll.html\")'><nobr>Edition Troll</nobr></a></td></tr>"
linkArray[7]+="<tr><td><a class=\"menu\" href='illimas.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"illimas.html\")'><nobr>Illimas</nobr></a></td></tr>"
linkArray[9]="<tr><td><a class=\"menu\" href='drache.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"drache.html\")'><nobr>Drache</nobr></a></td></tr>"
linkArray[9]+="<tr><td><a class=\"menu\" href='dragon.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"dragon.html\")'><nobr>Dragon</nobr></a></td></tr>"
linkArray[9]+="<tr><td><a class=\"menu\" href='envoyer.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"envoyer.html\")'><nobr>Envoyer</nobr></a></td></tr>"
linkArray[9]+="<tr><td><a class=\"menu\" href='sonstige.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"sonstige.html\")'><nobr>Sonstige</nobr></a></td></tr>"
linkArray[10]="<tr><td><a class=\"menu\" href='buch-dd-abenteuer-ohne-ende.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-dd-abenteuer-ohne-ende.html\")'><nobr>D&D Abenteuer ohne Ende</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='buch-uebersicht-vergessene-reiche.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-uebersicht-vergessene-reiche.html\")'><nobr>Vergessene Reiche</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='buch-uebersicht-drachenlanze.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-uebersicht-drachenlanze.html\")'><nobr>Drachenlanze</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='buch-uebersicht-ravenloft.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-uebersicht-ravenloft.html\")'><nobr>Ravenloft</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='buch-uebersicht-dark-sun.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-uebersicht-dark-sun.html\")'><nobr>Dark Sun</nobr></a></td></tr>"
linkArray[10]+="<tr><td><a class=\"menu\" href='buch-uebersicht-eberron.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"buch-uebersicht-eberron.html\")'><nobr>Eberron</nobr></a></td></tr>"
linkArray[11]="<tr><td><a class=\"menu\" href='comics-uebersicht-vergessene-reiche.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"comics-uebersicht-vergessene-reiche.html\")'><nobr>Vergessene Reiche</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='comics-uebersicht-drachenlanze.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"comics-uebersicht-drachenlanze.html\")'><nobr>Drachenlanze</nobr></a></td></tr>"
linkArray[11]+="<tr><td><a class=\"menu\" href='comics-uebersicht-allgemein.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"comics-uebersicht-allgemein.html\")'><nobr>Verschiedene</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-->
