$(
  function() {    
    fixReviewContentHeight();    
  }
);

function fixReviewContentHeight() {
  if (cssIsNotLoaded()) {
    setTimeout('fixReviewContentHeight()', 250);
    
    return;
  } else {    
    $('div.review div.content').each(
      function (i) {        
        var contentHeight = $(this).height();
        var sidebarHeight = $(this).prev('div.sidebar').height();        
        if (sidebarHeight > contentHeight) {        
          $(this).height(sidebarHeight);
        }
      });
  }
}

function cssIsNotLoaded() {    
  return ($('div.review div.content:first').css('background-color') == 'transparent' ||
    $('div.review div.content:first').css('background-color') == 'rgba(0, 0, 0, 0)');
}

