/*
    *  How to use the Dynamic Feed Control, which has pretty UI already made for you!
    *  Don't forget to check out the options:
    *  http://www.google.com/uds/solutions/dynamicfeed/reference.html
    */
    
    google.load('feeds', '1');
    
    function OnLoad() {
      var feeds = [
        {
          title: 'TUC: Health and Safety',
          url: 'http://www.tuc.org.uk/files/rss/rss-recentdocs-workplace-healthandsafety.xml'
        }, {
          title: 'HSE: What&#39;s new at HSE',
          url: 'http://news.hse.gov.uk/feed/'
        }, {
          title: 'Labourstart Health &amp; Safety NewsWire',
          url: 'http://www.labourstart.org/rss/labourstart.uk.xml'
        }
      ];
    
      var options = {
        stacked : true,
        horizontal : false,
        title : "News feeds from HSE, TUC &amp; Labourstart/Hazards.org",
		numResults : 5,
    linkTarget : google.feeds.LINK_TARGET_PARENT
      };
 
      new GFdynamicFeedControl(feeds, 'feedcontent', options);
      document.getElementById('feedcontent').style.width = "100%";
    }
    
    google.setOnLoadCallback(OnLoad);
