function visibilite(thingId)
{
	var targetElement;
	targetElement = document.getElementById(thingId) ;
	if (targetElement.style.display == "none")
	{
		targetElement.style.display = "" ;
	}
	else
	{
		targetElement.style.display = "none" ;
	}
}

function afficherMasquer (idElementAfficher, idElementMasquer)
{
	// Définition des variables.
	var idAfficher ;
	var idMasquer ;
	// Attribution de valeurs aux variables.
	idAfficher = idElementAfficher ;
	idMasquer = idElementMasquer ;
	// appel aux fonctions.
	afficher (idAfficher) ;
	masquer (idMasquer) ;
	placerCurseur(idAfficher) ;
}

function afficher(idElement)
{
	// Définition des variables.
	var element ;
	// Attribution de valeurs aux variables.
	element = document.getElementById(idElement) ;
	if (element.style.display == "none")
	{
		element.style.display = "" ;
	}
}

function masquer(idElement)
{
	// Définition des variables.
	var element ;
	// Attribution de valeurs aux variables.
	element = document.getElementById(idElement) ;
	if (element.style.display == "")
	{
		element.style.display = "none" ;
	}
}

function placerCurseur(idElement)
{
	var objet ;
	objet = document.getElementById(idElement) ;
	objet.focus();
}
