def build_html_listbox(lst, nme):
    """
    returns the html to display a listbox
    """
    res = '<select name="' + nme + '" multiple="multiple">\n'
    for l in lst:
        res += '    <option>' + str(l) + '</option>\n'
    res += '</select>\n'
    return res
