function undisplayid(id,idn) { 
	var displ="none";
	for(var i=1; i<4;i++){
		id2=id+i;
		id3=idn+i;
		if(document.getElementById(id3)){
			document.getElementById(id3).style.display = displ;
		}
		document.getElementById(id2).style.display = displ; 
	}
}
function undisplaytext(id) { /* effacer textes video */
	var displ="none";
	for(var i=1; i<4;i++){
		id2=id+i;
		if(document.getElementById(id2)){document.getElementById(id2).style.display = displ; }
	}
}
/*
function undisplayid(id) { 
	var displ="none";
	for(var i=1; i<10;i++){
		if(i!=id){
			displayid(i,displ);
		}
	}
}*/
function displayid(id,displ) { 
		document.getElementById(id).style.display = displ; 
}
function displayidpx(id,displ,height) { 
	document.getElementById(id).style.display = displ; 
	document.getElementById(id).style.height = height+"px"; 
}

function divheight (id,height){
	document.getElementById(id).style.height = height+"px"; 
}

function ssmenu(displ,id1,idn,height){ //id1= id parent(smenuX) - id=id ssmenu
	document.getElementById(idn).style.display = displ;
	document.getElementById(id1).style.height = height+"px"; 
	for(var i=1; i<4;i++){
		id2="ssmenu"+i;
		if(document.getElementById(id2) && id2!=idn){
			document.getElementById(id2).style.display ="none"; 
		}
	}
}