<!-- 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[2]="<tr><td><a class=\"menu\" href='avatar.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"avatar.html\")'><nobr>Avatar - Das Spiel</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='enslaved.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"enslaved.html\")'><nobr>Enslaved - Odyssey to the West</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='majin.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"majin.html\")'><nobr>Majin and the Forsaken Kingdom</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='minininjas.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"minininjas.html\")'><nobr>Mini Ninjas</nobr></a></td></tr>"
linkArray[2]+="<tr><td><a class=\"menu\" href='sacred2.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"sacred2.html\")'><nobr>Sacred 2 - Fallen Angel</nobr></a></td></tr>"
linkArray[4]="<tr><td><a class=\"menu\" href='jak1.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"jak1.html\")'><nobr>Jak 1 Energiezellenliste</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='jak2komplettloesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"jak2komplettloesung.html\")'><nobr>Jak 2 Komplettlösung</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='jak2orbliste.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"jak2orbliste.html\")'><nobr>Jak 2 Orbliste</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='jak3komplettloesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"jak3komplettloesung.html\")'><nobr>Jak 3 komplettlösung</nobr></a></td></tr>"
linkArray[4]+="<tr><td><a class=\"menu\" href='jakxonline.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"jakxonline.html\")'><nobr>Jak X online</nobr></a></td></tr>"
linkArray[5]="<tr><td><a class=\"menu\" href='stilpunkte.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"stilpunkte.html\")'><nobr>Stilpunkte und Trophäen</nobr></a></td></tr>"
linkArray[5]+="<tr><td><a class=\"menu\" href='goldbolts.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"goldbolts.html\")'><nobr>Bolts</nobr></a></td></tr>"
linkArray[6]="<tr><td><a class=\"menu\" href='tipps-tricks-sly.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tipps-tricks-sly.html\")'><nobr>Tipps und Tricks</nobr></a></td></tr>"
linkArray[8]="<tr><td><a class=\"menu\" href='bgeloesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"bgeloesung.html\")'><nobr>Komplettlösung</nobr></a></td></tr>"
linkArray[9]="<tr><td><a class=\"menu\" href='tak1loesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tak1loesung.html\")'><nobr>Tak1 Komplettlösung</nobr></a></td></tr>"
linkArray[9]+="<tr><td><a class=\"menu\" href='tak2loesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"tak2loesung.html\")'><nobr>Tak2 Komplettlösung</nobr></a></td></tr>"
linkArray[10]="<tr><td><a class=\"menu\" href='kyaloesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"kyaloesung.html\")'><nobr>Komplettlösung</nobr></a></td></tr>"
linkArray[11]="<tr><td><a class=\"menu\" href='kayloesung.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"kayloesung.html\")'><nobr>Komplettlösung</nobr></a></td></tr>"
linkArray[13]="<tr><td><a class=\"menu\" href='pitfall-tipps.html' onMouseOver='clearTimeout(timerID)' onMouseOut='viewIt()' onMouseDown='surfto(\"pitfall-tipps.html\")'><nobr>Tipps und Tricks</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-->

