function createMarker(point, icon, copy) {  
	var marker = new GMarker(point, icon);
  GEvent.addListener(marker, "mouseover", function() {    
  	marker.openInfoWindowHtml(copy);
  });
  return marker;
}


function loadMap() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("googMap"));
	map.setCenter(new GLatLng(39.957884 , -104.788880 ), 9);
	var icon = new GIcon();
	icon.image = "http://www.google.com/mapfiles/arrow.png";
	icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
	icon.iconSize = new GSize(34, 23 );
	icon.shadowSize = new GSize(44, 23);
	icon.iconAnchor = new GPoint(6, 20);
	icon.infoWindowAnchor = new GPoint(5, 1);
	var point = new GLatLng(39.957884 , -104.788880 );  
	map.addOverlay(createMarker(point, icon, "<div style=\"font-size:12px;font-family:Arial, Helvetica, sans-serif;\"><strong>Prairie Center</strong><br>16888 E 144th Ave<br>Brighton, Colorado 80601<br><br>Driving Directions<form action='http://maps.google.com/maps' method='get'><input type='text' name='saddr' id='saddr' value='' /><input type='submit' value='Go' /><input type='hidden' name='daddr' value='16888 E 144th Ave, Brighton, Colorado 80601' /><input type='hidden' name='hl' value='en' /></form></div>"));
  	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
  }
}