
    jQuery(function(){
      
      // initialise menu
      jQuery('ul.sf-menu').superfish();
      
      
     
      // Grab items from RSS, build ul then apply newsticker.    
      $.ajax({
        type: "GET",
        url: "rss",
        dataType: "xml",
        success: function(xml) {
          $(xml).find('item').each(function(){
            var dte = $(this).find('pubDate').text().substring(0,16);
            var title = $(this).find('title').text();
            var link = $(this).find('link').text();
            $('<li><strong>Latest Updates:</strong> <a href="'+link+'">'+title+'</a> updated ' + dte + '</li>').appendTo('ul#news');
          });
          $('ul#news').newsTicker();
        }
      });

      
      
    });


