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=10;




with(menuStyle=new mm_style()){

}

with(submenuStyle=new mm_style()){
bordercolor="#c2cdde";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
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_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=Pillows;showmenu=pillows;");
aI("text=Easy Up Bed Frames;showmenu=bedframes;");
aI("text=Mulberry Silk Duvet;showmenu=duvet;");
}

with(milonic=new menuname("mattresses")){
style=submenuStyle;
aI("text=OPTIMA Latex Mattress TWIN;url=latex_mattress_twin.php;");
aI("text=OPTIMA Latex Mattress DOUBLE/FULL;url=latex_mattress_double.php;");
aI("text=OPTIMA Latex Mattress QUEEN;url=latex_mattress_queen.php;");
aI("text=OPTIMA Latex Mattress KING;url=latex_mattress_king.php;");
}

with(milonic=new menuname("pillows")){
style=submenuStyle;
aI("text=OPTIMA Latex PILLOW;url=latex_pillow.php;");
}

with(milonic=new menuname("bedframes")){
style=submenuStyle;
aI("text=EASY UP Bed Frame;url=easyup.php;");
}

with(milonic=new menuname("duvet")){
style=submenuStyle;
aI("text=Mulberry Silk Duvet;url=silk_duvet.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();


