Index: branches/realtime_VDS/cptms/index.html
===================================================================
--- branches/realtime_VDS/cptms/index.html	(revision 584)
+++ branches/realtime_VDS/cptms/index.html	(revision 585)
@@ -149,4 +149,7 @@
     var kCCTVfile = "data_layers/cctv_locations_D12.gjson"; // CCTV locations
     var kHARfile = "data_layers/har_locations_D12.gjson"; // CMS locations 
+    var lastFetchFile = "last_fetch_time.txt";
+    var fetchInterval = 15;
+    var liveImage = "images/live.svg"
     var iconCMSactive = "images/icon_cms_active.png";
     var iconCMSidle = "images/icon_cms_idle.png";
@@ -200,4 +203,5 @@
         initVDSbutton();
         initVDSicons();
+        checkLastFetch();
     }
 
@@ -235,4 +239,6 @@
         var harTimer = setInterval(loadAllharMessages, 10000);
 
+        var fetchTimer = setInterval(checkLastFetch, 10000);
+
         // Listen for zoom changes and move the vds dots so as to keep a nice
         // visual distance between them appropriate to the zoom factor
