def parse_mapholder_div(tree):
    """Parses the HTML for a 'mapholder' class.

    Parameter
    ---------
    tree: lxml.html.HtmlElement
        The section in the HTML page for each map. This is normally
        <div class="mapholder"> ... </div>
    
    Return
    ------
    Dictionary object with the specified fields 
    """
    # Name of current map
    map_name = tree.find_class("mapname")[0].text_content()

    # ID of the map statistics
    map_stats_uri = tree.find_class("results-stats")[0].get("href")
    map_stats_id = map_stats_uri.rsplit("/")[-2]

    # Scores for CT and T sides for each half
    ct_scores = [score.text_content() for score in tree.find_class("ct")]
    t_scores = [score.text_content() for score in tree.find_class("t")]

    # Team 1 starts on CT or T side
    team_1_starting = tree.find_class("results-center-half-score")[0].xpath(".//span")[1].get("class")

    # 1 iff team_1 starts on CT, 2 otherwise (team_2 starts on CT)
    if team_1_starting == "ct":
        starting_ct = 1

        team_1_ct = ct_scores[0]
        team_1_t = t_scores[1]

        team_2_ct = ct_scores[1]
        team_2_t = t_scores[0]
    else:
        starting_ct = 2

        team_1_ct = ct_scores[1]
        team_1_t = t_scores[0]

        team_2_ct = ct_scores[0]
        team_2_t = t_scores[1]

    return {
        "map": map_name.lower(),
        "map_stats_id": int(map_stats_id),
        "team_1_t": int(team_1_t),
        "team_1_ct": int(team_1_ct),
        "team_2_t": int(team_2_t),
        "team_2_ct": int(team_2_ct),
        "starting_ct": starting_ct
    }