window.onload = function() {
  var links = document.getElementsByTagName('A');

  for(var i = 0;i < links.length; i++) {
    if (/hendel/.test(links[i].className)) {
      links[i].onmouseover = swapImage;
      links[i].onmouseout = swapImage;
    }
  }
}

function swapImage(e){
  if(/-down.png/.test(this.firstChild.src))
    this.firstChild.src = this.firstChild.src.replace('-down.png', '.png');
  else
    this.firstChild.src = this.firstChild.src.replace('.png', '-down.png');
}
