entById("act_button").setAttribute("href", "/view/"+closestFeature.properties.id);
                }
                else {
                    document.getElementById("act_date").innerHTML = closestFeature.properties.trackgroupentrycount +" Activities; Most recent:<br>" + stringdate;
                    document.getElementById("act_button").innerText = "Show All Activities";
                    document.getElementById("act_button").setAttribute("href", "/matching/"+closestFeature.properties.trackgroup);
  