?>

	<td onclick="sortGroupTable('diag');" class="dclDiag" style="<?php 
if ($dccDiag == 0) {
    ?>
display: none;<?php 
}
?>
"><span class="cursorHand <?php 
echo $active_project->getSortArrow("diag");
?>
">Diag.</span></td>	

<?php 
if ($kind == "group") {
    $active_project->showHypothesisGroupLabels("least_likely", $sortColsBy == "least_likely");
    $active_project->showHypothesisGroupLabels("most_likely", $sortColsBy == "most_likely");
    $active_project->showHypothesisGroupLabels("added", $sortColsBy == "added");
    $active_project->showHypothesisGroupLabels("alpha", $sortColsBy == "alpha");
} else {
    if ($kind == "compare") {
        $active_project->showHypothesisCompareLabels("least_likely_compare", $sortColsBy == "least_likely_compare", $compare_user, $compare_user_2);
        $active_project->showHypothesisCompareLabels("most_likely_compare", $sortColsBy == "most_likely_compare", $compare_user, $compare_user_2);
        $active_project->showHypothesisCompareLabels("added", $sortColsBy == "added", $compare_user, $compare_user_2);
        $active_project->showHypothesisCompareLabels("alpha", $sortColsBy == "alpha", $compare_user, $compare_user_2);
    } else {
        if ($kind == "user") {
            $active_project->showHypothesisUserLabels("least_likely", $sortColsBy == "least_likely", $ratings_user);
            $active_project->showHypothesisUserLabels("most_likely", $sortColsBy == "most_likely", $ratings_user);
            $active_project->showHypothesisUserLabels("added", $sortColsBy == "added", $ratings_user);
            $active_project->showHypothesisUserLabels("alpha", $sortColsBy == "alpha", $ratings_user);