jQuery calculation doesn't add up as expected when toggling height
<p>I have the following function for calculating the height of <code>.node</code>. It then takes away the height of a possible image, <code>.node-image</code>, from the height of the <code>.node</code>, and sets a column, <code>.node-content-column</code> to have a height that is the difference (i.e. 500 - 50 = 450; column becomes 450 in height).</p>

<pre><code>function initColumnSizer() {
  imageHeight  = $('.node-image').outerHeight(true);
  resizeHeight = ($('.node').outerHeight() + 75) - imageHeight;
  $('.node-content-column').removeAttr('style');
  $('.node-content-column').css('min-height', resizeHeight);
  $('.node-content-column').css('height', 'auto !important');
  $('.node-content-column').css('height', resizeHeight);
}
</code></pre>

<p>This function gets called on page load, and resizes <code>.node-content-column</code> as expected. </p>

<p>It also gets called when a div within <code>.node</code> is toggled using <code>jQuery.toggle()</code>, but this calculation returns a larger number everytime, instead of reverting back to the original once this toggle is reverted. </p>

<p>Can anyone see where I am going wrong with this calculation? Or if I am going about it the wrong way?</p>

<p>Thanks in advance!
Karl</p>
