// JavaScript Document

(function () {
var onload = function (e) {
  for (var i = 0; i < document.images.length; ++i) {
    if (document.images[i].src.match(/^(.*)_normal\.([^.]*)$/)) {
      (function (img, pre, ext) {
      var hover = new Image(); hover.src = pre + '_hover.' + ext;
      var normal = new Image(); normal.src = pre + '_normal.' + ext;
      var onmouseover = function (e) { img.src = hover.src; }
      var onmouseout = function (e) { img.src = normal.src; }
        try {
          img.addEventListener('mouseover', onmouseover, false);
          img.addEventListener('mouseout', onmouseout, false);
        }
        catch (e) {
          img.attachEvent('onmouseover', onmouseover);
          img.attachEvent('onmouseout', onmouseout);
        }
      })(document.images[i], RegExp.$1, RegExp.$2);
      }
    }
  }
  try {
    window.addEventListener('load', onload, false);
  }
  catch (e) {
    window.attachEvent('onload', onload);
  }
})()
