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=5;
_subOffsetLeft=-3;




with(menuStyle=new mm_style()){
//bordercolor="red"; //#3f627b
borderstyle="solid";
//borderwidth=1;
fontfamily="Trebuchet MS,Tahoma,Verdana,Geneva,Luxi Sans,URW Gothic,Helvetica,sans-serif";
fontsize="88%";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#e70e3c";
headercolor="#3f627b";
offbgcolor="#EF0B31"; //MW red
offcolor="#ffffff";
onbgcolor="#EF0B31"; //MW red
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);)";
padding=0;
//pagebgcolor="#82B6D7";
//pagecolor="black";
separatorcolor="white";
separatorsize=1;
//subimage="/arrowDown.png";
//onsubimage="/arrowOpen.png";
//subimagepadding=0;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition="center;top";
top="offset=150";
left="offset=+88";
orientation="horizontal";
style=menuStyle;
margin=2;
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;");
aI("text=&nbsp;&nbsp;CLAD-WOOD&nbsp;&nbsp;;showmenu=Clad;");
aI("text=&nbsp;&nbsp;WOOD&nbsp;&nbsp;;showmenu=Wood;");
aI("text=&nbsp;&nbsp;VINYL&nbsp;&nbsp;;showmenu=Vinyl;");
aI("text=&nbsp;&nbsp;IMPACT&nbsp;&nbsp;;url=/vinyl/impact/impact.asp;showmenu=Impact;");
aI("text=&nbsp;&nbsp;SASH&nbsp;REPLACEMENT&nbsp;SYSTEM&nbsp;&nbsp;;showmenu=SRS;");
aI("text=&nbsp;&nbsp;SEARCH&nbsp;&nbsp;;url=/SiteSearch.asp;;");
aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;");
}

with(SubmenuStyle=new mm_style()){
bordercolor="black";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana,Trebuchet MS,Geneva,Tahoma,Luxi Sans,URW Gothic,Helvetica,sans-serif";
fontsize="75%";
fontstyle="normal";
fontweight="600";
headerbgcolor="#888a8b";
headercolor="#ffffff";
offbgcolor="#585858"; //light grey
offcolor="#ffffff";
onbgcolor="#191919"; //dark grey
oncolor="#EF0B31"; //MW red
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
//pagebgcolor="#82B6D7";
//pagecolor="black";
separatorcolor="#3f4040";
separatorsize=0;
//subimage="/arrowRoff.png";
//onsubimage="/arrowRon.png";
subimagepadding=0;
}

with(milonic=new menuname("Vinyl")){
overflow="scroll";
style=SubmenuStyle;
aI("text=CLASSIC Series;url=/vinyl/classic/classic.asp;showmenu=classic;");
aI("text=TwinSeal Series;url=/vinyl/twinseal/twinseal.asp;showmenu=twinseal;");
}

with(milonic=new menuname("classic")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Single Hung;url=/vinyl/classic/cl-sh.asp;");
aI("text=Single Hung Operating Shapes;url=/vinyl/classic/cl-sh-opshapes.asp;");
aI("text=Double Hung;url=/vinyl/classic/cl-dh.asp;");
aI("text=Casement & Awning;url=/vinyl/classic/cl-casement.asp;");
aI("text=Sliding Window;url=/vinyl/classic/cl-sl.asp;");
aI("text=Sliding Patio Door;url=/vinyl/classic/cl-spd.asp;");
aI("text=Product Literature;url=/lit/lit.asp#classic;");
}

with(milonic=new menuname("twinseal")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Single Hung;url=/vinyl/twinseal/ts-sh.asp;");
aI("text=Double Hung;url=/vinyl/twinseal/ts-dh.asp;");
aI("text=Sliding Window;url=/vinyl/twinseal/ts-sl.asp;");
aI("text=Sliding Patio Door;url=/vinyl/twinseal/ts-spd.asp;");
aI("text=Product Literature;url=/lit/lit.asp#twinseal;");
}

with(milonic=new menuname("Clad")){
overflow="scroll";
style=SubmenuStyle;
aI("text=MIRA Premium Aluminum Clad-Wood;;showmenu=MIRA;");
aI("text=MIRA Microsite;url=/mira/;");
aI("text=FREEDOM Vinyl Clad-Wood;;showmenu=Freedom;");
}

