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;


/*MAIN HORIZ MENU STYLES*/

with(menuStyle=new mm_style()){
/*bordercolor="#999999";
borderstyle="solid";*/
borderwidth=0;
fontfamily="Verdana, Arial";
fontsize="10px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#333333";
onbgcolor="#ffffff";
oncolor="#005596";
openonclick=true;
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=8;
/*pagebgcolor="#82B6D7";*/
pagecolor="005596";
pagestyle="bold";
separatorcolor="#999999";
separatorsize=1;
separatorheight=12;
/*subimage="http://www.milonic.com/menuimages/arrow.gif";
subimagepadding=2;*/
}

/*SECONDARY DROP-DOWN MENU STYLES*/

with(submenuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Arial";
fontsize="10px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#333333";
onbgcolor="#dae5f0";
oncolor="#005596";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=8;
/*pagebgcolor="#82B6D7";
pagecolor="black";*/
separatorcolor="#999999";
separatorsize=1;
subimage="/nav/arrow.gif";
subimagepadding=2;
}

/*MAIN HORIZ MENU ITEMS*/

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=HOME;url=/index.html;");
aI("showmenu=About;text=ABOUT;");
aI("text=BLOG;url=/community;");
aI("text=COMMUNITY;url=/own/own_nri.html;");
aI("showmenu=Give;text=GIVE;");
aI("showmenu=Homes;text=HOMES;");
aI("showmenu=Newsroom;text=NEWSROOM;");
aI("showmenu=Own;text=OWN A HOME;");
aI("showmenu=Partnerships;text=PARTNERSHIPS;");
aI("showmenu=Volunteer;text=VOLUNTEER;");
}

/*SECONDARY DROP-DOWN MENU ITEMS*/

with(milonic=new menuname("About")){
overflow="scroll";
style=submenuStyle;
aI("text=Who We Are;url=/about/about.html;")
aI("showmenu=Takeaction;text=Advocacy;url=/about/about_advocacy.html;")
aI("text=Board of Directors;url=/about/about_board.html;")
aI("text=FAQs;url=/about/about_faq.html;")
aI("text=Financial Information;url=/about/about_financial.html;")
aI("text=International Tithe;url=/about/about_intl_tithe.html;")
aI("text=Job Opportunities;url=/about/about_jobs.html;")
aI("text=Tax ID & Privacy Policy;url=/about/about_taxidprivacy.html;")
aI("text=Young Leaders Circle;url=/about/about_ylc.html;")
aI("text=Contact Us;url=/about/about_contact.html;")
}

with(milonic=new menuname("takeaction")){
style=submenuStyle;
aI("text=Take Action Now;url=/about/about_advocacy_alert.html")
}

with(milonic=new menuname("Homes")){
style=submenuStyle;
aI("text=Developments;showmenu=developmentprojects;url=/construction/construction_current.html;")
aI("text=Real Estate Development;url=/developments/developments.html;")
aI("text=Construction;url=/construction/construction.html;")
aI("text=Green Building;url=/construction/green_building.html;")
aI("text=Gifts of Real Estate;url=/developments/gifts_real_estate.html;")
}

with(milonic=new menuname("Give")){
style=submenuStyle;
aI("text=Give to Habitat GSF;url=/give/give.html;")
aI("text=Give Online Now;url=/donate.html;")
aI("text=Car Donation;url=https://www.cardonationwizard.com/donate1.jsp?ref=habitat;target=_blank;")
aI("text=Individual;showmenu=Giveindividual;url=/give/give_individual.html;")
aI("text=Corporate;url=/give/give_corporate.html;")
aI("text=Faith Groups;url=/give/give_faith.html;")
aI("text=Material Donations;url=/give/materialdonations.html;")
aI("text=Office Supply Donations;url=/give/donatesupplies.html;")
aI("text=Chef's Table;url=/events/events_chefs_2011.html;")
}

with(milonic=new menuname("Giveindividual")){
style=submenuStyle;
aI("text=Planned Gifts;url=/give/give_planned_gift.html;")
}

