startList = function() {
	startgMap();
}
window.onload=startList;
function startgMap() {
if (GBrowserIsCompatible()) {
	var map = new GMap(document.getElementById("map"));
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
	var pnt = new GPoint(-75.769229,41.308181);
	map.centerAndZoom(pnt, 3);
	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);
var wah = new GMarker(pnt);
var html = "Casey Dental Institute!";
  GEvent.addListener(wah, 'click', function() {
	marker.openInfoWindowHtml(html);
  });
map.addOverlay(createMarker(pnt,'Casey Dental Institute Offices<br /><img alt="The front of the building" src="image/front.png" />'));
	
}
}
function createMarker(point, html) {
  var marker = new GMarker(point);

  GEvent.addListener(marker, 'click', function() {
	marker.openInfoWindowHtml(html);
  });

  return marker;
}
