fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=250;
_subOffsetTop=0;
_subOffsetLeft=0;


horizontalMenuDelay="1";


with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="72%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="18_blank.gif";
imagepadding=3;
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FFEE00";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.5)";
overfilter="Fade(duration=0.1);Alpha(opacity=80);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#CFE2D1";
pagecolor="#000066";
pageimage="db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
subimage="black_13x13_greyboxed.gif";
valign="middle";
menubgcolor="#F5F5F5";
}

with(horizStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Trebuchet MS, tahoma";
fontsize="72%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
offbgcolor="#71828a";
offcolor="#FFCC00";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="on_downboxed.gif";
overbgimage="backon_beige.gif";
padding=3;
pagebgcolor="#FFCC00";
pagecolor="#000066";
separatoralign="right";
separatorcolor="#999999";
separatorwidth="85%";
subimage="downboxed.gif";
}

with(milonic=new menuname("Sample Main Menu")){
alwaysvisible=1;
margin=2;
orientation="horizontal";
screenposition="center";
style=horizStyle;
top=5;
divides=1;
aI("text=Home;title=Back to Home Page;url=index.htm;");
aI("showmenu=sample about;text=About Newby;");
aI("showmenu=sample facilities;text=Facilities;");
aI("showmenu=sample other;text=Other Services;");
aI("text=Online Quote;url=quote.htm");
aI("text=Site Map;url=sitemap.htm;");
aI("text=Contact Us;url=contact.htm;");
}

with(milonic=new menuname("sample about")){
margin=3;
style=vertStyle;
top="offset=2";
divides=2;
aI("image=home.bmp;text=About Newby Group;url=about.htm;");
aI("image=18_where.gif;showmenu=sample visiting;text=Visit Newby;url=visit.htm;");
aI("text=Useful Links;url=links.htm;");
aI("text=Latest News;url=news.htm;");
aI("text=Contact Us;url=contact.htm;");
aI("image=people.bmp;text=Staff at Newby;url=staff.htm;");
}

with(milonic=new menuname("sample visiting")){
margin=3;
style=vertStyle;
top="offset=2";
aI("image=18_where.gif;text=Maps;url=map.htm;");
aI("separatorsize=1;text=Hotel List;url=hotel.htm;");
aI("text=Travelling by Air;url=air.htm;");
aI("separatorsize=1;text=Travelling by Train;url=train.htm;");
}

with(milonic=new menuname("sample facilities")){
margin=3;
style=vertStyle;
top="offset=2";
aI("separatorsize=1;text=Facilities Overview;url=facilities.htm;");
aI("text=Shell Moulding;url=newshell.htm;");
aI("separatorsize=1;text=Vacuum Backed Shell Moulding;url=newvac.htm;");
aI("text=Greensand Casting;url=pedsand.htm;");
aI("separatorsize=1;text=Lost Wax / Investment Casting;url=http://www.wjhooker.co.uk;");
aI("text=Equipment;url=equipment.htm;");
aI("text=Materials;url=materials.htm;");
}


with(milonic=new menuname("sample tour")){
margin=3;
style=vertStyle;
top="offset=2";
divides=4;
aI("separatorsize=1;text=Tour Overview;url=tour.htm;");
aI("text=Offices;url=toffice.htm;");
aI("text=Pattern Shop;url=tpattern.htm;");
aI("text=Shell Moulding;url=tshell.htm;");
aI("text=Core Shop;url=tcore.htm;");
aI("text=Melting;url=tmelt.htm;");
aI("text=Casting Line;url=tcast.htm;");
aI("text=Shotblasting;url=tshot.htm;");
aI("text=Dressing and Fettling;url=tdress.htm;");
aI("text=Vacuum Backed Plant;url=tvac.htm;");
aI("text=Pedley Foundry;url=tped.htm;");
aI("text=Quality Dept;url=tquality.htm;");
}


with(milonic=new menuname("sample studies")){
margin=3;
style=vertStyle;
top="offset=2";
divides=3;
aI("separatorsize=1;text=Overview;url=studies.htm;");
aI("text=Conventional Shell;url=cshell.htm;");
aI("text=Vacuum Backed Shell;url=cvac.htm;");
aI("text=Investment Casting;url=cinvest.htm;");
aI("text=Global Sourcing;url=csource.htm;");
aI("text=Rapid Casting;url=crcast.htm;");
aI("text=One Off Casting;url=coneoff.htm;");
}


with(milonic=new menuname("sample other")){
margin=3;
style=vertStyle;
top="offset=2";
aI("separatorsize=1;text=Services Overview;url=other.htm;");
aI("text=CAD Design;url=cad.htm;");
aI("text=Rapid Prototyping;url=http://www.newbyrapidcast.co.uk;");
aI("text=Finishing;url=finishing.htm;");
aI("text=Global Sourcing;url=sourcing.htm;");
}

drawMenus();

