	function hideElem(e) {
		var obj = document.getElementById(e);
		if (obj != null) {obj.style.display='none'};
	}
	
	function showElem(e) {
		var obj = document.getElementById(e);
		if (obj != null) {obj.style.display='block'};
	}
	
	function showMenu(s) {
		hideMenu();
		showElem('contenu_' + s);
		showElem('detail_' + s);
		showElem('gauche_' + s);
		showElem('titre_' + s);
	}
	
	function hideMenu() {
		hideElem('contenu_ctx0');
		hideElem('detail_ctx0');
		hideElem('gauche_ctx0');
		hideElem('titre_ctx0');
		hideElem('contenu_ctxA');
		hideElem('detail_ctxA');
		hideElem('gauche_ctxA');
		hideElem('titre_ctxA');
		hideElem('contenu_ctxB');
		hideElem('detail_ctxB');
		hideElem('gauche_ctxB');
		hideElem('titre_ctxB');
		hideElem('contenu_ctxC');
		hideElem('detail_ctxC');
		hideElem('gauche_ctxC');
		hideElem('titre_ctxC');
		hideElem('contenu_ctxD');
		hideElem('detail_ctxD');
		hideElem('gauche_ctxD');
		hideElem('titre_ctxD');		
	}
	
	function hideMenuDeroulant() {
		//test function
		var obj = document.getElementById('m1');
		if (obj != null) {obj.style.display='none'};	
		var obj = document.getElementById('m2');
		if (obj != null) {obj.style.display='none'};		
		var obj = document.getElementById('m3');
		if (obj != null) {obj.style.display='none'};		
		var obj = document.getElementById('m4');
		if (obj != null) {obj.style.display='none'};	
		var obj = document.getElementById('m1_logo');
		if (obj != null) {obj.style.display='none'};		
		var obj = document.getElementById('m2_logo');
		if (obj != null) {obj.style.display='none'};		
		var obj = document.getElementById('m3_logo');
		if (obj != null) {obj.style.display='none'};		
		var obj = document.getElementById('m4_logo');
		if (obj != null) {obj.style.display='none'};		
	}
	
		function showPlus(s) {
		for (i=1;i<10;i++) {
			hideElem('plus_' + i)
		}
		showElem(s);
	}
	
