google.load("maps", "2");

function gmapInit(lat, lon, el) {
	// Create a new map and place it in the container we were passed
	var map = new google.maps.Map2(document.getElementById(el));
	
	// Set the center of the map to the coordinates we were passed
	map.setCenter(new google.maps.LatLng(lat, lon), 13);
	
	// Add some controls to our map
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
	
	// Create a marker showing the coordinates we were passed
	var nbscoLatLng = new GLatLng(lat, lon);
	var nbscoMarker = new GMarker(nbscoLatLng);
	
	// Add the marker to the map
	map.addOverlay(nbscoMarker);
}