/*jQuery.fn.dicas = function (seletor,velocidade,duracao){
    var lista = [];
    var _velocidade  = velocidade;
    var _duracao = duracao;
    var current = 0;
    var _self = this;
    this.each(function(){
        lista.push(this);
    });

    function fadeIn(){
        if(current > _self.size()-1){
            current = 0;
        }
        jQuery(lista[current++]).fadeIn(_velocidade).delay(_duracao).fadeOut(_velocidade,fadeIn);
    }
    
    fadeIn();
}

jQuery(document).ready(function() {
        jQuery('#fotos li').hide();
        jQuery('#fotos li').dicas(800,700,2000); /* Fade in, Duração, Fade out */
//})

$(document).ready(function(){
    $('#fotos').nivoSlider({
        animSpeed: 1000, // Slide transition speed
        pauseTime: 5000, // How long each slide will show
        startSlide: 0, // Set starting Slide (0 index)
        directionNav: true, // Next & Prev navigation
        keyboardNav: false, // Use left & right arrows
        prevText: '<',
        nextText: '>',
        effect: 'fade'
    });
});
 



