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;
//buildAfterLoad=true;

with(XPMainStyle=new mm_style()){
styleid=1;
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=0;
//fontfamily="Tahoma,Helvetica,Verdana";
fontfamily="verdana, arial, helvetica"
fontsize="60%";
fontstyle="normal";
fontweight="bold";
//offbgcolor="#ECE9D8"; //236 233 216 licht grijs
offbgcolor="#FF6600"; //Oranje
offcolor="#000000";
onbgcolor="#C1D2EE"; // 193 210 238 licht Blauw
onborder="1px solid #316AC5";
oncolor="#000000";
padding=3;
rawcss="padding-left:5px;padding-right:5px";
}

with(XPMenuStyle=new mm_style()){
bordercolor="#8A867A";
borderstyle="solid";
borderwidth=1;
//fontfamily="Tahoma,Helvetica,Verdana";
fontfamily="verdana, arial, helvetica"
fontsize="60%";
fontstyle="normal";
fontweight="normal";
//image="http://www.milonic.com/menuimages/xpblank.gif";
image="images/milonic/xpblank.gif";
imagepadding=3;
menubgimage="images/milonic/winxp.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#C1D2EE";
onborder="1px solid #316AC5";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#999999, Direction=135, Strength=5)";
padding=4;
separatoralign="right";
separatorcolor="#C5C2B8";
separatorpadding=1;
separatorwidth="80%";
subimage="images/milonic/arrow.gif";
subimagepadding=3;
menubgcolor="#ffffff";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
margin=2;
orientation="horizontal";
style=XPMainStyle;
//position="relative";

aI("text=Home;url=index.php?page_id=0;");
aI("showmenu=Events;text=Events;");
aI("showmenu=Foundation;text=Foundation;");

aI("showmenu=Forum;text=Forum;");
aI("showmenu=Photos;text=Photos;");
//aI("showmenu=Registration;text=Registration;");
aI("showmenu=Contact;text=Contact;");
}

with(milonic=new menuname("Events")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("showmenu=Skatefresh;text=SkateFresh 2008;");
}

with(milonic=new menuname("SkateFresh")){
margin=2;
style=XPMenuStyle;
aI("text=Tour Info;url=index.php?page_id=3;");
aI("text=F.A.Q.;url=index.php?page_id=2;");
aI("text=Policy;url=index.php?page_id=6;");

}

with(milonic=new menuname("Foundation")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Things we do;url=index.php?page_id=4;");
aI("text=The Faces of SF;url=index.php?page_id=1;");
}

with(milonic=new menuname("Forum")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=The Forum;url=http://forum.skatefresh.nl;target=_blank");
}

with(milonic=new menuname("Downloads")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Info downloads;index.php?page_id=0;");
aI("text=Press downloads;url=index.php?page_id=0;");
}

with(milonic=new menuname("Photos")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Tour 2005;url=index.php?page_id=9;");
aI("text=Tour 2006;url=index.php?page_id=10;");
aI("showmenu=SF_2008_Photos;text=Tour 2008;");
}
with(milonic=new menuname("SF_2008_Photos")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("showmenu=SF_2008_Photo_Pet;text=Photo's Peter;");
aI("showmenu=SF_2008_Photo_Dim;text=Photo's Dimitri;");
aI("showmenu=SF_2008_Photo_Ver;text=Photo's Veronique;");
aI("showmenu=SF_2008_Photo_Ger;text=Photo's Gerhard;");
}

with(milonic=new menuname("SF_2008_Photo_Pet")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Monday;url=index.php?page_id=13&name=Peter&day=mo;");
aI("text=Tuesday;url=index.php?page_id=13&name=Peter&day=tu;");
aI("text=Wednesday;url=index.php?page_id=13&name=Peter&day=we;");
aI("text=Thursday;url=index.php?page_id=13&name=Peter&day=th;");
aI("text=Friday;url=index.php?page_id=13&name=Peter&day=fr;");
aI("text=Saturday;url=index.php?page_id=13&name=Peter&day=sa;");
}

with(milonic=new menuname("SF_2008_Photo_Dim")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Monday;url=index.php?page_id=13&name=Dimitri&day=mo;");
aI("text=Tuesday;url=index.php?page_id=13&name=Dimitri&day=tu;");
aI("text=Wednesday;url=index.php?page_id=13&name=Dimitri&day=we;");
aI("text=Thursday;url=index.php?page_id=13&name=Dimitri&day=th;");
aI("text=Friday;url=index.php?page_id=13&name=Dimitri&day=fr;");
aI("text=Saturday;url=index.php?page_id=13&name=Dimitri&day=sa;");
}

with(milonic=new menuname("SF_2008_Photo_Ver")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Monday;url=index.php?page_id=13&name=Veronique&day=mo;");
aI("text=Tuesday;url=index.php?page_id=13&name=Veronique&day=tu;");
aI("text=Wednesday;url=index.php?page_id=13&name=Veronique&day=we;");
aI("text=Thursday;url=index.php?page_id=13&name=Veronique&day=th;");
aI("text=Friday;url=index.php?page_id=13&name=Veronique&day=fr;");
aI("text=Saturday;url=index.php?page_id=13&name=Veronique&day=sa;");
}

with(milonic=new menuname("SF_2008_Photo_Ger")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Monday;url=index.php?page_id=13&name=Gerhard&day=mo;");
aI("text=Tuesday;url=index.php?page_id=13&name=Gerhard&day=tu;");
aI("text=Wednesday;url=index.php?page_id=13&name=Gerhard&day=we;");
aI("text=Thursday;url=index.php?page_id=13&name=Gerhard&day=th;");
aI("text=Friday;url=index.php?page_id=13&name=Gerhard&day=fr;");
aI("text=Saturday;url=index.php?page_id=13&name=Gerhard&day=sa;");
}

with(milonic=new menuname("Tour2006")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Tour 2006;url=index.php?page_id=10;");
aI("text=Thursday;url=index.php?page_id=0;");
aI("text=Friday;url=index.php?page_id=0;");
aI("text=Saturday;url=index.php?page_id=0;");
aI("text=Sunday;url=index.php?page_id=0;");
aI("text=Best of;url=index.php?page_id=0;");
}

with(milonic=new menuname("Registration")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Registation Form;url=index.php?page_id=11;");
}

with(milonic=new menuname("Contact")){
margin=2;
overflow="scroll";
style=XPMenuStyle;
aI("text=Contact us;url=index.php?page_id=7;");
aI("text=Friends;url=index.php?page_id=8;");
}

drawMenus();

