function assignExpanders(){
	var mainDiv = document.getElementById("expanderHolder");
	if(mainDiv==null)
		return false;
	for(var i=0;i<mainDiv.childNodes.length;i++)
		if(mainDiv.childNodes[i].className=="expanderParent"){
			mainDiv.childNodes[i].onclick=showHideNext;
		}else if(mainDiv.childNodes[i].className=="expanderChild"){
			mainDiv.childNodes[i].style.display = "none";
		}
}

function showHideNext(thisElement){
	if(!this.className)
		return false;
	if(this.className=="expanderParent"){
		this.className="expanderParent_expanded";
	}else{
		this.className="expanderParent";
	}
	var next = this.nextSibling;
	while(next != null){
		if(next.className && next.className == "expanderChild"){
			if(next.style.display=="none"){
				next.style.display="";
			}else{
				next.style.display="none";
			}
			next = null;
		}else{
			next = next.nextSibling;
		}
	}
	return false;
}

