function set_type(type)
{

	var type_temp = document.getElementById( "type" + type );
	type_temp.checked = true;

}

function set_affichage( afficher, disparaitre, choix_recherche )
{

	var etape1 = document.getElementById( afficher );
	etape1.style.display = 'block';

	var etape2 = document.getElementById( disparaitre );
	etape2.style.display = 'none';

	if ( choix_recherche != "" )
	{
		var choix = document.getElementById( "choix_rechercheID" );
		choix.value = choix_recherche;
	}

}

function set_choix_affichage ( choix )
{

	var check_choix = document.getElementById( "affID"+choix );
	check_choix.checked = true;

}