var currentDoc = document.location.href;
	currentDoc = currentDoc.replace(/https:\/\/secure.earthlogic.com\//g, "");
menuLinks = new Array();

// top level navigation
menuLinks["home"] = root+"index.php";
menuLinks["careers"] = root+"careers_bma.php";
menuLinks["resources"] = root+"resources.php";
menuLinks["contact"] = root+"contact_bma.php";

// submenus - company
menuLinks["company_profile"] = root+"company_profile.php";
menuLinks["company_character"] = root+"company_character.php";
menuLinks["company_bios"] = root+"company_bios.php";

// submenus - services
menuLinks["services_architecture_planning"] = root+"services_architecture_planning.php";
menuLinks["services_sustainable_design"] = root+"services_sustainable_design.php";
menuLinks["services_permitting"] = root+"services_permitting.php";
menuLinks["services_development_consulting"] = root+"services_development_consulting.php";
menuLinks["services_facilities_management"] = root+"services_facilities_management.php";
menuLinks["services_building_forensics"] = root+"services_building_forensics.php";
menuLinks["services_graphics"] = root+"services_graphics.php";
menuLinks["services_design_build"] = root+"services_design_build.php";
menuLinks["services_historic_preservation"] = root+"services_historic_preservation.php";

// submenus - portfolio_retail
menuLinks["portfolio_retail_rc"] = root+"portfolio_retail_rc.php";
menuLinks["portfolio_retail_ss"] = root+"portfolio_retail_ss.php";
menuLinks["portfolio_retail_nb"] = root+"portfolio_retail_nb.php";
menuLinks["portfolio_retail_rp"] = root+"portfolio_retail_rp.php";
menuLinks["portfolio_retail_md"] = root+"portfolio_retail_md.php";

// submenus - portfolio_commercial
menuLinks["portfolio_commercial_pb"] = root+"portfolio_commercial_pb.php";
menuLinks["portfolio_commercial_fp"] = root+"portfolio_commercial_fp.php";
menuLinks["portfolio_commercial_ss"] = root+"portfolio_commercial_ss.php";
menuLinks["portfolio_commercial_hm"] = root+"portfolio_commercial_hm.php";
menuLinks["portfolio_commercial_vc"] = root+"portfolio_commercial_vc.php";
menuLinks["portfolio_commercial_bcic"] = root+"portfolio_commercial_bcic.php";
menuLinks["portfolio_commercial_artisan"] = root+"portfolio_commercial_artisan.php";

// submenus - portfolio_institutional
menuLinks["portfolio_institutional_ls"] = root+"portfolio_institutional_ls.php";
menuLinks["portfolio_institutional_bb"] = root+"portfolio_institutional_bb.php";
menuLinks["portfolio_institutional_ed"] = root+"portfolio_institutional_ed.php";
menuLinks["portfolio_institutional_va"] = root+"portfolio_institutional_va.php";

// submenus - portfolio_recreational
menuLinks["portfolio_recreational_bb"] = root+"portfolio_recreational_bb.php";
menuLinks["portfolio_recreational_lb"] = root+"portfolio_recreational_lb.php";
menuLinks["portfolio_recreational_fb"] = root+"portfolio_recreational_fb.php";

// submenus - portfolio_resort
menuLinks["portfolio_resort_ch"] = root+"portfolio_resort_ch.php";
menuLinks["portfolio_resort_tp"] = root+"portfolio_resort_tp.php";

// submenus - portfolio_residential
menuLinks["portfolio_residential_ac"] = root+"portfolio_residential_ac.php";
menuLinks["portfolio_residential_db"] = root+"portfolio_residential_db.php";
menuLinks["portfolio_residential_pr"] = root+"portfolio_residential_pr.php";

// submenus - portfolio_boards
menuLinks["portfolio_boards_hb"] = root+"portfolio_boards_hb.php";
menuLinks["portfolio_boards_lt"] = root+"portfolio_boards_lt.php";
menuLinks["portfolio_boards_pr"] = root+"portfolio_boards_pr.php";

// submenus - news
menuLinks["news_bma"] = root+"news_bma.php";
menuLinks["news_press_releases"] = root+"news_press_releases.php";
menuLinks["news_newsletter"] = root+"news_newsletter.php";
