
//<![CDATA[
// Creates a marker at the given point with the given number label

function load() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("map"));
	map.setCenter(new GLatLng(32.771038,-117.01581), 15);//32.771038,-117.01581
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());

	var infoTabs = [
	new GInfoWindowTab("Sun Valley", "<strong>Sun Valley Golf Club</strong><br />5080 Memorial Dr<br />La Mesa, CA 91941<br /><font color='red'>Sun Valley Open</font> Sept. 26-27, 2009")
	];

// 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);

  }
}

 //]]>
