$emtAudit_List = $dbobj->getauditdd(2);
     $contractAudit_List = $dbobj->getauditdd(3);
     //build audit dropdown into jason
     $list['IAL'] = $infoAudit_List;
     //get the built DD code
     $list['EAL'] = $emtAudit_List;
     //get the built DD code
     $list['CAL'] = $contractAudit_List;
     $list['COMMENT'] = $tableOutput;
     //get the built DD code
     echo json_encode($list);
     break;
 case "add_comment":
     // add the comment
     $comment = $_GET["info_comment"];
     $dbobj->addComment($cust_id, $comment, $user_id);
     //print_r($result);exit;
     //get new list
     $comments_List = $dbobj->getComments($cust_id);
     $tableOutput = "<table width='100%' style='border-collapse: collapse;' ><col width='80%'><col width='10%'><col width='10%'><tr><th>Comment</th><th>Date</th><th>By</th></th>";
     foreach ($comments_List as $value) {
         $tableOutput .= "<tr style='border-bottom: 1px solid;  height:80px;' ><td>" . $value['comment'] . "</td><td>" . $value['timestamp'] . "</td><td>" . $value['username'] . "</td></tr>";
     }
     $tableOutput .= "</table>";
     echo $tableOutput;
     break;
 case "get_totals":
     $requests = $dbobj->getappcount(0);
     $counts['NA'] = $requests['num'];
     $requests = $dbobj->getappcount(1);
     $counts['ERR'] = $requests['num'];