  var homeoff = new Image();
  homeoff.src = "images/home_off.jpg";
  var homeon = new Image();
  homeon.src = "images/home_on.jpg";

  var christianoff = new Image();
  christianoff.src = "images/christian_tshirts_off.jpg";
  var christianon = new Image();
  christianon.src = "images/christian_tshirts_on.jpg";

  var messianicoff = new Image();
  messianicoff.src = "images/messianic_tshirts_off.jpg";
  var messianicon = new Image();
  messianicon.src = "images/messianic_tshirts_on.jpg";

  var designsoff = new Image();
  designsoff.src = "images/new_designs_off.jpg";
  var designson = new Image();
  designson.src = "images/new_designs_on.jpg";

  var wholesaleoff = new Image();
  wholesaleoff.src = "images/wholesale_off.jpg";
  var wholesaleon = new Image();
  wholesaleon.src = "images/wholesale_on.jpg";

  var fundraisersoff = new Image();
  fundraisersoff.src = "images/fundraisers_off.jpg";
  var fundraiserson = new Image();
  fundraiserson.src = "images/fundraisers_on.jpg";

  var galleryoff = new Image();
  galleryoff.src = "images/photo_gallery_off.jpg";
  var galleryon = new Image();
  galleryon.src = "images/photo_gallery_on.jpg";

  var favlinksoff = new Image();
  favlinksoff.src = "images/links_off.jpg";
  var favlinkson = new Image();
  favlinkson.src = "images/links_on.jpg";

  var guestbookoff = new Image();
  guestbookoff.src = "images/guestbook_off.jpg";
  var guestbookon = new Image();
  guestbookon.src = "images/guestbook_on.jpg";



var isMenuAct = false; // the menu is not active yet

function actMenuItem(imgName) {
  isMenuAct = true; // the menu is now active
  act(imgName);
  inact(defImg);
}

function inactMenuItem(imgName) {
  isMenuAct = false; // the menu is no longer active
  if (document.images) {
    inact(imgName);
    timerID = setTimeout('if (!isMenuAct) act("' +  defImg + '")', 100);
  }
}

function act(imgName) {
  if (document.images) 
    document[imgName].src = eval(imgName + "on.src");
}

function inact(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + "off.src");
}
