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="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Arial, Tahoma";
fontsize="10.5pt";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#333333";
onbgcolor="#ffffff";
oncolor="#333333";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#ffffff";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
}

with(menuStyle2=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial, Tahoma";
fontsize="7.5pt";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#cccccc";
offcolor="#333333";
onbgcolor="#999999";
oncolor="#003399";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#cccccc";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition="center";
orientation="horizontal";
style=menuStyle;
aI("text=&nbsp;&nbsp;&nbsp;home&nbsp;&nbsp;&nbsp;url=index.htm;");
aI("showmenu=products;text=&nbsp;&nbsp;&nbsp;products&nbsp;&nbsp;&nbsp;");
aI("showmenu=support;text=&nbsp;&nbsp;&nbsp;support&nbsp;&nbsp;&nbsp;");
aI("showmenu=dealers;text=&nbsp;&nbsp;&nbsp;dealers&nbsp;&nbsp;&nbsp;");
aI("text=&nbsp;&nbsp;&nbsp;specials&nbsp;&nbsp;&nbsp;url=feb06specials.htm;");
aI("text=&nbsp;&nbsp;&nbsp;financing&nbsp;&nbsp;&nbsp;url=http://www.machinetoolcapital.com;");
aI("showmenu=edmcenter;text=&nbsp;&nbsp;&nbsp;EDM center&nbsp;&nbsp;&nbsp;");
aI("showmenu=news;text=&nbsp;&nbsp;&nbsp;news&nbsp;&nbsp;&nbsp;");
aI("text=&nbsp;&nbsp;&nbsp;contact us&nbsp;&nbsp;&nbsp;url=contact.htm;");
}

with(milonic=new menuname("products")){
overflow="scroll";
style=menuStyle2;
aI("showmenu=wire;text=Wire EDM;")
aI("text=CNC Sinker EDM;url=cncsinker.htm;")
aI("showmenu=small;text=Small Hole EDM;")
}

with(milonic=new menuname("wire")){
style=menuStyle2;
aI("text=AX Series;url=ax_main.htm;");
aI("text=SP Series;url=sp_main.htm;");
aI("text=AUi Series;url=auia_main.htm;");
}

with(milonic=new menuname("small")){
style=menuStyle2;
aI("text=CNC Small Hole EDM;url=cncsmallhole.htm;");
aI("text=Manual Small Hole EDM;url=manualsmallhole.htm;");
}

with(milonic=new menuname("support")){
style=menuStyle2;
aI("text=Service;url=mailto:dflint@accutexedm.com;");
aI("text=Applications;url=mailto:dflint@accutexedm.com;");
aI("text=Spare Parts;url=mailto:dflint@accutexedm.com;");
aI("text=Consumables;url=mailto:dflint@accutexedm.com;");
aI("text=Training;url=http://www.gostech.net/;");
}

with(milonic=new menuname("dealers")){
style=menuStyle2;
aI("text=US Dealers;url=usdealers.htm;");
aI("text=Canadian Dealers;url=canadiandealers.htm;");
}

with(milonic=new menuname("edmcenter")){
style=menuStyle2;
aI("text=Literature Request;url=literature.htm;");
aI("text=Testimonials;url=testimonials.htm;");
}

with(milonic=new menuname("news")){
style=menuStyle2;
aI("text=Press Releases;url=pressreleases.htm;");
aI("text=Events;url=events.htm;");
aI("text=Tool Shows;url=toolshows.htm;");
}

drawMenus();

