MAX_ROWS) { // make the table scrollable $divAttributes['divClass'] = "table-scroll"; $divAttributes['thClass'] = "table-noscroll"; $divAttributes['divHeight'] = MAX_SIZE_DRIVE_LIST; } else { // no scrolling needed $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; } ?>