$(function() { // when the document is ready to be manipulated.
	if (GBrowserIsCompatible()) { // if the browser is compatible with Google Map's
		var map = document.getElementById("myMap"); // Get div element
		var m = new GMap2(map); // new instance of the GMap2 class and pass in our div location.
		var bestImpress = new GLatLng(37.137971, -93.299785);
		m.setCenter(bestImpress, 15); // pass in latitude, longitude, and zoom level.
		var marker = new GMarker(bestImpress);
		m.addOverlay(marker);
		m.setMapType(G_NORMAL_MAP); // sets the default mode. G_NORMAL_MAP, G_HYBRID_MAP, G_SATELLITE_MAP
		var c = new GMapTypeControl(); // switch map modes
		m.addControl(c);
		m.addControl(new GLargeMapControl()); // creates the zoom feature
	} else {
		alert("Your browser doesn't support this feature.");
	}
});