Index: /trunk/ippMonitor/Makefile
===================================================================
--- /trunk/ippMonitor/Makefile	(revision 9346)
+++ /trunk/ippMonitor/Makefile	(revision 9347)
@@ -34,4 +34,5 @@
 $(DESTBIN)/detNormalizedStatImfile.php \
 $(DESTBIN)/detProcessedImfile.php \
+$(DESTBIN)/detProcessedExp.php \
 $(DESTBIN)/detResidExp.php \
 $(DESTBIN)/detResidImfile.php \
Index: /trunk/ippMonitor/def/detInputExp.d
===================================================================
--- /trunk/ippMonitor/def/detInputExp.d	(revision 9346)
+++ /trunk/ippMonitor/def/detInputExp.d	(revision 9347)
@@ -6,10 +6,11 @@
 # HEAD HTML  test head 1 <br>
 
-#     field      width 	name        show  link to                 extras
-FIELD exp_tag,    20,   	exposure,   value,      rawImfile.php,          exp_tag=$exp_tag,det_id=$det_id,iteration=$iteration
-FIELD *,         5,    	choose,     value=proc, detProcessedImfile.php, exp_tag=$exp_tag,det_id=$det_id,iteration=$iteration
+#     field      width 	name        show         link to                       extras
 FIELD det_id,    7,    	det_id
+FIELD exp_tag,   20,   	exposure,   value,       rawImfile.php,          exp_tag=$exp_tag
 FIELD iteration, 5,    	iteration
 FIELD include,   7,   	include
+FIELD *,         5,    	resid,      value=goto,  detResidImfile.php,     exp_tag=$exp_tag,det_id=$det_id,iteration=$iteration
+FIELD *,         5,    	proc,       value=goto,  detProcessedImfile.php, exp_tag=$exp_tag,det_id=$det_id,iteration=$iteration
 
 # TAIL HTML  test tail 1 <br>
Index: /trunk/ippMonitor/def/detProcessedExp.d
===================================================================
--- /trunk/ippMonitor/def/detProcessedExp.d	(revision 9346)
+++ /trunk/ippMonitor/def/detProcessedExp.d	(revision 9347)
@@ -1,14 +1,14 @@
-TABLE detProcessedImfile
-TITLE detProcessedImfile
-FILE  detProcessedImfile.php
+TABLE detProcessedExp
+TITLE detProcessedExp
+FILE  detProcessedExp.php
 MENU  ipp.detrend.dat
 
-#     field     name      show   link to     extras
-FIELD det_id,    7,   Detrend Run ID
-FIELD exp_tag, 	15,   Exposure
-FIELD bg, 	10,   bg
-FIELD bg_stdev, 10,   bg_stdev
-FIELD b1_uri, 	20,   b1_uri
-FIELD b2_uri, 	20,   b2_uri
-FIELD recipe    15,   Recipe
-# FIELD bg_mean_stdev, 20,   bg_mean_stdev
+#     field     size   name       show            link to                 extras
+FIELD det_id,     7,   Det ID,    value
+FIELD exp_tag, 	 15,   Exposure,  value
+FIELD b2_uri, 	  8,   image,     image=$b2_uri,  detProcessedImfile.php, det_id=$det_id,exp_tag=$exp_tag,image=$b1_uri
+FIELD bg, 	 10,   bg,        value
+FIELD bg_stdev,  10,   bg_stdev,  value
+FIELD recipe,    15,   Recipe,    value
+FIELD b1_uri,  	 20,   b1_uri,    none
+# FIELD bg_mean_stdev, 20, bg_mean_stdev
Index: /trunk/ippMonitor/def/detProcessedImfile.d
===================================================================
--- /trunk/ippMonitor/def/detProcessedImfile.d	(revision 9346)
+++ /trunk/ippMonitor/def/detProcessedImfile.d	(revision 9347)
@@ -5,12 +5,14 @@
 
 #     field     name      show   link to     extras
-FIELD det_id,    7,   Detrend Run ID
-FIELD exp_tag, 	15,   Exposure Tag
-FIELD class_id, 10,   Chip ID
-FIELD uri, 	20,   uri
-FIELD bg, 	10,   bg
-FIELD bg_stdev, 10,   bg_stdev
-FIELD b1_uri, 	20,   b1_uri
-FIELD b2_uri, 	20,   b2_uri
-FIELD recipe, 	20,   recipe
+FIELD det_id,    7,   Det ID
+FIELD exp_tag, 	15,   Exposure
+FIELD class_id,  8,   Chip ID
+FIELD bg, 	 8,   backgnd
+FIELD bg_stdev,  8,   stdev
+# FIELD recipe, 	10,   recipe
 # FIELD bg_mean_stdev, 20,   bg_mean_stdev
+# FIELD uri, 	20,   uri
+# FIELD b1_uri, 	20,   b1_uri
+# FIELD b2_uri, 	20,   b2_uri
+
+TAIL PHP insert_image ('image');
Index: /trunk/ippMonitor/def/detResidExp.d
===================================================================
--- /trunk/ippMonitor/def/detResidExp.d	(revision 9346)
+++ /trunk/ippMonitor/def/detResidExp.d	(revision 9347)
@@ -4,13 +4,13 @@
 MENU  ipp.detrend.dat
 
