<!--

var menuVis = "menuBase";

function expandMenu(key){
  var u;

  if (key.length == 0){
    if (menuVis != "menuBase"){
      u = document.getElementById(menuVis);
      u.style.visibility = "hidden";
      menuVis = "menuBase";
      u = document.getElementById(menuVis);
      u.style.visibility = "visible";
    }
    return;
  }
  if (menuVis != "menu" + key){
    u = document.getElementById(menuVis);
    u.style.visibility = "hidden";
    menuVis = "menu" + key;
    u = document.getElementById(menuVis);
    u.style.visibility = "visible";
  }
  return;
}


/* Load the Menu Images */

var menuImageNames = new Array("homeD","homeL","historyD","historyL","obituariesD","obituariesL","staffD","staffL","facilitiesD","facilitiesL","servicesD","servicesL","burialD","burialL","cremationD","cremationL","merchandiseD","merchandiseL","floralD","floralL","berevementD","berevementL","preplanD","preplanL","mapD","mapL","faqD","faqL","contactD","contactL","casketsD","casketsL","urnsD","urnsL","vaultsD","vaultsL","bristolD","bristolL","quincyD","quincyL","tallahasseeD","tallahasseeL");
var menuImages = new Array();
for (i=0;i<menuImageNames.length;i++){
  menuImages[i] = new Image;
  menuImages[i].src = "../art/main/menu/" + menuImageNames[i] + ".gif";
}


function changeMenuImage(base,modif,objName)
{
  var t;
  var i;

  t = base + modif;
  for (i=0;i<menuImageNames.length;i++) if (menuImageNames[i] == t) break;
  if (i == menuImageNames.length) return;

  t = "document." + base + objName + ".src=" + "menuImages[" + i + "].src";
  eval(t);
}



function htmlGo(page)
{
  var h = location.href;
  var i = h.lastIndexOf('/');
  h = h.substr(0,i+1);
  h += page;
  location.href = h;
  return(false);
}



//-->
