function autoHeight( divId_1, divId_2 )
{
     var leftDivHeight = document.getElementById( divId_1 ).offsetHeight;
     var rightDivHeight = document.getElementById( divId_2 ).offsetHeight;
 
     if( leftDivHeight < rightDivHeight )
     {
         document.getElementById(divId_1).style.height = rightDivHeight;
     }
     else if( leftDivHeight > rightDivHeight )
     {
          document.getElementById(divId_2).style.height = leftDivHeight;
     }
}