/**
 * @author Tony Sahraoui
 * v. 1.1
 */

$(document).ready(function(){

        /* *** NEWSLETTER *** */
	$("#newsletter #text").focus(function () {
		if($(this).val() == "Entrez votre Email..."){
			$(this).val("");	
		}
	});
	$("#newsletter #text").blur(function () {
		if($(this).val() == ""){
			$(this).val("Entrez votre Email...");	
		}
	});

        /* *** MEMBER *** */
	$("#membre #membre-pseudo").focus(function () {
		if($(this).val() == "Pseudo"){
			$(this).val("");	
		}
	});
	$("#membre #membre-pseudo").blur(function () {
		if($(this).val() == ""){
			$(this).val("Pseudo");	
		}
	});
	$("#membre #membre-password").focus(function () {
		if($(this).val() == "++++++"){
			$(this).val("");	
		}
	});
	$("#membre #membre-password").blur(function () {
		if($(this).val() == ""){
			$(this).val("++++++");	
		}
	});
	
            /* *** SEARCH *** */
	$("#recherche #text").focus(function () {
		if($(this).val() == "ex: lets crazy..."){
			$(this).val("");	
		}
	});
	$("#recherche #text").blur(function () {
		if($(this).val() == ""){
			$(this).val("ex: lets crazy...");	
		}
	});
    
});
