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=0;
_subOffsetLeft=0;


with(menuStyle=new mm_style()){
fontfamily="arial, helvetica, san serif";
fontsize="12";
fontstyle="normal";
fontweight="bold";
offbgcolor="#38a9a0";
offcolor="#ffffff";
onbgcolor="#38a9a0";
oncolor="#ceebea";
padding=0;
separatorcolor="#38a9a0";
separatorsize=10;
separatorpadding=27;
//openonclick="true";
}

with(menuStyle2=new mm_style()){
fontfamily="arial, helvetica, san serif";
fontsize="10";
fontstyle="normal";
fontweight="bold";
offbgcolor="#ebebeb";
offcolor="#74645E"; 
onbgcolor="#ffffff";
oncolor="#38a9a0";
padding=0;
separatorcolor="#ffffff";
separatorsize=1;
separatorpadding=7;
//openonclick=true;
}

with(menuStyleDropdown=new mm_style()){
fontfamily="arial, helvetica, san serif";
fontsize="12";
fontstyle="normal";
fontweight="bold";
offbgcolor="#38a9a0";
offcolor="#ffffff";
onbgcolor="#ceebea";
oncolor="#333333";
overfilter="Fade(duration=0.2);Alpha(opacity=95)";
padding=3;
separatorcolor="#ffffff";
separatorsize=1;
separatorpadding=1;
align="left";
subimage="/eandm/scripts/arrowRight.gif";
subimagepadding="2";
}

with(milonic=new menuname("products")){
style=menuStyleDropdown;
top="offset=5";
//aI("text=ABB Controls;url=/eandm/products/abb/abb.asp;");
aI("text=AUTEM;url=/eandm/products/AUTEM/;");
aI("text=Balluff;url=http://www.balluff.com/Balluff/us/HomeChannel/;target=_blank;");
aI("text=Bel Enclosures;url=/eandm/products/bel.asp;");
aI("text=Grace;url=/eandm/products/grace/;");
aI("text=Longwatch;url=/eandm/products/longwatch.asp;");
aI("text=P+F;url=/eandm/products/pf.asp;");
aI("text=Red Lion;url=/eandm/products/redlion/redlion.asp;");
aI("text=Roxtec;url=/eandm/products/roxtec.asp;");
aI("text=Satel-West;url=/eandm/products/satel.asp;");
aI("text=Satie;url=/eandm/products/satie.asp;");
aI("text=SICK;url=/eandm/products/sick.asp;");
aI("text=SIE;url=/eandm/products/sie.asp;");
aI("text=Siemens;url=/eandm/products/siemens/default.asp;");
aI("text=Strongarm;url=/eandm/products/strongarm.asp;");
aI("text=Tapeswitch;url=/eandm/products/tapeswitch.asp;");
aI("text=Transfab;url=/eandm/products/transfab.asp;");
aI("text=Wieland;url=/eandm/products/wieland.asp;");
//aI("text=Wonderware;url=http://www.norcal.wonderware.com;target=_blank;");
aI("text=Woodhead;url=/eandm/products/woodhead.asp");
aI("text=Yamatake;url=/eandm/products/yamatake.asp;");
}

with(milonic=new menuname("solutions")){
style=menuStyleDropdown;
top="offset=5";
aI("text=OEM’s;url=/eandm/apps/oem.asp;");
aI("text=End Users;url=/eandm/apps/endusers.asp;");
aI("text=Municipal;url=/eandm/apps/municipal.asp;");
}

with (milonic = new menuname("buyonline")) {
    style = menuStyleDropdown;
    top = "offset=5";
    aI("text=Siemens S7-1200;url=/eandm/onlinestore/Default.aspx?selProductGroup=Siemens S7-1200;");
    aI("text=Wieland Power Supplies;url=/eandm/onlinestore/Default.aspx?selProductGroup=Wieland Power Supplies;");
}

with(milonic=new menuname("success")){
style=menuStyleDropdown;
top="offset=5";
aI("text=Success Stories;url=/eandm/successstories.asp;");
}

with(milonic=new menuname("aboutus")){
style=menuStyleDropdown;
top="offset=5";
aI("text=Who We Are - video;url=/eandm/images/corporate video.wmv");
aI("text=Our Values;url=/eandm/values.asp");
aI("text=Our Policies;url=/eandm/policies.asp");
aI("text=Join Our Mailing List;url=/eandm/join.asp");
//aI("text=Line Card;url=/eandm/forms/eandmlinecard.pdf");
}

//with(milonic=new menuname("whatsnew")){
//style=menuStyleDropdown;
//top="offset=5";
//aI("text=EPA selects Longwatch;url=/eandm/images/pdfs/EPASelectsLongwatch.pdf");
//aI("text=Siemens #1 in Control Readers Choice Support Awards;url=/eandm/products/siemens/pdfs/CONTROL_Readers_Choice_Award_Reprint.pdf");
//aI("text=Change Management Software for Siemens PLC’s;url=/eandm/products/siemens/pdfs/products_overview.pdf");
//aI("text=New class for electricians, maintenance staff and programmers;url=/eandm/classes/ModernControlSystems.asp");
//aI("text=On line classes from Circuit breakers to PLC’s;url=/eandm/training/siemenscourses.asp");
//aI("text=Darpa 2007 Challenge News;url=http://www.sick.com/gus/industry/industry_solutions/darpa/en.html");
//}

