$(document).ready(function() {
    $("a.calendrier").easyTooltip();
    //$('.hideme').fadeOut(0);
    //$('#menu_top_nav').fadeOut(0);

    $('.arr').fadeTo('0', '0.5');
    $('.arr_cal').fadeTo('0', '0.9');

    /*
    $("#content").one('mousemove', function() {
      $('.hideme').delay(350).fadeIn('slow');
      //$('#menu_top_nav').delay(350).fadeIn('slow');
     });

     */

    $('.arr').hover(
      function() {
        $(this).stop().animate({opacity:1}, 100);
     },
      function() {
      $(this).stop().animate({opacity:0.5}, 300);
    });

    $('.arr_cal').hover(
      function() {
        $(this).stop().animate({opacity:1}, 100);
     },
      function() {
      $(this).stop().animate({opacity:0.9}, 300);
    });


    $('#barlogo a img').animate({opacity:0.7}, 0);

    $('#barlogo a img').hover(
      function() {
        $(this).stop().animate({opacity:1}, 50);
      },
      function() {
        $(this).stop().animate({opacity:0.7}, 350);
    });

    $("#panels").cycle({
      fx: 'fade',
      pause: '1',
      timeout: 8000 
     });

    $('#s2').cycle({ 
      timeout:  6500,
      speed:    1200,
      fx:     'scrollHorz', 
      next:   '#next', 
      prev:   '#prev',
      pause:    '1',
      easing:  'easeOutBack'
    });

   $('#cycl').cycle({ 
      timeout:  4000,
      //speed:    800,
      fx:     'turnUp', 
      pause:    '1',
      //easing:  'easeOutBack'
    });

    $('.lowpanleft').cycle({ 
      fx:       'fade', 
      next:     '#next_cal', 
      speed:    600,
      prev:     '#prev_cal',
      easing:   'easeOutSine',
      timeout:	0
    });


       $('.oneactu a').hover(function () {
        $(this).parent(".oneactu").css('background-color', '#f5f5f5');
    }, function () {
        $(this).parent(".oneactu").css('background-color', 'transparent');
    });

     $('a[rel*=facebox]').facebox();
       

});



