function NewsCallback(News) {
  var statusHTML = [];
  for (var i=0; i<News.length; i++){
    var title = decodeURIComponent(News[i].title);
    var url = News[i].url;
    var date = News[i].date;
    var introduction = decodeURIComponent(News[i].introduction);

    var body;
    if (url) {
        body = '<div class="news"><h2>'+date+' <a href="'+url+'">'+title+'</a></h2>'+introduction+'</div>';
    } else {
        body = '<div class="news"><h2>'+date+' '+title+'</h2>'+introduction+'</div>';
    }
    statusHTML.push(body);
  }
  document.getElementById('news_body').innerHTML = statusHTML.join('');
}

