anchor.diff:      }
           
       function getStatuses() {
  -      $.getJSON('<%= su.getMonitoringServiceUrl() %>/monitoring/MonitoringService/getComponentStatus/',{}, function(j){
  +      var url = monitoringServiceUrl + '/monitoring/MonitoringService/getComponentStatus/';
  +      $.getJSON(url, {}, function(j){
           for(var i = 0; i < j.length; i++) {
             if(components[j[i].componentID] == null) {
               $("#component-status-table-body").append(
  
positive.code:     }
          
      function populateStatusServiceConfiguration() {
        $.getJSON('<%= su.getMonitoringServiceUrl() %>/monitoring/MonitoringService/getMonitoringConfiguration/', {}, function(j){
          var htmlTableBody = "";
          for (var i = 0; i < j.length; i++) {
            htmlTableBody += "<tr><td>" + j[i].confOption + "</td><td>" + j[i].confValue + "</td></tr>";
  
negative.code:         }
        });
      }
  
      function initPage() {
        $.get('repo/urlservice/monitoringService', {}, function(url) {
          monitoringServiceUrl = url;
          populateStatusServiceConfiguration();
          getStatuses();
          update_component_status = setInterval(function() {getStatuses(); }, 2500);
        })
      }
          
      $(document).ready(function(){
        makeMenu("status-service.jsp", "#pageMenu");
        initPage();
        /*populateStatusServiceConfiguration();
        getStatuses();
        var update_component_status = setInterval(function() {getStatuses(); }, 2500);*/
      }); 
  
      </script>
  