if (!window.origadmin){
    $(document).ready(function(){ 
        Cufon.replace('.alternative')('h2');
        Cufon('#menu li', { hover: { color: '#ffcc00' } });
        Cufon('#menu li.on', { color: '#ffcc00' });
        $(document).pngFix(); 
    });
}

$(document).ready(function(){ 
    $('#temoignage').innerfade({
        animationtype: 'fade', 
        speed: 'slow', 
        timeout: 4000, 
        type: 'random', 
        containerheight: '1em' 
    });
});

$(window).load(function() {
    $('#slider').nivoSlider({
        effect:'fold', //Specify sets like: 'fold,fade,sliceDown'
        slices:35,
        animSpeed:700, //Slide transition speed
        pauseTime:4000,
        startSlide:0, //Set starting Slide (0 index)
        controlNav:true, //1,2,3...
        controlNavThumbsFromRel:false, //Use image rel for thumbs
        controlNavThumbsSearch: '.jpg', //Replace this with...
        controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
        pauseOnHover:false, //Stop animation while hovering
        manualAdvance:false, //Force manual transitions
        captionOpacity:0.7 //Universal caption opacity
    });
});

