var play = 1;
function diaporama(){
    setTimeout('diaporama();', 10000);
    if(play==1){
        var a_cacher = $("#bandeau div:visible");
        if(a_cacher.next('div').size()>0){
                a_afficher = a_cacher.next('div');
        }else{
                a_afficher = $("#bandeau div:first");
        }
        a_cacher.fadeOut("slow");
        a_afficher.fadeIn("slow");
    }
}

$(document).ready(function () {
    if($("#bandeau div").size()>1){
        setTimeout('diaporama();', 5000);
        $('#bandeau').mouseover(function(){
            play=0;
        }).mouseout(function(){
            play=1;
        });
    }
});
function IsThisBrowserIE6() {
    return ((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined))
}
function IsThisBrowserIE7(){
	return (document.all && !window.opera && window.XMLHttpRequest) ? true : false;
}

