$(document).ready(function() 
{
  
   $("#slidder").cycle(
   {
	   timeout: 5000,
	   fx: 'none'
		   
	   //pause: true
   });
   
   $("#cycle_promotions").cycle({
	   fx: 'scrollRight',
	   prev: '#prom_prev',
	   next: '#prom_next'
   });
   
   $("#cycle_promotions").cycle('pause');
   
   $("#cycle_evenements").cycle({
	   fx: 'scrollLeft',
	   prev: '#cal_prev',
	   next: '#cal_next'
   });
   
   
   $("a.lightbox").lightBox();
   $("a.exterieur").click(function()
   {
		window.open($(this).attr('href'));
		return false;
   });
   
  

   
   Cufon.replace("h1", {fontFamily: 'ITC Avant Garde Gothic Std Medium'});
   Cufon.replace("h2", {fontFamily: 'ITC Avant Garde Gothic Std Medium'});
   Cufon.replace("#nav li a", {fontFamily: 'ITC Avant Garde Gothic Std Demi'});
   
   Cufon.replace("#contenu_page > h1", {fontFamily: 'ITC Avant Garde Gothic Std Bold'});
   Cufon.replace("#contenu_succursale > h1", {fontFamily: 'ITC Avant Garde Gothic Std Bold'});
   
   Cufon.replace("#fil_arianne a", { fontFamily: 'ITC Avant Garde Gothic Std Book', fontSize: '12px'});
   Cufon.replace(".fil_arianne a", { fontFamily: 'ITC Avant Garde Gothic Std Book', fontSize: '12px'});
   
   Cufon.replace("#fil_arianne .active", { fontFamily: 'ITC Avant Garde Gothic Std Bold', fontSize: '12px'});
   Cufon.replace(".fil_arianne .active", { fontFamily: 'ITC Avant Garde Gothic Std Bold', fontSize: '12px'});
   
   Cufon.replace("#succursales_header h1", { fontFamily: 'ITC Avant Garde Gothic Std Book', fontSize: '24px'});
   Cufon.replace("#succursales_header h1 span", { fontFamily: 'ITC Avant Garde Gothic Std Bold', fontSize: '24px'});
   
   Cufon.replace("#box_presentation h1", {fontFamily: 'ITC Avant Garde Gothic Std Medium'});
   Cufon.replace("#box_presentation h1 span", {fontFamily: 'ITC Avant Garde Gothic Std Bold'});
   
   Cufon.replace("#lang a", {fontFamily: 'ITC Avant Garde Gothic Std Medium'});
   
 
   Cufon.replace("#succursale_menu li a", {fontFamily: 'ITC Avant Garde Gothic Std Book'});
   Cufon.replace("#succursale_menu li.selectionne a", {fontFamily: 'ITC Avant Garde Gothic Std Bold'});
  
   Cufon.replace("#succ_info span", { fontFamily: "ITC Avant Garde Gothic Std Demi", fontSize: "14px"});
   Cufon.replace("#succ_info span.tel", { fontFamily: "ITC Avant Garde Gothic Std Demi", fontSize: "20px"});
   Cufon.replace("#succ_info .metro span", { fontFamily: "ITC Avant Garde Gothic Std Demi", fontSize: "15px"});
//VideoJS.setupAllWhenReady();
//   $('.media').media();
  
});





