$(document).ready(function(){
	// Ajax request for tweets
	$("#loading").ajaxStart(function(){
	   $(this).show();
	 });

	$("#loading").ajaxStop(function(){
	      $(this).hide();
	 });
	 $('#result').load('tweets.php');
});

