function navContentHeight() {
    t = setTimeout("doNavContentHeight()", 500);
}

function doNavContentHeight() {
    lhnHeight = document.getElementById('lhn').offsetHeight;
    contentContainerHeight = document.getElementById('contentContainer').offsetHeight;

    //alert(lhnHeight);
    //alert(contentContainerHeight);

    newContainerHeight = lhnHeight - 20;
    newLHNHeight = contentContainerHeight - 24;

    if (lhnHeight < contentContainerHeight) {
        document.getElementById('lhn').style.height = newLHNHeight + 'px';
    }

    if (lhnHeight > contentContainerHeight) {
        document.getElementById('contentContainer').style.height = newContainerHeight + 'px';
        document.getElementById('contentContainer').style.visibility = 'visible';
    }
}
