/*********************************************** * 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]='General Information' menu1[1]='History' menu1[2]='Branch' menu1[3]='Infra Group' //Contents for menu 2, and so on var menu2=new Array() menu2[0]='Gases' menu2[1]='Welding' menu2[2]='Medical' var menu3=new Array() menu3[0]='Distributers' menu3[1]='Clients' menu3[2]='Contacting people' var menu4=new Array() menu4[0]='Pure gases' menu4[1]='Welding gases' menu4[2]='Welding gases mixture' var menu5=new Array() menu5[0]='Pure gases' menu5[1]='Gases mixtures' menu5[2]='Environmental monitoring' menu5[3]='Medical mixtures' menu5[4]='Laser mixtures' menu5[5]='Chemical processes' menu5[6]='Food providings' menu5[7]='BIP gases' menu5[8]='Regulators and equipment' var menu6=new Array() menu6[0]='MSDS data sheet' menu6[1]='Safety gram sheet' menu6[2]='Safety rules' menu6[3]='Ident. cylinders and dewars' var menu7=new Array() menu7[0]='Electrodes' menu7[1]='Wires and rod' menu7[2]='Silver-tin welding' menu7[3]='Melting' var menu8=new Array() menu8[0]='Welding' menu8[1]='Power suppliers' menu8[2]='Generators' menu8[3]='Wired supplier' menu8[4]='Foot remote control' menu8[5]='Coolers' menu8[6]='Torches' menu8[7]='ABICUT torch supplies' menu8[8]='ABIMIG torch supplies' menu8[9]='TIG torches' var menu9=new Array() menu9[0]='Welding and cutting equipment' menu9[1]='Welding and cutting regulator equipment' menu9[2]='Flux meter regulators' menu9[3]='Cutting supplies and keys' menu9[4]='Cutting soldering pipe (with integrated check valves )' menu9[5]='Bushing' menu9[6]='Bushing tubs' menu9[7]='Manometer (2 1/2"). Regulators supplies' menu9[8]='Manometer (2")' menu9[9]='Several' menu9[10]='Valves' menu9[11]='Regulator joints' menu9[12]='Hose joints' var menu10=new Array() menu10[0]='Face covers' menu10[1]='Glasses' menu10[2]='Ear protectors' menu10[3]='Breathing protection' menu10[4]='Belts, vests and harness' menu10[5]='Safety gloves' menu10[6]='Electrodeholder' menu10[7]='tweezers, halfboots and ground tweezers' var menu11=new Array() menu11[0]='Saw' menu11[1]='Calcium carbure' menu11[2]='Supplies' menu11[3]='Accesorios para el soldador' menu11[4]='Angular mini-grinder 4 1/2"' menu11[5]='230 mm (9”) angular grinder' menu11[6]='Roughing discs' menu11[7]='Cross section discs' var menu12=new Array() menu12[0]='General' menu12[1]='Plantas' menu12[2]='Sucursales' menu12[3]='Oficinas' var menuwidth='165px' //default menu width var menubgcolor='#FFFFFF' //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('') 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)