$(function(){	Cufon.replace('.bt-dispo', {hover:true});	Cufon.replace('.fontSpe', {textShadow:"1px 1px 0 #000000"}); 	Cufon.replace('.fontSpe a.active, #telephone' , {textShadow:"1px 1px 0 #fff"}); 	Cufon.replace('.fontSpeNoshadow');	/*diapo*/	if($(".anythingSlider")[0]){		$('.anythingSlider').anythingSlider({			easing: "easeInOutExpo",			autoPlay: false,			delay: 3000,			startStopped: false, 			animationTime: 600,			hashTags: true,      			buildNavigation: false,   			pauseOnHover: true, 			startText: "Go", 			stopText: "Stop"		});	};	$("#lang li").hover(		function(){			$(this).stop().animate({marginTop:'-10px'});					}, function(){			$(this).stop().animate({marginTop:'0px'});	});	if($(".print")[0]){		$(".print").click(function(){			$("#tarifs").printElement(function(){return false;});		});	};	if($(".formtaxi")[0]){		$(".formtaxi").validate({			rules: {				nombre: "required",				nom: "required",				tel: "required",				email: {					required:true,					email: true				}								},			meta: "validate",			highlight: function(element, errorClass) {				$(element).fadeIn("slow",function() {				$(element).addClass(errorClass);				$(element).prev().animate({"marginLeft": "5px"},"fast",					function(){						$(this).animate({"marginLeft": "0"},"fast" );					});				});			},			unhighlight: function(element, errorClass) {				$(element).removeClass(errorClass);			}		});	};	$('#hautPage').click(function(){		if( $.browser.safari){			$('body').animate({scrollTop: 0}, "slow");		}else{			$('html').animate({scrollTop: 0}, "slow");		}		return false;	});});
