maps.event.addDomListener(window, 'load', initMap)