_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
//general styles for menus
with(menuStyle=new mm_style()){
onbgcolor="";
oncolor="#FFDD34";
offbgcolor="";
offcolor="#FFFFFF";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#7DBD78";
separatorsize="1";
padding=6;
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, Tahoma";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="";
subimagepadding="";
overfilter="Fade(duration=0.2);Alpha(opacity=90);";
outfilter="randomdissolve(duration=0.3)";
}
with(subMenuStyle=new mm_style()){
onbgcolor="297A29";
oncolor="#FFDD34";
offbgcolor="297A29";
offcolor="#FFFFFF";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#7DBD78";
separatorsize="1";
padding=5;
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, Tahoma";
pagecolor="";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="";
subimagepadding="";
itemwidth=120;
overfilter="Fade(duration=0.1);Alpha(opacity=90);";
outfilter="randomdissolve(duration=0.1)";
}
with(milonic=new menuname("Main Menu")) {
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Start;url=category.php?categoryID=1;status=Till Start;");
aI("text=Klubbinfo;showmenu=Submenu2;url=category.php?categoryID=2;status=Till Klubbinfo;");
aI("text=Gästinfo;showmenu=Submenu3;url=category.php?categoryID=3;status=Till Gästinfo;");
aI("text=Baninfo;showmenu=Submenu4;url=category.php?categoryID=4;status=Till Baninfo;");
aI("text=Golfpaket;showmenu=Submenu5;url=category.php?categoryID=5;status=Till Golfpaket;");
aI("text=Tävlingar;showmenu=Submenu6;url=category.php?categoryID=6;status=Till Tävlingar;");
aI("text=Junior;showmenu=Submenu7;url=category.php?categoryID=7;status=Till Junior;");
aI("text=Sponsorer;showmenu=Submenu8;url=category.php?categoryID=8;status=Till Sponsorer;");
aI("text=Veckans Meny;url=category.php?categoryID=77;status=Till Veckans Meny;");
}
with(milonic=new menuname("Submenu2")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Styrelse ;url=category.php?categoryID=9;status=Till Styrelse;");
aI("text=Kommittéer ;url=category.php?categoryID=10;status=Till Kommittéer;");
aI("text=Medlemskap ;url=category.php?categoryID=11;status=Till Medlemskap;");
aI("text=Senaste Nytt ;url=category.php?categoryID=13;status=Till Senaste Nytt;");
aI("text=Pro ;url=category.php?categoryID=14;status=Till Pro;");
aI("text=Restaurang ;url=category.php?categoryID=15;status=Till Restaurang;");
aI("text=Kansli ;url=category.php?categoryID=42;status=Till Kansli;");
aI("text=Miljö ;url=category.php?categoryID=43;status=Till Miljö;");
}
with(milonic=new menuname("Submenu3")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Tidsbokning ;url=category.php?categoryID=16;status=Till Tidsbokning;");
aI("text=Greenfee ;url=category.php?categoryID=17;status=Till Greenfee;");
aI("text=Pay&Play ;url=category.php?categoryID=18;status=Till Pay&Play;");
aI("text=Vägbeskrivning ;url=category.php?categoryID=19;status=Till Vägbeskrivning;");
}
with(milonic=new menuname("Submenu4")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Banguide ;url=category.php?categoryID=20;status=Till Banguide;");
aI("text=Slope ;url=category.php?categoryID=21;status=Till Slope;");
aI("text=Scorekort ;url=category.php?categoryID=23;status=Till Scorekort;");
aI("text=Regler ;url=category.php?categoryID=76;status=Till Regler;");
aI("text=Lokala regler ;url=category.php?categoryID=78;status=Till Lokala regler;");
}
with(milonic=new menuname("Submenu5")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Bo på banan ;url=category.php?categoryID=24;status=Till Bo på banan;");
aI("text=Bo på hotell ;url=category.php?categoryID=25;status=Till Bo på hotell;");
aI("text=Husvagn ;url=category.php?categoryID=26;status=Till Husvagn;");
aI("text=Vätternpasset ;url=category.php?categoryID=48;status=Till Vätternpasset;");
}
with(milonic=new menuname("Submenu6")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Tävlingsprogram ;url=category.php?categoryID=27;status=Till Tävlingsprogram;");
aI("text=Seniorgolf/OG/OL ;url=category.php?categoryID=28;status=Till Seniorgolf/OG/OL;");
aI("text=Dam ;url=category.php?categoryID=29;status=Till Dam;");
aI("text=Gubbagolf ;url=category.php?categoryID=30;status=Till Gubbagolf;");
aI("text=Nybörjargolf ;url=category.php?categoryID=31;status=Till Nybörjargolf;");
aI("text=HIO ;url=category.php?categoryID=32;status=Till HIO;");
aI("text=Hjo S Open ;url=category.php?categoryID=81;status=Till Hjo S Open;");
}
with(milonic=new menuname("Submenu7")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Träning ;url=category.php?categoryID=35;status=Till Träning;");
aI("text=Grannklubbstävlingar ;url=category.php?categoryID=36;status=Till Grannklubbstävlingar;");
}
with(milonic=new menuname("Submenu8")){
style=subMenuStyle;
overflow="scroll";
openstyle="down";
aI("text=Våra sponsorer ;url=category.php?categoryID=33;status=Till Våra sponsorer;");
aI("text=Företagsgolf ;url=category.php?categoryID=34;status=Till Företagsgolf;");
}
drawMenus();