 //<![CDATA[

    // Check to see if this browser can run the Google API
    if (GBrowserIsCompatible()) {
    
    
          // Display the map, with some controls and set the initial location 


      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl3D());
      var mapControl = new GMapTypeControl();
      map.addControl(mapControl);

      map.setCenter(new GLatLng(54.74682,-6.745605), 8);



     // ==================================================
      // Set up markers



// set up the first marker
   var point1 = new GLatLng(54.625835,-5.913992);
   var html_text1 = '<strong>Holmes Wholesale Services Head Office</strong><br>Musgrave Distribution Ltd<br>1-15 Dargan Crescent<br>Duncrue Road <br>Belfast<br>BT3 9HJ<br><a href="holmes-head-office.php">Click for contact details</a>';
   var marker1 = new GMarker(point1, G_DEFAULT_ICON);
   GEvent.addListener(marker1, 'mouseover', function() {
      marker1.openInfoWindowHtml(html_text1);
   });

   map.addOverlay(marker1);

// set up the second marker
   var point2 = new GLatLng(54.611573,-5.951105);
   var html_text2 = '<strong>Holmes Wholesale Services</strong><br>Hillview Enterprise Park<br>Hillview Rd<br>Belfast <br>BT14 7BT<br><a href="holmes-belfast.php">Click for contact details</a>';
   var marker2 = new GMarker(point2, G_DEFAULT_ICON);
   GEvent.addListener(marker2, 'mouseover', function() {
      marker2.openInfoWindowHtml(html_text2);
   });
   map.addOverlay(marker2);

// set up the third marker
   var point3 = new GLatLng(54.466374,-6.337867);
   var html_text3 = '<strong>Holmes Wholesale Services</strong><br>William Street<br>Lurgan<br>BT66 6JD<br><a href="holmes-lurgan.php">Click for contact details</a>';
   var marker3 = new GMarker(point3, G_DEFAULT_ICON);
   GEvent.addListener(marker3, 'mouseover', function() {
      marker3.openInfoWindowHtml(html_text3);
   });
   map.addOverlay(marker3);

// set up the fourth marker
   var point4 = new GLatLng(54.847819,-6.257164);
   var html_text4 = '<strong>Holmes Wholesale Services</strong><br>Pennybridge Industrial Estate<br>Ballymena<br>BT42 3HB<br><a href="holmes-ballymena.php">Click for contact details</a>';
   var marker4 = new GMarker(point4, G_DEFAULT_ICON);
   GEvent.addListener(marker4, 'mouseover', function() {
      marker4.openInfoWindowHtml(html_text4);
   });
   map.addOverlay(marker4);

// set up the fifth marker
   var point5 = new GLatLng(54.332967,-7.621036);
   var html_text5 = '<strong>Holmes Wholesale Services</strong><br>Killyhevlin Industrial Estate<br>Dublin Road<br>Enniskillen<br>BT74 4EJ<br><a href="holmes-enniskillen.php">Click for contact details</a>';
   var marker5 = new GMarker(point5, G_DEFAULT_ICON);
   GEvent.addListener(marker5, 'mouseover', function() {
      marker5.openInfoWindowHtml(html_text5);
   });
   map.addOverlay(marker5);













   }

    
    // display a warning if the browser was not compatible
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }

       //]]>
