fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=10000000;
_menuOpenDelay=150;
_subOffsetTop=7;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
fontfamily="Verdana";
fontsize="10px";
fontweight="bold";
offcolor="#ffffff";
oncolor="#4D9DE6";
rawcss="padding-top:12px;padding-bottom:2px; padding-left:0px; padding-right:2px; margin-top:20px; text-transform:uppercase;";
}

with(submenuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana";
fontsize="10px";
fontweight="bold";
/*headercolor="#000000";
offbgcolor="#BFC0C0";*/
offcolor="#ffffff";
/*onbgcolor="#BFC0C0";*/
oncolor="#4D9DE6";
rawcss="padding-top:12px;padding-bottom:2px; padding-left:5px; padding-right:5px; margin-left:20px; text-transform:uppercase;";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
itemwidth=218;
orientation="vertical";
style=menuStyle;
aI("align=right;itemheight=37;showmenu=Design;text=Design;");
aI("align=right;itemheight=37;showmenu=CPM;text=Construction &amp; Project Management;");
aI("align=right;itemheight=37;showmenu=CP;text=Componentry &amp; Prefabrication;");
aI("align=right;itemheight=37;showmenu=PP;text=Prepared Plans;");
aI("align=right;itemheight=37;text=How to Get Started;url=http://www.wholetreesarchitecture.com/HowToGetStarted.html;");
aI("align=right;itemheight=37;text=Learn More About Roald Gundersen;url=http://www.wholetreesarchitecture.com/RoaldGundersen.html;");
}


with(milonic=new menuname("Design")){
orientation="horizontal";
style=submenuStyle;
aI("align=center;text=Site Visit<br>;url=http://www.wholetreesarchitecture.com/SiteVisit.html;");
aI("align=center;text=<br>Phase 1: Programming &amp; <br>Schematic Design;url=http://www.wholetreesarchitecture.com/Phase1.html;");
aI("align=center;text=<br>Phase 2: Design <br>Development;url=http://www.wholetreesarchitecture.com/Phase2.html;");
aI("align=center;text=<br>Phase 3: Construction<br> Documents;url=http://www.wholetreesarchitecture.com/Phase3.html;");
aI("align=center;text=Fundraising Activities<br>;url=http://www.wholetreesarchitecture.com/Fundraising.html;");
}

with(milonic=new menuname("CPM")){
orientation="horizontal";
style=submenuStyle;
aI("align=center;text=<br>Construction Management;url=http://www.wholetreesarchitecture.com/ConstructionManagement.html;");
aI("align=center;text=<br>Full or Partial Construction;url=http://www.wholetreesarchitecture.com/Full_PartialConstruction.html;");
}

with(milonic=new menuname("CP")){
orientation="horizontal";
style=submenuStyle;
aI("align=center;text=Structural Timber Frame<br>;url=http://www.wholetreesarchitecture.com/TimberFrame.html;");
aI("align=center;text=Staircases &amp; Railings;url=http://www.wholetreesarchitecture.com/Staircases_Railings.html;");
aI("align=center;text=Eco-kit Homes<br>;url=http://www.wholetreesarchitecture.com/Eco-kitHomes.html;");
aI("align=center;text=<br>Attached Solar<br> Greenhouses;url=http://www.wholetreesarchitecture.com/AttachedSolar.html;");
aI("align=center;text=<br>Free-Standing Solar<br> Greenhouses;url=http://www.wholetreesarchitecture.com/Free-StandingSolar.html;");
}

with(milonic=new menuname("PP")){
orientation="horizontal";
style=submenuStyle;
aI("text=<br>Attached Solar Greenhouse;url=http://www.wholetreesarchitecture.com/AttachedSolar_prepared.html;");
aI("text=<br>Free-Standing Solar Greenhouse;url=http://www.wholetreesarchitecture.com/Free-StandingSolar_prepared.html;");
aI("text=<br>Passive Solar Homes;url=http://www.wholetreesarchitecture.com/PassiveSolar_prepared.html;");
}

with(milonic=new menuname("MyMilonic")){
orientation="horizontal";
style=submenuStyle;
aI("align=center;text=Login;url=http://www.milonic.com/login.php;");
aI("align=center;text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("align=center;text=Invoices;url=http://www.milonic.com/myinvoices.php;");
aI("align=center;text=Request Support;url=http://www.milonic.com/reqsupport.php;");
aI("align=center;text=View Support;url=http://www.milonic.com/mysupport.php;");
aI("align=center;text=Your Details;url=http://www.milonic.com/mydetails.php;");
}

drawMenus();

