$(document).ready(function() {
   $('ul.btn-search-rapide li').click(function(){
      $('ul.btn-search-rapide li').removeClass('active');
      $(this).addClass('active');
      var idDiv = $(this).children('span.id-div').html();
      //alert(idDiv);
      //on verifie quel slide on bouge
      if(idDiv=='flash_map'){
         $('#content-carte').css('display', 'none').hide('fast');
         $('#flash_map').css('display', 'block').fadeIn('fast');
      } else {
         $('#flash_map').css('display', 'none').hide('fast');
         $('#content-carte').css('display', 'block').show('fast');
      }
      /*
      if(idDiv=='flash_map'){
         $('#content-carte').animate({
            marginRight: "500px"
         });
         $('#flash_map').animate({
            marginLeft: "0"
         });         
      } else {
         $('#flash_map').animate({
            marginLeft: "-500px"
         });
         $('#content-carte').animate({
            marginRight: "0"
         });         
      }     */ 
      
   });
   
//var flashvars = {
//  flv: bigThis.urlVideo,
//  width: "780",
//  height: "400",
//  autoplay: "1",
//  margin: "2",
//  bgcolor: "f3be17",
//  bgcolor1: "cccccc",
//  bgcolor2: "cccccc",
//  playercolor: "666666",
//  buttoncolor: "cccccc",
//  buttonovercolor: "f3be17",
//  sliderovercolor: "f3be17",
//  showvolume: "1",
//  showtime: "1",
//  showfullscreen: "1"              
//};
//var params = {
//  menu: "false",
//  allowFullScreen: "true"
//};
//var attributes = {};
//
//swfobject.embedSWF(bigThis.urlPlayer, "videoFlash", "780", "400", "9.0.16",  bigThis.urlSite+"swf/expressInstall.swf", flashvars, params, attributes);   
   
 });
