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


with(menuStyle=new mm_style()){
bordercolor="#FF0000";
borderstyle="none";
borderwidth=0;
fontfamily="arial, sans-serif";
fontsize="100%";
fontstyle="normal";
headerbgcolor="transparent";
headercolor="#FFFFFF";
offbgcolor="transparent";
offcolor="#FFFFFF";
onbgcolor="transparent";
oncolor="";
padding=8;
pagebgcolor="transparent";
pagecolor="#FFFFFF";
separatorcolor="#ffffff";
separatorsize=0;
subimage="/assets/i/spc.gif";
subimagepadding=5;
bgimage="";
overbgimage="";
pagebgimage="";
}

with(menuStyle2=new mm_style()){
bordercolor="#FFFFFF";
borderstyle="none";
borderwidth=1;
fontfamily="arial, sans-serif";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#FFFFFF";
headercolor="#FFFFFF";
offbgcolor="#979ba0";
offcolor="#FFFFFF";
onbgcolor="#731c08";
oncolor="#FFFFFF";
padding=5;
pagebgcolor="#731c08";
pagecolor="#FFFFFF";
separatorcolor="#ffffff";
separatorsize=1;
subimage="/assets/i/menu-arrow.gif";
subimagepadding=5;
}


with(milonic=new menuname("Main Menu")){
    style=menuStyle;
    top=0;
    left=0;
    padding=8;
    alwaysvisible=1;
    orientation="horizontal";
    position = "relative";

            aI("text=Home;url=index.php?identity=home;showmenu=home");
                aI("text=Company;showmenu=company");
                aI("text=Projects;showmenu=projects");
                aI("text=News;url=news.php?identity=news;showmenu=news");
                aI("text=Recruitment;showmenu=recruitment");
                aI("text=Contact;url=contact.php?identity=contact;showmenu=contact");
    }

with(milonic=new menuname("home")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	    	    	    	    	    	    	    	    	    	    	    }
with(milonic=new menuname("company")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    			aI("text=About McPhillips;url=page.php?identity=about-mcphillips");

			    			aI("text=Health & Safety;url=page.php?identity=health-and-safety");

			    			aI("text=Quality;url=page.php?identity=quality");

			    			aI("text=Sustainability & Environment;url=page.php?identity=sustainability");

			    			aI("text=Partnering;url=page.php?identity=partnering");

			    			aI("text=People;url=page.php?identity=people");

			    			aI("text=Values;url=page.php?identity=values");

			    			aI("text=Certifications & Awards;url=page.php?identity=accreditations");

			    			aI("text=Testimonials;url=page.php?identity=testimonials");

			    	    	    }
with(milonic=new menuname("projects")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	    	    	    	    	    	    	    	    	    	    	    }
with(milonic=new menuname("news")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	    	    	    	    	    	    	    	    	    	    	    }
with(milonic=new menuname("recruitment")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	    	    	    	    	    	    	    	    	    			aI("text=Apprentices;url=page.php?identity=apprentices");

			    			aI("text=Vacancies;url=page.php?identity=vacancies");

			    }
with(milonic=new menuname("contact")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	    	    	    	    	    	    	    	    	    	    	    }

with(milonic=new menuname("projects")){
    style=menuStyle2;
    itemwidth = 130;  
    padding=5;
    overflow='scroll';
    	aI("text=Roads & Sewers;url=projects.php?category_id=1");
    	aI("text=Highways & Structures;url=projects.php?category_id=2");
    	aI("text=Building;url=projects.php?category_id=3");
    	aI("text=Water Treatment;url=projects.php?category_id=5");
    	aI("text=Demolition & Reclamation;url=projects.php?category_id=4");
    	aI("text=Other Projects;url=projects.php?category_id=6");
    }