with(milonic=new menuname("MIRA")){
overflow="scroll";
style=SubmenuStyle;
aI("text=MIRA Double Hung;url=/clad/mira/mdh.asp;");
aI("text=MIRA Casement & Awning;url=/clad/mira/mca.asp;");
aI("text=MIRA Special Shapes;url=/clad/mira/mshapes.asp;");
aI("text=MIRA Patio Door;url=/clad/mira/mpd.asp;");
aI("text=MIRA Product Literature;url=/lit/lit.asp#mira;");
}

with(milonic=new menuname("Freedom")){
overflow="scroll";
style=SubmenuStyle;
aI("text=FREEDOM 800 Series;url=/clad/freedom/fr800.asp;showmenu=fr800;");
aI("text=FREEDOM 600 Series;url=/clad/freedom/fr600.asp;showmenu=fr600;");
aI("text=FREEDOM Patio Doors;url=/clad/freedom/fr-pd.asp;showmenu=frpd;");
}

with(milonic=new menuname("fr800")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/clad/freedom/fr8-dh.asp;");
aI("text=Casement & Awning;url=/clad/freedom/fr8-casement.asp;");
}

with(milonic=new menuname("fr600")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/clad/freedom/fr6-dh.asp;");
//aI("text=Casement & Awning;url=/clad/freedom/fr600-casement.asp;");
}

with(milonic=new menuname("frpd")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Sliding Patio Door;url=/clad/freedom/fr-spd.asp;");
aI("text=French Sliding Patio Door;url=/clad/freedom/fr-fspd.asp;");
aI("text=Center Hinged Patio Door;url=/clad/freedom/fr-chpd.asp;");
aI("text=French Center Hinged Patio Door;url=/clad/freedom/fr-fchpd.asp;");
aI("text=Product Literature;url=/lit/lit.asp#freedom;");
}

with(milonic=new menuname("Wood")){
overflow="scroll";
style=SubmenuStyle;
aI("text=JEFFERSON 400 Series;url=/wood/jefferson/jf400.asp;showmenu=jf400;");
aI("text=JEFFERSON 300 Series;url=/wood/jefferson/jf300.asp;showmenu=jf300;");
aI("text=JEFFERSON 200 Series;url=/wood/jefferson/jf200.asp;showmenu=jf200;");
aI("text=JEFFERSON 100 Series;url=/wood/jefferson/jf100.asp;showmenu=jf100;");
aI("text=JEFFERSON Patio Doors;url=/wood/jefferson/jf-pd.asp;showmenu=jfpd;");
}

with(milonic=new menuname("jf400")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/wood/jefferson/jf4-dh.asp;");
aI("text=Product Literature;url=/lit/lit.asp#jefferson;");
}

with(milonic=new menuname("jf300")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/wood/jefferson/jf3-dh.asp;");
aI("text=Product Literature;url=/lit/lit.asp#jefferson;");
}

with(milonic=new menuname("jf200")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/wood/jefferson/jf2-dh.asp;");
aI("text=Casement & Awning;url=/wood/jefferson/jf2-casement.asp;");
aI("text=Product Literature;url=/lit/lit.asp#jefferson;");
}

with(milonic=new menuname("jf100")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Double Hung;url=/wood/jefferson/jf1-dh.asp;");
aI("text=Casement & Awning;url=/wood/jefferson/jf1-casement.asp;");
aI("text=Product Literature;url=/lit/lit.asp#jefferson;");
}

with(milonic=new menuname("jfpd")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Sliding Patio Door;url=/wood/jefferson/jf-spd.asp;");
aI("text=French Sliding Patio Door;url=/wood/jefferson/jf-fspd.asp;");
aI("text=Center Hinged Patio Door;url=/wood/jefferson/jf-chpd.asp;");
aI("text=Product Literature;url=/lit/lit.asp#jefferson;");
}


with(milonic=new menuname("Impact")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Single Hung;url=/vinyl/impact/im-sh.asp;");
aI("text=Casement;url=/vinyl/impact/im-casement.asp;");
aI("text=Sliding Patio Door;url=/vinyl/impact/im-spd.asp;");
aI("text=Test Video;url=/vinyl/impact/ImpactGlassTest.asp;");
aI("text=Product Literature;url=/lit/lit.asp#impact;");
}

with(milonic=new menuname("SRS")){
overflow="scroll";
style=SubmenuStyle;
aI("text=Vinyl Sash for Sash Replacement System;url=/srs/vinyl/index.html;target=srs;");
aI("text=Clad-Wood Sash for Sash Replacement System;url=/srs/clad/index.html;target=srs;");
aI("text=Wood Sash for Sash Replacement System;url=/srs/wood/index.html;target=srs;");
aI("text=Product Literature;url=/lit/lit.asp#srs;");
}

drawMenus();

