Index: trunk/ippMonitor/def/autocode.php
===================================================================
--- trunk/ippMonitor/def/autocode.php	(revision 8984)
+++ trunk/ippMonitor/def/autocode.php	(revision 9003)
@@ -5,5 +5,11 @@
 $ID = checkID ();
 
-menu('$MENU', '$TITLE', '$STYLE', $ID['link']);
+if ($ID['menu']) {
+  $myMenu = $ID['menu'];
+} else {
+  $myMenu = "$MENU";
+}
+
+menu($myMenu, '$TITLE', '$STYLE', $ID['link']);
 
 echo "<p> $TITLE </p>";
@@ -26,4 +32,6 @@
   menu_end();
 }
+
+// ** BODY HTML **
 
 // set up the table and form
@@ -58,7 +66,11 @@
 $pass = $ID['pass'];
 $proj = $ID['proj'];
+$menu = $ID['menu'];
 echo "<input type=\"hidden\" name=\"pass\" value=\"$pass\">\n";
 echo "<input type=\"hidden\" name=\"proj\" value=\"$proj\">\n";
+echo "<input type=\"hidden\" name=\"menu\" value=\"$menu\">\n";
 echo "</form>\n";
+
+// ** TAIL HTML **
 
 menu_end();
Index: trunk/ippMonitor/def/detInputExp.d
===================================================================
--- trunk/ippMonitor/def/detInputExp.d	(revision 8984)
+++ trunk/ippMonitor/def/detInputExp.d	(revision 9003)
@@ -4,7 +4,16 @@
 MENU  ipp.detrend.dat
 
-#     field     name     link to     extras
-FIELD det_id, det_id
+BODY.HTML  test 1 <br>
+BODY.HTML  test 2 <br>
+BODY.HTML  test 3 <br>
+
+#     field      name       show        link to                 extras
+FIELD det_id,    det_id
 FIELD iteration, iteration
-FIELD exp_id, exp_id
-FIELD include, include
+FIELD exp_id,    exp_id,    value,      rawImfile.php,          exp_id=$exp_id
+FIELD exp_id,    processed, value=proc, detProcessedImfile.php, exp_id=$exp_id,det_id=$det_id
+FIELD include,   include
+
+TAIL.HTML test tail 1 <br>
+TAIL.HTML test tail 2 <br>
+TAIL.HTML test tail 3 <br>
Index: trunk/ippMonitor/def/detMasterFrame.d
===================================================================
--- trunk/ippMonitor/def/detMasterFrame.d	(revision 8984)
+++ trunk/ippMonitor/def/detMasterFrame.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.detrend.dat
 
-#     field     name     link to     extras
+#     field     name     show  link to     extras
 FIELD det_id, det_id
 FIELD iteration, iteration
Index: trunk/ippMonitor/def/detMasterImfile.d
===================================================================
--- trunk/ippMonitor/def/detMasterImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detMasterImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name     show  link to     extras
 FIELD det_id, det_id
 FIELD class_id, class_id
Index: trunk/ippMonitor/def/detNormalizedImfile.d
===================================================================
--- trunk/ippMonitor/def/detNormalizedImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detNormalizedImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name     show   link to     extras
 FIELD det_id, det_id
 FIELD iteration, iteration
Index: trunk/ippMonitor/def/detNormalizedStatImfile.d
===================================================================
--- trunk/ippMonitor/def/detNormalizedStatImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detNormalizedStatImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name     show   link to     extras
 FIELD det_id, det_id
 FIELD iteration, iteration
Index: trunk/ippMonitor/def/detProcessedImfile.d
===================================================================
--- trunk/ippMonitor/def/detProcessedImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detProcessedImfile.d	(revision 9003)
@@ -4,5 +4,8 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+RESTRICT exp_id
+RESTRICT det_id
+
+#     field     name      show   link to     extras
 FIELD det_id, det_id
 FIELD exp_id, exp_id
Index: trunk/ippMonitor/def/detResidExp.d
===================================================================
--- trunk/ippMonitor/def/detResidExp.d	(revision 8984)
+++ trunk/ippMonitor/def/detResidExp.d	(revision 9003)
@@ -4,13 +4,13 @@
 MENU  ipp.detrend.dat
 
