fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(menuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial";
fontsize="11";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000"; //
offbgcolor="#000000"; //menu background off color
offcolor="#669999";  //menu font off color
onbgcolor="#333333"; //menu background on color
oncolor="#DDAA00"; //menu font on color
outfilter="fade(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=0)"; //menu shadow controls
padding=2;
pagebgcolor="#000000";  //colour of the box when on the selected page
pagecolor="#669999"; //colour of the menu text when on the selected page
separatorcolor="#000000";
separatorsize=0;
//subimage="arrow.gif";
subimagepadding=2;
}

with(submenuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="11";
fontweight="bold";
headerbgcolor="#000000";
headercolor="#ffffff";
offbgcolor="#000000"; //menu background off color
offcolor="#669999";  //menu font off color
onbgcolor="#333333"; //menu background on color
oncolor="#DDAA00"; //menu font on color
outfilter="fade(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#999999', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#DDAA00";
pagecolor="black";
separatorcolor="#999999";//lines between menu items
separatorsize=0;
subimage="/images/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
align="center"
alwaysvisible=1;
itemwidth=96
itemheight=20
left=173; //pixels from left side of window
orientation="horizontal";
style=menuStyle;
top=30; //pixels from top of window
aI("showmenu=Factory;status=Factory Automation;subimageposition=0;text=Factory<br>Automation;url=/automation/automation.asp;");
aI("showmenu=Contract;status=Contract Equipment Manufacturing;subimageposition=0;text=Contract<br>Equipment<br>Manufacturing;url=/automation/contractequipment/default.asp;");
aI("showmenu=Consulting;status=Consulting Services;subimageposition=0;text=Consulting <br> Services;url=/consulting-services/con_consulting-services.asp;");
aI("showmenu=Investors;status=Investors;subimageposition=0;text=Investors;url=/profile/investors/investors.asp;");
aI("showmenu=Profile;status=Profile;subimageposition=0;text=Profile;url=/profile/profile/profile.asp;");
aI("showmenu=Markets;status=Markets;subimageposition=0;text=Markets;url=/profile/markets/pro_markets.asp;");
aI("showmenu=Service;status=Service;subimageposition=0;text=Service;url=/profile/support/spareparts.asp;");
}

with(milonic=new menuname("Factory")){
style=submenuStyle;
aI("text=Factory Automation Overview;url=/automation/automation.asp;")
aI("text=Assembly;showmenu=Assembly;url=/automation/assembly/as_assembly.asp")
aI("text=Ultra-High Precision Automation;showmenu=Ultra;url=/automation/ultrahigh/uh_ultrahigh.asp")
aI("text=Machining;showmenu=Machining;url=/automation/machining/ma_machining.asp")
aI("text=Armature Winding;showmenu=Armature;url=/automation/armature-winding/ar_armature.asp")
aI("text=Automated Laser Processing Solutions;showmenu=laser;url=/automation/laser/la_laser.asp")
aI("text=Testing;showmenu=Test;url=/automation/testing/te_testing.asp")
aI("text=Automation Technology Products;showmenu=AutoTech;url=/automation/automationtech/st_standard.asp;")
}

with(milonic=new menuname("Assembly")){
overflow="scroll";
style=submenuStyle;
aI("text=Applications;url=/automation/assembly/as_applications.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Non-Synchronous;url=/automation/assembly/as_nonsync.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Synchronous;url=/automation/assembly/as_synch.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Flexible;url=/automation/assembly/as_flexible.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Lean Automation;url=/automation/assembly/as_lean.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Robot Integration;url=/automation/assembly/as_robot.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Machine Vision;url=/automation/assembly/as_vision.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Large-Scale Factory;url=/automation/assembly/as_largescale.asp;")
aI("text=Solutions;url=/automation/assembly/as_solutions.asp;")
}