-#     field      name       show            link to             extras
-FIELD det_id,     7,   Det ID,    value
-FIELD iteration,  5,   iter,      value
-FIELD accept,     4,   keep,      value
-FIELD exp_tag, 	 20,   exp_tag,    value,          rawImfile.php,      exp_tag=$exp_tag
-FIELD b2_uri, 	 20,   b2_uri,    image=$b2_uri,  detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$b1_uri
-FIELD recipe, 	 20,   recipe,    value
-FIELD bg,        20,   backgnd,   value
-FIELD bg_stdev,  20,   bg_stdev,  value
-FIELD b1_uri, 	 20,   b1_uri,    none
+#     field     size     name       show            link to             extras
+FIELD det_id,     7,   	 Det ID,    value
+FIELD exp_tag, 	 15,   	 Exposure,  value,          rawImfile.php,      exp_tag=$exp_tag
+FIELD b2_uri, 	  8,   	 image,     image=$b2_uri,  detResidImfile.php, det_id=$det_id,iteration=$iteration,exp_tag=$exp_tag,image=$b1_uri
+FIELD bg,         8,   	 backgnd,   value
+FIELD bg_stdev,   8,   	 bg_stdev,  value
+FIELD iteration,  5,   	 iter,      value
+FIELD accept,     4,   	 keep,      value
+FIELD b1_uri, 	 20,   	 b1_uri,    none
 # FIELD bg_mean_stdev, 20,   bg_mean_stdev
+# FIELD recipe, 	 15,   	 recipe,    value
Index: /trunk/ippMonitor/def/detResidImfile.d
===================================================================
--- /trunk/ippMonitor/def/detResidImfile.d	(revision 9346)
+++ /trunk/ippMonitor/def/detResidImfile.d	(revision 9347)
@@ -5,13 +5,13 @@
 
 #     field     width  name        show  link to     extras
-FIELD det_id,    20,   det_id
-FIELD iteration, 20,   iteration
-FIELD exp_tag,   20,   exp_tag
-FIELD class_id,  20,   class_id
-FIELD uri,       20,   uri
-FIELD recipe,    20,   recipe
-FIELD bg,        20,   bg
-FIELD bg_stdev,  20,   bg_stdev
-FIELD bg_mean_stdev, 20,   bg_mean_stdev
+FIELD det_id,     7,   Det ID
+FIELD exp_tag,   15,   Exposure
+FIELD class_id,   8,   Chip ID
+FIELD bg,         8,   backgnd
+FIELD bg_stdev,   8,   stdev
+FIELD iteration,  5,   iter
+# FIELD bg_mean_stdev, 20,   bg_mean_stdev
+# FIELD uri,       20,   uri
+# FIELD recipe,    20,   recipe
 # FIELD b1_uri,    20,   b1_uri
 # FIELD b2_uri,    20,   b2_uri
Index: /trunk/ippMonitor/raw/getimage.php
===================================================================
--- /trunk/ippMonitor/raw/getimage.php	(revision 9346)
+++ /trunk/ippMonitor/raw/getimage.php	(revision 9347)
@@ -1,5 +1,5 @@
 <?php
 
-$IMAGEDIR = "/data/alala/eugene/swtests/pantasks/isp/full/";
+$IMAGEDIR = "/data/alala/eugene/swtests/pantasks/";
 
 // load an image file from the image directory
Index: /trunk/ippMonitor/raw/ipp.detrend.dat
===================================================================
--- /trunk/ippMonitor/raw/ipp.detrend.dat	(revision 9346)
+++ /trunk/ippMonitor/raw/ipp.detrend.dat	(revision 9347)
@@ -27,8 +27,9 @@
 menulink  | menuselect 	 | link    | Detrend Runs                 | detRunSummary.php             
 menulink  | menuselect 	 | link    | Raw Detrend Exp              | rawDetrendExp_detrend.php
-menulink  | menuselect 	 | link    | Input Detrend Exp            | detInputExp.php                    
-menulink  | menuselect 	 | link    | Resid Detrend Exp            | detResidExp.php                       
+menulink  | menuselect 	 | link    | Input Detrend Exp            | detInputExp.php
+menulink  | menuselect 	 | link    | Proc Detrend Exp             | detProcessedExp.php
+menulink  | menuselect 	 | link    | Resid Detrend Exp            | detResidExp.php
 
 menutop   | menutop      | plain   | &nbsp;                       | 
-menutop   | menutop      | plain   | External Links               | none            
-menutop   | menutop      | link    | test page                    | phptest.php     
+menutop   | menutop      | plain   | External Links               | none
+menutop   | menutop      | link    | test page                    | phptest.php
Index: /trunk/ippMonitor/raw/ipp.php
===================================================================
--- /trunk/ippMonitor/raw/ipp.php	(revision 9346)
+++ /trunk/ippMonitor/raw/ipp.php	(revision 9347)
@@ -234,11 +234,11 @@
   if ($_SERVER[REQUEST_METHOD] == 'GET') { 
     $value = $_GET[$htmlkey]; 
-    // echo "using GET<br>\n";
+    // echo "using GET: $value<br>\n";
   } else {
     $value = $_POST[$htmlkey];
-    // echo "using POST<br>\n";
+    // echo "using POST: $value<br>\n";
   }
   // echo "value: $value<br>\n";
-  if ($value) {
+  if ($value != "") {
     if ($where) {
       $where = $where . " AND $key = '$value'";
