// JavaScript Documentvar 
submenu=new Array()
submenu[0]='<div color:#0a96d1;  font-size:12px ;"><a href="http://www.armyops.eu/index.php?mod=news&amp;action=recent" target="_top" class="subnav"> <strong>News</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=gbook" target="_top" class="subnav">  <strong>G-Book</strong> &raquo; </a><a href="http://armyops.eu/forum1/" target="_top" class="subnav"> <strong>Forum</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=irc" target="_top" class="subnav"> <strong>IRC</strong> &raquo; </a></div>'

submenu[1]='<div color:#0a96d1;"><a href="http://www.armyops.eu/index.php?mod=history"> <strong>History</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=rules"> <strong>Rules</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=awards"> <strong>Awards</strong>&raquo;  &raquo; </a><a href="http://www.armyops.eu/index.php?mod=training"> <strong>Training/Wars</strong>&raquo; </a> <a href="http://www.armyops.eu/index.php?mod=wars"> <strong>Clanwars</strong>&raquo; </a><a href="http://www.armyops.eu/index.php?mod=medals&action=view"><strong>Orden/Meddalien</strong> &raquo;</a><a href="http://www.armyops.eu/index.php?mod=members"><strong> Member</strong> &raquo; </a></div>'

submenu[2]='<div color:#0a96d1;"><a href="http://www.armyops.eu/index.php?mod=ts2panel&amp;action=view&amp;ts2id=2"> <strong>TS Viewer</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=page&amp;action=view&amp;id=2"> <strong>Server Viewer</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=page&amp;action=view&amp;id=7"> <strong>PB Screens</strong> &raquo; </a><a href="http://tracker.armyops.eu"> <strong>Tracker</strong> &raquo; </a></div>'

submenu[3]='<div color:#0a96d1;"><a href="http://www.armyops.eu/index.php?mod=contact&amp;action=mail"> <strong>Mail Us</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=fightus&amp;action=new"> <strong>Fight Us</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=joinus&amp;action=new"> <strong>Join Us</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=page&amp;action=view&amp;id=1"> <strong>Imprint</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=clansphere&amp;action=about"> <strong>About</strong> &raquo; </a></div>'

submenu[4]='<div color:#0a96d1;"><a href="http://www.armyops.eu/index.php?mod=gallery"> <strong>Gallery</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=links"> <strong>Links</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=files"> <strong>Downloads</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=users"> <strong>Comunity</strong> &raquo; </a><a href="http://www.armyops.eu/index.php?mod=events"> <strong>Events</strong> &raquo; </a></div>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=2000

/////No need to edit beyond here

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;
}
