Index: trunk/ippMonitor/raw/ipp.detrend.dat
===================================================================
--- trunk/ippMonitor/raw/ipp.detrend.dat	(revision 9008)
+++ trunk/ippMonitor/raw/ipp.detrend.dat	(revision 9009)
@@ -24,8 +24,7 @@
 menutop   | menutop      | plain   | &nbsp;                       | 
 menulink  | menuselect 	 | link    | Master Detrend Images        | masterDetrendImages.php
-menulink  | menuselect 	 | link    | Det Run                      | detRun.php                    
-menulink  | menuselect 	 | link    | Det Run Summary              | detRunSummary.php             
-menulink  | menuselect 	 | link    | Det Input Exp                | detInputExp.php                    
-menulink  | menuselect 	 | link    | Det Resid Exp                | detResidExp.php                       
+menulink  | menuselect 	 | link    | Detrend Runs                 | detRunSummary.php             
+menulink  | menuselect 	 | link    | Input Detrend Exp            | detInputExp.php                    
+menulink  | menuselect 	 | link    | Resid Detrend Exp            | detResidExp.php                       
 
 menutop   | menutop      | plain   | &nbsp;                       | 
Index: trunk/ippMonitor/raw/ipp.php
===================================================================
--- trunk/ippMonitor/raw/ipp.php	(revision 9008)
+++ trunk/ippMonitor/raw/ipp.php	(revision 9009)
@@ -19,5 +19,5 @@
   // connect to the database
   require_once('DB.php');
-#  $db = DB::connect("mysql://ipp:ipp@localhost/ipp");
+  // $db = DB::connect("mysql://ipp:ipp@localhost/ipp");
   $db = DB::connect("mysql://ipp:ipp@localhost/detrend");
   if (DB::iserror($db)) {
@@ -81,4 +81,9 @@
     $ID['menu'] = $_GET[menu];
     // echo "using GET: ", $ID['pass'], $ID['proj'];
+
+    // echo "GET list<br>\n";
+    // foreach ($_GET as $key => $value) {
+    // echo "$key : $value<br>\n";
+    // }
   }
   if ($_SERVER[REQUEST_METHOD] == 'POST') { 
@@ -87,4 +92,9 @@
     $ID['menu'] = $_POST[menu];
     // echo "using POST: ", $ID['pass'], $ID['proj'];
+
+    // echo "POST list<br>\n";
+    // foreach ($_POST as $key => $value) {
+    // echo "$key : $value<br>\n";
+    // }
   }
 
@@ -178,10 +188,10 @@
 
 function check_restrict ($key, $where) {
-  // echo "key: $key<br>\n";
+  $htmlkey = preg_replace ('|\.|', '_', $key);
   if ($_SERVER[REQUEST_METHOD] == 'GET') { 
-    $value = $_GET[$key]; 
+    $value = $_GET[$htmlkey]; 
     // echo "using GET<br>\n";
   } else {
-    $value = $_POST[$key];
+    $value = $_POST[$htmlkey];
     // echo "using POST<br>\n";
   }
@@ -199,14 +209,16 @@
 }
 
-function write_query_row ($key) {
-  $value = $_POST[$key];
+function write_query_row ($key, $width) {
+  $htmlkey = preg_replace ('|\.|', '_', $key);
+  $value = $_POST[$htmlkey];
   if (($_SERVER[REQUEST_METHOD] == 'POST') && $value) { 
-    echo "<td class=\"list\"> <input type=\"text\" name=\"$key\" value=\"$value\"> </td>\n";
+    echo "<td class=\"list\"> <input type=\"text\" name=\"$key\" size=\"$width\" value=\"$value\"> </td>\n";
   } else {
-    echo "<td class=\"list\"> <input type=\"text\" name=\"$key\"> </td>\n";
+    echo "<td class=\"list\"> <input type=\"text\" name=\"$key\" size=\"$width\"> </td>\n";
   }
 }
 
 // expect image supplied with key=name
+// this function should define matching hidden inputs in the form
 function insert_image ($key) {
 
