new google.maps.event.addListener(marker, 'click', function() {
infowindow.close(map, marker); //the code is not working..
infowindow.open(map, marker);
})
new google.maps.event.addListener(marker, 'click', function() {
infowindow.close(map, marker); //the code is not working..
infowindow.open(map, marker);
})