/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()

menu1[0]='<a href="http://www.badgertoyotalift.com/company/about.asp?page=ABT&amp;p=1">About Badger ToyotaLift</a>'
menu1[1]='<a href="http://www.liftow.com/company/about.asp?page=ABT&amp;p=1" target="_blank">About Liftow Ltd.</a>'
menu1[2]='<a href="http://www.lifttemp.com" target="_blank">Job Placement Services</a>'
menu1[3]='<a href="http://www.lifttraining.com" target="_blank">Training Services</a>'
menu1[4]='<a href="http://www.badgertoyotalift.com/company/careers.asp?page=CAR&amp;p=5">Career Opportunities</a>'

var menu2=new Array()

menu2[0]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_1.asp?page=TOY1&amp;p=1">IC Cushion Tire</a>'
menu2[1]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_2.asp?page=TOY2&amp;p=2">IC Pneumatic Tire</a>'
menu2[2]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_3.asp?page=TOY3&amp;p=3">Electric Motor Rider</a>'
menu2[3]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_4.asp?page=TOY4&amp;p=4">Electric Pallet Trucks</a>'
menu2[4]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_5.asp?page=TOY5&amp;p=5">Reach &amp; Order Pickers</a>'
menu2[5]='<a href="http://www.badgertoyotalift.com/toyota/toyota_cat_6.asp?page=TOY6&amp;p=6">Hand Pallet Trucks</a>'

var menu3=new Array()

menu3[0]='<a href="http://www.badgertoyotalift.com/toyota/index.asp">New Forklift Equipment</a>'
menu3[1]='<a href="http://www.badgertoyotalift.com/equipment/used_forklift_equipment.asp?page=UST&amp;p=2">Used Forklift Equipment</a>'
menu3[2]='<a href="http://www.badgertoyotalift.com/equipment/forklift_rentals.asp?page=RNT&amp;p=3">Forklift Rentals</a>'
menu3[3]='<a href="http://www.badgertoyotalift.com/equipment/other_forklift_equipment.asp?page=OTH&amp;p=4">Other Equipment</a>'
menu3[4]='<a href="http://www.badgertoyotalift.com/equipment/bigjoe.asp?page=BIG&amp;p=5">Big Joe &reg; Forklifts</a>'

var menu4=new Array()

menu4[0]='<a href="http://www.badgertoyotalift.com/service/planned_maintenance.asp?page=PMA&amp;p=1">PM Services</a>'
menu4[1]='<a href="http://www.badgertoyotalift.com/service/safety_inspections.asp?page=SAF&amp;p=2">Safety Inspections</a>'
menu4[2]='<a href="http://www.badgertoyotalift.com/service/service.asp?page=SER&amp;p=3">Service</a>'
menu4[3]='<a href="http://www.badgertoyotalift.com/service/parts.asp?page=PAR&amp;p=4">Parts</a>'
menu4[4]='<a href="http://www.badgertoyotalift.com/tires">Tires</a>'

var menu5=new Array()
menu5[0]='<a href="http://www.badgertoyotalift.com/materialhandling/racking.asp?page=RAC&amp;p=1">Racking</a>'
menu5[1]='<a href="http://www.badgertoyotalift.com/materialhandling/cranes.asp?page=CRA&amp;p=2">Cranes</a>'
menu5[2]='<a href="http://www.badgertoyotalift.com/materialhandling/conveyors.asp?page=CONV&amp;p=3">Conveyors</a>'
menu5[3]='<a href="http://www.badgertoyotalift.com/materialhandling/inplant_equipment.asp?page=INP&amp;p=4">Inplant Equipment</a>'
menu5[4]='<a href="http://www.badgertoyotalift.com/materialhandling/racking_repair_equipment.asp?page=RAR&amp;p=5">Racking Repair Solutions</a>'

var menu6=new Array()
menu6[0]='<a href="http://www.badgertoyotalift.com/catalog/battery_safety/prodList.asp?pl=BTRY&cat=Forklift-Battery-Safety">Battery Safety</a>'
menu6[1]='<a href="http://www.badgertoyotalift.com/catalog/dock_equipment/prodList.asp?pl=DOCK&cat=Dock-Equipment">Dock Equipment</a>'
menu6[2]='<a href="http://www.badgertoyotalift.com/catalog/drum_handling/prodList.asp?pl=DRUM&cat=Drum-Handling">Drum Handling</a>'
menu6[3]='<a href="http://www.badgertoyotalift.com/catalog/ergonomics/prodList.asp?pl=ERGO&cat=Lift-Truck-Ergonomics">Lift Truck Ergonomics</a>'
menu6[4]='<a href="http://www.badgertoyotalift.com/catalog/facility_protection/prodList.asp?pl=WARE&cat=Facility-Product-Protection">Facility &amp; Product Protection</a>'
menu6[5]='<a href="http://www.badgertoyotalift.com/catalog/fall_protection/prodList.asp?pl=FALL&cat=Fall-Protection">Fall Protection</a>'
menu6[6]='<a href="http://www.badgertoyotalift.com/catalog/forklift_attachments/prodList.asp?pl=ATTA&cat=Forklift-Attachments">Forklift Attachments</a>'
menu6[7]='<a href="http://www.badgertoyotalift.com/catalog/forklift_safety/prodList.asp?pl=SAFE&cat=Forklift-Safety">Forklift Safety</a>'
menu6[8]='<a href="http://www.badgertoyotalift.com/catalog/forklift_scales/prodList.asp?pl=SCAL&cat=Forklift-Scales">Forklift Scales</a>'
menu6[9]='<a href="http://www.badgertoyotalift.com/catalog/lifting_booms/prodList.asp?pl=BOOM&cat=Lift-Truck-Lifting-Booms">Lifting Booms</a>'
menu6[10]='<a href="http://www.badgertoyotalift.com/catalog/material_handling/prodList.asp?pl=MATE&cat=Material-Handling">Material Handling</a>'
menu6[11]='<a href="http://www.badgertoyotalift.com/catalog/propane_safety/prodList.asp?pl=PROP&cat=Propane-Safety">Propane Safety</a>'
menu6[12]='<a href="http://www.badgertoyotalift.com/catalog/videos_training_materials/prodList.asp?pl=VIDE&cat=Forklift-Videos-Training-Materials">Videos &amp; Training Aids</a>'
		
var menuwidth='135px' //default menu width
var menubgcolor='#ECECEC'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

	
	
//-->
