anchor.diff:        } else if(status == "UNKNOWN") {
           classAttr = "class=\"info\"";
         }
  -      html += "<tr " + classAttr + ">";
  +      html += "<tr " + classAttr + " id=\"" + id +"-row\">";
         html += "<td>" + id + "</td>";
  -      html += "<td>" + status + " </td>";
  -      html += "<td>" + time + "</td>";
  +      html += "<td id=\"" + id + "-status\">" + status + " </td>";
  +      html += "<td id=\"" + id + "-time\">" + time + "</td>";
         html += "<td> <button class=\"btn btn-mini\" id=\"" + id + "-msg-btn\"> Show details <i class=\"icon-chevron-right\"></i></button></td>";
         html += "<tr>";    
         return html;
  +    }
  +
  +    function updateComponentRow(id, status, time) {
  +      $("#" + id + "-row").removeClass("success alert alert-error info");
  +      var newClass = "success";
  +      if(status == "WARNING") {
  +        newClass = "alert";
  +      } else if(status == "UNRESPONSIVE" || status == "ERROR") {
  +        newClass = "alert alert-error";
  +      } else if(status == "UNKNOWN") {
  +        newClass = "info";
  +      }
  +      $("#" + id + "-row").addClass(newClass);
  +      $("#" + id + "-status").html(status);
  +      $("#" + id + "-time").html(time);
       }
           
       function populateStatusServiceConfiguration() {
  
positive.code:   <script type="text/javascript" src="menu.js"></script>
  
    <script>
      function makeComponentRow(id, status, time) {
        var html = "";
        var classAttr = "class=\"success\"";
  
negative.code:         
      function getStatuses() {
        $.getJSON('<%= su.getMonitoringServiceUrl() %>/monitoring/MonitoringService/getComponentStatus/',{}, function(j){
          for(var i = 0; i < j.length; i++) {
            if(components[j[i].componentID] == null) {
              $("#component-status-table-body").append(
                makeComponentRow(j[i].componentID, j[i].status, j[i].timeStamp));
                components[j[i].componentID] = {msg : j[i].info};
                attachButtonAction(j[i].componentID, j[i].info);
              } else {
                updateComponentRow(j[i].componentID, j[i].status, j[i].timeStamp));
                components[j[i].componentID].msg = j[i].info;
              }
          }
          var htmlTableBody = "";
          for (var i = 0; i < j.length; i++) {
            htmlTableBody += makeComponentRow(j[i].componentID, j[i].status, j[i].timeStamp);                    
  