setTimeout("twibots('update');", 8000);

function twibots(action) {
	if (action == "update")
	{
		jQuery.get("ajax.php", "update", function(data, textStatus) {
			var response = eval('(' + data + ')');
			if (response.status == 200)
			{
				jQuery("#quote").fadeOut(1000, function() {
					jQuery("#quote").html(response.quote);
				});
				jQuery("#quote").fadeIn(2000);
				setTimeout("twibots('update');", 8000);
			}
		});
	}
	return;
}
