function init_gmaps( id ) {
  Event.observe( window, 'load',
    function() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById( id ));
        var point = new GLatLng(37.771079412148296, -122.40908861160278 );        
        map.setCenter(point, 15);
        var marker = new GMarker(point);
        map.addOverlay(marker); 
      }
    }
  );

  Event.observe( window, 'unload', GUnload() );
}