    $(document).ready(function(){
            jQuery.fx.interval = 100;
              
            $(".titrefade").hide();
            $(".titrefade").fadeIn(1600);

            $("#diapo").load('./diapo.php', function() {
               $(this).slideshow({timeout: 1500,type: 'sequence'});
            });

            $(".iconesfade").delay(5000).fadeIn('slow', function () {
                $(this).stop().animate({opacity : 0.50});
		return false;
            });
            $(".iconesfade").hover(function() {
                $(this).stop().animate({opacity : 1}, 100);
                }, function() {
                $(this).stop().animate({opacity : 0.75}, 500);
            });
            $("#icone-accueil").click(function() {
                $("#bloc-presentation").load('./presentation-isd-informatique.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });        
            $("#icone-formations").click(function() {
                $("#bloc-presentation").load('./formations-informatique-tarentaise-savoie.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
             $("#icone-telechargements").click(function() {
                $("#bloc-presentation").load('./telechargements.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
            $("#icone-services").click(function() {
                $("#bloc-presentation").load('./services-informatique-particuliers-professionnels.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
            $("#icone-sat").click(function() {
                $("#bloc-presentation").load('./antenniste-tv-par-satellite-orange.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
            $("#icone-nordnet").click(function() {
                $("#bloc-presentation").load('./internet-par-satellite-nordnet.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);                
		return false;
            });
            $("#icone-devweb").click(function() {
                $("#bloc-presentation").load('./creation-sites-internet-vitrine.php');
                $('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
            $("#icone-contact").click(function() {
                $("#bloc-presentation").load('./contact.php');
		$('html,body').animate({scrollTop: '400px'}, 1600);
                return false;
            });
            $("#titre").click(function() {
                $("#bloc-presentation").load('./presentation-isd-informatique.php');
                return false;
            });
            $(window).scroll(function() {
            if($(window).scrollTop() == 0){
            $('#scrollToTop').fadeOut("1500");
            } else {
            if($('#scrollToTop').length == 0){
            $('body').append('<div id="scrollToTop">'+
            '<a href="./"></a>'+
            '</div>');
            }
            $('#scrollToTop').fadeIn("1500");
            }
            });
            $('#scrollToTop a').live('click', function(event){
            event.preventDefault();
            $('html,body').animate({scrollTop: 0}, '2500');
            });

           
});

