var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]='<div class="dropdown"><a href="/benefits/overview.htm" class="dropdown">Overview</a> | <a href="/benefits/installation.htm" class="dropdown">Installation Contractors</a> | <a href="/benefits/rcddsystems.htm" class="dropdown">RCDD/System Designers</a> | <a href="/benefits/endusers.htm" class="dropdown">End Users/IT Managers</a> | <a href="/benefits/training.htm" class="dropdown">Training Centers</a> | <a href="/benefits/manufacturers.htm" class="dropdown">Manufacturers</a></div>'

submenu[1]='<div class="dropdown"><a href="/systems/installation.htm" class="dropdown">Beast CIS</a> | <a href="/systems/cablemanagement.htm" class="dropdown">Cable Management & Labeling</a> | <a href="/systems/wirewolf.htm" class="dropdown">Wirewolf Pathway Guide</a> | <a href="/systems/claw.htm" class="dropdown">Claw Anti-Twist & Tensile Pressure Equalizer</a></div>'

submenu[2]='<div class="dropdown"><a href="/education/overview.htm" class="dropdown">Overview</a> | <a href="/education/industry.htm" class="dropdown">Industry Standards</a> | <a href="/education/associations.htm" class="dropdown">Industry Associations</a> | <a href="/education/bcstraining.htm" class="dropdown">BCS Training</a> | <a href="/education/trainingfacilities.htm" class="dropdown">Training Facilities</a></div>'

submenu[3]='<div class="dropdown"><a href="/mediacenter/events.htm" class="dropdown">Events</a> | <a href="/mediacenter/documents.htm" class="dropdown">Documents</a> | <a href="/mediacenter/links.htm" class="dropdown">Industry Links</a> | <a href="/mediacenter/news.htm" class="dropdown">News & Press Releases</a> | <a href="/mediacenter/library.htm" class="dropdown">Image/Video Library</a></div>'

submenu[4]='<div class="dropdown"><a href="/products/pricelist.htm" class="dropdown">Price List</a> | <a href="/products/productlist.htm" class="dropdown">Product List</a></div>'


//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=3000000

/////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;
}
