/* Desenvolvido por Guilherme Augusto Madaleno - zatec@ymail.com */
	/* Variáveis da página */
	
	var testimony = "ul#testimony";
	var imageSrc = "";
	
	$(document).ready(function() 
	{
		
		/* Exibe lista de depoimentos */
		
		$(testimony).innerfade
		({
			speed: 1000,
			timeout: 5000,
			type: 'random',
			containerheight: '180px'
		});		
		
		/* Efeito na lista de clientes */
		
		$("ul#customers li img").css('opacity', 0.3);
		$("ul#customers li img").hover(function () 
		{
			$(this).attr('src', $(this).attr('src').replace('-off.png', '') + '-on.png');
			$(this).animate
			({
				opacity: 1
			}, 100);
		}, 
		function () 
		{
			$(this).attr('src', $(this).attr('src').replace('-on.png', '') + '-off.png');
			$(this).animate
			({
				opacity: 0.3
			}, 500);
		});	
		
		/* Efeito na lista de parceiros */
		
		$("div#partners p img").css('opacity', 0.3);
		$("div#partners p img").hover(function () 
		{
			$(this).attr('src', $(this).attr('src').replace('-off.png', '') + '-on.png');
			$(this).animate
			({
				opacity: 1
			}, 1);
		}, 
		function () 
		{
			$(this).attr('src', $(this).attr('src').replace('-on.png', '') + '-off.png');
			$(this).animate
			({
				opacity: 0.3
			}, 500);
		});	

	});
