﻿function setMinHeight(contentDiv, greyLineDiv,minHeightOverride) {
    var minHeight = 451;
    var c = document.getElementById(contentDiv);
    
    var subtract = 0;

    if (greyLineDiv != '')
        subtract = document.getElementById(greyLineDiv).clientHeight;
    
    if (minHeightOverride !=0)
        minHeight = minHeightOverride;
    if ((c.clientHeight + subtract) < minHeight)
        c.style.height = minHeight - subtract + "px";
    
}