fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=-5;
_subOffsetLeft=0;




with(menuStyle=new mm_style()){

}

with(submenuStyle=new mm_style()){
bordercolor="#c2cdde";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ecf2f6";
offcolor="#3264b3";
onbgcolor="#02badf";
oncolor="#ffffff";
outfilter="Slide(slideStyle='Hide', bands=1, duration=0.5)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#a4a4a4', Direction=135, Strength=3)";
padding=5;
pagebgcolor="#ecf2f6";
pagecolor="3264b3";
separatorcolor="#c2cdde";
separatorsize=1;
subimage="images/arrow.gif";
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
//left=10;
//top=10;
orientation="horizontal";
style=menuStyle;
aI("image=../images/nav_home_off.gif;overimage=../images/nav_home_on.gif;url=../index.php;");
aI("image=../images/nav_products_off.gif;overimage=../images/nav_products_on.gif;showmenu=products;");
aI("image=../images/nav_customers_off.gif;overimage=../images/nav_customers_on.gif;url=../customers.php;");
aI("image=../images/nav_guarantee_off.gif;overimage=../images/nav_guarantee_on.gif;showmenu=guarantee;");
aI("image=../images/nav_shipping_off.gif;overimage=../images/nav_shipping_on.gif;url=../shipping.php;");
aI("image=../images/nav_contact_off.gif;overimage=../images/nav_contact_on.gif;url=../contact.php;");
}



with(milonic=new menuname("products")){
style=submenuStyle;
aI("text=Mattresses;showmenu=mattresses;");
aI("text=Toppers;showmenu=toppers;");
aI("text=Pillows;showmenu=pillows;");
}

with(milonic=new menuname("mattresses")){
style=submenuStyle;
aI("text=OPTIMA Memory Foam Mattress TWIN;url=../memoryfoam_twin.php;");
aI("text=OPTIMA Memory Foam Mattress DOUBLE/FULL;url=../memoryfoam_double.php;");
aI("text=OPTIMA Memory Foam Mattress QUEEN;url=../memoryfoam_queen.php;");
aI("text=OPTIMA Memory Foam Mattress KING;url=../memoryfoam_king.php;");
}

with(milonic=new menuname("toppers")){
style=submenuStyle;
aI("text=OPTIMA Memory Foam Topper TWIN;url=../memoryfoam_topper_twin.php;");
aI("text=OPTIMA Memory Foam Topper DOUBLE/FULL;url=../memoryfoam_topper_double.php;");
aI("text=OPTIMA Memory Foam Topper QUEEN;url=../memoryfoam_topper_queen.php;");
aI("text=OPTIMA Memory Foam Topper KING;url=../memoryfoam_topper_king.php;");
}

with(milonic=new menuname("pillows")){
style=submenuStyle;
aI("text=OPTIMA Memory Foam Pillow;url=../memoryfoam_pillow.php;");
aI("text=OPTIMA Memory Foam Contour Pillow;url=../memoryfoam_pillow_contour.php;");
aI("text=OPTIMA Memory Foam Knee Pillow;url=../memoryfoam_pillow_knee.php;");
aI("text=OPTIMA Memory Foam Body Pillow;url=../memoryfoam_pillow_body.php;");
}




with(milonic=new menuname("guarantee")){
style=submenuStyle;
aI("text=Our Guarantee;url=../guarantee.php;");
aI("text=Why our prices are so low!;url=../toogood.php;");
}








drawMenus();

