// JavaScript Document
    function load() 
	{
      if (GBrowserIsCompatible()) 
	  {
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GOverviewMapControl());
		map.addControl(new GMapTypeControl());
		var swift_location = new GLatLng(52.292389,-1.917093);
		map.setCenter(swift_location, 13);

		// Create a base icon for all of our markers that specifies the shadow, icon dimensions, etc.
		var baseIcon = new GIcon();
		baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
		baseIcon.iconSize = new GSize(20, 34);
		baseIcon.shadowSize = new GSize(37, 34);
		baseIcon.iconAnchor = new GPoint(9, 34);
		baseIcon.infoWindowAnchor = new GPoint(9, 2);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);
		
	    function createMarker(point) 
		{
			var icon = new GIcon(baseIcon);
			icon.image = "http://www.google.com/mapfiles/marker.png";
			var marker = new GMarker(point, icon);
			GEvent.addListener ( marker, "click", 
				function() 
				{ 
					marker.openInfoWindowHtml("<h2>Swift Internet</h2>Postal Address: On-Line Marketing &amp; Sales Ltd.<br> t/a Swift Internet Greenlands Business Centre,<br> Studley Road Redditch, Worcestershire B98 7HD<br> Tel: 0121 222 0500<br> Fax: 0121 222 0510<br> Web: www.swiftinter.net<br><a href='http://maps.google.co.uk/maps/ms?q=b98+7hd&amp;ie=UTF8&amp;hl=en&amp;msa=0&amp;num=10&amp;om=1&amp;msid=100855294747817486284.0000011272c7ecc581564&amp;ll=52.294819,-1.917093&amp;spn=0.006864,0.015986&amp;z=16' target='_blank'>Click here for Directions</a>"); 
				} 
			);
		  	return marker;
		}
		map.addOverlay(createMarker(swift_location));
		
	  }
    }
