

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0            // The time delay before menus open on mouse over
_subOffsetTop=0	             // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
winWidth=(((document.all?document.body.clientWidth:window.innerWidth)-700)/2);


with(menuStyle=new mm_style()){
onbgcolor="";
oncolor="#FF6600";
offbgcolor="";
offcolor="#154159";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="";
separatorsize="0";
padding=3;
fontsize="12";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)";
}

with(SubMenuStyle=new mm_style()){
onbgcolor="#CCCCCC";
oncolor="#000000";
offbgcolor="#F2F8FA";
offcolor="#000000";
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
separatorcolor="#999999";
separatorsize="1";
padding=3;
fontsize="10";
fontstyle="normal";
fontweight="normal";
subimage="images/sidearrow.gif";
subimagepadding="5";
fontfamily="Verdana, Tahoma, Arial";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)";
}



with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=110;
left=winWidth;
alwaysvisible=1;
orientation="horizontal";
aI("text=PRODUCT <img src=\"images/downarrowr2.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=Product");
aI("text=HOW IT WORKS <img src=\"images/downarrowr2.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=Work;");
aI("text=SUPPORT <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;showmenu=Support;");
aI("text=STORE <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;url=shop.php");
aI("text=CONTACT <img src=\"images/blanknoarrow.gif\" align=absmiddle border=0 width=60 height=10\>;url=contactus.html;");
}

with(milonic=new menuname("Product")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Introduction;url=index.html;");
aI("text=Features;url=features.html;");
aI("text=Demo & Manual;url=demo.html;");
aI("text=Testimonials;url=testimonials.html;");
}

with(milonic=new menuname("Work")){
style=SubMenuStyle;
itemwidth=180;
aI("text=FAQ;url=faq.html;");
aI("text=Sleep Stages;url=sleepstages.html;");
}

with(milonic=new menuname("Support")){
style=SubMenuStyle;
itemwidth=180;
aI("text=Technical Support;url=support.html;");
aI("text=Warranty and Guarantee;url=warranty.html;");
}

drawMenus();


