    /*
      The latititude and longitude parameters need to be set in these functions
      They can be obtained from a known address , setting address and key as appropriate, at:
      http://maps.google.com/maps/geo?q=1+Cheapside,+London,+EC2V+91AA,+England&key=ABQIAAAABbzvLTYS98JkEyX56sv-LBRu6wmTucTJm2YyBqq5VKc4lsfSPxRzyMuA267XR3IGds_lD0eMwLca6A&sensor=false&output=xml
      nb The paramters returned from Google are the other way round!
    */

    var googleLongitude = "0.1396720";
    var googleLatitude = "51.4571254";
    var googleLongitude2 = "-0.0955194";
    var googleLatitude2 = "51.5143456";

    //<![CDATA[
    function loadGoogle() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(googleLatitude, googleLongitude), 14);
        var point = new GLatLng(googleLatitude, googleLongitude);
        map.addOverlay(new GMarker(point));
        //map.openInfoWindow(map.getCenter(),document.createTextNode("Thames Associates"));
        map.addControl(new GSmallMapControl());
        //map.addControl(new GMapTypeControl());
        //map.addControl(new GOverviewMapControl());

        var map = new GMap2(document.getElementById("map2"));
        map.setCenter(new GLatLng(googleLatitude2, googleLongitude2), 14);
        var point = new GLatLng(googleLatitude2, googleLongitude2);
        map.addOverlay(new GMarker(point));
        //map.openInfoWindow(map.getCenter(),document.createTextNode("Thames Associates"));
        map.addControl(new GSmallMapControl());
        //map.addControl(new GMapTypeControl());
        //map.addControl(new GOverviewMapControl());


      }
    }

    function changeitGoogle()
    {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(googleLatitude,googleLongitude), 16);
        var point = new GLatLng(googleLatitude,googleLongitude);
        map.addOverlay(new GMarker(point));
        //map.openInfoWindow(map.getCenter(),document.createTextNode("Eltham SE9"));
        map.addControl(new GLargeMapControl());
      }
    }
    function createmarker(latlng, html, markericon)
    {
      var marker = new GMarker(latlng, {draggable: false, icon: markericon});

	 //draggable: true
	 GEvent.addListener(marker, "dragend", function() {
	 GLog.write(marker.getLatLng());
	  });

	 GEvent.addListener(marker, "click", function() {
	 marker.openInfoWindowHtml(html);
	 });

	 return marker;

     }

    //]]>

    /*
      // Include these lines in the heading block, replacing key & text as necessary
      <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAABbzvLTYS98JkEyX56sv-LBRu6wmTucTJm2YyBqq5VKc4lsfSPxRzyMuA267XR3IGds_lD0eMwLca6A" type="text/javascript"></script>

      <SCRIPT TYPE="text/javascript" SRC="googleFunctions.js"></SCRIPT>

      // The BODY tag should include the following
      onload="loadGoogle();"

      // Include this wherever the map is required, adjusting size as required
      <div id="map" style="width: 350px; height: 250px"></div>
    */


