$(document).ready(function(){
  $('.shortened').each(function(){
    var small = $(this);
    var large = small.parent().find('.full');
    small.parent().find('.expander').click(function(){
      if($(this).hasClass('more')){
        small.hide();
        large.show();
        $(this).removeClass('more').find('a').text('« less');
      } else {
        small.show();
        large.hide();
        $(this).addClass('more').find('a').text('more »');
      }
    });
  });
});
