function SameH(leftDiv,rightDiv) {
    var a=document.getElementById(leftDiv);
    var b=document.getElementById(rightDiv);
    
    if (a.scrollHeight < b.scrollHeight)
    {
        a.style.height= b.scrollHeight + 'px';
    }
    else
    {
        b.style.height= a.scrollHeight + 'px';
    }
}