Index: trunk/Mars/datacenter/db/mcdefs.php
===================================================================
--- trunk/Mars/datacenter/db/mcdefs.php	(revision 10005)
+++ trunk/Mars/datacenter/db/mcdefs.php	(revision 10011)
@@ -41,32 +41,34 @@
 $alias = array
     (
-     "Run.File"                 => "Run.File",
-     "fSequenceNumber"          => "Sequ",
-     "fNumEvents"               => "#Evts",
-     "fNumReUseShowers"         => "reused",
-     "SUM(fNumEvents)"          => "Evts",
-     "fParticleTypeName"        => "Particle",
-     "fRunTypeName"             => "RunType",
-     "fAtmosphericModelName"    => "Atm.Model",
-     "fCeresSetupName"          => "CeresSetup",
-     "fCorsikaInputCreated"     => "Input",
-     "Corsika"                  => "Corsika",
-     "Ceres"                    => "Ceres",
-     "SequenceFile"             => "SequenceFile",
-     "Callisto"                 => "Callisto",
-     "Star"                     => "Star",
-     "fZenithDistanceMin"       => "Zd<br>Min",
-     "fZenithDistanceMax"       => "Zd<br>Max",
-     "fAzimuthMin"              => "Az<br>Min",
-     "fAzimuthMax"              => "Az<br>Max",
-     "Min(fZenithDistanceMin)"  => "ZDMin",
-     "Max(fZenithDistanceMax)"  => "ZDMax",
-     "fEnergyMin"               => "EMin<br>[GeV]",
-     "fEnergyMax"               => "EMax<br>[GeV]",
-     "fImpactMax"               => "Impact<br>[cm]",
-     "fViewConeMax"             => "View<br>cone<br>[deg]",
-     "fEnergySlope"             => "Slope",
-     "fStartingAltitude"        => "Altitude<br>[g/sqcm]",
-     "fMirrorDiameter"          => "Mirror<br>diam.<br>[cm]",
+     "Run.File"                         => "Run.File",
+     "fSequenceNumber"                  => "Sequ",
+     "fNumEvents"                       => "#Showers",
+     "fNumEvents*fNumReUseShowers"      => "#Evts",
+     "fNumReUseShowers"                 => "reused",
+     "SUM(fNumEvents)"                  => "Showers",
+     "SUM(fNumEvents*fNumReUseShowers)" => "Evts",
+     "fParticleTypeName"                => "Particle",
+     "fRunTypeName"                     => "RunType",
+     "fAtmosphericModelName"            => "Atm.Model",
+     "fCeresSetupName"                  => "CeresSetup",
+     "fCorsikaInputCreated"             => "Input",
+     "Corsika"                          => "Corsika",
+     "Ceres"                            => "Ceres",
+     "SequenceFile"                     => "SequenceFile",
+     "Callisto"                         => "Callisto",
+     "Star"                             => "Star",
+     "fZenithDistanceMin"               => "Zd<br>Min",
+     "fZenithDistanceMax"               => "Zd<br>Max",
+     "fAzimuthMin"                      => "Az<br>Min",
+     "fAzimuthMax"                      => "Az<br>Max",
+     "Min(fZenithDistanceMin)"          => "ZDMin",
+     "Max(fZenithDistanceMax)"          => "ZDMax",
+     "fEnergyMin"                       => "EMin<br>[GeV]",
+     "fEnergyMax"                       => "EMax<br>[GeV]",
+     "fImpactMax"                       => "Impact<br>[cm]",
+     "fViewConeMax"                     => "View<br>cone<br>[deg]",
+     "fEnergySlope"                     => "Slope",
+     "fStartingAltitude"                => "Altitude<br>[g/sqcm]",
+     "fMirrorDiameter"                  => "Mirror<br>diam.<br>[cm]",
     );
 
