function adjustHeights() {
var leftCol = document.querySelector('.leftCol');
var rightCol = document.querySelector('.rightCol');
var baseCol = document.querySelector('.baseCol');
var maxHeight = Math.max(leftCol.scrollHeight, rightCol.scrollHeight);
baseCol.style.height = maxHeight + "px";
}
$( document ).ready(function() {
var contentHeight = $('.content').height();
var sideLeftHeight = $('.side-left').height();
var sideRightHeight = $('.side-right').height();
if (contentHeight < sideLeftHeight || sideLeftHeight < sideRightHeight) {
$('.content').height(contentHeight + ((sideLeftHeight>sideRightHeight)?sideLeftHeight:sideRightHeight));
}
});