//<![CDATA[
// showroom map
   var geocoder;
   var map;

   var business = "Claremont Office Interiors (A&amp;H) Ltd";
   var address = "Gemini Crescent, Dundee, DD2 1SW, UK";
  
   
   // On page load, call this function

   function load()
   {
      // Create new map object
      map = new GMap2(document.getElementById("map"));

      // Create new geocoding object
      geocoder = new GClientGeocoder();

      // Retrieve location information, pass it to addToMap()
      geocoder.getLocations(address, addToMap);
   }

   // This function adds the point to the map

   function addToMap(response)
   {
      // Retrieve the object
      place = response.Placemark[0];

      // Retrieve the latitude and longitude
      point = new GLatLng(place.Point.coordinates[1],
                          place.Point.coordinates[0]);

      // Center the map on this point
      map.setCenter(point, 13);

      // Create a marker
      marker = new GMarker(point);

      // Add the marker to map
      map.addOverlay(marker);
	  
	  
	 var unitNumber = 'Prospect 3, Unit 20, '; 
	 var location = 'Dundee Technology Park';
	 var streetAddress = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName;
     var city = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName;
     var state = place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName;
     var zip = 'DD2 1SW';
	 var phone = 'Tel 01382 562090 ';

      // Add address information to marker	  
	  marker.openInfoWindowHtml('<h5>' + business + '</h5>' + '<img src="images/uploads/ico-foot-gall.jpg" align="right" />' + unitNumber + streetAddress + '<br />' + location + '<br />' + city + ', ' + ' ' + zip + '<br />' + phone);
	  
	  // Add map default UI
	  map.setUIToDefault();
   }

    //]]>