function includeGoogleMap(elmentId, ops) {
	if (GBrowserIsCompatible()) {
		if (ops.lat && ops.lng) {
			var map = new GMap2(document.getElementById(elmentId));
			var latlng = new GLatLng(ops.lat, ops.lng);
			var marker = new GMarker(latlng);
			map.addControl(new GLargeMapControl());
			map.setCenter(latlng, 14);
			map.addOverlay(marker);
			if (ops.html) {
				marker.openInfoWindowHtml(ops.html);
				GEvent.addListener(map, "click", function(marker){
					marker.openInfoWindowHtml(ops.html);
				});
			}
			if (ops.zoom) {
				map.setZoom(ops.zoom);
			}
		}
		else if (ops.address) {
			(new GClientGeocoder()).getLatLng(ops.address, function(latlng) {
				ops.lat = latlng.lat();
				ops.lng = latlng.lng();
				includeGoogleMap(elmentId, ops);
			});
		}
		else {
			window.alert("Options not enough. Required 'lat' and 'lng' or 'address'.\n"
					+ "    lat: " + ops.lat + "\n"
					+ "    lng: " + ops.lng + "\n"
					+ "    address: " + ops.address + "\n");
			return;
		}
	}
}
