jQuery(window).load(function() {
  jQuery('.binding .book_content').each( function() {
    natural_height = jQuery(this).height();
    times_40_goes_into = Math.floor((natural_height - 20) / 40);
    adjusted_height = (times_40_goes_into + 1) * 40;
    jQuery(this).height(adjusted_height);
  });
});

jQuery(document).ready(function() {
});
