// static
void LLFloaterReporter::show(const LLUUID& object_id, const std::string& avatar_name)
{
	LLFloaterReporter* f = LLFloaterReg::showTypedInstance<LLFloaterReporter>("reporter");

	// grab the user's name
	std::string fullname;
	LLAgentUI::buildFullname(fullname);
	f->getChild<LLUICtrl>("reporter_field")->setValue(fullname);

	if (avatar_name.empty())
		// Request info for this object
		f->getObjectInfo(object_id);
	else
		f->setFromAvatar(object_id, avatar_name);

	// Need to deselect on close
	f->mDeselectOnClose = TRUE;

	f->openFloater();
}