
  var imagedir = 'images/';

  if (document.images) {    
    menu1_off = new Image();
    menu2_off = new Image();
    menu3_off = new Image();
    menu4_off = new Image();
    menu5_off = new Image();
    menu6_off = new Image();
    menu7_off = new Image();
    menu8_off = new Image();
    menu9_off = new Image();
    menu10_off = new Image();

    menu1_off.src = imagedir + "home_off.gif";
    menu2_off.src = imagedir + "art_off.gif";
    menu3_off.src = imagedir + "photos_off.gif";
    menu4_off.src = imagedir + "links_off.gif";
    menu5_off.src = imagedir + "contact_off.gif";
    menu6_off.src = imagedir + "sketches_off.gif";
    menu7_off.src = imagedir + "traditional_off.gif";
    menu8_off.src = imagedir + "digital_off.gif";
    menu9_off.src = imagedir + "graphics_off.gif";
    menu10_off.src = imagedir + "commissions_off.gif";

    menu1_on = new Image();
    menu2_on = new Image();
    menu3_on = new Image();
    menu4_on = new Image();
    menu5_on = new Image();
    menu6_on = new Image();
    menu7_on = new Image();
    menu8_on = new Image();
    menu9_on = new Image();
    menu10_on = new Image();

    menu1_on.src = imagedir + "home_on.gif";
    menu2_on.src = imagedir + "art_on.gif";
    menu3_on.src = imagedir + "photos_on.gif";
    menu4_on.src = imagedir + "links_on.gif";
    menu5_on.src = imagedir + "contact_on.gif";
    menu6_on.src = imagedir + "sketches_on.gif";
    menu7_on.src = imagedir + "traditional_on.gif";
    menu8_on.src = imagedir + "digital_on.gif";
    menu9_on.src = imagedir + "graphics_on.gif";
    menu10_on.src = imagedir + "commissions_on.gif";
  }  

  else {
    menu1_off = " ";
    menu2_off = " ";
    menu3_off = " ";
    menu4_off = " ";
    menu5_off = " ";

    menu1_on = " ";
    menu2_on = " ";
    menu3_on = " ";
    menu4_on = " ";
    menu5_on = " ";
  }

  function m_over(m_num, pagenum) {
    var imgField = "menu" + m_num;
    var newImage = imgField + "_on.src";
    document[imgField].src = eval(newImage);
  }

  function m_out(m_num, pagenum) {
    var imgField = "menu" + m_num;
    var newImage = imgField + "_off.src";
    document[imgField].src = eval(newImage);
  }
