// GOOGLE MAP FUNCTION
function load() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));

    var pointwill = new GLatLng(51.535979, 0.712438);
    map.setCenter(pointwill, 15);

    // set map type to satellite
    // Types: G_NORMAL_MAP or G_SATELLITE_MAP or G_HYBRID_MAP
    map.setMapType(G_NORMAL_MAP);
    
    // add maps controls
    map.addControl(new GSmallMapControl());
    // map.addControl(new GMapTypeControl());
    
    //Icon
    iconwill = new GIcon();
    iconwill.image ="images/general/pointer.png";
    iconwill.iconSize= new GSize (25,46);
    iconwill.iconAnchor = new GPoint(12, 46);
    iconwill.infoWindowAnchor = new GPoint(12, 48);

    // overlay Marker
    var markerwill = new GMarker(pointwill,iconwill);
    map.addOverlay(markerwill);
    
    // add a listener for marker
    GEvent.addListener(markerwill, "click", function() {
			 markerwill.openInfoWindowHtml("<strong>Bryman Personnel</strong><br />Clarence Chambers<br />28 Clarence Street<br />Southend on Sea<br />Essex<br />SS1 1BD");
		       });
  }
}