<!--
//-------------------------------------------------------------------------------------------
// NOTE: If you make changes to'../navigation/navigation.inf' using 'Design Studio' you must
// also make the corresponding PAGE TABLE routing changes in the 'page_name' array here and
// move both this module and the '../information/navigation.inf' module to the server at the
// same time, i.e in the same update to the server.  This is needed to synchronize the site.
//-------------------------------------------------------------------------------------------
function fetch_next_page()
{
// PAGE TABLE - ENTRIES OF WHERE WE CAME FROM AND WHERE WE GO TO
var page_name = new Array();
page_name["home.htm"] = "facilities.htm";
page_name["facilities.htm"] = "location.htm";
page_name["location.htm"] = "clothing.htm";
page_name["clothing.htm"] = "gifts.htm";
page_name["gifts.htm"] = "volunteering.htm";
page_name["volunteering.htm"] = "../gallery/viewer.html";    // Note 'where to' location!
page_name["viewer.html"] = "../pages/homeless.htm";          // Note 'where to' location!
page_name["homeless.htm"] = "agencies.htm";
page_name["agencies.htm"] = "staff.htm";
page_name["staff.htm"] = "history.htm";
page_name["history.htm"] = "operations.htm";
page_name["operations.htm"] = "mailman.htm";
page_name["mailman.htm"] = "home.htm";
// FIND OUT WHO WE ARE
var path_name = window.location.pathname;
var starting_char = path_name.lastIndexOf("/");
var starting_char = starting_char + 1;
var ending_char = path_name.length;
var this_page = path_name.substring(starting_char,ending_char);
// FIND OUT WHERE TO GO AND GO THERE
var next_page = page_name[this_page];
window.location = next_page;
}
-->