// static
void LLFloaterAvatarInfo::callbackLoadAvatarName(const LLUUID& id,
												 const LLAvatarName& avatar_name)
{
	LLFloaterAvatarInfo *floater = gAvatarInfoInstances.getIfThere(id);

	if (floater)
	{
		// Build a new title including the avatar name.
		// Always show "Display Name [Legacy Name]" for security reasons
		std::ostringstream title;
		title << avatar_name.getNames() << " - " << floater->getTitle();
		floater->setTitle(title.str());
	}
}
// static
void LLFloaterAvatarInfo::callbackLoadAvatarName(const LLUUID& id,
										  const LLAvatarName& av_name)
{
	LLFloaterAvatarInfo *floater = gAvatarInfoInstances.getIfThere(id);

	if (floater)
	{
		// Build a new title including the avatar name.
		std::ostringstream title;
		//title << first << " " << last << " - " << floater->getTitle();
		title << av_name.getCompleteName()<< " - " << floater->getTitle();
		floater->setTitle(title.str());
	}
}