$(function()
{
	var ticker = function()
	{
		setTimeout(function(){
			$('#ticker li:first').animate( {marginTop: '-120px'}, 800, function()
			{
				$(this).detach().appendTo('ul#ticker').removeAttr('style');	
			});
			ticker();
		}, 5000);
	};
	ticker();
});

$(function()
{
	var tickernoticias = function()
	{
		setTimeout(function(){
			$('#tickernoticias li:first').animate( {marginTop: '-270px'}, 1000, function()
			{
				$(this).detach().appendTo('ul#tickernoticias').removeAttr('style');	
			});
			tickernoticias();
		}, 10000);
	};
	tickernoticias();
});


$(function()
{
	var tickeracciones = function()
	{
		setTimeout(function(){
			$('#tickeracciones li:first').animate( {marginTop: '-130px'}, 1000, function()
			{
				$(this).detach().appendTo('ul#tickeracciones').removeAttr('style');	
			});
			tickeracciones();
		}, 7000);
	};
	tickeracciones();
});


$(function()
{
	var tickerconvenios = function()
	{
		setTimeout(function(){
			$('#tickerconvenios li:first').animate( {marginTop: '-240px'}, 1000, function()
			{
				$(this).detach().appendTo('ul#tickerconvenios').removeAttr('style');	
			});
			tickerconvenios();
		}, 10000);
	};
	tickerconvenios();
});