with(milonic=new menuname("Ultra")){
overflow="scroll";
style=submenuStyle;
aI("text=Applications;url=/automation/ultrahigh/uh_applications.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Semiconductor;url=/automation/ultrahigh/uh_semicon.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Electronics;url=/automation/ultrahigh/uh_electronics.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Fiber Optics;url=/automation/ultrahigh/uh_fiberoptics.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Micro-Medical;url=/automation/ultrahigh/uh_medical.asp;")
aI("text=Solutions;url=/automation/ultrahigh/uh_solutions.asp;")
aI("text=&nbsp;&nbsp;&nbsp;ATS Assembly Platform;url=/automation/ultrahigh/uh_assplatform.asp;")
}

with(milonic=new menuname("Machining")){
overflow="scroll";
style=submenuStyle;
aI("text=CNC Metal Turning;url=/automation/machining/ma_turn6lc.asp;")
aI("text=CNC Rotary Dial;url=/automation/machining/ma_flexdials.asp;")
aI("text=Rotary Transfer;url=/automation/machining/ma_rotarytransfersystem.asp;")
aI("text=Turnkey Machining & Assembly;url=/automation/machining/ma_turnkey.asp;")
aI("text=Applications Case Stories;url=/automation/machining/ma_applications.asp;")
}

with(milonic=new menuname("Armature")){
overflow="scroll";
style=submenuStyle;
aI("text=Applications;url=/automation/armature-winding/ar_applications.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Armature & Stator;url=/automation/armature-winding/ar_armstator.asp;")
aI("text=Solutions;url=/automation/armature-winding/ar_solutions.asp;")
}

with(milonic=new menuname("Test")){
overflow="scroll";
style=submenuStyle;
aI("text=Applications;url=/automation/testing/te_applications.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Instrumentation;url=/automation/testing/te_instrumentation.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Software;url=/automation/testing/te_software.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Hardware;url=/automation/testing/te_hardware.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Fixturing;url=/automation/testing/te_fixturing.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Custom Urethane;url=/automation/testing/te_cusmolding.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Manufacturing Execution System;url=/automation/testing/te_mes.asp;")
aI("text=Solutions;url=/automation/testing/te_solutions.asp;")
aI("text=&nbsp;&nbsp;&nbsp;I/P Cockpit Test;url=/automation/testing/te_iptest.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Noise/Vib./Harshness Test;url=/automation/testing/te_noisetest.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Safety Critical Test;url=/automation/testing/te_safetytest.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Leak & Flow Test;url=/automation/testing/te_leaktest.asp;")
}

with(milonic=new menuname("Laser")){
overflow="scroll";
style=submenuStyle;
aI("text=Automated Laser Processing Solutions;url=/automation/laser/la_laser.asp;")
aI("text=High Precision Capability;url=/automation/laser/la_highprecision.asp;")
aI("text=Engineered Safety Solutions;url=/automation/laser/la_engineeredsafety.asp;")
aI("text=Prototyping & Proof of Principle Services;url=/automation/laser/la_prototyping.asp;")
}

with(milonic=new menuname("Autotech")){
overflow="scroll";
style=submenuStyle;
aI("text=FlexsysPAK™;url=/automation/automationtech/st_flexsyspak.asp;")
aI("text=Superbot™;url=/automation/automationtech/st_superbot.asp;")
aI("text=Supertrak™ Pallet Conveyor;url=/automation/automationtech/st_supertrak.asp;")
aI("text=SC44 Conveyor;url=/automation/automationtech/st_conveyor.asp;")
aI("text=Tray Handler;url=/automation/automationtech/st_trayhandler.asp;")
aI("text=Flexible Feeding System;url=/automation/automationtech/st_flexfeeder.asp;")
aI("text=Turn 6 LC™;url=/automation/machining/ma_turn6lc.asp;")
aI("text=Rotoper™;url=/automation/machining/ma_rotarytransfersystem.asp;")
aI("text=RotoFlex™;url=/automation/machining/ma_flexdials.asp;")
aI("text=Armature Winder;url=/automation/automationtech/st_armwinder.asp;")
aI("text=Flexsys™;url=/automation/automationtech/st_flexsys.asp;")
aI("text=MACS;url=/automation/automationtech/st_macs.asp;")
aI("text=SmartVision;url=/automation/automationtech/st_smartvision.asp;")
aI("text=Servochassis™;url=/automation/automationtech/st_servochass.asp;")
aI("text=ATS800 Clean Room Conveyor;url=/automation/automationtech/st_ats800.asp;")
aI("text=FlexTrolley™;url=/automation/automationtech/st_flextrolley.asp;")
aI("text=AmpuScan™;url=/automation/automationtech/st_ampuscan.asp;")
aI("text=Lyoscan™;url=/automation/automationtech/st_lyoscan.asp;")
}