-#     field     name     link to     extras
-FIELD det_id, det_id
-FIELD iteration, iteration
-FIELD exp_id, exp_id
-FIELD recipe, recipe
-FIELD bg, bg
-FIELD bg_stdev, bg_stdev
-FIELD bg_mean_stdev, bg_mean_stdev
-FIELD b1_uri, b1_uri
-FIELD b2_uri, b2_uri
-FIELD accept, accept
+#     field      name       show            link to         extras
+FIELD det_id,    det_id,    value
+FIELD iteration, iteration, value
+FIELD accept,    accept,    value
+FIELD exp_id, 	 exp_id,    value,          rawImfile.php,  exp_id=$exp_id
+FIELD b1_uri, 	 b1_uri,    image=$b1_uri,  display.php,    image=$b2_uri
+FIELD recipe, 	 recipe,    image=pic.png
+FIELD bg,        backgnd,   value
+FIELD bg_stdev,  bg_stdev,  value
+FIELD b2_uri, 	 b2_uri,    none
+# FIELD bg_mean_stdev, bg_mean_stdev
Index: trunk/ippMonitor/def/detResidImfile.d
===================================================================
--- trunk/ippMonitor/def/detResidImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detResidImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name        show  link to     extras
 FIELD det_id, det_id
 FIELD iteration, iteration
Index: trunk/ippMonitor/def/detRun.d
===================================================================
--- trunk/ippMonitor/def/detRun.d	(revision 8984)
+++ trunk/ippMonitor/def/detRun.d	(revision 9003)
@@ -4,5 +4,6 @@
 MENU  ipp.detrend.dat
 
-#     field     name     link to     extras
+#     field      name         show    link to              extras
+FIELD position,  det ID,      value,  detRunSummary.php,   det_id=$position
 FIELD iteration, iteration
-FIELD det_type, det_type
+FIELD det_type,  det_type
Index: trunk/ippMonitor/def/detRunSummary.d
===================================================================
--- trunk/ippMonitor/def/detRunSummary.d	(revision 8984)
+++ trunk/ippMonitor/def/detRunSummary.d	(revision 9003)
@@ -4,9 +4,10 @@
 MENU  ipp.detrend.dat
 
-#     field    name    link to     extras
-FIELD det_id, det_id
-FIELD iteration, iteration
-FIELD bg, bg
-FIELD bg_stdev, bg_stdev
-FIELD bg_mean_stdev, bg_mean_stdev
-FIELD accept, accept
+#     field      name           show         link to           extras
+FIELD det_id,    det_id
+FIELD iteration, iteration,	value,       detInputExp.php,  det_id=$det_id,iteration=$iteration
+FIELD iteration, iteration,	value=resid, detResidExp.php,  det_id=$det_id,iteration=$iteration
+FIELD accept,    accept
+FIELD bg,        bg
+FIELD bg_stdev,  bg_stdev
+# FIELD bg_mean_stdev, bg_mean_stdev
Index: trunk/ippMonitor/def/detStackedImfile.d
===================================================================
--- trunk/ippMonitor/def/detStackedImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/detStackedImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name                   show  link to     extras
 FIELD det_id, det_id
 FIELD iteration, iteration
Index: trunk/ippMonitor/def/newExp.d
===================================================================
--- trunk/ippMonitor/def/newExp.d	(revision 8984)
+++ trunk/ippMonitor/def/newExp.d	(revision 9003)
@@ -1,8 +1,8 @@
 TABLE newExp
-TITLE Raw Science Exposures
+TITLE New Exposures
 FILE  newExp.php
 MENU  ipp.copy.dat
 
-#        field          name           link to         extras
+#        field          name           show     link to         extras
 FIELD    exp_id,	exposure ID
 FIELD    camera,	camera
Index: trunk/ippMonitor/def/newImfile.d
===================================================================
--- trunk/ippMonitor/def/newImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/newImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#        field          name           link to         extras
+#        field          name           show   link to         extras
 FIELD    exp_id,	exposure ID
 FIELD    class,		class
