Hi, I have several google map markers and lightbox image gallery in the html file. I need to associate each image from the gallery with the markers. I'm not very familiar with javascript, could you please give me some code?

I've tried this

Code:
google.maps.event.addListener(marker01, 'click', function() {
    document.getElementById("bump");
  });
"bump" is id of div with the image, but it didn't work.
Thank you!