added ability to link event with location.  this precipitated the creation of showInfoWindow function, since that functionality now is called from two different places.