var icon = new GIcon();
icon.image = "images/map.png";
icon.shadow = "images/mapshadow.png";
icon.iconSize = new GSize(60, 90);
icon.shadowSize = new GSize(100, 90);
icon.iconAnchor = new GPoint(30, 88);
icon.infoWindowAnchor = new GPoint(5, 1);

// Center the map on Jump
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.centerAndZoom(new GPoint(-3.472382,50.727705), 9);
map.setMapType((G_SATELLITE_MAP));

// Creates one of our tiny markers at the given point
function createMarker(point) {
  var marker = new GMarker(point, icon);
  map.addOverlay(marker);
//  GEvent.addListener(marker, "click", function() {
 //   marker.openInfoWindowHtml("Taylor Lane Timber Frame");
 // });
}

// Place the icons randomly in the map viewport
var bounds = map.getBoundsLatLng();
var width = bounds.maxX - bounds.minX;
var height = bounds.maxY - bounds.minY;

  createMarker(new GPoint(-3.472382,50.727705));

//map.centerAndZoom(new GPoint(-2.70401, 52.054232), 7);
    
    //var map = new GMap(document.getElementById("map"));
    //map.addControl(new GSmallMapControl());
    //map.centerAndZoom(new GPoint(-2.70401, 52.054232), 7);
	 //]]>
	
	
