// JavaScript Document/* ==========================================================		SPRITE MENU========================================================== */	//contact : Captcha !	var a = Math.ceil(Math.random() * 10);    var b = Math.ceil(Math.random() * 10);           var c = a + b    function DrawBotBoot() {        document.write("<label>Combien font <strong>" + a + " + " + b +"</strong> ? </label>");        document.write("<input id='BotBootInput' type='text' maxlength='2' size='2'/>");    } $(document).ready(function(){	// page galerie_detail : fade le lecteur mp3	$("#player_show").click(function(){		if ($("#player_hidden").is(":hidden")) {			$("#player_hidden").fadeIn("normal");        	//$("#player_hidden").slideToggle("normal");      	} else {        	$("#player_hidden").fadeOut("normal");      	}		return false ;	});	// page contact : focus sur nom	$(function(){	$("#nom").focus();	});    $("#envoi_message").bind('submit', function() {		var bReturn = true;	// verif nom	if ( jQuery.trim($("#nom").val()).length==0 ) {		$("#nom").css({ background: "#FDC689" });		$("#nom").focus();		bReturn = false;	}			// verif mail	if ( jQuery.trim($("#adresse_mail").val()).length==0 ) {		$("#adresse_mail").css({ background: "#FDC689" });		$("#adresse_mail").focus();		bReturn = false ;	}				// verif message	if ( jQuery.trim($("#verif_message").val()).length==0 ) {		$("#verif_message").css({ background: "#FDC689" });		$("#verif_message").focus();		bReturn = false ;	} 		// verif captcha	var d = document.getElementById('BotBootInput').value;	/*if (d == c) return true;        	return false;*/	if (d != c) {		//alert("Hum, besoin d'un indice ?");		//document.write("<p>Hum, besoin d'un indice ?</p>");		$("#captcha").append("<p class=\"captcha_hum\">Hum, besoin d'un indice ?</p>");		$("#BotBootInput").css({ background: "#FDC689" });		$("#BotBootInput").focus();		bReturn = false ;	}    		return bReturn;	});	//end	});
