fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=50;
_subOffsetTop=0;
_subOffsetLeft=-1;


with(menuStyle=new mm_style()){
bordercolor="#003366";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#D6E6F3";
offcolor="#000000";
onbgcolor="#2B628E";
oncolor="#FFFFFF";
align="left";
//outfilter="GradientWipe(GradientSize=0.50,wipestyle=1,motion=reverse);  ";
//outfilter="blendTrans(duration=0.3)";
//overfilter="GradientWipe(GradientSize=0.50,wipestyle=1,motion=forward);Alpha(opacity=85);Shadow(color=#777777', Direction=135, Strength=0)";
padding=5;
pagebgcolor="#cccccc";
pagecolor="black";
separatorcolor="#003366";
separatorsize=1;
subimage="images/red-arrow.png";
subimagepadding=5;
}

with(MainmenuStyle=new mm_style()){
bordercolor="#CCCCCC";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#666666";
oncolor="#ffffff";
outfilter="Fade(duration=0.3);  ";
//outfilter="blendTrans(duration=0.3)";
overfilter="Fade(duration=0.3)";
padding=0;
pagebgcolor="#cccccc";
pagecolor="black";
separatorcolor="#cccccc";
separatorsize=0;
subimage="";
subimagepadding=5;
}


with(milonic=new menuname("Main Menu")){
// ===== script to detect screen resolution and assige left, top values
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=MainmenuStyle;
//top=55;
aI("image=images/menu_r1_c1.jpg;overimage=images/menuover_r1_c1.jpg;showmenu=index;url=index.html;");
aI("image=images/menu_r1_c2.jpg;overimage=images/menuover_r1_c2.jpg;showmenu=aboutus;url=html/about-us.html;");
aI("image=images/menu_r1_c3.jpg;overimage=images/menuover_r1_c3.jpg;showmenu=projects;url=html/projects.html;");
aI("image=images/menu_r1_c4.jpg;overimage=images/menuover_r1_c4.jpg;showmenu=upcoming;url=html/upcoming-projects.html;");
aI("image=images/menu_r1_c5.jpg;overimage=images/menuover_r1_c5.jpg;showmenu=resourses;url=html/resources.html;");
aI("image=images/menu_r1_c6.jpg;overimage=images/menuover_r1_c6.jpg;showmenu=faqs;url=html/faqs.html;");
aI("image=images/menu_r1_c7.jpg;overimage=images/menuover_r1_c7.jpg;showmenu=contactus;url=html/contact-us.html;");
aI("image=images/menu_r1_c8.jpg;overimage=images/menuover_r1_c8.jpg;showmenu=feedback;url=html/feedback-general.html;");
aI("image=images/menu_r1_c9.jpg;overimage=images/menuover_r1_c9.jpg;showmenu=testimonials;url=html/testimonials.html;");
}

with(milonic=new menuname("projects")){
style=menuStyle;
aI("text=Residential Projects;url=html/residential-properties.html;");
aI("text=Commercial Projects;url=html/commercial-properties.html;");
aI("text=Completed Projects;url=html/completed-projects.html;");
}

drawMenus();

