jQuery.noConflict();
(function($) {
    $(function() {
         var maxHeight = Math.max($('#leftcol').height(),$('#content-mid').height());
         maxHeight = Math.max(maxHeight, $('#sidebar').height())
         $('#content-mid').height(maxHeight);
    });
})(jQuery);

function trim(s) {
    return s.replace( /^\s*/, "" ).replace( /\s*$/, "" );
}