function listTweets(json_obj) {
  tweets = [];
  for (var i = 0; i < json_obj.results.length; i++){
    var tweet = json_obj.results[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g, function(url) {
          return '<a href="'+url+'">'+url+'</a>';
    })
    var author_link = "<a style='font-size:85%' href='http://twitter.com/" + json_obj.results[i].from_user + "'>" + json_obj.results[i].from_user + "</a>";
    tweets.push("<li>" + tweet + "<br />" + author_link + "</li>");
	tweets.push("<hr />");
  }
  tweets.push("<strong>Powered by <a href='http://" + appHost + "'>Bird Watch Me!</a></strong>");
  document.getElementById('trend_list').innerHTML = tweets.join('');
}
