function InitOTMenu() { //step one - is this browser OK for our menu? // TO DO - add real browser detection here. if ( blnUseDropDown ) { TOP_BAR_COLOR = "transparent" // The top level navigational bar color. TOP_BAR_COLOR_OVER = "#4575B5" // The top level bar color, when mouse is over it. TOP_TEXT_COLOR = "#4575B5" // The top level bar text color. TOP_TEXT_COLOR_OVER = "#ffffff" // The top level bar text color, when mouse is over it. MENU_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU_BACKCOLOR = "#0073ae" // The background color of the menu. //MENU_BACKCOLOR_OVER = "transparent" // What color should the background be when mouse is over it. MENU_BACKCOLOR_OVER = "#162B46" MENU2_TEXT_COLOR = "#ffffff" // Menu text when not MouseOver MENU2_TEXT_COLOR_OVER = "white" // Menu text when MouseOver MENU2_BACKCOLOR = "#0073ae" // The background color of the menu. MENU2_BACKCOLOR_OVER = "#162B46" // What color should the background be when mouse is over it. document.write(''); otmenu = new makeCM("otmenu"); otmenu.frames = 1; //Menu properties otmenu.pxBetween=0; left = 1; intFromTop = 101; otmenu.fromLeft=left; otmenu.fromTop=intFromTop; otmenu.fromRight=120; otmenu.rows=1 ; otmenu.menuPlacement="center"; otmenu.checkselect=1; //otmenu.offlineRoot="http://127.0.0.1/emis/"; //otmenu.onlineRoot="http://127.0.0.1/emis/"; otmenu.offlineRoot="http://www.emis.co.za/"; otmenu.onlineRoot="http://www.emis.co.za/"; otmenu.resizeCheck = 1; otmenu.wait=500; otmenu.zIndex=1; //Background bar properties otmenu.useBar=0; otmenu.barWidth="100%"; otmenu.barHeight="menu"; otmenu.barClass="clBar"; otmenu.barX=0; otmenu.barY=0; otmenu.barBorderX=0; otmenu.barBorderY=0; otmenu.barBorderClass=""; //Level properties - ALL properties have to be spesified in level 0 otmenu.level[0]=new cm_makeLevel(); //Add this for each new level otmenu.level[0].width=60; otmenu.level[0].height=26; otmenu.level[0].regClass="clLevel0"; otmenu.level[0].overClass="clLevel0over"; otmenu.level[0].borderX=0; otmenu.level[0].borderY=0; otmenu.level[0].borderClass="clLevel0border"; otmenu.level[0].offsetX=0; otmenu.level[0].offsetY=0; otmenu.level[0].rows=0; otmenu.level[0].arrow=0; otmenu.level[0].arrowWidth=0; otmenu.level[0].arrowHeight=0; otmenu.level[0].align="bottom"; //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this otmenu.level[1]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[1].borderClass="clLevel1border"; otmenu.level[1].arrow = "images/mnuarrow.gif"; otmenu.level[1].arrowWidth = 7; otmenu.level[1].arrowHeight = 7 ; otmenu.level[1].width=otmenu.level[0].width + 90; otmenu.level[1].height=20; otmenu.level[1].regClass="clLevel1"; otmenu.level[1].overClass="clLevel1over"; otmenu.level[1].borderX=1; otmenu.level[1].borderY=1; otmenu.level[1].align="right"; otmenu.level[1].offsetX=-(otmenu.level[0].width)/2+30; otmenu.level[1].offsetY=0; //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this otmenu.level[2]=new cm_makeLevel(); //Add this for each new level (adding one to the number) otmenu.level[2].width=140; otmenu.level[2].height=20; otmenu.level[2].offsetX=0; otmenu.level[2].offsetY=0; otmenu.level[2].borderX=1; otmenu.level[2].borderY=1; otmenu.level[2].regClass="clLevel2"; otmenu.level[2].overClass="clLevel2over"; otmenu.level[2].borderClass="clLevel2border"; // BEGIN HOME // format makeMenu(name,parent,txt,lnk,targ,w,h,img1,img2,cl,cl2,align,rows,nolink,onclick,onmouseover,onmouseout) otmenu.makeMenu('itemHome','','Homepage','default.htm','_top','80','','','','','',''); // END Company // BEGIN Emis // format makeMenu(name,parent,txt,lnk,targ,w,h,img1,img2,cl,cl2,align,rows,nolink,onclick,onmouseover,onmouseout) otmenu.makeMenu('itemEmis','','Products','Emis','Emis\Default.htm','80','','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('itememi1','itemEmis','Explosion Protected','','','182','','','','','',''); otmenu.makeMenu('itememi1a','itememi1','Flameproof Information','','','195','','','','','',''); otmenu.makeMenu('itememi1a1','itememi1a','EMIS permit','Emis/EM_permit.htm', '', '200','','','','','',''); otmenu.makeMenu('itememi1a2','itememi1a','Hazardous Area / Zone Information','Emis/em_hazardousarea.htm','','200','','','','','',''); otmenu.makeMenu('itememi1a3','itememi1a','Hazardous Gas & Vapour GroupClassification','Emis/em_gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h','itememi1','Switch-Gear (Mining)','','','195','','','','','',''); //otmenu.makeMenu('itememi1h1','itememi1h','Switch-gear Trailers','Emis/permit.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h2','itememi1h','Conveyor Starters','Emis/hazardousarea.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h3','itememi1h','Conveyor Signalling','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h4','itememi1h','Intertrunks','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h5','itememi1h','Blanking Plates','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h6','itememi1h','Test Plugs','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h7','itememi1h','Glands (JM)','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h8','itememi1h','Glands (CCG)','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h9','itememi1h','Victor Sockets','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h10','itememi1h','Proof Sockets','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h11','itememi1h','Pilot Relays','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h12','itememi1h','Bramco Module','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h13','itememi1h','AP500','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h14','itememi1h','Pro-2K','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1h15','itememi1h','Machine Starters','Emis/gasvapour.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1g','itememi1','Switch-Gear (Petrochem/Surface)','','','195','','','','','',''); //otmenu.makeMenu('itememi1g1','itememi1g','Distribution Boards','Emis/permit.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1g2','itememi1g','FLP Hoists','Emis/hazardousarea.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1g3','itememi1g','Custom Electrical Panels','Emis/gasvapour.htm','','200','','','','','',''); otmenu.makeMenu('itememi1b','itememi1','Control Stations','','','195','','','','','',''); otmenu.makeMenu('itememi1b1','itememi1b','Isolators','Emis/EM_Isolators.htm','','200','','','','','',''); otmenu.makeMenu('itememi1b2','itememi1b','Stop/Start & Emergency Stop','Emis/EM_StopStartStations.htm','','200','','','','','',''); otmenu.makeMenu('itememi1b3','itememi1b','Key Switches','Emis/EM_KeySwitchesLockout.htm','','200','','','','','',''); otmenu.makeMenu('itememi1b4','itememi1b','Indicators','Emis/EM_Indicators.htm','','200','','','','','',''); otmenu.makeMenu('itememi1k','itememi1','Starters','','','195','','','','','',''); otmenu.makeMenu('itememi1k1','itememi1k','Direct-on-line','Emis/EM_StartersOnline.htm','','200','','','','','',''); otmenu.makeMenu('itememi1k2','itememi1k','Star Delta','Emis/EM_StartersStarDelta.htm','','200','','','','','',''); otmenu.makeMenu('itememi1c','itememi1','Audible, Visual & Lighting','','','195','','','','','',''); otmenu.makeMenu('itememi1c1','itememi1c','Sirens & Flashers','Emis/EM_AudibleVisualLight.htm','','200','','','','','',''); otmenu.makeMenu('itememi1c2','itememi1c','Lighting','Emis/EM_Lighting.htm','','200','','','','','',''); otmenu.makeMenu('itememi1d','itememi1','Vehicle Audible, Visual & Lighting','','','195','','','','','',''); otmenu.makeMenu('itememi1d1','itememi1d','Sirens, Flashers & Lights','Emis/EM_AudibleVisualVeh.htm','','200','','','','','',''); otmenu.makeMenu('itememi1d2','itememi1d','Keyswitches', 'Emis/EM_KeySwitches.htm','','200','','','','','',''); otmenu.makeMenu('itememi1e','itememi1','Transducers','','','195','','','','','',''); otmenu.makeMenu('itememi1e1','itememi1e','Limit Switches','Emis/EM_LimitSwitches.htm','','200','','','','','',''); otmenu.makeMenu('itememi1e2','itememi1e','Pressure Switches','Emis/EM_PressureSwitches.htm','','200','','','','','',''); otmenu.makeMenu('itememi1e3','itememi1e','Flow Switches','Emis/EM_FlowSwitches.htm','','200','','','','','',''); otmenu.makeMenu('itememi1e4','itememi1e','Level Switches','Emis/EM_LevelSwitches.htm','','200','','','','','',''); otmenu.makeMenu('itememi1f','itememi1','Accessories','','','195','','','','','',''); otmenu.makeMenu('itememi1f1','itememi1f','Glands, Blanking Plugs & Reducers','Emis/EM_GlandsBlankingPlugs.htm','','200','','','','','',''); otmenu.makeMenu('itememi1f2','itememi1f','Pushbuttons', 'Emis/EM_AccPushButtons.htm','','200','','','','','',''); //otmenu.makeMenu('itememi1i','itememi1','Empty Enclosures','','','195','','','','','',''); //otmenu.makeMenu('itememi1i1','itememi1i','List of Empty Enclosures','Emis/permit.htm','','200','','','','','',''); otmenu.makeMenu('itememi1j','itememi1','Emergency Stop Equipment','','','195','','','','','',''); otmenu.makeMenu('itememi1j1','itememi1j','FLP E/Stop','Emis/EM_FlipEStop.htm','','200','','','','','',''); otmenu.makeMenu('itememi1j2','itememi1j','Controller & Pull Keys','Emis/EM_ConveyEstop.htm','','200','','','','','',''); otmenu.makeMenu('itememi1j3','itememi1j','Conveyor Accessories','Emis/EM_ConveyAcces.htm','','200','','','','','',''); otmenu.makeMenu('itememi2','itemEmis','Conveyor Control/Protection','','','182','','','','','',''); otmenu.makeMenu('itememi2a','itememi2','Emergency Stop Systems','Emis/EM_ConveyEstopSystems.htm','','220','','','','','',''); otmenu.makeMenu('itememi2e','itememi2','Emergency Stop Accessories','Emis/EM_ConveyAccessNonFLP.htm','','220','','','','','',''); otmenu.makeMenu('itememi2h','itememi2','VSD & Soft-starter Equipment','Emis/EM_VsdSoftStarters.htm','','220','','','','','',''); otmenu.makeMenu('itememi2c','itememi2','Protection Devices / Material Handling','Emis/EM_ConveyorProtection.htm','','220','','','','','',''); otmenu.makeMenu('itememi2b','itememi2','Custom Designed Panels','Emis/EM_StarterPanels.htm','','220','','','','','',''); otmenu.makeMenu('itememi2d','itememi2','Dust Suppression Systems','Emis/EM_DustSuppression.htm','','220','','','','','',''); //otmenu.makeMenu('itememi2f','itememi2','Winch Tension Equipment','','','220','','','','','',''); //otmenu.makeMenu('itememi2g','itememi2','Telephone Accessories','Emis/EM_TelephoneAccessories.htm','','220','','','','','',''); otmenu.makeMenu('itememiLig','itemEmis','Lighting','','','182','','','','','',''); otmenu.makeMenu('itememiLiga','itememiLig','Lighting','Emis/EM_LightingAccessories.htm','','220','','','','','',''); otmenu.makeMenu('itememiLigb','itememiLig','Stope Lights','Emis/EM_StopeLights.htm','','220','','','','','',''); otmenu.makeMenu('itememiLigc','itememiLig','Vehicle Warning Lights','Emis/EM_AudibleVisualVehNonFLP.htm','','220','','','','','',''); otmenu.makeMenu('itememiLigd','itememiLig','Accessories','Emis/EM_LightingAccessoriesNonFlp.htm','','220','','','','','',''); //otmenu.makeMenu('itememiLige','itememiLig','Accessories','Emis/EM_ConveyAccessNonFLP.htm','','220','','','','','',''); //otmenu.makeMenu('itememiLigf','itememiLig','Winch Tension Equipment','','','220','','','','','',''); //otmenu.makeMenu('itememiLigf','itememiLig','Telephone Accessories','Emis/EM_TelephoneAccessories.htm','','220','','','','','',''); otmenu.makeMenu('itememi3','itemEmis','Electrical/Related Components','','','182','','','','','',''); otmenu.makeMenu('itememi3a','itememi3','Component Catalog','components/default.htm','','120','','','','','',''); //otmenu.makeMenu('itememi3a1','itememi3a','A - E','','','60','','','','','',''); //otmenu.makeMenu('itememi3a1a','itememi3a1','Alarms','components/145.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a1b','itememi3a1','Automation Products','components/2.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a1c','itememi3a1','Circuit Breakers, Fuse Gear & Isolators','components/61.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a1d','itememi3a1','Crane & Vehicle Controls','components/155.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a1e','itememi3a1','Electronics & Tools','components/234.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a1f','itememi3a1','Enclosures','components/176.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a2','itememi3a','F - J','','','60','','','','','',''); //otmenu.makeMenu('itememi3a2a','itememi3a2','Fans','components/224.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a2b','itememi3a2','Flameproof','components/153.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a2c','itememi3a2','Gewiss','components/185.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a2d','itememi3a2','Instruments','components/124.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a3','itememi3a','K - O','','','60','','','','','',''); //otmenu.makeMenu('itememi3a3a','itememi3a3','Level, Irrigation & Pump Products','components/24.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a3b','itememi3a3','Lighting','components/205.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a3c','itememi3a3','Limit Switches & Sensors','components/99.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a3d','itememi3a3','Motor Control','components/50.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4','itememi3a','P - T','','','60','','','','','',''); //otmenu.makeMenu('itememi3a4a','itememi3a4','Power Supplies & Transformers','components/35.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4b','itememi3a4','Pushbuttons, Pilot Lights','components/89.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4c','itememi3a4','Security','components/229.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4d','itememi3a4','Surge Protection, Appliance Control','components/82.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4e','itememi3a4','Temperature Controls','components/139.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4f','itememi3a4','Terminals','components/118.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a4g','itememi3a4','Tools & Test Instruments','components/158.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3a5','itememi3a','U - Z','','','60','','','','','',''); //otmenu.makeMenu('itememi3a5a1','itememi3a5','Wiring Accessories','components/168.htm','','200','','','','','',''); //otmenu.makeMenu('itememi3b','itememi3','Vacuum Contactors','','','120','','','','','',''); //otmenu.makeMenu('itememi3b1','itememi3b','Vacuum Contactors','','','120','','','','','',''); otmenu.makeMenu('itememi4','itemEmis','Protection/Automation Equipment','','','182','','','','','',''); otmenu.makeMenu('itememi4a','itememi4','Motor Protection Relays','Emis/EM_MotorControlProtectionMining.htm','','220','','','','','',''); //otmenu.makeMenu('itememi4b','itememi4','Bramco / Newelec','','','220','','','','','',''); //otmenu.makeMenu('itememi4c','itememi4','PLC Control, Automation & Instrumentation','','','220','','','','','',''); otmenu.makeMenu('itememi4d','itememi4','Test Equipment','Emis/EM_ElectronicTestLamps.htm','','220','','','','','',''); otmenu.makeMenu('itememi5','itemEmis','Heavy Duty Control Stations','','','182','','','','','',''); otmenu.makeMenu('itememi5a','itememi5','Control Stations','Emis/EM_HeavyDutyControlStations.htm','','220','','','','','',''); //otmenu.makeMenu('itememi5b','itememi5','Emergency Stop','','','220','','','','','',''); //otmenu.makeMenu('itememi5c','itememi5','Customised','','','220','','','','','',''); otmenu.makeMenu('itememi5d','itememi5','Key Switches','Emis/EM_HeavyDutyKeySwitch.htm','','220','','','','','',''); otmenu.makeMenu('itememiLu','itemEmis','Lubrication','','','182','','','','','',''); otmenu.makeMenu('itememiLua','itememiLu','Lubricators','Emis/EM_Lubricators.htm','','220','','','','','',''); } // END // BEGIN Company // format makeMenu(name,parent,txt,lnk,targ,w,h,img1,img2,cl,cl2,align,rows,nolink,onclick,onmouseover,onmouseout) otmenu.makeMenu('itemCompany','','Company','','','80','','','','','',''); if (mnuBrowserOK()) { otmenu.makeMenu('itememis1','itemCompany','About Us','Default.htm','','120','','','','','',''); otmenu.makeMenu('itememis2','itemCompany','Customers','Customers.htm','','120','','','','','',''); //otmenu.makeMenu('itememis3','itemCompany','Contact Us','Contacts.htm','','120','','','','','',''); } // END otmenu.makeMenu('itemContacts','','Contacts','Contacts.htm','','80','','','','','',''); otmenu.construct(); } else { document.write('using static menu'); } }