function setStatusDisplayTableHeader() {
  var optionHeaderElems = jQuery("[name='optionHeader']"),
  hideOptionHeader = true,
  row;

  for(var loop = 0; loop <= 5; loop++) {

    row = jQuery("#textSelect_"+loop).val();

    if ((row != undefined) && (row != "-1")) {
     hideOptionHeader = false;
    }
  }
  if (hideOptionHeader) {
    optionHeaderElems.hide();
  } else {
    optionHeaderElems.show();
  }
}
When no text is active the header of the table has to be stripped (remove color and icon)