

function imgOn(imgName) {
	if (preloaded) {
		document.images[imgName].src = eval(imgName + "_hi.src");
	}
}

function imgOff(imgName){
	if (preloaded) {
		document.images[imgName].src = eval(imgName + "_lo.src");
	}
}

function adjustNavMenus() {
  if (document.getElementById && (typeof spacerImgIds != "undefined") && (typeof navMenuIds != "undefined") ) {
    for (var i in navMenuIds) {
      var menuId = navMenuIds[i];
      var imgId = spacerImgIds[i];
      var menu = document.getElementById(menuId);
      var img = document.getElementById(imgId);
      if (menu!=null && img!=null) {
        menu.style.top = (getOffsetTopFromParent(img) + 1) + "px";
      }
    }
  }
}