with(milonic=new menuname("Contract")){
style=submenuStyle;
aI("text=Contract Equipment Manufacturing Overview;url=/automation/contractequipment/default.asp;")
aI("text=Core Competencies;url=/automation/contractequipment/rem_corecompentencies.asp;")
aI("text=Diverse Technical Knowledge;url=/automation/contractequipment/rem_diverseknowledge.asp;")
aI("text=Product Optimization & Design Services;url=/automation/contractequipment/rem_productdesign.asp;")
aI("text=Supply Chain Management;url=/automation/contractequipment/rem_supplychain.asp;")
aI("text=Project Management;url=/automation/contractequipment/rem_projectmanagement.asp;")
aI("text=Quality & Information Systems;url=/automation/contractequipment/rem_qualitysystems.asp;")
aI("text=Fulfillment & Support;url=/automation/contractequipment/rem_fulfillment.asp;")
}

with(milonic=new menuname("Consulting")){
style=submenuStyle;
aI("text=Consulting Services Overview;url=/consulting-services/con_consulting-services.asp;")
aI("text=ATS Compliant Solutions;url=/consulting-services/con_compliant-solutions.asp;")
aI("text=Factory Automation Solutions;url=/consulting-services/con_factory-automation-solutions.asp;")
}

with(milonic=new menuname("Solar")){
style=submenuStyle;
aI("text=Solar Technologies Overview;url=/solar_technologies/default.asp;")
aI("text=Photowatt website;url=http://www.photowatt.com/;target=_blank")
aI("text=Spheral Solar Power website;url=http://www.spheralsolar.com/;target=_blank")
}

with(milonic=new menuname("Investors")){
style=submenuStyle;
aI("text=Investors Overview;url=/profile/investors/investors.asp;")
aI("text=Current Trading Info;url=/profile/investors/tradeinfo.asp;")
aI("text=Annual Reports;url=/profile/investors/annual.asp;")
aI("text=IR Events;url=/profile/investors/irevents.asp;")
//aI("text=Financial Quick Facts;url=/profile/investors/quickfacts.asp;")
aI("text=Board of Directors;url=/profile/investors/directors.asp;")
//aI("text=Analyst Coverage;url=/profile/investors/analyst.asp;")
aI("text=SEDAR;url=http://www.sedar.com/DisplayProfile.do?lang=EN&issuerType=03&issuerNo=00002017;target=_blank")
}

with(milonic=new menuname("Profile")){
style=submenuStyle;
aI("text=Company Profile;showmenu=companyProfile;url=/profile/profile/profile.asp")
aI("text=News;showmenu=news;url=/profile/news/pr2011.asp")
aI("text=Worldwide Operations;showmenu=worldwideOperations;url=/profile/worldwide/worldwide.asp")
}

with(milonic=new menuname("companyProfile")){
style=submenuStyle;
aI("text=Mission Statement;url=/profile/profile/mission.asp;")
aI("text=Innovation/R&D;url=/profile/profile/innovation.asp;")
aI("text=Resources;url=/profile/profile/resources.asp;")
aI("text=Control Capabilities;url=/profile/profile/pr_control_capabilities.asp;")
aI("text=Awards;url=/profile/profile/awards.asp;")
aI("text=ISO Quality;url=/profile/profile/quality.asp;")
aI("text=Project Management;url=/profile/profile/projman.asp;")
aI("text=Professional Associations;url=/profile/profile/professional_associations.asp;")
aI("text=Klaus Woerner - Founder;url=/profile/news/founder.asp;")
}

