this.cadre_bleu = function(){	

$("div.cadre_bleu").hover(function(e){					  			  
		$(this)
			.css("background", "url(art/cadre_vert.png) 0 0 no-repeat")
			.css("cursor", "url('art/cursor.cur'),pointer");
		$(this).children(".cadre_cont")
			.css("background", "url(art/cadre_vert-02.png) 0 0 repeat-y");
		$(this).children(".cadre_bot")
			.css("background", "url(art/cadre_vert-03.png) 0 0 no-repeat");
		
		$("#bulle_cont").append("<p>Cliquez pour connaitre les détails de la formation</p>");
		$("#bulle")
			.css("visibility", "visible")
			.css("top",(e.pageY + xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	},	
	
	function(){
		$(this)
			.css("background", "url(art/cadre_bleu.png) 0 0 no-repeat");
		$(this).children(".cadre_cont")
			.css("background", "url(art/cadre_bleu-02.png) 0 0 repeat-y");
		$(this).children(".cadre_bot")
			.css("background", "url(art/cadre_bleu-03.png) 0 0 no-repeat");
		$("#bulle").css("visibility","hidden");
		$("#bulle_cont").children("<p>").remove();
	   });	
	
	
	
	$("div.cadre_bleu").mousemove(function(e){
		$("#bulle")
			.css("top",(e.pageY + xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});	

};

$(document).ready(function() {
    cadre_bleu();
})


function formateursliste() {
var idform = $("p.formateur").attr("id");
$("#liste_formateurs").children("#"+idform).remove();
$("#header").append("<img src='art/entete"+parseInt(Math.random()*6)+".jpg' />");
};


// Accueil HEADER Slideshow	//////////////////////////////////////////////////////////
function slideSwitch() {
    var $active = $('#header_index IMG.active');
    if ( $active.length == 0 ) $active = $('#header_index IMG:last');
    var $next =  $active.next().length ? $active.next() : $('#header_index IMG:first');
    $active.addClass('last-active');
    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 3000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 8000 );
});
// fin Accueil HEADER Slideshow	//////////////////////////////////////////////////////////	
	
