			function change(obj) {
				var cat = document.getElementById(obj);
				if(cat.style.display=='none') 
					cat.style.display='block'; 
				else cat.style.display='none';
			}
			
			function developpe_tout(id) {
				var cat = document.getElementById(id);
				for(var i = 0 ; i < cat.childNodes.length; i++) {
					if(cat.childNodes[i].nodeName == "DIV") {
						cat.childNodes[i].style.display = "block";
						developpe_tout(cat.childNodes[i].id);
					}
				}
			}
			
			function developpe_coche(id) {
				var cat = document.getElementById(id);
				for(var i = 0 ; i < cat.childNodes.length; i++) {
					if(cat.childNodes[i].nodeName == "SPAN") {
						for(var j = 0 ; j < cat.childNodes[i].childNodes.length; j++) {
							if(cat.childNodes[i].childNodes[j].nodeName && cat.childNodes[i].childNodes[j].checked) {
								affiche(id);
							}
						}
					}
					if(cat.childNodes[i].nodeName == "DIV") {
						developpe_coche(cat.childNodes[i].id);
					}
				}
			}
			
			function reduit(id) {
				var cat = document.getElementById(id);
				for(var i = 0 ; i < cat.childNodes.length; i++) {
					if(cat.childNodes[i].nodeName == "DIV") {
						cat.childNodes[i].style.display = "none";
						reduit(cat.childNodes[i].id);
					}
				}				
			}
			
			function affiche(id) {
				if(id=="")
					return;
				var cat = document.getElementById(id);			
				cat.style.display = "block";
				if(cat.parentNode.nodeName == "DIV") {
					affiche(cat.parentNode.id);
				}
			}
			
			function decoche_tout(id) {
				var cat = document.getElementById(id);
				for(var i = 0 ; i < cat.childNodes.length; i++) {
					if(cat.childNodes[i].nodeName == "DIV") {
//						cat.childNodes[i].style.display = "inline";
						checkbox = document.getElementById(cat.childNodes[i].id.substr(5,50));
						checkbox.checked = "";
						decoche_tout(cat.childNodes[i].id);
					}
				}
			}