﻿  
   function ex(col1x, col2x, padding) { 
        if(!document.getElementById(col1x)){ return false; }
 
        if(!document.getElementById(col2x)){ return false; }
        var col1 = document.getElementById(col1x);
        var col2 = document.getElementById(col2x);
        if (col1.offsetHeight > col2.offsetHeight){
                    //col2.style.height = (col1.offsetHeight-padding) + "px";
        } else if (col1.offsetHeight < col2.offsetHeight) {
                    col1.style.height = (col2.offsetHeight-padding) + "px";
}
        } 