
google.load("maps", "2.x");

function add_markers() {

	mapobj = new google.maps.Map2(document.getElementById("map"));
	mapobj.addControl(new GSmallMapControl());
	mapobj.addControl(new GScaleControl());
	mapobj.addControl(new GOverviewMapControl());
	var center = new google.maps.LatLng(33.77,-84.37);
	mapobj.setCenter(center,10);

	var locations = [
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park Ph 06",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "65,500",
	

	
		"date": "May 28, 2009",
	

	
		"city": "Powder Springs",
	

	
		"id": 1316145,
	

	
		"coordinates": {"latitude": 33.816163151, "longitude": -84.750276032},
	

	
		"number": 534,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park_ph_06",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/534",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park Ph 06",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "165,000",
	

	
		"date": "Oct 31, 2006",
	

	
		"city": "Powder Springs",
	

	
		"id": 997208,
	

	
		"coordinates": {"latitude": 33.816297596, "longitude": -84.746571643},
	

	
		"number": 736,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park_ph_06",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/736",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park Ph 06",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "161,900",
	

	
		"date": "Apr 14, 2006",
	

	
		"city": "Powder Springs",
	

	
		"id": 992510,
	

	
		"coordinates": {"latitude": 33.816298827, "longitude": -84.746282376},
	

	
		"number": 752,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park_ph_06",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/752",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "164,700",
	

	
		"date": "Mar 29, 2005",
	

	
		"city": "Powder Springs",
	

	
		"id": 984174,
	

	
		"coordinates": {"latitude": 33.816378962, "longitude": -84.74812757},
	

	
		"number": 650,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/650",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "5,000",
	

	
		"date": "Jul 08, 2004",
	

	
		"city": "Powder Springs",
	

	
		"id": 979051,
	

	
		"coordinates": {"latitude": 33.816163151, "longitude": -84.750276032},
	

	
		"number": 534,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/534",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/cobb/30127",
	

	
		"price": "142,500",
	

	
		"date": "Aug 18, 2003",
	

	
		"city": "Powder Springs",
	

	
		"id": 139842,
	

	
		"coordinates": {"latitude": 33.816385178, "longitude": -84.748410219},
	

	
		"number": 634,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Cobb/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/634",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "161,800",
	

	
		"date": "Jan 23, 2003",
	

	
		"city": "Powder Springs",
	

	
		"id": 970521,
	

	
		"coordinates": {"latitude": 33.816378962, "longitude": -84.74812757},
	

	
		"number": 650,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/650",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Tidwell Rd",
	

	
		"subdivision": "Legacy Park",
	

	
		"zip": 30127,
	

	
		"hsr_url": "Http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/paulding/30127",
	

	
		"price": "190,000",
	

	
		"date": "Nov 25, 2002",
	

	
		"city": "Powder Springs",
	

	
		"id": 969732,
	

	
		"coordinates": {"latitude": 33.816027576, "longitude": -84.750565269},
	

	
		"number": 516,
	


	
	"zip_link": "http://homesales.ajchomefinder.com/homesales/zip/30127",
	

	
	"city_link": "http://homesales.ajchomefinder.com/homesales/city/powder_springs",
	

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30127/legacy_park",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd",
	

	
	"hsr_link": "http://projects.ajchomefinder.com/atlanta-home-sales-report/detail/Paulding/30127",
	

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/tidwell_rd/516",
	

	"null":null
}

			
		
	];
	
	center = new google.maps.LatLng(33.816261675375,-84.748579588875);
	
	var zoom = 16;
	
	window.mapobj.setCenter(center,zoom);
	

	var i;
	for(i=0;i<locations.length;i++) {
		var lat = locations[i].coordinates.latitude;
		var lng = locations[i].coordinates.longitude;
		var point = new google.maps.LatLng(lat,lng);
		var marker = new google.maps.Marker(point);
		GEvent.addListener(marker, "click", 
			create_info_closure(marker,locations[i]));
		mapobj.addOverlay(marker);
	}

}

google.setOnLoadCallback(add_markers);