with(milonic=new menuname("Newsroom")){
style=submenuStyle;
aI("text=Newsroom;url=/newsroom/newsroom.html;")
aI("text=In the News;url=/newsroom/newsroom_news.html;")
aI("text=Press Releases;url=/newsroom/newsroom_press_rel.html;")
aI("text=E-Newsletter;url=/newsroom/newsroom_enews.html;")
}

with(milonic=new menuname("Own")){
style=submenuStyle;
aI("text=Habitat Homeownership;url=/own/own.html;")
aI("text=Apply;url=/own/own_selection.html;")
aI("text=Currently Available Homes;url=/own/own_current.html;")
aI("text=Family Success Stories;showmenu=ownfamilies;url=/own/own_families.html;")
aI("text=Homebuyer Readiness Program;url=/own/own_readiness_prg.html;")
}

with(milonic=new menuname("ownfamilies")){
style=submenuStyle;
aI("text=Jan 2012 - Old Traditions in a New House;url=/own/own_fs_dina.html;")
aI("text=Sep 2011 - Habitat Home Provides New Opportunities for Second Family;url=/own/own_fs_diane.html;")
aI("text=Nov 2010 - Habitat Family's First Thanksgiving in New Redwood City Home ;url=/own/own_fs_arcenio.html;")
aI("text=Jul 2010 - Video: Meet Habitat homeowner Maria;url=http://www.youtube.com/user/habitatgreatersf#p/a/u/0/ii89ukUzQVI;target=_blank;")
aI("text=May 2010 - Meet a Habitat family: Video interview with Tracie Van Hook;url=http://www.youtube.com/user/habitatgreatersf#p/a/u/1/9nkeC_IHMJg;target=_blank;")
aI("text=Apr 2010 - New homeownership opportunity for Daly City family;url=/own/own_fs_normita.html;")
aI("text=Apr 2010 - Family builds sweat equity in home;url=/own/own_fs_miguel.html;")
aI("text=Dec 2009 - The Due Family;url=/own/own_fs_due.html;")
aI("text=Oct 2009 - Tracie VanHook's Dedication Speech;url=/own/own_fs_vanhook.html;")
aI("text=Aug 2008 - The realization of a dream;url=/own/own_fs_lui.html;")
aI("text=May 2008 - This is Your House;url=/own/own_fs_barillas.html;")
aI("text=Mar 2008 - Defying the Expensive Bay Area Housing Market To Call It Home;url=/own/own_fs_arias.html;")
aI("text=Mar 2008 - Home: A Place to Hang Family Photographs;url=/own/own_fs_ball-weaver.html;")
aI("text=Mar 2008 - Taking a Leap of Faith Pays Off;url=/own/own_fs_burton.html;")
aI("text=Mar 2008 - One Great Gift From A Father And Mother;url=/own/own_fs_celio.html;")
aI("text=Jan 2008 - The Land of Opportunity, After All;url=/own/own_fs_abdel-malek.html;")
aI("text=Dec 2007 - The Pita Family (video);url=http://ca.youtube.com/watch?v=HPh5HDFQN1I&feature=related;target=_blank;")
aI("text=Dec 2007 - The Juarez Family (video);url=/own/own_fs_juarez_video.html;")
aI("text=Nov 2007 - Open Letter from Tonya (Alexander) Connolly;url=/own/own_fs_connolly.html;")
aI("text=Nov 2007 - The Arthur Family (video);url=http://ca.youtube.com/watch?v=uT_qzCMQ8P0&feature=related;target=_blank;")
}

with(milonic=new menuname("developmentprojects")){
style=submenuStyle;
aI("text=Current;showmenu=currentprojects;url=/construction/construction_current.html;")
aI("text=Past;url=/construction/construction_past.html;")
}

with(milonic=new menuname("currentprojects")){
style=submenuStyle;
aI("text=NRP Homes;showmenu=nrpprojects;url=/developments/neighborhood_revitalization.html;")
aI("text=Daly City - 7555 Mission Street;url=/construction/cur_dc_7555mission.html;")
}

