/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/
/*
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]='&nbsp;&nbsp;<a href="category.asp" alt="Work Shirts" class=subtab>Work Shirts</a> &#149; <a href="category.asp" alt="Polos" class=subtab>Polos</a> &#149; <a href="category.asp" alt="Pants & Jeans" class=subtab>Pants & Jeans</a> &#149; <a href="category.asp" alt="Shorts" class=subtab>Shorts</a> &#149; <a href="category.asp" alt="Coveralls & Overalls" class=subtab>Coveralls & Overalls</a> &#149; <a href="category.asp" alt="Lab Coats" class=subtab>Lab Coats</a>'
submenu[1]='&nbsp;&nbsp;<a href="category.asp" alt="Duck" class=subtab>Duck</a> &#149; <a href="category.asp" alt="Fleece & Flannel" class=subtab>Fleece & Flannel</a> &#149; <a href="category.asp" alt="Nylon & Twill" class=subtab>Nylon & Twill</a> &#149; <a href="category.asp" alt="Denim" class=subtab>Denim</a> &#149; <a href="category.asp" alt="Windshirts" class=subtab>Windshirts</a>'
submenu[2]='&nbsp;&nbsp;<a href="category.asp" alt="Denim & Chambray" class=subtab>Denim & Chambray</a> &#149; <a href="category.asp" alt="Oxford & Twill" class=subtab>Oxford & Twill</a> &#149; <a href="category.asp" alt="Polo Shirts" class=subtab>Polo Shirts</a>'
submenu[3]='&nbsp;&nbsp;<a href="category.asp" alt="Waist" class=subtab>Waist</a> &#149; <a href="category.asp" alt="Bistro & Bib" class=subtab>Bistro & Bib</a> &#149; <a href="category.asp" alt="Tunic & Vest" class=subtab>Tunic & Vest</a> &#149; <a href="category.asp" alt="Smocks" class=subtab>Smocks</a> &#149; <a href="category.asp" alt="Specialty" class=subtab>Specialty</a>'
submenu[4]='&nbsp;&nbsp;<a href="client.services.asp" alt="Client Services" class=subtab>Client Services</a> &#149; <a href="order.handling.asp" alt="Order Handling" class=subtab>Order Handling</a> &#149; <a href="order.tracking.asp" alt="Order Tracking" class=subtab>Order Tracking</a> &#149; <a href="sending.your.logo.asp" alt="Sending Us Your Logo" class=subtab>Sending Us Your Logo</a> &#149; <a href="logos.tips.asp" alt="Logo Tips" class=subtab>Logo Tips</a> &#149; <a href="request.a.quote.asp" alt="Request a Custom Quote" class=subtab>Request a Custom Quote</a> &#149; <a href="quantity.discounts.asp" alt="Quantity Discounts" class=subtab>Quantity Discounts</a>'
*/
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////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;
}


