function montreg(id, titre, num) {
	ligne = document.getElementById(id);
	if( ligne ){
		liste = ligne.parentNode;
		elements = liste.childNodes;
	
		for( i=0; i<elements.length; i++ ){
			if( elements[i])
			if( elements[i].id && elements[i].id != 'undefined' ){
				if( elements[i].id.match(/sscat_/) ){
					
					cache( elements[i].id);
				}
			}
		}

		ligne.style.display="block";
		document.getElementById("fleche_"+num).src ="/layout/img/ico_menu_on.gif";
		//titre.firstChild.style.color = '#000000';
	}
}

function montre(id, left){
	if( document.getElementById(id) ){
		elementStyle = document.getElementById(id).style;
		elementStyle.position = 'absolute';
		elementStyle.left = left+'px';
		elementStyle.display="block";
	}
}

function cache(id) {
	if( document.getElementById(id) ){
			document.getElementById(id).style.display="none";
			no = id.substring( 6 , id.length );
			document.getElementById("fleche_"+no).src ="/layout/img/ico_menu_off.gif";
			if( document.getElementById('menuh_'+no) ){
				document.getElementById('menuh_'+no).style.backgroundImage = '';
			}
		}
}

function letOpen(id){
	if( document.getElementById(id).style.display="block" ){
		document.getElementById(id).style.display="block";
		no = id.substring( 6 , id.length );
		//document.getElementById('menuh_'+no).style.backgroundColor = '#73CFEB';
		document.getElementById('menuh_'+no).style.backgroundImage = 'url("/layout/img/fond_barre_menu_on_2.gif")';
		document.getElementById('menuh_'+no).style.backgroundRepeat = 'repeat-x';
	}
}

function montresg(idlien){
	document.getElementById(idlien).style.fontWeight = 'bold';
}