//Defines the marker Red Icon
var iconRed = new GIcon();
iconRed.image = 'http://thenineagency.webtenet.com/n9ne/images/mm_20_red.png';
iconRed.shadow = 'http://thenineagency.webtenet.com/n9ne/images/mm_20_shadow.png';
iconRed.iconSize = new GSize(12, 20);
iconRed.shadowSize = new GSize(22, 20);
iconRed.iconAnchor = new GPoint(6, 20);
iconRed.infoWindowAnchor = new GPoint(5, 1);
function initialize() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("google_map"));
	map.setCenter(new GLatLng(33.206356, -87.565614), 13);
	map.addControl(new GMapTypeControl());
	map.addControl(new GLargeMapControl());
	// Add 10 markers to the map at random locations
	var bounds = map.getBounds();
	var southWest = bounds.getSouthWest();
	var northEast = bounds.getNorthEast();
	var lngSpan = northEast.lng() - southWest.lng();
	var latSpan = northEast.lat() - southWest.lat();
	var latlng = new GLatLng(33.206356, -87.565614);
	var marker = new GMarker(latlng, iconRed);
	map.addOverlay(marker);
	GEvent.addListener(marker, 'click', function() {
		marker.openInfoWindowHtml("<div style='font-family:Arial;font-size:8pt;color:#000000'><b>N9NE Agency</b><br>2315 9th Street<br>Suite 2<br>Tuscaloosa, AL  35401<br>1-205-344-4413</div>");
		});
  }
}
