var GM = {
	map: undefined,
	
	gMapMarker: function(point, html) {
		var marker = new GMarker(point);
		
		GEvent.addListener(marker, "mouseover", function() {
			GM.InfoWindow(marker, html);
		});
		
		return marker;
	},
	ClearMarkers: function() {
		this.map.clearOverlays();
	},
	InfoWindow: function(marker, html) {
		//marker.openInfoWindowHtml($('name_'+ rId).innerHTML);
		marker.openInfoWindowHtml(html);
	}
};
/*
function createMarker(point, number) {
  var marker = new GMarker(point);
  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml("Marker #<b>" + number + "</b>");
  });
  return marker;
}
*/
