jQuery(function(){
    var contentHeight = jQuery("#contentleft").height();
    var sidebarHeight = jQuery("#sidebar").height();
    if (contentHeight > sidebarHeight){
    	jQuery("#sidebar").height(contentHeight);
    }
    
    var innerBox = 0;
    jQuery("#content-bottom .box-inner").each(function(){
    	if(jQuery(this).height()>innerBox){
    		innerBox = jQuery(this).height();
    	}
    }).height(innerBox);
});