//*** CHANGE TEXT SIZE ***
function textIncrease() {
	var textSize = document.getElementById('textWindow').style.fontSize;
	
	if (textSize == "12px")
	{
		document.getElementById('textWindow').style.fontSize = "14px";
	}
	
	if (textSize == "14px")
	{
		document.getElementById('textWindow').style.fontSize = "16px";
	}
}

function textDecrease() {
	var textSize = document.getElementById('textWindow').style.fontSize;
	
	if (textSize == "14px")
	{
		document.getElementById('textWindow').style.fontSize = "12px";
	}
	
	if (textSize == "16px")
	{
		document.getElementById('textWindow').style.fontSize = "14px";
	}
}


//*** SHOW/HIDE COMMENTS SECTION ***
function viewAddComments()
{	
	if (document.getElementById('addComments').style.display != "block")
	{
		document.getElementById('addComments').style.display = "block";
		document.getElementById('addCommentsButton').src = "/images/dio/arrows/commentsbutton_up.gif";
	}
	else
	{
		document.getElementById('addComments').style.display = "none";
		document.getElementById('addCommentsButton').src = "/images/dio/arrows/commentsbutton_down.gif";
	}	
}

function viewViewComments()
{	
	if (document.getElementById('viewComments').style.display != "block")
	{
		document.getElementById('viewComments').style.display = "block";
		document.getElementById('viewCommentsButton').src = "/images/dio/arrows/commentsbutton_up.gif";
	}
	else
	{
		document.getElementById('viewComments').style.display = "none";
		document.getElementById('viewCommentsButton').src = "/images/dio/arrows/commentsbutton_down.gif";
	}	
}

var commentcounter = 0;