	$(document).ready(function(){

		// Prend les attributs title pour prévaluer les input
		//$('#select_lang').sSelect();

		//$("#actus_perturbs").click(function(){ // clic sur un bloc
		//	goLocation(this)
		//});

		// Validation du formulaire
		/*$("#rech_iti").validate({
			messages: {
		        commune_depart: { required: "Obligatoire" },
		        commune_arrivee: { required: "Obligatoire" }
			}
		});*/

		$("#content_supp area").mouseover(function(){
			var regionMap = '.'+$(this).attr('id')+'-map';
			jQuery(regionMap).css('display', 'inline');

		}).mouseout(function(){
			var regionMap = '.'+$(this).attr('id')+'-map';

			// Check if a click event has occured and only change the Region hover state accodringly
			if (! jQuery(regionMap).hasClass('selected')) {
				jQuery(regionMap).css('display', 'none');
			}

		});

		$("#mayenne").tooltip({
			delay: 300,
			tip: '.tip_53'
		});

		$("#vendee").tooltip({
			delay: 300,
			tip: '.tip_85'
		});

		$("#maineetloire").tooltip({
			delay: 300,
			tip: '.tip_49'
		});

		$("#loireatlantique").tooltip({
			delay: 300,
			tip: '.tip_44'
		});

		$("#sarthe").tooltip({
			delay: 300,
			tip: '.tip_72'
		});
	});
