Google Maps JavaScript API v3 Hello World with Events
Click on the marker to see the info window.