function WXTable() {
  this.SetView = function (id, row, number) {
    if (row == 1) return;
    
    var mHeight = 0, c = 0; i = 0;
    var col = parseInt(number / row);
    if (col * row < number) col++;

    for (c=0; c<col; c++) {
      mHeight = 0;
      for (i=(c * row); i<((c + 1) * row); i++) {
        var tId = id + 'I' + ((i < 9) ? '0' : '') + (i + 1) + 'Content';
        var obj = document.getElementById(tId);
        if (obj && (obj.offsetHeight > mHeight)) mHeight = obj.offsetHeight;
      }

      for (i=(c * row); i<((c + 1) * row); i++) {
        var tId = id + 'I' + ((i < 9) ? '0' : '') + (i + 1) + 'Content';
        var obj = document.getElementById(tId);
        if (obj) obj.style.height = mHeight;
      }
    }
  }
}
