(function() {
  $(document).ready(function() {
    $('.scroll-pane').jScrollPane();
    $(".rollover").each(function() {
      if ($(this).parent().attr('href') === location.pathname + location.search) {
        $(this).removeClass("rollover");
        return (this.src = this.src.replace(".png", "_over.png"));
      }
    });
    $('.rollover').preload({
      find: '.png',
      replace: '_over.png'
    });
    return $('.rollover').hover(function() {
      return (this.src = this.src.replace(".png", "_over.png"));
    }, function() {
      return (this.src = this.src.replace("_over.png", ".png"));
    });
  });
}).call(this);

