/******************************************************************************
* xrgFunctions.js
******************************************************************************/


function inputFocus(inputValue, inputId) {
    if (inputId == "xrg_inputSearch") {
        if (inputValue == "Rechercher") {
            document.getElementById(inputId).value = "";
        } else if (inputValue == "") {
            document.getElementById(inputId).value = "Rechercher";
        }
    }
}


$(document).ready(function() { 
	$("#xrg_inputSearch").focus( function() {
		valueInputSearch = $(this).val();
		if($(this).val()=="" || $(this).val()=="Rechercher") {
			$(this).val("");
		}
	});

	selectLangueReplacement($('select#xrg-select-langue')[0]);
	
});
