+ lat + "," + lon + "<br />Radius: " + rad + "km"});
%s
}

// sets the map on all markers in the array
function setAllMap(map, source) {
    for (var i = 0; i < window[source].length; i++) {
        window[source][i].setMap(map);
    }
}

// removes the markers from the map, but keeps them in the array
function clearMarkers(source) {
    setAllMap(null, source);
}

// shows any markers currently in the array
function showMarkers(source) {
    setAllMap(map, source);
}

function toggleMarkers(source) {
    i