// x x x x x x x x x x x x x x x x x x x x x x x   CAROUSEL   x x x x x x x x x x x x x x x x x x x x x x x x x xfunction mycarousel_initCallback(carousel){    // Disable autoscrolling if the user clicks the prev or next button.    carousel.buttonNext.bind('click', function() {        carousel.startAuto(0);    });    carousel.buttonPrev.bind('click', function() {        carousel.startAuto(0);    });    // Pause autoscrolling if the user moves with the cursor over the clip.    carousel.clip.hover(function() {        carousel.stopAuto();    }, function() {        carousel.startAuto();    });};$(document).ready(function(){	$("#ecran").click(function(){		$("#ecran_noir").hide();	    $("#ecran").hide();	});});function affiche_video(){	$("#ecran_noir").fadeIn('fast');	$("#ecran").fadeIn('fast');}function cache_video(){	$("#ecran_noir").fadeOut('fast');	$("#ecran").fadeOut('fast');}function videNews() { document.form_search.recherche.value='';}function slideSwitch() {    var $active = $('#slideshow IMG.active');    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');    // use this to pull the images in the order they appear in the markup    var $next =  $active.next().length ? $active.next()        : $('#slideshow IMG:first');    // uncomment the 3 lines below to pull the images in random order        // var $sibs  = $active.siblings();    // var rndNum = Math.floor(Math.random() * $sibs.length );    // var $next  = $( $sibs[ rndNum ] );    $active.addClass('last-active');    $next.css({opacity: 0.0})        .addClass('active')        .animate({opacity: 1.0}, 500, function() {            $active.removeClass('active last-active');        });}$(function() {    setInterval( "slideSwitch()", 5000 );});function deroule_std(num){	$("#item"+num).toggle('fast');}function deroule_implant(num){	$("#"+num).toggle('fast');}// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . function chiffres(num){	for(i=1;i<=3;i++){	$("#chiff"+i).hide();	$("#pc"+i).removeClass("som_pages_gris");	$('#pc'+i).html("<a href=\"javascript:;\" onClick=\"chiffres(" +i+ ")\" class=\"x1013\">" +i+ "</a>"); 	}	$("#chiff"+num).show();	$("#pc"+num).addClass("som_pages_gris");	$('#pc'+num).html(num); }// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . function langues_valeurs() {	for(i=1;i<=4;i++){	$("#lang_valeur"+i).hide();	}	$("#lang_valeur"+document.form_langues_prez.langues.value).slideDown('slow');}// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXfunction check_menu(sujet){	if(window.document.form_contacts.theme.value=='Product information'){ 	document.getElementById('menu_prod').className="masquageShow";  }	else{ 	document.getElementById('menu_prod').className="masquageHide";  }	if(window.document.form_contacts.theme.value!='Unsolicited candidature'){ 			document.getElementById('menu_activ').className="masquageShow";  		document.getElementById('menu_deja').className="masquageShow";  		}	if(window.document.form_contacts.theme.value=='Unsolicited candidature'){ 			document.getElementById('menu_activ').className="masquageHide";  		document.getElementById('menu_deja').className="masquageHide";  		}}
