var d=new Date();
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var TODAY = '<span class="dateformat">'+monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear()+'</span>';

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()){

offbgcolor="#CCFF99";
offcolor="#3366CC";

onbgcolor="#3366CC";
oncolor="#FFFFFF";

outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
align="left";
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;
position="static";
orientation="horizontal";
menuheight="25px";
align="left";
style=menuStyle;
aI("text="+TODAY+";");
aI("text=<span class=\"dateformat\">Home</span>;url=/;");
aI("showmenu=Attending;text=<span class=\"dateformat\">Attending</span>;");
aI("showmenu=ShowInformation;text=<span class=\"dateformat\">Show Information</span>;");
aI("showmenu=RegistrationForms;text=<span class=\"dateformat\">Registration Forms</span>;");
aI("showmenu=ShowNews;text=<span class=\"dateformat\">Show News</span>;");
aI("showmenu=Sponsors;text=<span class=\"dateformat\">Sponsors</span>;");
}

with(milonic=new menuname("Attending")){
style=menuStyle;
aI("text=<span class=\"dateformat\">Yachts</span>;url=/attending/yachts.htm;");
aI("text=<span class=\"dateformat\">Brokers/Managers</span>;url=/attending/brokers_managers.htm;");
aI("text=<span class=\"dateformat\">Yacht Sales Brokers</span>;url=/attending/yacht_sales_brokers.htm;");
aI("text=<span class=\"dateformat\">Press</span>;url=/attending/press.htm;");
aI("text=<span class=\"dateformat\">Non-Exhibiting Vendors</span>;url=/attending/non-exhibiting_vendors.htm;");
aI("text=<span class=\"dateformat\">Vendors</span>;url=/attending/vendors.htm;");
}

with(milonic=new menuname("ShowInformation")){
style=menuStyle;
aI("text=<span class=\"dateformat\">General Information</span>;url=/ShowInformation/General_Information.htm;");
aI("text=<span class=\"dateformat\">Payments</span>;url=/ShowInformation/Payments.htm;");
aI("text=<span class=\"dateformat\">Schedule of Events</span>;url=/ShowInformation/Schedule_of_Events.htm;");
aI("text=<span class=\"dateformat\">Chef Competition</span>;url=/ShowInformation/Chef_Competition.htm;");
aI("text=<span class=\"dateformat\">Accomodations</span>;url=/ShowInformation/Accomodations.htm;");
aI("text=<span class=\"dateformat\">Car Rentals</span>;url=/ShowInformation/Car_Rentals.htm;");
aI("text=<span class=\"dateformat\">Dockage</span>;url=/ShowInformation/Dockage.htm;");
}

with(milonic=new menuname("RegistrationForms")){
style=menuStyle;
aI("text=<span class=\"dateformat\">Yachts</span>;url=/RegistrationForms/Yachts.htm;");
aI("text=<span class=\"dateformat\">Brokers/Managers</span>;url=/RegistrationForms/Brokers_Managers.htm;");
aI("text=<span class=\"dateformat\">Yacht Sales Brokers</span>;url=/RegistrationForms/Yacht_Sales_Brokers.htm;");
aI("text=<span class=\"dateformat\">Press</span>;url=/RegistrationForms/Press.htm;");
aI("text=<span class=\"dateformat\">Non-Exhibiting Vendors</span>;url=/RegistrationForms/Non-Exhibiting_Vendors.htm;");
}

with(milonic=new menuname("ShowNews")){
style=menuStyle;
aI("text=<span class=\"dateformat\">News</span>;url=/ShowNews/News.htm;");
aI("text=<span class=\"dateformat\">Advertising</span>;url=/ShowNews/Advertising.htm;");
aI("text=<span class=\"dateformat\">Quick Cast</span>;url=/ShowNews/Quick_Cast.htm;");
aI("text=<span class=\"dateformat\">2008 Photo Gallery</span>;url=/ShowNews/2008_Photo_Gallery.htm;");
}

with(milonic=new menuname("Sponsors")){
style=menuStyle;
aI("text=<span class=\"dateformat\">Sponsors 2009</span>;url=/Sponsors/2009.htm;");
aI("text=<span class=\"dateformat\">Sponsors 2008</span>;url=/Sponsors/2008.htm;");
aI("text=<span class=\"dateformat\">Sponsors 2007</span>;url=/Sponsors/2007.htm;");
aI("text=<span class=\"dateformat\">Sponsors 2006</span>;url=/Sponsors/2006.htm;");
aI("text=<span class=\"dateformat\">Sponsor Information</span>;url=/Sponsors/Sponsor_Information.htm;");
}

drawMenus();

