// JavaScript Document

jQuery(function(){
  
  var exhibition = jQuery('div.exhibition');
  exhibition.not(':first').hide();
  exhibition.not(':last').append('<a class="next">Next &raquo;</a>').end().not(':first').append('<a class="prev">&laquo; Previous</a>');

  jQuery('.next').click(function(){
    jQuery(this).parent().hide()
           .next('div').show();
  });

  jQuery('.prev').click(function(){
    jQuery(this).parent().hide()
           .prev('div').show();
  });
});

