GAddressItemTreeNode::GAddressItemTreeNode
	(
	Type			type,
	JNamedTreeNode* parent,
	const char*		name,
	const JBoolean	isBranch
	)
	:
	GAddressBaseTreeNode(parent, name, isBranch),
	itsType(type),
	itsText(name)
{
	if (type == kName)
		{
		SetName("Nickname");
		}
	else if (type == kFcc)
		{
		SetName("Fcc");
		if (parent != NULL)
			{
			GAddressEntryTreeNode* eparent =
				dynamic_cast(GAddressEntryTreeNode*, parent);
			assert(eparent != NULL);
			eparent->SetHasFcc(kJTrue);
			}
GAddressItemTreeNode::~GAddressItemTreeNode()
{
	JTreeNode* jparent = GetParent();
	if (jparent != NULL)
		{
		GAddressEntryTreeNode* parent =
			dynamic_cast<GAddressEntryTreeNode*>(jparent);
		if (parent != NULL && itsType == kFcc)
			{
			parent->SetHasFcc(kJFalse);
			}
		else if (parent != NULL && itsType == kComment)
			{
			parent->SetHasComment(kJFalse);
			}
		}
}