Index: /trunk/ippMonitor/Makefile.in
===================================================================
--- /trunk/ippMonitor/Makefile.in	(revision 24867)
+++ /trunk/ippMonitor/Makefile.in	(revision 24868)
@@ -78,4 +78,5 @@
 $(DESTWWW)/detStackedImfile_failure.php \
 $(DESTWWW)/detRun.php \
+$(DESTWWW)/detRunActive.php \
 $(DESTWWW)/detRunSummary.php \
 $(DESTWWW)/newExp.php \
Index: /trunk/ippMonitor/def/detRunActive.d
===================================================================
--- /trunk/ippMonitor/def/detRunActive.d	(revision 24868)
+++ /trunk/ippMonitor/def/detRunActive.d	(revision 24868)
@@ -0,0 +1,49 @@
+TABLE detRun
+TITLE Active Detrend Runs
+FILE  detRunActive.php
+MENU  ipp.detrend.dat
+
+# the following WHERE clauses are added to all queries joined by AND
+WHERE detRun.state != 'drop'
+
+ARGS  ARG1 detRunSummary.det_id=$det_id
+
+ARGS  ARG2 detInputExp.det_id=$det_id
+ARGS  ARG2 detInputExp.iteration=$iteration
+
+ARGS  ARG3 detProcessedExp.det_id=$det_id
+
+ARGS  ARG4 detResidExp.det_id=$det_id
+ARGS  ARG4 detResidExp.iteration=$iteration
+
+ARGS  ARG5 detStackedImfile.det_id=$det_id
+ARGS  ARG6 detNormalizedImfile.det_id=$det_id
+ARGS  ARG7 detRegisteredImfile.det_id=$det_id
+
+#     field       size  format  name         show       link to                   extras
+FIELD det_id,        5, %s,     det ID,      value,     detRunSummary.php,        ARG1
+FIELD iteration,     3, %s,     iter
+FIELD det_type,     12, %s,     type
+FIELD state,         5, %s,     state
+FIELD *,             5, %s,     IN,          value=IN,   detInputExp.php,          ARG2
+FIELD *,             5, %s,     P,           value=P,   detProcessedExp.php,      ARG3
+FIELD *,             5, %s,     D,           value=D,   detResidExp.php,          ARG4
+FIELD *,             5, %s,     S,           value=S,   detStackedImfile.php,     ARG5
+FIELD *,             5, %s,     N,           value=N,   detNormalizedImfile.php,  ARG6
+FIELD *,             5, %s,     R,           value=R,   detRegisteredImfile.php,  ARG7
+FIELD mode,          5, %s,     mode
+FIELD filter,        5, %s,     filter     
+FIELD registered,   19, %s,     registered 
+FIELD use_begin,    19, %s,     use_begin  
+FIELD use_end,      19, %s,     use_end    
+FIELD airmass_min,   5, %.2f,   min_airmass    
+FIELD airmass_max,   5, %.2f,   max     
+FIELD exp_time_min,  5, %.2f,   min_exp_time   
+FIELD exp_time_max,  5, %.2f,   max 
+FIELD ccd_temp_min,  5, %.2f,   min_ccd_temp   
+FIELD ccd_temp_max,  5, %.2f,   max    
+FIELD posang_min,    5, %.2f,   min_posang     
+FIELD posang_max,    5, %s,     max      
+
+TD_CLASS list_off $state == 'drop'
+TD_CLASS list_run $state == 'run'
Index: /trunk/ippMonitor/raw/ipp.detrend.dat
===================================================================
--- /trunk/ippMonitor/raw/ipp.detrend.dat	(revision 24867)
+++ /trunk/ippMonitor/raw/ipp.detrend.dat	(revision 24868)
@@ -28,4 +28,5 @@
 menulink  | menuselect 	 | link    | Detrend Frames               | masterDetrendFrames.php
 menulink  | menuselect 	 | link    | Detrend Runs                 | detRun.php             
+menulink  | menuselect 	 | link    | Detrend Runs (Active)        | detRunActive.php             
 menulink  | menuselect 	 | link    | Detrend Iterations           | detRunSummary.php             
 
