function sidenav(path,text) {
document.write('<tr height="32px" onclick="window.location.href=\'' + path + '\'"><td class="snav" onMouseOver="this.style.background=\'#BBC319\';" onMouseOut="this.style.background=\'#7991EB\';" bgcolor="#2D4395" style="cursor:hand;">' + text + '</td></tr>');
}

if (location.pathname.match(/\/about\//)) {
sidenav('vision.shtml','Vision &amp; Mission');
sidenav('history.shtml','History');
sidenav('contact.shtml','Contact Us &amp; Staff Listing');
sidenav('board.shtml','Board Members');
sidenav('annual.shtml','Annual Report');
sidenav('newsletter.shtml','Newsletter');
sidenav('careers.shtml','Career Opportunities');
}

if (location.pathname.match(/\/programs_and_projects\//)) {
sidenav('/programs_and_projects/programs.shtml','Programs');
sidenav('/programs_and_projects/projects.shtml','Services');
sidenav('/programs_and_projects/past_projects.shtml','Past Programs and Projects');
}

/*
if (location.pathname.match(/\/programs_and_projects\/programs.shtml/)) {
sidenav('/programs_and_projects/programs.shtml','Bob');
sidenav('/programs_and_projects/projects.shtml','Mary');
sidenav('/programs_and_projects/past_projects.shtml','Ralph');
}
*/

if (location.pathname.match(/\/training\//)) {
sidenav('index.shtml','About Our Training');
sidenav('foundation.shtml','Foundations in Family Literacy Online Certificate Program');
sidenav('flti.shtml','Family Literacy Training Institute');
sidenav('introfamliteracy.shtml','Introduction to Family Literacy');
sidenav('calendar.php','Training Calendar');
}

if (location.pathname.match(/\/support\//)) {
sidenav('volunteer.shtml','Volunteer Opportunities');
sidenav('donate.shtml','Make a Financial Contribution');
sidenav('legacy.shtml','Leave a Legacy');
sidenav('funders.shtml','Funders &amp; Donors');
sidenav('partners.shtml','Partners');
}

if (location.pathname.match(/\/resources\//)) {
sidenav('index.shtml','Research');
sidenav('logicmodel.shtml','Logic Model');
sidenav('stats.shtml','Statistics');
sidenav('goodpractice.shtml','Statement of Good Practice');
sidenav('newsletter.shtml','Newsletter');
sidenav('resources_p.shtml','Resources for Parents');
sidenav('resources_pr.shtml','Resources for Professionals');
sidenav('lit_websites.shtml','Other Literacy Websites');
}
if (location.pathname.match(/\/events\//)) {
sidenav('index.shtml','Our Special Events');
sidenav('breakfast.shtml','Leading with Literacy Breakfast');
sidenav('awards.shtml','Lois Hole Awards');
sidenav('wine.shtml','An Evening of Wine and Words');
sidenav('golf.shtml','Golf Tournament');
sidenav('ccc/index.shtml','Cultivating Connections Conference');
}

