function MoreText()
{

	function showMore(id)
	{
		var hiddenTextBlockId = "#moreTextHiddenBlock" + id;
		var moreTextLinkId = "#moreTextLink" + id;

		/* NOTE: could not use jq.hide() because it does not support inline */
		$(moreTextLinkId).css("display","none");
		$(hiddenTextBlockId).css("display","inline");
	}

	function showLess(id)
	{
		var hiddenTextBlockId = "#moreTextHiddenBlock" + id;
		var moreTextLinkId = "#moreTextLink" + id;

		$(moreTextLinkId).css("display","inline");
		$(hiddenTextBlockId).css("display","none");
	}

	this.showMore = showMore;
	this.showLess = showLess;

}

var MoreText = new MoreText();