var app = {  

  baseImageHover: function(){
    $(".baseimage").hover(
      function() {
          $(this).hide().next().show(); 
      }
    );
  },
  
  hoverOut: function(){
    $(".hoverimage").mouseout(
      function () {
        $(this).hide().prev().show();
      }
    );
  }
};

jQuery(function() {

  app.baseImageHover();
  app.hoverOut();
  
});

