Index: trunk/MagicSoft/Mars/datacenter/db/builddatasets.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/builddatasets.php	(revision 8200)
+++ trunk/MagicSoft/Mars/datacenter/db/builddatasets.php	(revision 8201)
@@ -268,4 +268,34 @@
 //            $_GET["fRunTimeLimit2"]=$first?"2":"";
 
+        if (empty($_GET["fPSFLimitRms"]))
+            $_GET["fPSFLimitRms"]=$first?"1.0":"";
+
+        if (empty($_GET["fPedRmsInLimitRms"]))
+            $_GET["fPedRmsInLimitRms"]=$first?"0.08":"";
+
+        if (empty($_GET["fNumIslLimitMean"]))
+            $_GET["fNumIslLimitMean"]=$first?"1.230":"";
+
+        if (empty($_GET["fNumIslLimitRms"]))
+            $_GET["fNumIslLimitRms"]=$first?"0.013":"";
+
+        if (empty($_GET["fMuonCalLimitMean"]))
+            $_GET["fMuonCalLimitMean"]=$first?"100.0":"";
+
+        if (empty($_GET["fMuonCalLimitRms"]))
+            $_GET["fMuonCalLimitRms"]=$first?"1.6":"";
+
+        if (empty($_GET["fRelTimeMaxLimit1"]))
+            $_GET["fRelTimeMaxLimit1"]=$first?"1.0":"";
+
+        if (empty($_GET["fRelTimeMaxLimit2"]))
+            $_GET["fRelTimeMaxLimit2"]=$first?"1.02":"";
+
+        if (empty($_GET["fRelTimeMinLimit1"]))
+            $_GET["fRelTimeMinLimit1"]=$first?"0.97":"";
+
+        if (empty($_GET["fRelTimeMinLimit2"]))
+            $_GET["fRelTimeMinLimit2"]=$first?"0.93":"";
+
         if (empty($_GET["fIMCLimit1"]))
             $_GET["fIMCLimit1"]=$first?"00":"";
@@ -290,5 +320,5 @@
 
         if (empty($_GET["fMuonRateLimitRms"]))
-            $_GET["fMuonRateLimitRms"]=$first?"0.2":"";
+            $_GET["fMuonRateLimitRms"]=$first?"0.1":"";
 
         if (empty($_GET["fMuonNumLimit1"]))
@@ -298,4 +328,10 @@
             $_GET["fMuonNumLimit2"]=$first?"120":"";
 
+        if (empty($_GET["fPulsePosLimit1"]))
+            $_GET["fPulsePosLimit1"]=$first?"3.5":"";
+
+        if (empty($_GET["fPulsePosLimit2"]))
+            $_GET["fPulsePosLimit2"]=$first?"2.5":"";
+
         if (empty($_GET["fNumStarsLimit1"]))
             $_GET["fNumStarsLimit1"]=$first?"30":"";
@@ -319,6 +355,6 @@
             $_GET["fIsolatedMaxCluster"]=$first?"On":"";
 
-        if (empty($_GET["fArrTimeMeanInner"]))
-            $_GET["fArrTimeMeanInner"]=$first?"On":"";
+//        if (empty($_GET["fArrTimeMeanInner"]))
+//            $_GET["fArrTimeMeanInner"]=$first?"On":"";
 
         if (empty($_GET["fArrTimeRmsInner"]))
@@ -352,6 +388,6 @@
             $_GET["fDataRate"]=$first?"On":"";
 
-        if (empty($_GET["fMaxHumidity"]))
-            $_GET["fMaxHumidity"]=$first?"On":"";
+//        if (empty($_GET["fMaxHumidity"]))
+//            $_GET["fMaxHumidity"]=$first?"On":"";
 
         if (empty($_GET["fBrightnessMed"]))
@@ -386,11 +422,11 @@
             printf("1000000000");
         printf("'>\n");
-        printf("<img id='allbutton'    src='../minus.png' alt='-' onclick='showhide(\"all\")'>                     Menu       \n");
-        printf("<img id='infobutton'   src='../plus.png'  alt='+' onClick='showhide(\"info\");showhide(\"info2\")'>SequInfo   \n");
-        printf("<img id='statbutton'   src='../plus.png'  alt='+' onClick='showhide(\"stat\");showhide(\"fail\")'> StatusInfo \n");
-        printf("<img id='calbutton'    src='../plus.png'  alt='+' onClick='showhide(\"cal\")'>                     CalInfo    \n");
-        printf("<img id='starbutton'   src='../plus.png'  alt='+' onClick='showhide(\"star\")'>                    StarInfo   \n");
-        printf("<img id='rangesbutton' src='../plus.png'  alt='+' onClick='showhide(\"ranges\")'>                  Ranges     \n");
-        printf("<img id='limitsbutton' src='../plus.png'  alt='+' onClick='showhide(\"limits\")'>                  Limits     \n");
+        printf("<img id='allbutton'    src='../minus.png' alt='-' onclick='showhide(\"all\")'>                                  <b>Menu</b>\n");
+        printf("&nbsp;&nbsp;<img id='infobutton'   src='../plus.png'  alt='+' onClick='showhide(\"info\");showhide(\"info2\")'> SequInfo   \n");
+        printf("&nbsp;&nbsp;<img id='statbutton'   src='../plus.png'  alt='+' onClick='showhide(\"stat\");showhide(\"fail\")'>  StatusInfo \n");
+        printf("&nbsp;&nbsp;<img id='calbutton'    src='../plus.png'  alt='+' onClick='showhide(\"cal\")'>                      CalInfo    \n");
+        printf("&nbsp;&nbsp;<img id='starbutton'   src='../plus.png'  alt='+' onClick='showhide(\"star\")'>                     StarInfo   \n");
+        printf("&nbsp;&nbsp;<img id='rangesbutton' src='../plus.png'  alt='+' onClick='showhide(\"ranges\")'>                   Ranges     \n");
+        printf("&nbsp;&nbsp;<img id='limitsbutton' src='../plus.png'  alt='+' onClick='showhide(\"limits\")'>                   Limits     \n");
 
         printf(" <div id='all' style='display:block'>");
@@ -651,6 +687,6 @@
                     if (empty($realsourcekey))
                     {
-                        printf("<li style='color:%s'>%s: The source you selected doesn't have real sourceskeys yet.",
-                               $color["ERROR"], "ERROR");
+                        printf("<li style='color:%s'>%s: The source you selected doesn't have a real sourcekey yet. Please insert fRealSourceKEY in the DB for %s",
+                               $color["ERROR"], "ERROR", $sourceson);
                         $numerr=$numerr+1;
                     }
