function map_load(list) {
	//addr = new Array();
	//addr[0]="<p><h3>Mears Park</h3><BR>St. Paul, MN<p>"; //******************************************************************************************
	addr = list['bubble'];
	alert(list['geo'][0]);
	alert(addr[0]);
	// create map
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		var mapTypeControl = new GMapTypeControl();
		var topRight = new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(10,10));
		var bottomRight = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,10));
			//map.addControl(mapTypeControl, topRight);
		GEvent.addListener(map, "dblclick", function() {
				map.removeControl(mapTypeControl);
				map.addControl(new GMapTypeControl(), bottomRight);
		});
		map.addControl(new GSmallMapControl());
		map.setCenter(new GLatLng(44.949735,-93.087888), 10);
	}

	map.setZoom(15);

	//*******************************************************************************************
	// Create a base icon for all of our markers that specifies the shadow, icon dimensions, etc.
	var baseIcon = create_icon();

	//******************************************************************************************
	// Creates a marker whose info window displays the letter corresponding to the given index.
	function createMarker(point, index, bubble) {
		// Create a lettered icon for this point using our icon class
		var letter = String.fromCharCode("A".charCodeAt(0) + index);
		var letteredIcon = new GIcon(baseIcon);
		letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
		
		// Set up our GMarkerOptions object
		markerOptions = { icon:letteredIcon };
		var marker = new GMarker(point, markerOptions);
		
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(bubble);
		});
		return marker;
	}


	/**/
	//************************************************************************
	// Add markers to the map
	function add_markers(mark, map, htm){
		for(i=0; i< mark.length; i++){
			map.addOverlay(createMarker(mark[i], i, htm[i]));
		}
	}

	Markers=new Array();
	// add pins to the map
	var point = new GLatLng(list['geo'][0]);
	map.addOverlay(mark=createMarker(point, 0, addr[0]));
	Markers[0]=mark; 
}

	//************************************************************************
	//
	function call(i){
		Markers[i].openInfoWindowHtml(addr[i]);
	}
	//************************************************************************
	// create icon
	function create_icon(){
		var baseIcon = new GIcon();
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);
		return baseIcon;
	}
