function load() {
 function createHTML(pname, paddress, pcity, pstate, pzipcode) {
	var pfulladdress = paddress + ', ' + pcity + ', ' + pstate + ' ' + pzipcode;
	var html = '<b>' + pname + '</b><br />' + paddress + '<br />' + pcity + ', ' + pstate + ' ' + pzipcode + '<br /><br />';
	html += '<form action="http://maps.google.com/maps" method="get" target="_blank">';
	html += '<i>Your address</i>: <br /><input type="text" name="saddr" value="" size=20><br />';
	html += '<input type="hidden" name="daddr" value="' + pfulladdress + '" />';
	html += '<input type="submit" value="Directions"/></form><br />';

	return html;
}

var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(39.806169, -83.888564), 13);

// Creates a marker at the given point with the given number label
function createMarker(point,html) {
  var marker = new GMarker(point);
  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(html);
  });
  return marker;
}

// Add the info window

  var point = new GPoint(-83.888564, 39.806169);
  map.addOverlay(createMarker(point,createHTML('The Winds Cafe','211 Xenia Ave','Yellow Springs','OH','45387')));
}