function hideNewsEntries(parentCtlId, undo)
{
	var parentCtl = document.getElementById(parentCtlId);
	
	if (parentCtl != null)
	{
		var cur = 0;
		if (!undo)
		{
			parentCtl.className += " noScroll";
		}
		else
		{
			parentCtl.className = parentCtl.className.replace(" noScroll", "");
			parentCtl.className = parentCtl.className.replace("noScroll", "");
		}
		
		var tableCtl = parentCtl.getElementsByTagName("table")[0];
		
		if (tableCtl != null)
		{
		    var itms = tableCtl.rows.length;
    		
		    for (var i = 0; i < itms; i++)
		    {
    			
			    if (i > 3)
			    {
				    var rowItm = tableCtl.rows[i];
				    if (!undo)
				    {
					    rowItm.className += " InvTotal";
				    }
				    else
				    {
					    rowItm.className = rowItm.className.replace(" InvTotal", "");
					    rowItm.className = rowItm.className.replace("InvTotal", "");
				    }
			    }
		    }
		}
	}
	
}

function hideSenderControl(senderId, otherId)
{
	var senderCtl = document.getElementById(senderId);
	senderCtl.className += " InvTotal";
	
	var otherCtl = document.getElementById(otherId);
	otherCtl.className = otherCtl.className.replace(" InvTotal", "");
	otherCtl.className = otherCtl.className.replace("InvTotal", "");
}
