    //<![CDATA[
	var map1;
	var pano1;
	var mkr;
	var xmlHttp;

	//load the 2 maps on the page, setting all the default/generic code
    function loadMulti() {
	  var dMap = document.getElementById("map1");
	  if (dMap) {
       if (!GBrowserIsCompatible()) {
        map1 = document.getElementById("map1");
		map1.innerHTML = "<b>Sorry - An error occurred with the Google maps key.</b>"
       } else {
		geocoder = new GClientGeocoder();

		//initialise the map
		map1 = new GMap2(dMap);
		map1.addControl(new GSmallMapControl());
		map1.setCenter(new GLatLng(37.00, -98.00), 2);	//default to US
        map1.enableDoubleClickZoom();
        
		//call the function built/written at runtime to display the maps
        showMaps();
	  }
	 }
    }

	function createMarker(point, html) {
		var marker = new GMarker(point);
		GEvent.addListener(marker, "click", function() {mapShowInfo(marker, html);});
		return marker;
	}

	function mapShowInfo(mk, html) {
		mk.openInfoWindowHtml(html);
	}
   
	function showAddressMulti(map, addr, hdr) {
		geocoder.getLatLng(addr + ', US', 
		  function(pt) {
		  if (pt) {
			var html = '<b>' + hdr + '</b>'
			mkr = createMarker(pt, html);
			map.addOverlay(mkr);
			}
		  }
		);
	}
	function showPointMulti(map, lat, lng, hdr) {
		var html = '<b>' + hdr + '</b>'
        var pt = new GLatLng(lat,lng);
        mkr = createMarker(pt, html);
        map.addOverlay(mkr);
	}

	function setCentreMulti(map, loc, zm) {
		geocoder.getLatLng(loc + ', US', 
		  function(pt) {
		  if (pt) {
			map.setCenter(pt,zm);
			}
		  }
		);
	}
	function setLatLngMulti(map, lat, lng, zm) {
        var pt = new GLatLng(lat,lng);
		map.setCenter(pt,zm);
	}

//]]>