/***FAIXA QUEM  **/        
$(function(){
$('.faixaQuem img').fadeTo('fast', 0.2);
$('.faixaQuem img').hover(function() {
$(this).stop().fadeTo('fast', 1.0);    }, function() {
$('.faixaQuem img').stop().fadeTo('fast', 0.2);  });        

/***CLIENTES  *****/
$('.clientes li a.thumb').lightBox();
//$('.clientes li img').fadeTo('fast', 0.2);
//$('.clientes li img').hover(function() { 
//$(this).stop().fadeTo('fast', 1.0);    }, function() { 
//$('.clientes li img').stop().fadeTo('fast', 0.2);  }); 

/****PORTIFOLIO  *******/
$('.portfolio li a').lightBox();

/**WEB ICON  ***********************/
$('.webIcon li a.thumb').lightBox();
//$('.webIcon li a.thumb img').fadeTo('fast', 0.2);
//$('.webIcon li a.thumb img').hover(function() {
//$(this).stop().fadeTo('fast', 1.0);    }, function() { 
//$('.webIcon li a.thumb img').stop().fadeTo('fast', 0.2);  });

 /*******JOBS  ****************************************************************************/
var $imageJobs = $('#imageJobs').cycle({     fx:     'fade',     speed:  'slow',     timeout: 5000,     next:   '.rightArrow',     prev:   '.leftArrow',    pause:   1,    before: onBefore	});
function onBefore(current, next) { 
$($('#thumbJobs > a')[$(current).attr('data-position')]).removeClass('current'); 
$($('#thumbJobs > a')[$(next).attr('data-position')]).addClass('current');  }
$('#thumbJobs > a').each(function(i){
	$(this).click(function(e){
		$imageJobs.cycle(i);      e.preventDefault();    });  });    });
