Index: trunk/MagicSoft/Mars/datacenter/db/sequinfo.php
===================================================================
--- trunk/MagicSoft/Mars/datacenter/db/sequinfo.php	(revision 7546)
+++ trunk/MagicSoft/Mars/datacenter/db/sequinfo.php	(revision 7547)
@@ -85,5 +85,5 @@
         if ($_GET["fTest"]!="On")
         {
-            if ($_GET["fSource"]!="On")
+            if ($_GET["fSourceName"]!="On")
                 $query0 .= " LEFT JOIN Source ON Sequences.fSourceKEY=Source.fSourceKEY ";
             $query0 .= " WHERE fTest='no'";
@@ -210,5 +210,5 @@
 
         if (empty($_GET["fNumEvents"]))
-            $_GET["fNumEvents"]=$first?"On":"";
+            $_GET["fNumEvents"]="Off";
 
         if (empty($_GET["fRunStart"]))
@@ -219,5 +219,5 @@
 
         if (empty($_GET["fSequenceLast"]))
-            $_GET["fSequenceLast"]=$first?"On":"";
+            $_GET["fSequenceLast"]="Off";
 
         if (empty($_GET["fLinks"]))
@@ -225,5 +225,5 @@
 
         if (empty($_GET["fTest"]))
-            $_GET["fTest"]=$first?"On":"";
+            $_GET["fTest"]="Off";
 
         if (empty($_GET["fAzimuthMin"]))
@@ -357,5 +357,5 @@
 
         if (empty($_GET["fConvFactorOuter"]))
-            $_GET["fConvFactorOuter"]=$first?"On":"";
+            $_GET["fConvFactorOuter"]="Off";
 
         if (empty($_GET["fMeanNumberIslands"]))
@@ -373,4 +373,7 @@
         if (empty($_GET["fEffOnTime"]))
             $_GET["fEffOnTime"]="Off";
+
+        if (empty($_GET["fEffOnTime/fRunTime"]))
+            $_GET["fEffOnTime/fRunTime"]="Off";
 
         if (empty($_GET["fMuonRate"]))
@@ -496,7 +499,8 @@
         printf("  <tr>\n");
 
+        CheckBox("fDataRate",           "CleanedEvtRate");
         CheckBox("fMeanNumberIslands",  "MeanNumIslands");
-        CheckBox("fPSF",                "PSF");
-        CheckBox("fRatio",              "Ratio");
+        CheckBox("fMaxHumidity",        "MaxHumidity");
+        CheckBox("fInhomogeneity",      "Inhomogeneity");
 
         printf("  </tr><tr>\n");
@@ -504,11 +508,11 @@
         CheckBox("fMuonRate",           "MuonRate");
         CheckBox("fMuonNumber",         "MuonNumber");
+        CheckBox("fRatio",              "Ratio");
+        CheckBox("fPSF",                "PSF");
+
+        printf("  </tr><tr>\n");
+
         CheckBox("fEffOnTime",          "EffOnTime");
-
-        printf("  </tr><tr>\n");
-
-        CheckBox("fMaxHumidity",        "MaxHumidity");
-        CheckBox("fDataRate",           "CleanedEvtRate");
-        CheckBox("fInhomogeneity",      "Inhomogeneity");
+        CheckBox("fEffOnTime/fRunTime", "RelOnTime");
 
         printf("  </tr>\n");
