$j(document).ready(function() {
  
  var _height = 36;
  var button = null;
  
  $j('.review .description').each(function(){
    
    $j(this).data("height", $j(this).height());
    $j(this).height(_height);
    
    if($j(this).data("height") > _height){
      $j(this).parent().append("<a class='see-more' href='javascript:void(0);' title='Read More'>read more</a>");
    }
  });
  
  $j('.see-more').live('click', function() {
    
    button = $j(this);
    
    if($j(this).parent().find('.description').height() == _height){
      $j(this).parent().find('.description').animate({
        height: $j(this).parent().find('.description').data("height")
      }, 500, function(){
        button.addClass('expanded');
      });
    }else{
      $j(this).parent().find('.description').animate({
        height: _height
      }, 500, function(){
        button.removeClass('expanded');
      });
    }
  });
  
});

$j(window).load(function(){
  
});
