    /*
      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=62+Well + Hall+Road,+Eltham,+London,+SE9+6DZ,+England&key=ABQIAAAAexI5vgMw01Yxpa5Jf_o3ghTDJdK-9S7x5KRXC0PPAvC_pUOmexQSWwkwgnfMTHxCABm_v_2sk_eknQ&sensor=false&output=xml
      nb The paramters returned from Google are the other way round!
    */

    /*
      // 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>
    */

    var googleLongitude = "0.0516065";
    var googleLatitude = "51.4652573";

    //<![CDATA[
    function loadGoogle() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(googleLatitude, googleLongitude), 15);
        var point = new GLatLng(googleLatitude, googleLongitude);
        //map.addOverlay(new GMarker(point));
		map.addOverlay(createmarker(point, "<strong>Dean Wilson Funeral Directors,</strong><br />\n379 Well hall Road,<br />\nEltham<br />\nSE9 6TY"));
        //map.openInfoWindow(map.getCenter(),document.createTextNode("Dean Wilson Funeral Directors\n379 Well Hall Road"));
        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;

     }

    //]]>