@@ -74,20 +76,21 @@
 $rightalign = array
     (
-     $alias["fSequenceNumber"]           => "1",
-     $alias["fNumEvents"]                => "1",
-     $alias["fZenithDistanceMin"]        => "1",
-     $alias["fZenithDistanceMax"]        => "1",
-     $alias["fAzimuthMin"]               => "1",
-     $alias["fAzimuthMax"]               => "1",
-     $alias["fEnergyMin"]                => "1",
-     $alias["fEnergyMax"]                => "1",
-     $alias["fImpactMax"]                => "1",
-     $alias["fViewConeMax"]              => "1",
-     $alias["fEnergySlope"]              => "1",
-     $alias["fStartingAltitude"]         => "1",
-     $alias["fMirrorDiameter"]           => "1",
-     "Time"                              => "1",
-     "Runs"                              => "1",
-     "Evts"                              => "1",
+     $alias["fSequenceNumber"]              => "1",
+     $alias["fNumEvents"]                   => "1",
+     $alias["fNumEvents*fNumReUseShowers"]  => "1",
+     $alias["fZenithDistanceMin"]           => "1",
+     $alias["fZenithDistanceMax"]           => "1",
+     $alias["fAzimuthMin"]                  => "1",
+     $alias["fAzimuthMax"]                  => "1",
+     $alias["fEnergyMin"]                   => "1",
+     $alias["fEnergyMax"]                   => "1",
+     $alias["fImpactMax"]                   => "1",
+     $alias["fViewConeMax"]                 => "1",
+     $alias["fEnergySlope"]                 => "1",
+     $alias["fStartingAltitude"]            => "1",
+     $alias["fMirrorDiameter"]              => "1",
+     "Time"                                 => "1",
+     "Runs"                                 => "1",
+     "Evts"                                 => "1",
 );
 
Index: trunk/Mars/datacenter/db/menu.php
===================================================================
--- trunk/Mars/datacenter/db/menu.php	(revision 10005)
+++ trunk/Mars/datacenter/db/menu.php	(revision 10011)
@@ -8,27 +8,28 @@
     printf("  <tr valign='top'>\n");
 
-    CheckBox("fNumEvents",        "Num of events");
-    CheckBox("fNumReUseShowers",  "reused");
-    CheckBox("fSequenceNumber",   "Sequ#");
-
-    printf("  </tr><tr>\n");
-
-    CheckBox("fImpactMax",        "Impact");
-    CheckBox("fViewConeMax",      "Viewcone");
-    CheckBox("fStartingAltitude", "Starting alt.");
-    CheckBox("fMirrorDiameter", "Mirror diam.");
-
-    printf("  </tr><tr>\n");
-
-    CheckBox("fZenithDistanceMin", "Zenith dist. min");
-    CheckBox("fZenithDistanceMax", "Zenith dist. max");
-    CheckBox("fAzimuthMin",        "Azimuth min");
-    CheckBox("fAzimuthMax",        "Azimuth max");
-
-    printf("  </tr><tr>\n");
-
-    CheckBox("fEnergyMin",        "Emin");
-    CheckBox("fEnergyMax",        "Emax");
-    CheckBox("fEnergySlope",      "Slope");
+    CheckBox("fNumEvents",                  "Num of showers");
+    CheckBox("fNumEvents*fNumReUseShowers", "Num of events");
+    CheckBox("fNumReUseShowers",            "reused");
+    CheckBox("fSequenceNumber",             "Sequ#");
+
+    printf("  </tr><tr>\n");
+
+    CheckBox("fImpactMax",                  "Impact");
+    CheckBox("fViewConeMax",                "Viewcone");
+    CheckBox("fStartingAltitude",           "Starting alt.");
+    CheckBox("fMirrorDiameter",             "Mirror diam.");
+
+    printf("  </tr><tr>\n");
+
+    CheckBox("fZenithDistanceMin",           "Zenith dist. min");
+    CheckBox("fZenithDistanceMax",           "Zenith dist. max");
+    CheckBox("fAzimuthMin",                  "Azimuth min");
+    CheckBox("fAzimuthMax",                  "Azimuth max");
+
+    printf("  </tr><tr>\n");
+
+    CheckBox("fEnergyMin",                   "Emin");
+    CheckBox("fEnergyMax",                   "Emax");
+    CheckBox("fEnergySlope",                 "Slope");
 
     printf("  </tr><tr>\n");
@@ -1679,5 +1680,8 @@
 
     if (empty($_GET["fNumEvents"]))
-        $_GET["fNumEvents"]=$first?"On":"";
+        $_GET["fNumEvents"]=$first?"Off":"";
+
+    if (empty($_GET["fNumEvents*fNumReUseShowers"]))
+        $_GET["fNumEvents*fNumReUseShowers"]=$first?"On":"";
 
     if (empty($_GET["fSequenceNumber"]))
@@ -1718,5 +1722,5 @@
 
     if (empty($_GET["fNumReUseShowers"]))
-        $_GET["fNumReUseShowers"]=$first?"On":"";
+        $_GET["fNumReUseShowers"]=$first?"Off":"";
 
 }
