/** permet de supprimer le libellé des input lorsque l'on clique dedans */
function cleanInputOnFocus(id, value){
	if(document.getElementById(id).value==value){
		document.getElementById(id).value = "";
	}
	document.getElementById(id).style.color="#5D5D5D";
	document.getElementById(id).style.borderColor="#0008FE";
	document.getElementById(id+"_button").style.borderTopColor="#0008FE";
	document.getElementById(id+"_button").style.borderBottomColor="#0000FF";
	document.getElementById(id+"_button").style.borderRightColor="#0000FF";
}

function cleanInputOnBlur(id, value){
	if(document.getElementById(id).value==""){
		document.getElementById(id).value = value;
		document.getElementById(id).style.color="#ACAFAF";
	}	
	document.getElementById(id).style.borderColor="#A8A8A8";
	document.getElementById(id+"_button").style.borderColor="#A8A8A8";
}

/** effectue la recherche produit*/
function rechercher(idExcept, valueExcept){
	document.formRecherchePrd.action = "LanceRechercheProduits.do";
	if(valueExcept == document.getElementById(idExcept).value)
		document.getElementById(idExcept).value = "";
	document.formRecherchePrd.submit ();
}
