window.addEvent
(
  'domready',
  function()
  {
    $$('.hoverme').each
    (
      function(item)
      {
        var img = item.getFirst();
        img.addEvents(
          {
            'mouseover': function(e)
            {
              var e = new Event(e).stop();
              this.src_old = this.src;
              if(!this.src.match(/_h.gif/))
              {
                this.src = this.src_old.replace(/_n.gif/, '_h.gif');
              }
            },
            'mouseout': function(e)
            {
              var e = new Event(e).stop();
              if (this.src_old)
              {
                this.src = this.src_old;
              }
            }
          }
        );
      }
    );
  }
);