title: Adding event listener to infowindow Google Maps v3
body: <p>I tried to add some listeners for Info Window like:</p>
  
  <pre><code>//works
  google.maps.event.addListener(markerInfoWindow, "closeclick", function()
  {
      console.log('trigger close');
  });
  
  //doesn't work
  google.maps.event.addListener(markerInfoWindow, "click", function()
  {
      console.log('trigger close');
  });
  </code></pre>
  
  <p>Is there a list of events for infoWindow in documentation I missed or is there another way to make things done?</p>
  
  <p>Actually the probles is that I want to create an event listener to close infoWindow on <code>mouseout</code></p>
  
  <pre><code>google.maps.event.addListener(markerInfoWindow, 'mouseout', function(){
      console.log('trigger close');
      self._setInfoWndClosed();
  });
  </code></pre>
  
  <p>the <code>self._setInfoWndClosed()</code> is working correctly in context of <code>closeclick</code> event. And I end up finding out that actually listener doesn't work itself.</p>