       --
       -- Verify the parameters
       --
-      IF opr$oracle.global_utils.is_numeric (p_chan_id) = FALSE
-      THEN
+      IF opr$oracle.global_utils.is_numeric (p_chan_id) = FALSE THEN
          raise_application_error (
             -20010,
             'The channel id must be numeric or not null');
       END IF;
 
-      IF p_start_time IS NULL OR p_end_time IS NULL
-      THEN
+      IF p_start_time IS NULL OR p_end_time IS NULL THEN
          raise_application_error (-20010,
                                   'The start and end time must be specified');
       END IF;
 
-      IF opr$oracle.global_utils.is_numeric (p_reduction_nbr) = FALSE
-      THEN
+      IF opr$oracle.global_utils.is_numeric (p_reduction_nbr) = FALSE THEN
          raise_application_error (
             -20010,
             'The reduction number be numeric or not null');

                  This is left here for comparison, it's not used by CSS
   ******************************************************************************/

   FUNCTION get_browser_data_by_array (p_chan_id         IN NUMBER,
                                      p_start_time      IN TIMESTAMP_UNCONSTRAINED,
                                      p_end_time        IN TIMESTAMP_UNCONSTRAINED,
                                      p_reduction_nbr   IN NUMBER)
      RETURN SYS_REFCURSOR
   IS
      a_aggr              proj_types.sample_aggr_tab := proj_types.sample_aggr_tab ();
      
      v_start_time        TIMESTAMP_UNCONSTRAINED;

      c_sample            SYS_REFCURSOR;


   ******************************************************************************/
   FUNCTION get_browser_data (p_chan_id         IN NUMBER,
                              p_start_time      IN TIMESTAMP_UNCONSTRAINED,
                              p_end_time        IN TIMESTAMP_UNCONSTRAINED,
                              p_reduction_nbr   IN NUMBER)
      RETURN SYS_REFCURSOR
   IS
      v_start_time              TIMESTAMP_UNCONSTRAINED;
      v_count                   NUMBER;
      v_datatype                VARCHAR2 (9);
      c_browser_data            SYS_REFCURSOR;
      l_return_raw_data         NUMBER := 0;
      l_cursor_stmt             VARCHAR2 (32767);
      l_cursor_width_bucket_1   VARCHAR2 (400) := 'WITH base_result
        AS (';

      l_cursor_base_query       VARCHAR2 (400)
                                   := '
       smpl_time,
       severity_id,
       status_id,
