var submenu=new Array() submenu[0]='
' submenu[1]=' ' submenu[2]=' ' submenu[3]=' ' submenu[4]=' ' submenu[5]=' ' submenu[6]=' ' submenu[7]=' ' submenu[8]=' ' submenu[9]=' ' var delay_hide=1000 var menuobj=document.getElementById? document.getElementById("subnav") : document.all? document.all.subnav : "" function show(which){ clear() 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("show(-1)",delay_hide) else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhide=setTimeout("show(-1)",delay_hide) } function clear(){ if (window.delayhide) clearTimeout(delayhide) } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; }