with(milonic=new menuname("nrpprojects")){
style=submenuStyle;
aI("text=Marin;url=/construction/cur_marin_nrp_homes.html;")
aI("text=East Palo Alto;url=/construction/cur_epa_nrp_homes.html;")
}

with(milonic=new menuname("Volunteer")){
style=submenuStyle;
aI("text=Volunteer;url=/volunteer/volunteer.html;")
aI("text=Volunteering Opportunities;showmenu=volunteer_opp;url=http://www.habitatgsf.volunteerhub.com/Events/Browse.aspx;target=_blank;")
aI("text=Volunteer Orientation;url=/volunteer/volunteer_orientation.html;")
aI("text=Volunteer Spotlight;showmenu=volunteer_sl;url=/volunteer/volunteer_sl_krishna.html;")
aI("text=AmeriCorps;showmenu=volunteer_ac;url=/volunteer/volunteer_ac_program.html;")
aI("text=Youth Programs;url=/volunteer/volunteer_youth.html;")
aI("text=Youth Profiles;showmenu=volunteer_youth;url=/volunteer/volunteer_yp_naomiharrold.html;")
}

with(milonic=new menuname("volunteer_opp")){
style=submenuStyle;
aI("text=Construction - Individuals;url=http://www.habitatgsf.volunteerhub.com/Events/Browse.aspx;target=_blank;")
aI("text=Construction - Corporate Groups;url=/volunteer/volunteer_corp_grp.html;")
aI("text=Construction - Other Community Groups;url=/volunteer/volunteer_other_comm.html;")
aI("text=Construction - Internships;url=/volunteer/volunteer_internships.html;")
aI("text=Non-Construction;url=/volunteer/volunteer_cur_opp.html;")
aI("text=Frequently Asked Questions;url=/volunteer/volunteer_faq.html;")
}

with(milonic=new menuname("volunteer_sl")){
style=submenuStyle;
aI("text=Krishna Patel;url=/volunteer/volunteer_sl_krishna.html;")
aI("text=Suzie Q;url=/volunteer/volunteer_sl_suzieq.html;")
aI("text=Mary Ann Shattuck;url=/volunteer/volunteer_sl_shattuck.html;")
}

with(milonic=new menuname("volunteer_ac")){
style=submenuStyle;
aI("text=2011 AmeriCorps Team;url=/volunteer/volunteer_ac_2011.html;")
aI("text=AmeriCorps Program;url=/volunteer/volunteer_ac_program.html;")
aI("text=AmeriCorps Stories;showmenu=vol_ac_stories;url=/volunteer/volunteer_ac_stories_mississippi.html;")
aI("text=AmeriCorps Testimonials;url=/volunteer/volunteer_ac_testimonial.html;")
}

with(milonic=new menuname("vol_ac_stories")){
style=submenuStyle;
aI("text=Rebuilding Mississippi;url=/volunteer/volunteer_ac_stories_mississippi.html;")
}

with(milonic=new menuname("volunteer_youth")){
style=submenuStyle;
aI("text=Naomi Harrold;url=/volunteer/volunteer_yp_naomiharrold.html;")
aI("text=Olivia Reidy & Avalon Pelligrini;url=/volunteer/volunteer_youthprog_oliviareidy.html;")
aI("text=Sophia Cross;url=/volunteer/volunteer_youthprog_sophiacross.html;")
}

with(milonic=new menuname("Partnerships")){
style=submenuStyle;
aI("text=Partnership Opportunities;url=/partnerships/partnerships.html;")
aI("text=Partner List;url=/partnerships/partnerships_lists.html;")
aI("text=Construction;url=/construction/construction.html;")
aI("text=Real Estate Development;url=/construction/construction_land.html;")
aI("text=Corporate Programs;url=/give/give_corporate.html;")
aI("text=Faith;url=/give/give_faith.html;")
}

drawMenus();


