function tohere(k) { infowindow.setContent(to_htmls[k]); }
function fromhere(k) { infowindow.setContent(from_htmls[k]); }
function AddMarker(map,lat,lon,msg,image) {
var icon = new google.maps.MarkerImage(image);
var point = new google.maps.LatLng(lat,lon);
bounds.extend(point);
map.fitBounds(bounds);
var marker = new google.maps.Marker({
position: point,
map: map,
icon: icon
});
// The info window version with the 'to here' form open
if (msg) {
var to_directions = '
Directions: To here -'
+ 'From here'
+ '
Start address: