function expandCollapse(which)
{
	expandCollapse2(which, 'expand', 'collapse')
}

function expandCollapse2(which, expand, collapse)
{
	var theElement = document.getElementById(which);
	var Ex = document.getElementById(expand);
	var Min = document.getElementById(collapse);
	
	if (theElement.style.display=="block")
	{
		theElement.style.display="none";
		if(Ex) Ex.style.display="block";
		if(Min) Min.style.display="none";
	}
	else if (theElement.style.display=="none")
	{
		theElement.style.display="block";
		if(Ex) Ex.style.display="none";
		if(Min) Min.style.display="block";
	}
}