var submenu=new Array()
 
submenu[0]='<a href="index.php?site=news">News</a>  |  <a href="index.php?site=news&action=archive">News Archive</a>  |  </a> <a href="index.php?site=calendar">Kalendar</a>  |  </a> <a href="index.php?site=guestbook">Guestbook</a>'
submenu[1]='<a href="index.php?site=squads">Member</a>  |  <a href="index.php?site=files">Downloads</a>  |  <a href="index.php?site=gallery">Gallery</a>  |  <a href="index.php?site=faq">FAQ</a>'
submenu[2]='<a href="index.php?site=forum">Forum</a>  |  <a href="index.php?site=ts">TS Viewer</a>  |  <a href="index.php?site=polls">Polls</a>  |  <a href="index.php?site=whoisonline">Who is online?</a>  |  <a href="index.php?site=linkus">Link Us</a>'
submenu[3]='<a href="index.php?site=server">Servers</a>'
submenu[4]='<a href="index.php?site=clanwars">Wars</a>  |  <a href="index.php?site=challenge">Fight us</a>'
submenu[5]='<a href="index.php?site=contact">Contact</a> | <a href="index.php?site=imprint">Imprint</a>  |  <a href="index.php?site=joinus">Join us</a>  |  <a href="index.php?site=counter_stats">Page Statistic</a>'
var delay_hide=5000


var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}


function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

