fixMozillaZIndex=true;
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=-1;

with(menuStyle=new mm_style()){
bordercolor="#009933";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial Black, Verdana, Arial, Helvetica, sans-serif";
//fontsize="75%";
fontsize="11px";
fontstyle="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#009933";
offcolor="#ffffff";
onbgcolor="#006500";
//oncolor="#ffff00";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=1)";
padding=1;
//pagebgcolor="#65A765";
//pagecolor="#ffff00";
separatorcolor="#009933";
separatorsize=12;
//subimage="arrow.gif";
//subimagepadding=1;
}

with(menuStyle2=new mm_style()){
bordercolor="#009933";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial Black, Verdana, Arial, Helvetica, sans-serif";
fontsize="10px";
fontstyle="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#006500";
offcolor="#ffffff";
onbgcolor="#65A765";
//oncolor="#ffff00";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=2;
//pagebgcolor="#65A765";
//pagecolor="#ffff00";
separatorcolor="#999999";
separatorsize=1;
}

with(menu=new menuname("Main Menu")){
alwaysvisible=1;
left=findPosX(document.getElementById("MenuID"));
//left="123"
orientation="horizontal";
style=menuStyle;
top=findPosY(document.getElementById("MenuID"));
//top=89;
aI("showmenu=AboutUs;text=About Us;");
aI("showmenu=MarketSegment;text=Market Segment;");
aI("text=Technology;url=http://www.lightengine-tech.com/en/technology.asp;");
aI("showmenu=ManufacturingFacility;text=Manufacturing Facility;");
aI("text=Career;url=http://www.lightengine-tech.com/en/career.asp;");
aI("showmenu=WhatsNew;text=What's New;");
aI("showmenu=ContactUs;text=Contact Us;");
}

with(menu=new menuname("AboutUs")){
overflow="scroll";
style=menuStyle2;
aI("text=Background;itemwidth=135;url=http://www.lightengine-tech.com/en/background.asp;")
aI("text=VMV;url=http://www.lightengine-tech.com/en/vmv.asp;")
aI("text=Recognition;url=http://www.lightengine-tech.com/en/achievements.asp;")
}

with(menu=new menuname("MarketSegment")){
overflow="scroll";
style=menuStyle2;
aI("text=Product Highlight;itemwidth=135;url=http://www.lightengine-tech.com/en/producthighlight_detail.asp;")
aI("text=General Lighting;url=http://www.lightengine-tech.com/en/generallighting3.asp;")
aI("text=Signage;url=http://www.lightengine-tech.com/en/sign.asp;")
aI("text=Automotive;url=http://www.lightengine-tech.com/en/automotive.asp;")
aI("text=Light Module;url=http://www.lightengine-tech.com/en/lightmodules.asp;")
aI("text=Digital Display;url=http://www.lightengine-tech.com/en/digitaldisplay2.asp;")
aI("text=Optical System;url=http://www.lightengine-tech.com/en/opticalsystem.asp;")
}

with(menu=new menuname("ManufacturingFacility")){
overflow="scroll";
style=menuStyle2;
aI("text=Factory;itemwidth=135;url=http://www.lightengine-tech.com/en/factory.asp;");
aI("text=People;url=http://www.lightengine-tech.com/en/people.asp;");
aI("text=Service;url=http://www.lightengine-tech.com/en/service.asp;");
}

with(menu=new menuname("WhatsNew")){
overflow="scroll";
style=menuStyle2;
aI("text=Events;itemwidth=135;url=http://www.lightengine-tech.com/en/events.asp;");
aI("text=News;url=http://www.lightengine-tech.com/en/news.asp;");
}

with(menu=new menuname("ContactUs")){
overflow="scroll";
style=menuStyle2;
aI("text=Headquarters;itemwidth=135;url=http://www.lightengine-tech.com/en/headquarters.asp;");
aI("text=Japan Office;itemwidth=135;url=http://www.lightengine-tech.com/en/japanoffice.asp;");
aI("text=Enquiry Form;url=http://www.lightengine-tech.com/en/enquiryform.asp;");
}

drawMenus();