
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": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "0",
	

	
		"date": "Jun 04, 2009",
	

	
		"city": "Powder Springs",
	

	
		"id": 1316144,
	

	
		"coordinates": {"latitude": 33.803591597, "longitude": -84.748821791},
	

	
		"number": 91,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/91",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "80,500",
	

	
		"date": "May 05, 2009",
	

	
		"city": "Powder Springs",
	

	
		"id": 1316162,
	

	
		"coordinates": {"latitude": 33.804176255, "longitude": -84.748118967},
	

	
		"number": 11,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/11",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "165,000",
	

	
		"date": "Mar 24, 2009",
	

	
		"city": "Powder Springs",
	

	
		"id": 1305056,
	

	
		"coordinates": {"latitude": 33.803654859, "longitude": -84.748636098},
	

	
		"number": 75,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/75",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "88,395",
	

	
		"date": "Feb 04, 2009",
	

	
		"city": "Powder Springs",
	

	
		"id": 1286736,
	

	
		"coordinates": {"latitude": 33.803925467, "longitude": -84.748241034},
	

	
		"number": 35,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/35",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "0",
	

	
		"date": "Mar 31, 2008",
	

	
		"city": "Powder Springs",
	

	
		"id": 1163341,
	

	
		"coordinates": {"latitude": 33.803407178, "longitude": -84.749119744},
	

	
		"number": 112,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/112",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "125,500",
	

	
		"date": "Mar 28, 2008",
	

	
		"city": "Powder Springs",
	

	
		"id": 1163327,
	

	
		"coordinates": {"latitude": 33.803407178, "longitude": -84.749119744},
	

	
		"number": 112,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/112",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "0",
	

	
		"date": "Mar 04, 2008",
	

	
		"city": "Powder Springs",
	

	
		"id": 1231639,
	

	
		"coordinates": {"latitude": 33.803591597, "longitude": -84.748821791},
	

	
		"number": 91,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/91",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "172,532",
	

	
		"date": "Mar 01, 2008",
	

	
		"city": "Powder Springs",
	

	
		"id": 1231640,
	

	
		"coordinates": {"latitude": 33.803591597, "longitude": -84.748821791},
	

	
		"number": 91,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/91",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buchanan",
	

	
		"zip": 30127,
	

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

	
		"price": "0",
	

	
		"date": "Dec 20, 2007",
	

	
		"city": "Powder Springs",
	

	
		"id": 1128662,
	

	
		"coordinates": {"latitude": 33.803139002, "longitude": -84.749129495},
	

	
		"number": 138,
	


	
	"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/lake_buchanan",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/138",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "159,500",
	

	
		"date": "Apr 02, 2007",
	

	
		"city": "Powder Springs",
	

	
		"id": 1000322,
	

	
		"coordinates": {"latitude": 33.803767917, "longitude": -84.748656967},
	

	
		"number": 72,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/72",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "149,000",
	

	
		"date": "Jul 02, 2003",
	

	
		"city": "Powder Springs",
	

	
		"id": 973358,
	

	
		"coordinates": {"latitude": 33.804059176, "longitude": -84.748284789},
	

	
		"number": 28,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/28",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Mercy Way",
	

	
		"subdivision": "Lake Buckingham",
	

	
		"zip": 30127,
	

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

	
		"price": "177,000",
	

	
		"date": "Jun 27, 2003",
	

	
		"city": "Powder Springs",
	

	
		"id": 974791,
	

	
		"coordinates": {"latitude": 33.803591597, "longitude": -84.748821791},
	

	
		"number": 91,
	


	
	"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/lake_buckingham",
	

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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30127/mercy_way/91",
	

	"null":null
}

			
		
	];
	
	center = new google.maps.LatLng(33.8036586183333,-84.7487161668333);
	
	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);

