// Comportement site des Herbiers (jquery nécessaire) 
// Changement taille de la police
		var t;			
		t = 1;
	function changerTaille(modif) {
	t = t + modif;
	document.getElementsByTagName("body")[0].style.fontSize = t + "em";		
	}
//////
// Récupération de °C max et mini
// $(document).ready(function() {
//			var destination = $("#temperature_min_max")
//			var source = "weatherforecast-getpagecontent.html";
//			var cequejeveux = source +" .weather_forecast_weekday .temperature_mm:first";
//			destination.load(cequejeveux);
//			});
//////
// Fonctionnement du menu sous IE 6
$(document).ready(function(){sfHover();});
//////
// Affichage du chapitre dans Sidebar
 $(document).ready(function() {
			var cequejeveux2 = $("#nested .first_level .active span").clone().get(0);
			var oujevais = $("#subnav_h2");
			oujevais.append(cequejeveux2);
			});
//////
// Lien autour de l'image pour RDV / Dossier / Une / Actus
$(document).ready(function(){
	$('#other_news li').each(function(LienImg){
	 $(this).children('img').wrap($(this).children('a.lirelasuite').clone().empty().removeClass('lirelasuite') );
	});
});

$(document).ready(function(){
	$('#rdv_content div.rdv_li').each(function(LienImg){
	 $(this).find('div.picture img').wrap($(this).find('a.viewmore').clone().empty() );
	});
});

$(document).ready(function(){
	$('#article_une').each(function(LienImg){
	 $(this).children('img').wrap($(this).children('a.LinkIn').clone().empty().removeClass('LinkIn') );
	});
});
$(document).ready(function(){
	$('#dossier').each(function(LienImg){
	 $(this).children('img').wrap($(this).children('a.lire_la_suite').clone().empty().removeClass('lire_la_suite') );
	});
});

//////
// Supression de l'heure dans le titre de la periode de l'agenda
$(document).ready(function(){
var e = $('#periode');
e.text(e.text().replace(/, 00:00/g, ''));
});
//////
// Texte défilant
$(function() {
    $("#infouminoute").jCarouselLite({
        vertical: true,
		auto: 4200,
		speed: 1000,
		visible: 1

    });
});
 

//////