function gereParagraphe(id){
	var titre = document.getElementById(id);
	if(titre.className == "titre"){
		titre.className = "titreOuvert";
		var description = document.getElementById('des_'+id);
		description.className = "descriptionOuvert";
	}
	else{
		titre.className = "titre";
		var description = document.getElementById('des_'+id);
		description.className = "description";
	}
}

function myPopup(sUrl, iWidth,iHeight,sName){
	popup(sUrl, iWidth, iHeight, sName, true);
	return false;
}

function delInputValue(elem,val){
	if(elem.value == val){
		elem.value = '';
	}
}
function restoreInputValue(elem,val){
	if(elem.value.length == 0){
		elem.value = val;
	}
}
function changeVisibilite(){
	var i,args=changeVisibilite.arguments;
	for (i=0; i<args.length;i++){
	var x = document.getElementById(args[i]);
		if(x.style.display == "none")
			x.style.display = "block";
		else
			x.style.display = "none";
	}
}

function tip(id){
	elem(id).style.display = "block";
}
function unTip(id){
	elem(id).style.display = "none";
}