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=2;
_subOffsetLeft=-2;



with(menuStyle=new mm_style()){
bordercolor="#007836";
borderstyle="solid";
borderwidth=0;
fontfamily="Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#000000";
offcolor="#FFFFFF";
onbgcolor="#000000";
oncolor="#FF0000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#000000', Direction=135, Strength=3)";
padding=5;
pagebgcolor="#000000";
pagecolor="#ffffff";
separatorcolor="#000000";
separatorsize=30;
subimagepadding=2;
}

with(subStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
fontfamily="Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#000000";
offcolor="#FFFFFF";
onbgcolor="#000000";
oncolor="#FF0000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#000000', Direction=135, Strength=3)";
padding=10;
pagebgcolor="#000000";
pagecolor="black";
separatorcolor="#000000";
separatorsize=1;
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=2;
orientation="horizontal";
position="relative";
style=menuStyle;
top=2;                                     
aI("text=Start;url=index.php;");
aI("text=Stuteriet;url=products.php;");
aI("text=Nyheter;url=viewpage2.php?page=news;");
aI("text=Utställningar;url=viewpage2.php?page=event;");
aI("text=Avelsston;url=viewpage.php?page=mares;");
aI("text=Hingstar;url=viewpage.php?page=stallion;");
aI("text=Avkommor;url=viewpage.php?page=offspring;");
aI("text=Till Salu;url=viewpage.php?page=sales;");
aI("text=Bilder;url=gallery.php;");
aI("text=Gästbok;url=gb.php;");
}

with(milonic=new menuname("dropDown1")){
style=subStyle;
aI("text=Item1;url=#;");
aI("text=Item2;url=#;");
}

drawMenus();


