function switchTextBlock(id)
{
	var textBlockObj         = document.getElementById("textBlock" + id);
	var type                 = textBlockObj.className;
	var textBlockReadLinkObj = document.getElementById("textBlockReadLink" + id); 
	
	if(type == "textBlockFolded")
	{
		textBlockObj.className = "textBlockUnfolded";
		textBlockReadLinkObj.style.display = "none";
	}
	else
	{
		textBlockObj.className = "textBlockFolded";
		textBlockReadLinkObj.style.display = "block";
	}
}