with (milonic = new menuname("whatsnew")) {
    style = menuStyleDropdown;
    top = "offset=5";
    aI("text=SICK Solutions Forum Oct. 21st!;url=/eandm/workshops/SICKSolutionsForum.asp");
    aI("text=EandM Ecommerce!;url=/eandm/whatsnew/EandMEcommerce.aspx");
    aI("text=Siemens Introduces the S7-1200 PLC;url=/eandm/products/siemens/siemenss71200.asp");
}

with(milonic=new menuname("careers")){
style=menuStyleDropdown;
top="offset=5";
aI("text=Overview;url=/eandm/careers.asp");
aI("text=EandM Positions;url=/eandm/careers.asp#positions");
aI("text=How To Apply;url=/eandm/careers.asp#apply");
}

with(milonic=new menuname("findus")){
style=menuStyleDropdown;
top="offset=5";
aI("text=Office Locations;url=/eandm/contactus.asp;");
aI("text=Technical Support;url=/eandm/contactus.asp#tech;");
aI("text=24-Hour Emergency;url=/eandm/contactus.asp#24;");
aI("text=Sales, Pricing, Quotes, Availability;url=/eandm/contactus.asp#sales;");
aI("text=Training Information;url=/eandm/contactus.asp#train;");
aI("text=Consulting Services;url=/eandm/contactus.asp#consult;");
aI("text=Website Comments;url=/eandm/contactus.asp#website;");
}

with(milonic=new menuname("videos")){
style=menuStyleDropdown;
top="offset=5";
aI("showmenu=autem;text=AUTEM;url=/eandm/videolist/autem.asp;");
aI("showmenu=balluff;text=Balluff;url=/eandm/videolist/balluff.asp;");
aI("showmenu=longwatch;text=Longwatch;url=/eandm/videolist/longwatch.asp;");
aI("showmenu=redlion;text=Red Lion;url=/eandm/videolist/redlion.asp;");
aI("showmenu=roxtec;text=Roxtec;url=/eandm/videolist/roxtec.asp;");
aI("showmenu=satelwest;text=Satel-West;url=/eandm/videolist/satelwest.asp;");
aI("showmenu=sick;text=SICK;url=/eandm/videolist/sick.asp;");
aI("showmenu=siemens;text=Siemens;url=/eandm/videolist/siemens.asp;");
aI("showmenu=training;text=Training;url=/eandm/videolist/training.asp;");
}

with(milonic=new menuname("autem")){
style=menuStyleDropdown;
top="offset=0";
aI("text=PLC Analyzer Pro 5;url=/eandm/videolist/autem.asp;");
}

with(milonic=new menuname("balluff")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Ethernet Diagnostics;url=/eandm/videolist/balluff.asp;");
aI("text=Ethernet Addressing;url=/eandm/videolist/balluff.asp#addressing;");
aI("text=SmartLevel Liquid Level Sensor;url=/eandm/videolist/balluff.asp#smartlevel;");
aI("text=RFID DataBolt;url=/eandm/videolist/balluff.asp#rfid;");
aI("text=Sharpshooter;url=/eandm/videolist/balluff.asp#sharpshooter;");
}

with(milonic=new menuname("redlion")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Crimson 2.0;url=/eandm/videolist/redlion.asp;");
}

with(milonic=new menuname("roxtec")){
style=menuStyleDropdown;
top="offset=0";
aI("text=EzEntry Cable Entry Seal;url=/eandm/videolist/roxtec.asp;");
}

with(milonic=new menuname("longwatch")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Tank Vandalism;url=/eandm/videolist/longwatch.asp;");
aI("text=Firearms At Tank Site;url=/eandm/videolist/longwatch.asp#firearms;");
}

with(milonic=new menuname("sick")){
style=menuStyleDropdown;
top="offset=0";
aI("text=SICK Vision Bread Dough Scoring;url=/eandm/videolist/sick.asp#robotics;");
aI("text=SICK Vision Fixtureless Robotic Workcell;url=/eandm/videolist/sick.asp#workcell;");
aI("text=SICK Vision Lumber;url=/eandm/videolist/sick.asp#lumber;");
aI("text=SICK Vision Cheese Pick and Place;url=/eandm/videolist/sick.asp#cheese;");
aI("text=SICK Vision Cheese Slicing;url=/eandm/videolist/sick.asp#slicing;");
aI("text=SICK Optical Dimensioning;url=/eandm/videolist/sick.asp#optical;");
aI("text=SICK Sensors in the DARPA Grand Challenge;url=/eandm/videolist/sick.asp#darpa;");
}

with(milonic=new menuname("siemens")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Siemens LOGO!;url=/eandm/videolist/siemens.asp;");
aI("text=Siemens S7-1200 Software;url=/eandm/videolist/siemens.asp#s71200soft;");
aI("text=Siemens S7-1200 Hardware;url=/eandm/videolist/siemens.asp#s71200hard;");
aI("text=Siemens S7-Simatic Software;url=/eandm/videolist/siemens.asp#s7simatic;");
}

with(milonic=new menuname("satelwest")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Wireless;url=/eandm/videolist/satelwest.asp;");
}

with(milonic=new menuname("training")){
style=menuStyleDropdown;
top="offset=0";
aI("text=Modern Control Systems;url=/eandm/videolist/training.asp;");
}
