Index: trunk/ippMonitor/def/autocode.php
===================================================================
--- trunk/ippMonitor/def/autocode.php	(revision 9011)
+++ trunk/ippMonitor/def/autocode.php	(revision 9016)
@@ -4,4 +4,9 @@
 
 $ID = checkID ();
+if ($ID['proj']) {
+  $db = dbconnect($ID['proj']);
+} else {
+  $db = dbconnect('detrend');
+}
 
 if ($ID['menu']) {
@@ -14,6 +19,4 @@
 
 echo "<p> $TITLE </p>";
-
-$db = dbconnect();
 
 // define restrictiosn to the queries
Index: trunk/ippMonitor/def/detInputExp.d
===================================================================
--- trunk/ippMonitor/def/detInputExp.d	(revision 9011)
+++ trunk/ippMonitor/def/detInputExp.d	(revision 9016)
@@ -4,7 +4,5 @@
 MENU  ipp.detrend.dat
 
-HEAD HTML  test head 1 <br>
-HEAD HTML  test head 2 <br>
-HEAD HTML  test head 3 <br>
+# HEAD HTML  test head 1 <br>
 
 #     field      width 	name        show  link to                 extras
@@ -15,5 +13,3 @@
 FIELD include,   7,   	include
 
-TAIL HTML test tail 1 <br>
-TAIL HTML test tail 2 <br>
-TAIL HTML test tail 3 <br>
+# TAIL HTML  test tail 1 <br>
