// updates the content of news box
function displayNews()
{
  addDependentCallback(function()
    {
      readRssIntoElementWithId( 'newsbox', newsUrl, newsNumberOfItems );
    }, 
    'announces,newsContainer,helperFunctions,ajax'
  );
}

// starts running and updating this box
function startNewsBoxUpdate()
{
  displayNews();
}

// dependency is loaded
dependencyLoaded('news');