with(milonic=new menuname("news")){
style=submenuStyle;
aI("text=Press Releases 2011;url=/profile/news/pr2011.asp;")
aI("text=Press Releases 2010;url=/profile/news/pr2010.asp;")
aI("text=Press Releases 2009;url=/profile/news/pr2009.asp;")
aI("text=Press Releases 2008;url=/profile/news/pr2008.asp;")
aI("text=Press Releases 2007;url=/profile/news/pr2007.asp;")
aI("text=Press Releases 2006;url=/profile/news/pr2006.asp;")
aI("text=Press Releases 2005;url=/profile/news/pr2005.asp;")
aI("text=Press Releases 2004;url=/profile/news/pr2004.asp;")
aI("text=Press Releases 2003;url=/profile/news/pr2003.asp;")
aI("text=Press Releases 2002;url=/profile/news/pr2002.asp;")
aI("text=Press Releases 2001;url=/profile/news/pr2001.asp;")
aI("text=Press Releases 2000;url=/profile/news/pr2000.asp;")
aI("text=Press Releases 1999;url=/profile/news/pr1999.asp;")
aI("text=Press Releases 1998;url=/profile/news/pr1998.asp;")
aI("text=ATS eNews Archive;url=/profile/news/enews-archive.asp;")
aI("text=Tradeshows;url=/profile/news/tradeshows.asp;")
aI("text=Technology Updates;url=/profile/news/techupdates.asp;")
aI("text=&nbsp;&nbsp;REFERENCE LIBRARY;type=header;")
aI("text=&nbsp;&nbsp;&nbsp;Corporate Literature;url=/profile/news/corpliterature.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Product Literature;url=/profile/news/prodliterature.asp;")
aI("text=&nbsp;&nbsp;&nbsp;Video Clips;url=/profile/news/videoclips.asp;")
}

with(milonic=new menuname("worldwideOperations")){
style=submenuStyle;
aI("text=North America;url=/profile/worldwide/pro_americas.asp;")
aI("text=Europe;url=/profile/worldwide/pro_europe.asp;")
aI("text=Asia;url=/profile/worldwide/pro_asia.asp;")
aI("text=Maps / Directions;url=/profile/worldwide/pro_maps.asp;")
}

with(milonic=new menuname("Markets")){
style=submenuStyle;
aI("text=Medical/Healthcare;url=/profile/markets/pro_medical.asp;")
aI("text=Consumer;url=/profile/markets/pro_consumer.asp;")
aI("text=Automotive;url=/profile/markets/pro_automotive.asp;")
aI("text=Telecommunications;url=/profile/markets/pro_telecom.asp;")
aI("text=Semiconductor/Computer;url=/profile/markets/pro_semicomp.asp;")
aI("text=Electrical;url=/profile/markets/pro_electrical.asp;")
aI("text=Pharmaceutical;url=/profile/markets/pro_pharmaceutical.asp;")
aI("text=Solar Energy;url=/profile/markets/pro_solarenergy.asp;")
}

with(milonic=new menuname("Service")){
style=submenuStyle;
aI("text=Service Overview;url=/profile/support/spareparts.asp;")
aI("text=Support;url=http://www.atsautomation.com/profile/support/support.asp;")
aI("text=Training;url=/profile/support/training.asp;")
aI("text=Warranty/Maintenance/Service Agreements;url=/profile/support/warranty.asp;")
aI("text=Technical Documents;url=/profile/support/techdocs.asp;")
aI("text=Frequently Asked Questions;url=/profile/support/faq.asp;")
}

drawMenus();


