//Description: Expandable/Collapsable Text Script
//Author: Isaac Hake

function expand(type,number)
{
	tag = document.getElementById(type+String(number));
	//To remove automatic collapsing, cut everything between these comments.
	i=0;
	id=type+String(number);
	if (tag.style.display=="none")
	{
		 while (document.getElementById(id) != null)
		 {
			 document.getElementById(id).style.display="none";
			 i++;
			 id=type+String(i);
		 }
	}
	//To remove automatic collapsing, cut everything between these comments.
	tag.style.display=(tag.style.display=="none")?"":"none";
}
