//Lat:51.51432 Long:-0.13536

function load() {
    if (GBrowserIsCompatible()) {
    	function createMarker(point,html) {
	        var myIcon = new GIcon();
			myIcon.image = "images/marker.png";
			//myIcon.shadow = "images/marker_shadow.png";
			myIcon.iconSize = new GSize(150, 40);
			//myIcon.shadowSize = new GSize(200, 40);
			myIcon.iconAnchor = new GPoint(75, 40);
			myIcon.infoWindowAnchor = new GPoint(75, 20);
	        var marker = new GMarker(point, { icon:myIcon });
	        
	      GEvent.addListener(marker, "click", function() {
	        marker.openInfoWindowHtml(html);
	        });

	        return marker;
        }
        
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GLargeMapControl());
     	map.addControl(new GMapTypeControl());
     	map.setCenter(new GLatLng(51.51432,-0.13536),15);
	     
	    var point = new GLatLng(51.51432,-0.13536);
	    var marker = createMarker(point,'<div style="width:240px"><h3>Revival Records</h3><div class="adr"><div class="street-address">30 Berwick Street</div><div class="locality">London</div><div class="postal-code">W1F 8RH</div><div class="country-name">United Kingdom</div></div><br /><a href="http://maps.google.com/maps?saddr=&daddr=51.51432,-0.13536">Get Directions on Google Maps</a></div>');

      map.addOverlay(marker);
    }
          else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }
}

