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=10;
_subOffsetLeft=0;


////////////////
// Menu Styles  
////////////////

with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, Myriad, Verdana, Tahoma, ";
fontsize="10pt";
fontstyle="normal"; 
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#4E77A6";
//menubgimage="/bosd4/images/left_graphic.jpg";
//offbgcolor="#eeeeee";
offcolor="#ffffff";
//onbgcolor="#ddffdd";
oncolor = "#fbb12a";
//onbold=1;
//onitalic=1;
onborder="1px solid #fbb12a";
 outfilter="randomdissolve(duration=0.3)";
//outfilter="Fade(Overlap=1.00)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding=0;
//pagebgcolor="#82B6D7";
pagecolor = "#b4b6b5";
separatorcolor="#ffffff";
separatorsize=0;
//overbgimage="/bosd4/content/images/right_arrow_gold_30.gif";
//subimage="/bosd4/content/images/right_arrow_white.gif";
subimagepadding=10;
}


with(submenuStyle=new mm_style()){
bordercolor="#fbb12a";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Myriad, Verdana, Tahoma";
fontsize="12px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#1d56a3";
headercolor="#000000";
//menubgimage="content/images/left_graphic.jpg";
offbgcolor = "#018402";
onbgcolor = "#5da01f";
offcolor="#ffffff";
oncolor="#ffffff";
onitalic=0;
//outfilter="Blinds( Bands=1,direction=left, duration=0.3)";
//overfilter="Blinds( Bands=1,direction=right, duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
//pagebgcolor="#82B6D7";
//pagecolor="black";
separatorcolor="#ffffff";
separatorsize=1;
//subimage="/bosd4/images/right_arrow_white.jpg";
//subimageover="/bosd4/content/images/right_arrow_gold.gif";
subimagepadding=2;

}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=2;
orientation="vertical";
style=menuStyle;
top=265;
menuheight="206";
menuwidth="115";
aI("align=left;itemheight=35;rawcss=padding-bottom:1px;rawcss=padding-left:10px;status=Home Page;text=Home;url=/bosd4/Default.aspx;");
aI("align=left;itemheight=35;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=About Gary;url=;showmenu=About;");
aI("align=left;itemheight=35;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Newsroom;url=;showmenu=Newsroom;");
aI("align=left;itemheight=35;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Multimedia;url=;showmenu=Multimedia;");
aI("align=left;itemheight=50;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Board<br>Meetings;url=;showmenu=BoardMeetings;");
//aI("align=left;itemheight=30;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Priorities;url=;showmenu=Priorities;");
aI("align=left;itemheight=50;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=District<br>Information;url=;showmenu=DistrictInfo;");
//aI("align=left;itemheight=45;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Nonprofit<br>Resources;url=;showmenu=NonprofitResources;");
aI("align=left;itemheight=50;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Contact<br>Information;url=;showmenu=ContactInfo;");
aI("align=left;itemheight=50;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Helpful Links &<br>Phone Numbers;url=/bosd4/HelpfulLinks.aspx;");
aI("align=left;itemheight=35;rawcss=padding-bottom:1px;rawcss=padding-left:10px;text=Subscribe;showmenu=Subscribe;url=http://service.govdelivery.com/service/multi_subscribe.html?code=CASANBE;");
}

with (milonic = new menuname("About")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    //top=400;
    aI("text=Welcome to the Fourth District;url=/bosd4/welcome.aspx;")
    aI("text=Biography;url=/bosd4/About.aspx;")
    aI("text=Boards and Commissions;url=http://www.sbcounty.gov/cob/otherServices-bcc.asp;target=_blank;")
    aI("text=Campaign Disclosure Forms;url=http://netfile.com/agency/sbd/;target=_blank;")
}

with(milonic=new menuname("Newsroom")){
overflow="scroll";
style=submenuStyle;
left=100;
//top=400;
aI("text=Press Releases;url=/bosd4/newsroom/Pressreleases.aspx;")
aI("text=Ovitt Outlook;url=/bosd4/newsroom/Newsletters.aspx;")
aI("text=Editorials;url=/bosd4/newsroom/Editorials.aspx;")
aI("text=District Calendar;url=/bosd4/newsroom/Calendar.aspx;")
}

with (milonic = new menuname("Multimedia")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    //top=400;
    aI("text=Photo Gallery;url=/bosd4/multimedia/photo_gallery/PhotoGallery.aspx;")
    aI("text=Video Gallery;url=/bosd4/multimedia/Videos.aspx;")
}


with (milonic = new menuname("BoardMeetings")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    //aI("text=Fourth District Updates;url=/bosd4/boardmeetings/WebCast.aspx;")
    //aI("text=Board Agenda;url=http://www.co.san-bernardino.ca.us/sbco/cob/default.htm;target=_blank;")
    //aI("text=Watch Board Meetings;url= http://www.co.san-bernardino.ca.us/cob/CountyVision.asp;target=_blank;")
    aI("text=Board Agenda;url=http://www.sbcounty.gov/sbco/cob/default.htm;target=_blank;")
    aI("text=Watch Board Meetings;url= http://www.sbcounty.gov/cob/CountyVision.asp;target=_blank;")
}

with (milonic = new menuname("Priorities")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    aI("text=Text here;url=/bosd4/Priorities.aspx?q=0;")
}

with (milonic = new menuname("DistrictInfo")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    aI("text=Fourth District Map;url=/bosd4/district/DistrictMap.aspx;")
    aI("text=Fourth District Communities;url=/bosd4/district/DistrictCommunities.aspx;")
}

with (milonic = new menuname("NonprofitResources")) {
    overflow = "scroll";
   style = submenuStyle;
    left = 100;
    aI("text=eCivis Grants Locator System;url=/bosd4/nonprofitresources/ecivis.aspx;")
   aI("text=<img src=/bosd4/content/images/pdficon.gif border=0 width=12 height=12>&nbsp;&nbsp;eCivis User Guide;url=/bosd2/content/pdf/eCivis_User_Guide.pdf;target=_blank;")
    aI("text=<img src=/bosd4/content/images/pdficon.gif border=0 width=12 height=12>&nbsp;&nbsp;Grant Resource Book;url=/bosd2/content/pdf/2007Grantbook.pdf;target=_blank;")
}

with(milonic=new menuname("ContactInfo")){
overflow="scroll";
style=submenuStyle;
left=100;
aI("text=Offices and Staff;url=/bosd4/contact/OfficeStaff.aspx;")
aI("text=Contact Supervisor Ovitt;url=/bosd4/contact/Email.aspx;")
aI("text=Student Internships;url=/bosd4/contact/StudentInternships.aspx;")
}

with (milonic = new menuname("HelpfulLinks")) {
    overflow = "scroll";
    style = submenuStyle;
    left = 100;
    aI("text=Helpful Links;url=/bosd4/HelpfulLinks.aspx;")
    aI("text=Important Phone Numbers;url=/bosd4/ImportantPhoneNumbers.aspx;")
}

with(milonic=new menuname("Subscribe")){
overflow="scroll";
style=submenuStyle;
left = 100;
aI("text=Press Releases;url=https://service.govdelivery.com/service/subscribe.html?code=CASANBE_8;target=_blank;")
aI("text=Ovitt Outlook;url=https://service.govdelivery.com/service/subscribe.html?code=CASANBE_10;target=_blank;")
aI("text=Editorials;url=https://service.govdelivery.com/service/subscribe.html?code=CASANBE_9;target=_blank;")
//aI("text=Website Updates;url=/bosd4/subscribe/webupdates.aspx;")
}


drawMenus();

