function scan()
{

	$('.status').each(function()
	{
		$(this).click(function()
		{
			$.getJSON(this.href + '?format=json',
			        function(data){
				$('.status_links_' + data.id).replaceWith(data.status);
				scan();
			})		
			return false;
		})
	})
}

$(document).ready(function()
{
	scan();
})
function scan()
{

	$('.status').each(function()
	{
		$(this).click(function()
		{
			$.getJSON(this.href + '?format=json',
			        function(data){
				$('.status_links_' + data.id).each(function()
				{
					$(this).replaceWith(data.status);
				})
				scan();
			})		
			return false;
		})
	})
}

$(document).ready(function()
{
	scan();
})
FIX support for multiple instance of movie status on the same page
FIX support for multiple instance of movie status on the same page
