$(document).ready(function() {
  $('.csHeader')
    .hover(
      function() {
        $(this)
          .attr({ 'class': 'csHeaderRollover' })
          .css({ cursor: 'pointer' });
      },
      function() {
        $(this)
          .attr({ 'class': 'csHeader' })
          .css({ cursor: 'normal' });
      }
    )
    .toggle(
      function(eObj) {
        $(this)
          .attr({ title: 'Click to hide summary' })
          .next('p').slideDown('slow');
      },
      function(eObj) {
         $(this)
           .attr({ title: 'Click to read summary' })
           .next('p').slideUp('slow');
      }
    )
    .attr({ title: 'Click to read summary' })
    .next('p').hide();

  $('.csNav a').click(function(evt) {
    evt.stopPropagation();
  });

  $('#currentSlideContainer').cycle({
    fx: 'fade',
    timeout: 5500,
    speed: 3000
  });
});
