$(document).ready(function() {
	$('#Flyer a').animate({opacity: 100}, 25000);
	$('#TwitterFeed').jTweetsAnywhere({
	    username: 'whitetoweruk',
	    count: 10,
	    showFollowButton: true,
	    //searchParams: ['q=whitetoweruk']
	    showTweetFeed: {
	        showProfileImages: false,
	        showUserScreenNames: false,
	        paging: {
	            mode: 'endless-scroll'
	        }
	    }

//		count: 10,
//	    showTweetFeed: {
//	        showTimestamp: {
//	            refreshInterval: 15
//	        },
//	        autorefresh: {
//	            mode: 'trigger-insert',
//	            interval: 30
//	        },
//	        paging: { mode: 'more' }
//	    },
//	    onDataRequestHandler: function(stats, options) {
//	        if (stats.dataRequestCount < 11) {
//	            return true;
//	        }
//	        else {
//	            stopAutorefresh(options);
//	            alert("To avoid struggling with Twitter's rate limit, we stop loading data after 10 API calls.");
//	        }
//	    }
	});

});
