
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=40;
_subOffsetTop=11;
_subOffsetLeft=-7;


with(style1=new mm_style()){
offcolor="#c30000";
offbgcolor="#808080";
oncolor="#ffffff";
onbgcolor="#c30000";
bordercolor="#c30000";
borderstyle="solid";
bordercolor="black";
borderwidth=1;
fontsize="12px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial";
padding=6;
subimage="/images/arrow2.gif";
low3dcolor="#31639c";
pagebgcolor="#808080";
headercolor = "#000000";
headerbgcolor = "#C1D7E4";
separatorcolor="#c30000";
overfilter="Fade(duration=0.2);Alpha(opacity=80);Shadow(color='#777777', Direction=135, Strength=5)";
//onclass="opaque";
//offclass="opaque";
//outfilter="Strips(motion='rightup', duration=0.3)";
//outfilter="Barn(orientation='vertical', motion='Out', duration=0.3)";
//outfilter="Fade(duration=0.3)";
//outfilter="Iris(irisstyle='Square', motion='In', duration=0.3);"
//outfilter="Blinds (direction='up', bands=1, duration=0.3);"
//outfilter="Randomdissolve(duration=0.3)";
outfilter="Pixelate(MaxSquare=20)";
//outfilter="Stretch(stretchstyle=HIDE)"; 
//outfilter="GradientWipe(GradientSize=0.25,wipestyle=1,motion=reverse)"; 
}

with(style2=new mm_style()){
offcolor="#ffffff";
offbgcolor="#003366";
oncolor="#ffffff";
onbgcolor="#003366";
bordercolor="#848484";
borderstyle="solid";
bordercolor="black";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
fontfamily="Georgia, Arial";
}

with(milonic=new menuname("mainmenu")){
top=117;
//use the line below if you have a careers section
//left="offset=112";
//use the line below if you have a gallery section
//left="offset=155";
left="offset=195";
screenposition="center";
style=style2;
alwaysvisible=1;
alignment="left";
orientation="horizontal";
//aI("image=/images/nav_left.jpg;imagewidth=164;imageheight=44;showmenu=donothing;pointer=default;")
aI("image=/images/nav_company.jpg;imagewidth=82;imageheight=44;showmenu=aboutus;overimage=/images/nav_company_over.jpg;pointer=default;")
aI(
"image=/images/nav_linecard.jpg;imagewidth=84;imageheight=44;url=/linecard/linecard.html;showmenu=linecard;overimage=/images/nav_linecard_over.jpg;offfunction=undefined;")
//aI("image=/images/nav_gallery.jpg;imagewidth=80;imageheight=44;showmenu=gallery;overimage=/images/nav_gallery_over.jpg;pointer=default;")
aI("image=/images/nav_energy.jpg;imagewidth=75;imageheight=44;showmenu=energy;overimage=/images/nav_energy_over.jpg;pointer=default;")
//aI(   "image=/images/nav_careers.jpg;imagewidth=83;imageheight=44;showmenu=careers;overimage=/images/nav_careers_over.jpg;pointer=default;")
aI(   "image=/images/nav_contact.jpg;imagewidth=104;imageheight=44;showmenu=contact;overimage=/images/nav_contact_over.jpg;pointer=default;")
aI("image=/images/nav_home.jpg;imagewidth=65;imageheight=44;url=/index.html;overimage=/images/nav_home_over.jpg;offfunction=undefined;")
//aI("image=/images/nav_news.jpg;imagewidth=51;imageheight=44;url=/news/news.html;overimage=/images/nav_news_over.jpg;offfunction=undefined;")
//aI("image=/images/nav_projects.jpg;imagewidth=84;imageheight=44;showmenu=projects;url=/markets/markets.html;overimage=/images/nav_projects_over.jpg;offfunction=undefined;")
}

with(milonic=new menuname("aboutus")){
itemwidth=127;
borderwidth=1;
style=style1;
alignment="left";
aI("text=About Us;url=/company/aboutus.html;;separatorsize=1")
aI("text=Mission Statement;url=/company/mission.html;;separatorsize=1")
aI("text=The Guarantee;url=/company/guarantee.html;;separatorsize=1")
aI("text=Giving Back;url=/company/giving.html;;separatorsize=1")
aI("text=Affiliations;url=/company/affiliations.html;;separatorsize=1")
//aI("text=Test Home;url=/test.html;;separatorsize=1")
}

with(milonic=new menuname("linecard")){
style=style1;
itemwidth=126;
borderwidth=1;
aI("text=Controls;url=/linecard/controls.html;;separatorsize=1")
aI("text=Decorative;url=/linecard/decorative.html;;separatorsize=1")
aI("text=Fluorescent;url=/linecard/fluorescent.html;;separatorsize=1")
aI("text=Industrial;url=/linecard/industrial.html;;separatorsize=1")
aI("text=Outdoor;url=/linecard/outdoor.html;;separatorsize=1")
aI("text=Pendants;url=/linecard/pendants.html;;separatorsize=1")
aI("text=Residential;url=/linecard/residential.html;;separatorsize=1")
aI("text=Solar;url=/linecard/solar.html;;separatorsize=1")
aI("text=Theater;url=/linecard/theater.html;;separatorsize=1")
aI("text=Track;url=/linecard/track.html;;separatorsize=1")
}

with(milonic=new menuname("gallery")){
style=style1;
aI("text=Education;url=/gallery/education.html;;separatorsize=1")
aI("text=Healthcare;url=/gallery/healthcare.html;;separatorsize=1")
aI("text=Main Street;url=/gallery/mainstreet.html;;separatorsize=1")
aI("text=Commercial;url=/gallery/commercial.html;;separatorsize=1")
aI("text=House of Worship;url=/gallery/house.html;;separatorsize=1")
}

with(milonic=new menuname("energy")){
style=style1;
aI("text=Payback Calculator;url=http://www.gelighting.com/apo/resources/online_tools/simple_payback.htm;target=_blank;separatorsize=1")
aI("text=Focus on Energy;url=/energy/focus.html;;separatorsize=1")
//aI("text=LED;url=/energy/led.html;;separatorsize=1")
}

with(milonic=new menuname("contact")){
style=style1;
aI("text=Locations;url=/contact/locations.html;;separatorsize=1")
aI("text=Design Assistance;url=/contact/design.html;;separatorsize=1")
}


with(milonic=new menuname("careers")){
itemwidth=126;
borderwidth=1;
style=style1;
alignment="left";
aI("text=Careers;url=/careers/careers.html;;separatorsize=1")
aI("text=Current Openings;url=/careers/openings.html;;separatorsize=1")
aI("text=Employee Benefits;url=/careers/benefits.html;;separatorsize=1")
}

drawMenus();
