function getElementbyClass(classname){
	ccollect=new Array()
	var inc=0
	var alltags=document.all? document.all : document.getElementsByTagName("*")
	for (i=0; i<alltags.length; i++){
		if (alltags[i].className==classname)
			ccollect[inc++]=alltags[i]
	}
}
		
function contractcontent(omit){
	var inc=0
	while (ccollect[inc]){
		if (ccollect[inc].id!=omit)
			ccollect[inc].style.display="none"
		inc++
	}
}
		
function expandcontent(cid){
	if (typeof ccollect!="undefined") {
		document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none";
		}
	if (document.getElementById("N"+cid).src.indexOf("noeud_plus.gif")>-1) {
		document.getElementById("N"+cid).src="http://www.rittmo.com/images/noeud_moins.gif";
		}
	else {
		document.getElementById("N"+cid).src="http://www.rittmo.com/images/noeud_plus.gif";
		}
}