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()){
fontfamily="Arial, Helvetica, sans-serif";
fontsize="0.8em";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
itemwidth=175;
offbgcolor="#585858";
offcolor="#FFFFFF";
onbgcolor="#000000";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100)";
separatorcolor="#000000";
separatorsize=1;
subimage="arrow.gif";
subimagepadding=2;
rawcss="padding:5px 15px 5px 30px;"
}

with(milonic=new menuname("Rooms")){
style=menuStyle;
aI("text=gym;url=rooms_smart_technology/gym.htm;")
aI("text=nursery / playroom;url=rooms_smart_technology/nursery_or_playroom.htm;")
aI("text=dining room;url=rooms_smart_technology/dining_room.htm;")
aI("text=master bedroom suite;url=rooms_smart_technology/master_bedroom_suite.htm;")
aI("text=garden / terrace;url=rooms_smart_technology/garden_or_terrace.htm;")
aI("text=security;url=rooms_smart_technology/security.htm;")
}

with(milonic=new menuname("Products")){
style=menuStyle;
aI("text=Ingenium;url=products_home_automation/ingenium.htm;");
aI("text=Control4;url=products_home_automation/control4.htm;");
aI("text=Siedle;url=products_home_automation/siedle.htm;");
aI("text=ekey;url=products_home_automation/ekey.htm;");
aI("text=DITEC;url=products_home_automation/ditec.htm;");
aI("text=AMX and Crestron;url=products_home_automation/amx_and_creston.htm;");
aI("text=Kaleidescape;url=http://www.kaleidescape.com/products;target=_blank;");

}

with(milonic=new menuname("help")){
style=menuStyle;
aI("text=lighting;url=in_my_home/lighting.htm;");
aI("text=climate control;url=in_my_home/climate.htm;");
aI("text=home entertainment;url=in_my_home/entertainment.htm;");
aI("text=telecommunications;url=in_my_home/telecommunications.htm;");
aI("text=entry security;url=in_my_home/entry.htm;");
aI("text=custom furnishings;url=in_my_home/custom.htm;");
}

drawMenus();

