﻿// JScript 文件
function sameHeight(id,id1)
{
    var col = document.getElementById(id);
    var col1 = document.getElementById(id1);
    
    if (col.scrollHeight > col1.scrollHeight)
    {
        col1.style.height = col.scrollHeight + 'px';
    }
    else
    {
        col.style.height = col1.scrollHeight + 'px';
    }
}

