function hoverMaker(hookTag, hookClass, bgIn, bgOut) {
  if ((navigator.userAgent.indexOf('MSIE 4') != -1) || 
      (navigator.userAgent.indexOf('MSIE 5') != -1) || 
      (navigator.userAgent.indexOf('MSIE 6') != -1)) {
    hmTags = new Array();
    hmTags = document.getElementsByTagName(hookTag);
    for (var i=0; i<hmTags.length; i++) {
      if ((hmTags[i].className.indexOf(hookClass) == 0) &&
          (hmTags[i].className.indexOf('inact') != -1)) {
        eval("hmTags[i].attachEvent('onmouseover', function() { hmTags[" + i + "].style.backgroundImage = 'url(" + bgIn + ")'; });");
        eval("hmTags[i].attachEvent('onmouseout', function() { hmTags[" + i + "].style.backgroundImage = 'url(" + bgOut + ")'; });");
      }
    }
  }
}
