Index: trunk/BNS/bns.cpp
===================================================================
--- trunk/BNS/bns.cpp	(revision 1669)
+++ trunk/BNS/bns.cpp	(revision 1670)
@@ -292,4 +292,6 @@
 void t_bns::readEpoch() {
 
+  bnsSettings settings;
+
   // Read the first line (if not already read)
   // -----------------------------------------
@@ -376,4 +378,8 @@
               xx(3) *= 1e3;
               xx(4) *= 1e-6;
+
+              if ( Qt::CheckState(settings.value("beClocks1").toInt()) == Qt::Checked) {
+                xx(4) -= xx(5) / 299792458.0;
+              }
       
               t_ephPair* pair = _ephList[prn];
Index: trunk/BNS/bnssettings.cpp
===================================================================
--- trunk/BNS/bnssettings.cpp	(revision 1669)
+++ trunk/BNS/bnssettings.cpp	(revision 1670)
@@ -53,4 +53,6 @@
     setValue("startTab",    "0");
     setValue("autoStart",   "0");
+    setValue("beClocks1",   "0");
+    setValue("beClocks2",   "0");
     sync();
   }
Index: trunk/BNS/bnswindow.cpp
===================================================================
--- trunk/BNS/bnswindow.cpp	(revision 1669)
+++ trunk/BNS/bnswindow.cpp	(revision 1670)
@@ -182,4 +182,6 @@
   }
   _outFile_1_LineEdit    = new QLineEdit(settings.value("outFile_1").toString());
+  _beClocks1CheckBox  = new QCheckBox();
+  _beClocks1CheckBox->setCheckState(Qt::CheckState(settings.value("beClocks1").toInt()));
 
   // Ephemeris Corrections II Options
@@ -198,4 +200,6 @@
   }
   _outFile_2_LineEdit    = new QLineEdit(settings.value("outFile_2").toString());
+  _beClocks2CheckBox  = new QCheckBox();
+  _beClocks2CheckBox->setCheckState(Qt::CheckState(settings.value("beClocks2").toInt()));
 
   // RINEX Clocks Options
@@ -265,4 +269,6 @@
   _sp3SamplSpinBox->setWhatsThis(tr("Select the SP3 orbit file sampling interval in seconds. A value of zero '0' tells BNS to store all available samples into SP3 orbit files."));
   _autoStartCheckBox->setWhatsThis(tr("<p>Tick 'Auto start' for auto-start of BNS at startup time in window mode with preassigned processing options.</p>"));
+  _beClocks1CheckBox->setWhatsThis(tr("<p>Send broadcast clocks instead of broadcast clock corrections and ignore the incoming clock estimates.</p>"));
+  _beClocks2CheckBox->setWhatsThis(tr("<p>Send broadcast clocks instead of broadcast clock corrections and ignore the incoming clock estimates.</p>"));
 
 
@@ -384,5 +390,7 @@
   layout_cas1->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
   layout_cas1->addWidget(_outFile_1_LineEdit,              2, 3, 1, 30);
-  layout_cas1->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 3, 0, 1, 50);
+  layout_cas1->addWidget(new QLabel("Broadcast clocks"),   3, 0);
+  layout_cas1->addWidget(_beClocks1CheckBox,               3, 1);
+  layout_cas1->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
 
   tab_cas1->setLayout(layout_cas1);
@@ -430,5 +438,7 @@
   layout_cas2->addWidget(new QLabel("  Save (full path)"), 2, 2, Qt::AlignRight);
   layout_cas2->addWidget(_outFile_2_LineEdit,              2, 3, 1, 30);
-  layout_cas2->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 3, 0, 1, 50);
+  layout_cas2->addWidget(new QLabel("Broadcast clocks"),   3, 0);
+  layout_cas2->addWidget(_beClocks2CheckBox,               3, 1);
+  layout_cas2->addWidget(new QLabel("Produce broadcast ephemeris corrections, upload to caster, reference system, local storage."), 4, 0, 1, 50);
 
   tab_cas2->setLayout(layout_cas2);
@@ -692,4 +702,6 @@
   settings.setValue("sp3Sampl",    _sp3SamplSpinBox->value());
   settings.setValue("startTab",    tabs->currentIndex());
+  settings.setValue("beClocks1",   _beClocks1CheckBox->checkState());
+  settings.setValue("beClocks2",   _beClocks2CheckBox->checkState());
 }
 
Index: trunk/BNS/bnswindow.h
===================================================================
--- trunk/BNS/bnswindow.h	(revision 1669)
+++ trunk/BNS/bnswindow.h	(revision 1670)
@@ -100,4 +100,6 @@
   QCheckBox* _fileAppendCheckBox;
   QCheckBox* _autoStartCheckBox;
+  QCheckBox* _beClocks1CheckBox;
+  QCheckBox* _beClocks2CheckBox;
 
   QTextEdit*  _log;