Index: trunk/ippMonitor/def/p1PendingExp.d
===================================================================
--- trunk/ippMonitor/def/p1PendingExp.d	(revision 8984)
+++ trunk/ippMonitor/def/p1PendingExp.d	(revision 9003)
@@ -4,6 +4,6 @@
 MENU  ipp.science.dat
 
-#     field       name         link to         extras
-FIELD exp_id,     exposure ID, rawImfile.php,  exp_id=$exp_id
+#     field       name         show     link to         extras
+FIELD exp_id,     exposure ID, value,   rawImfile.php,  exp_id=$exp_id
 FIELD recipe,	  recipe
 FIELD p1_version, p1 version
Index: trunk/ippMonitor/def/p2PendingExp.d
===================================================================
--- trunk/ippMonitor/def/p2PendingExp.d	(revision 8984)
+++ trunk/ippMonitor/def/p2PendingExp.d	(revision 9003)
@@ -4,6 +4,6 @@
 MENU  ipp.science.dat
 
-#     field       name         link to         extras
-FIELD exp_id,     exposure ID, rawImfile.php,  exp_id=$exp_id
+#     field       name         show    link to         extras
+FIELD exp_id,     exposure ID, value,  rawImfile.php,  exp_id=$exp_id
 FIELD recipe,	  recipe
 FIELD p1_version, p1 version
Index: trunk/ippMonitor/def/p2PendingImfile.d
===================================================================
--- trunk/ippMonitor/def/p2PendingImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/p2PendingImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field     name     link to     extras
+#     field     name           show   link to     extras
 FIELD exp_id,	exposure ID
 FIELD class_id, class ID
Index: trunk/ippMonitor/def/p2ProcessedExp.d
===================================================================
--- trunk/ippMonitor/def/p2ProcessedExp.d	(revision 8984)
+++ trunk/ippMonitor/def/p2ProcessedExp.d	(revision 9003)
@@ -4,6 +4,6 @@
 MENU  ipp.science.dat
 
-#     field       name         link to                 extras
-FIELD exp_id,     exposure ID, p2ProcessedImfile.php,  exp_id=$exp_id
-FIELD p1_version, p1 version,  p1PendingExp.php        exp_id=$exp_id
+#     field       name         show   link to                 extras
+FIELD exp_id,     exposure ID, value, p2ProcessedImfile.php,  exp_id=$exp_id
+FIELD p1_version, p1 version,  value, p1PendingExp.php        exp_id=$exp_id
 FIELD p2_version, p2 version
Index: trunk/ippMonitor/def/p2ProcessedImfile.d
===================================================================
--- trunk/ippMonitor/def/p2ProcessedImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/p2ProcessedImfile.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.imfiles.dat
 
-#     field          name         link to     extras
+#     field          name          show  link to     extras
 FIELD exp_id,	     exposure ID
 FIELD class_id,	     class ID
Index: trunk/ippMonitor/def/p3PendingExp.d
===================================================================
--- trunk/ippMonitor/def/p3PendingExp.d	(revision 8984)
+++ trunk/ippMonitor/def/p3PendingExp.d	(revision 9003)
@@ -4,6 +4,6 @@
 MENU  ipp.science.dat
 
-#     field       name          link to                extras
-FIELD exp_id,	  exposure ID,  p2ProcessedImfile.php, exp_id=$exp_id
-FIELD p2_version, p2 version,   p2ProcessedExp.php,    exp_id=$exp_id
+#     field       name          show   link to                extras
+FIELD exp_id,	  exposure ID,  value, p2ProcessedImfile.php, exp_id=$exp_id
+FIELD p2_version, p2 version,   value, p2ProcessedExp.php,    exp_id=$exp_id
 FIELD p3_version, p3 version
Index: trunk/ippMonitor/def/pzPendingExp.d
===================================================================
--- trunk/ippMonitor/def/pzPendingExp.d	(revision 8984)
+++ trunk/ippMonitor/def/pzPendingExp.d	(revision 9003)
@@ -4,5 +4,5 @@
 MENU  ipp.copy.dat
 
