		// Check to see if this browser can run the Google API
//		if (GBrowserIsCompatible()) {

		  var gmarkers = [];
		  var htmls = [];
		  var to_htmls = [];
		  var from_htmls = [];
		  var i=0;

		  // Create a base icon for all of our markers that specifies the
		  // shadow, icon dimensions, etc.
		  var baseIcon = new GIcon(G_DEFAULT_ICON);
		  baseIcon.shadow = "../images/icon_shadow.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);

		  // A function to create the marker and set up the event window
		  function createMarker(point,name,html,marker) {

			var Icon = new GIcon(baseIcon);
			Icon.image = "images/" + marker + ".png";

			// Set up our GMarkerOptions object
			markerOptions = { icon:Icon };
			var marker = new GMarker(point, markerOptions);

			// The info window version with the "to here" form open
			to_htmls[i] = html + '<br>Directions: <b>To here</b> - <a href="javascript:fromhere(' + i + ')">From here</a>' +
			   '<br>Start address:<form action="http://maps.google.com/maps" method="get" target="_blank">' +
			   '<input type="text" SIZE=40 MAXLENGTH=40 name="saddr" id="saddr" value="" /><br>' +
			   '<INPUT value="Get Directions" TYPE="SUBMIT">' +
			   '<input type="hidden" name="daddr" value="' +
			   point.y + ',' + point.x + "(" + name + ")" + '"/>';

			// The inactive version of the direction info
			html = html + '<br>Directions: <a href="javascript:tohere('+i+')">To here</a> - <a href="javascript:fromhere('+i+')">From here</a>';

			GEvent.addListener(marker, "click", function() {
			  marker.openInfoWindowHtml('<div style="white-space:nowrap;">'+html+'</div>');
			});
			gmarkers[i] = marker;
			htmls[i] = html;
			i++;
			return marker;
		  }

		  // functions that open the directions forms
		  function tohere(i) {
			gmarkers[i].openInfoWindowHtml('<div style="white-space:nowrap;">'+ to_htmls[i]+'</div>');
		  }
		  function fromhere(i) {
			gmarkers[i].openInfoWindowHtml('<div style="white-space:nowrap;">'+ from_htmls[i]+'</div>');
		  }

		  // Display the map, with some controls and set the initial location
		  var map = new GMap(document.getElementById("map"));
		  map.addControl(new GLargeMapControl());
		  map.addControl(new GMapTypeControl());
		  map.centerAndZoom(new GPoint(-75.168107, 39.947033), 1);

		  // Set up three markers with info windows

		  var point = new GPoint(-75.168307, 39.946799);
		  var marker = createMarker(point,'Laser MD','Rittenhouse Laser MD<br /><img src="images/office_front.jpg" width="165" height="142" alt="Office Front" />','marker')
		  map.addOverlay(marker);

		  var point = new GPoint(-75.16875, 39.94552);
		  var marker = createMarker(point,'Safe Park','Safe Park<br />414 South 16th St. Philadelphia, PA ','parking')
		  map.addOverlay(marker);

		  var point = new GPoint(-75.16742, 39.94598);
		  var marker = createMarker(point,'Central Parking','Central Parking<br /> 1501 Spruce Street Philadelphia, PA 19102 (215) 545-7087','parking')
		  map.addOverlay(marker);

		  var point = new GPoint(-75.16700, 39.94805);
		  var marker = createMarker(point,'Town Garage, Inc.','Town Garage, Inc.<br /> 1524 Latimer Street, Philadelphia, PA 19102 <br /> (215) 545-2923','parking')
		  map.addOverlay(marker);

		  var point = new GPoint(-75.16972, 39.946260);
		  var marker = createMarker(point,'E-Z Park Lot','E-Z Park Lot<br /> 1627 Pine Street Philadelphia, PA 19103','parking')
		  map.addOverlay(marker);

		  var point = new GPoint(-75.16750, 39.94808);
		  var marker = createMarker(point,'Latimer Garage ','Latimer Garage<br /> 1510 Latimer Street Philadelphia, PA 19102 <br /> (215) 545-2314','parking')
		  map.addOverlay(marker);

//		}
//
//
//		// display a warning if the browser was not compatible
//		else {
//		  alert("Sorry, the Google Maps API is not compatible with this browser");
//		}

