/* This script is a reversal of the script found here: http://www.mail-archive.com/discuss@jquery.com/msg13788.html (also http://markmail.org/message/xcwfza3l2upxe7tt)  - it figures out which column is the shortest and applies: 'position: absolute' which causes the subcontent background to always extend to the bottom ** it requires the complimentary css of course - see the css file for more details ** TO DO figure out how to incorporate a script that runs this script on text resize too - like this?: http://www.tomdeater.com/jquery/onfontresize/ */

$(document).ready(function() {
     var jqColumns = $('#main_content,#subcontent');     	
     var columns = jqColumns.get().sort(function(a, b) {
     	return $(a).height() - $(b).height();
     	});
     $(columns).css('position', '').eq(0).css({position: "absolute"});
});