-#        field        name           link to         extras
+#        field          name           show     link to         extras
 FIELD    exp_id,	exposures ID
 FIELD    camera, 	camera
Index: trunk/ippMonitor/def/pzPendingImfile.d
===================================================================
--- trunk/ippMonitor/def/pzPendingImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/pzPendingImfile.d	(revision 9003)
@@ -4,9 +4,9 @@
 MENU  ipp.imfiles.dat
 
-#        field        name           link to         extras
-FIELD    exp_id,	exposure ID
-FIELD    bytes,		number of bytes
-FIELD    md5sum,	checksum
-FIELD    class,		class
-FIELD    class_id,	class ID 
-FIELD    uri,		URI
+#        field        name             show   link to         extras
+FIELD    exp_id,      exposure ID
+FIELD    bytes,	      number of bytes
+FIELD    md5sum,      checksum
+FIELD    class,	      class
+FIELD    class_id,    class ID 
+FIELD    uri,	      URI
Index: trunk/ippMonitor/def/rawDetrendExp.d
===================================================================
--- trunk/ippMonitor/def/rawDetrendExp.d	(revision 8984)
+++ trunk/ippMonitor/def/rawDetrendExp.d	(revision 9003)
@@ -4,7 +4,7 @@
 MENU  ipp.copy.dat
 
-#        field        name           link to         extras
-FIELD    exp_id,      exposure ID,   rawImfile.php,  exp_id=$exp_id
-FIELD    telescope,   Telescope,     telescopes.php
+#        field        name           show     link to         extras
+FIELD    exp_id,      exposure ID,   value,   rawImfile.php,  exp_id=$exp_id
+FIELD    telescope,   Telescope
 FIELD    camera,      Camera
 FIELD    exp_type,    Type    
Index: trunk/ippMonitor/def/rawImfile.d
===================================================================
--- trunk/ippMonitor/def/rawImfile.d	(revision 8984)
+++ trunk/ippMonitor/def/rawImfile.d	(revision 9003)
@@ -7,5 +7,5 @@
 RESTRICT class_id
 
-#        field        name           link to         extras
+#        field        name           show   link to         extras
 FIELD    exp_id,      Exposure ID
 FIELD    class,       Class
Index: trunk/ippMonitor/def/rawScienceExp.d
===================================================================
--- trunk/ippMonitor/def/rawScienceExp.d	(revision 8984)
+++ trunk/ippMonitor/def/rawScienceExp.d	(revision 9003)
@@ -4,7 +4,7 @@
 MENU  ipp.copy.dat
 
-#        field        name           link to         extras
-FIELD    exp_id,      exposure ID,   rawImfile.php,  exp_id=$exp_id,camera=$camera,foo=bar
-FIELD    telescope,   Telescope,     telescopes.php
+#        field        name           show    link to         extras
+FIELD    exp_id,      exposure ID,   value,   rawImfile.php,  exp_id=$exp_id,camera=$camera,foo=bar
+FIELD    telescope,   Telescope,     value,  telescopes.php
 FIELD    camera,      Camera
 FIELD    exp_type,    Type    
Index: trunk/ippMonitor/def/summitExp.d
===================================================================
--- trunk/ippMonitor/def/summitExp.d	(revision 8984)
+++ trunk/ippMonitor/def/summitExp.d	(revision 9003)
@@ -1,11 +1,11 @@
 TABLE summitExp
-TITLE Summit Exposures
+TITLE Pending Summit Exposures
 FILE  summitExp.php
 MENU  ipp.copy.dat
 
-#        field        name           link to         extras
-FIELD    exp_id, 	exposure ID
-FIELD    camera, 	camera
-FIELD    telescope,	telescope
-FIELD    exp_type,	type
-FIELD    uri,		URI
+#        field        name           show    link to         extras
+FIELD    exp_id,      exposure ID
+FIELD    camera,      camera
+FIELD    telescope,   telescope
+FIELD    exp_type,    type
+FIELD    uri,         URI
