def GetMolPopoverTag(Mol):
    """Set up a popover window containing any additional information about molecule."""

    if not OptionsInfo["Popover"]:
        return None

    # Set up data label and values...
    AvailableDataLabels = Mol.GetPropNames(includePrivate=False,
                                           includeComputed=False)

    DataContentLines = []
    MaxDataCharWidth = OptionsInfo["PopoverTextWidth"]
    MaxDataDisplayCount = OptionsInfo["PopoverDataCount"]

    DataDisplayCount = 0
    SkippedDataDisplay = False
    for DataLabel in AvailableDataLabels:
        DataDisplayCount += 1
        if DataDisplayCount > MaxDataDisplayCount:
            SkippedDataDisplay = True
            break

        DataValue = "%s" % Mol.GetProp(DataLabel)
        DataValue = DataValue.strip()
        if MiscUtil.IsEmpty(DataValue):
            continue

        # Change any new lines to ;
        if re.search("(\r\n|\r|\n)", DataValue):
            DataValue = re.sub("(\r\n|\r|\n)", "; ", DataValue)

        DataValue = MiscUtil.TruncateText(DataValue, MaxDataCharWidth, "...")
        DataValue = MiscUtil.ReplaceHTMLEntitiesInText(DataValue)

        DataContent = "<b>%s</b>: %s" % (DataLabel, DataValue)
        DataContentLines.append(DataContent)

    if not len(DataContentLines):
        return None

    if SkippedDataDisplay:
        DataContent = "<b>... ... ...</b>"
        DataContentLines.append(DataContent)

        DataContent = "Showing 1 to %s of %s" % (MaxDataDisplayCount,
                                                 len(AvailableDataLabels))
        DataContentLines.append(DataContent)
    else:
        DataContent = "Showing 1 to %s of %s" % (DataDisplayCount,
                                                 len(AvailableDataLabels))
        DataContentLines.append(DataContent)

    DataContent = MiscUtil.JoinWords(DataContentLines, "<br/>")
    PopoverTag = """class="MolPopover" data-toggle="popover" data-html="true" data-trigger="click" data-placement="right" title="<span class='small'><b>Additional Information</b></span>" data-content="<span class='small'>%s</span>" """ % DataContent

    return PopoverTag