/**
 * JS
 * (c) 2008 Darío G. Ruellan / ecimTech
 * http://www.ecimtech.com
 */

$(function()
{
	// Inicializamos
	$("span.star").each(function()
	{
		shine(this);
	});
});

function shine(a)
{
	var	star = $(a);
	star.animate({opacity: 1}, function()
	{
		star.animate({opacity: 0.3}, function()
		{
			setTimeout(function(){shine(a)}, randtime());
		});
	});
}

function randtime()
{
	return Math.floor(Math.random()*1000);
}

