function show(id)
{
	//var moins = document.createTextNode("-");
	
	this.bloc = document.getElementById(id);
	this.bloc.style.display = "block";
	this.bloc.style.visibility = "visible";
	
	this.plus = document.getElementById("plus"+id);
	//this.plus.removeChild(this.plus.firstChild);
	//this.plus.appendChild(moins);
	this.img = this.plus.firstChild;
	this.img.src = "squelettes/moins.gif";
	
	this.link = document.getElementById("link"+id);
	this.link.onclick = function() { hide(id); }
}

function hide(id)
{
	//var plus = document.createTextNode("+");
	
	this.bloc = document.getElementById(id);
	this.bloc.style.visibility = "hidden";
	this.bloc.style.display = "none";
	
	this.moins = document.getElementById("plus"+id);
	//this.moins.removeChild(this.plus.firstChild);
	//this.moins.appendChild(plus);
	this.img = this.plus.firstChild;
	this.img.src = "squelettes/plus.gif";
	
	this.link = document.getElementById("link"+id);
	this.link.onclick = function() { show(id); }
}

/*function displayNone()
{
	this.blocs = document.getElementsByClassName("sublist");
	nb = this.length;alert(nb);
	
	for(i=0; i<nb ; i++)
	{
		this.blocs[i].style.display = "none";alert(i);
	}
}*/

function select_departement_ok()
{
	this.pays = document.getElementById('pays');
	this.departement = document.getElementById('departement');
	
	if (this.pays.value == 'France')
		this.departement.disabled = '';
	else
		this.departement.disabled = 'disabled';
	
}
