//<![CDATA[


		   
function load() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("map"));
	map.setCenter(new GLatLng(50.771652,0.286573),17,G_HYBRID_TYPE);
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl(true));

	
		// Our info window content
	var infoTabs = [
	new GInfoWindowTab('Tab #1', '<span class="GPopupHeading">The Carpet People</span><span class="GPopupText">'+
	'<p><b><span class="AAlogo">AA</span> <span class="AAheading">Route Planner</span></b><br/> Enter your postcode below for directions<br/>'+
	'<form name="routePlanner" action="http://www.theaa.com/travelwatch/inc/planner_main_redirect.jsp" method="post" target="_blank"> '+
	  '<input type="hidden" name="noOfVias" value="1" /> '+
	  '<input type="hidden" name="database" value="B" /> '+
	  '<input type="hidden" name="advfrom" value="n" /> '+
	  '<input type="text" name="fromPlace" id="fromPlace" maxlength="10" style="width:70px;" /> '+
	  '<input type="hidden" name="toPlace" id="toPlace" value="60a Ashford Sq, Eastbourne, East Sussex, BN21 3TX, UK" /> '+
	  '<input type="hidden" name="advto" value="n" /> '+
	  '<input name="next" type="submit" value="Get Directions"/> '+
	'</form>'+
	'</p></span>'
	)
	];
	
	// Place a marker in the center of the map and open the info window
	// automatically
	var marker = new GMarker(map.getCenter());
	GEvent.addListener(marker, "click", function() {
	marker.openInfoWindowTabsHtml(infoTabs);
	});
	map.addOverlay(marker);
	marker.openInfoWindowTabsHtml(infoTabs);
	
	
  }
}
//]]>