//<![CDATA[
    
    if (GBrowserIsCompatible()) {
    
      var baseIcon = new GIcon();
          baseIcon.iconSize=new GSize(50, 50);
          baseIcon.shadowSize=new GSize(75, 50);
          baseIcon.iconAnchor=new GPoint(25,50);
          baseIcon.infoWindowAnchor=new GPoint(25,0);
         
      var heart = new GIcon(baseIcon, "mapdata/heart.png", null, "mapdata/shadow.png");

      function createMarker(point,html,icon) {
        var marker = new GMarker(point,icon);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }

      // Display the map, with some controls and set the initial location 
      var map = new GMap(document.getElementById("map"));
      var customUI = map.getDefaultUI();customUI.controls.scalecontrol = false;map.setUI(customUI);
      map.setCenter(new GLatLng(50.68387,-1.532807),11);
      map.addControl(new GScaleControl());

      // Set up five markers with info windows 
    
      var point = new GLatLng(50.68338,-1.527743);
      var marker = createMarker(point,'<div id="marker"><div style="width:200px"><h3>Love It!</h3><p>Avenue Road<br \/>Freshwater<br \/>Isle 0f Wight<br \/>PO40 9UT<br \/>Telephone: 01983 756053<br \/><a href="shop.php">Shop On-line<\/a><\/p><\/div><\/div>', heart)
      map.addOverlay(marker);


    }
    
    // display a warning if the browser was not compatible
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }

    //]]>