function makemap() {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		var point = new GLatLng(35.218769, -80.814203);
		map.setCenter(new GLatLng(35.218769, -80.814203), 15);
		map.addControl(new GSmallMapControl());
		map.addOverlay(createMarker(point, "<strong>The Junior League of Charlotte, Inc.</strong><br />1117 Pecan Ave<br />Charlotte, NC 28205"));
	}
}

function createMarker(point, message) {
	var marker = new GMarker(point);
	GEvent.addListener(marker, "click", function() {
		marker.openInfoWindowHtml(message);
	});
	return marker;
} 


$(document).ready(function () {
	makemap();
	createMarker();				
});


