title: Reloading multiple elements by a timetable
body: <p>I have an active desktop website that I am trying to use that uses multiple javascript onload call functions. These functions are needed for:</p>
  
  <ol>
  <li>A calendar date and time clock.</li>
  <li>A time block function (e.g. if the time is 12:00:00 pm it <em>should</em> say "Lunch time").</li>
  <li>A news feed scroller.</li>
  </ol>
  
  <p>My problem is two-fold: Firstly, if the news scroller loads, then the date and time is missing, but the time block function still exists. Secondly, and quite possibly for a different thread, is that the date and time doesn't refresh the time block function, even though it has to refresh itself every second. Is there a function I'm supposed to use to automatically refresh the time block function to what time of day it is? They're both in the same table cell, but no frames have been used. Is it because they're not sharing the same div? Or do I have to reformat it to a frame instead?</p>
  
  <p>Any help would be greatly appreciated, and any further information I'll be more than happy to elaborate on.</p>
  
  <p>My code now:</p>
  
  <pre><code>function start() { 
    oncontextmenu="return false;";
    feedreader.run(); 
    date_time('date_time');
  } 
  window.onload = start;
  </code></pre>
  
  <p>Cheers,
  MJ</p>