
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": "Grand Hickory Dr",
	

	
		"subdivision": "Mulberry",
	

	
		"zip": 30517,
	

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

	
		"price": "0",
	

	
		"date": "Feb 06, 2009",
	

	
		"city": "Braselton",
	

	
		"id": 1286371,
	

	
		"coordinates": {"latitude": 34.125430369, "longitude": -83.820656815},
	

	
		"number": 7022,
	


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

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

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30517/mulberry",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr",
	

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr/7022",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Grand Hickory Dr",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "0",
	

	
		"date": "Nov 05, 2008",
	

	
		"city": "Braselton",
	

	
		"id": 1279712,
	

	
		"coordinates": {"latitude": 34.125430369, "longitude": -83.820656815},
	

	
		"number": 7022,
	


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

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

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30517/mulberry_park_ph_03",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr",
	

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr/7022",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Grand Hickory Dr",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "168,496",
	

	
		"date": "Nov 04, 2008",
	

	
		"city": "Braselton",
	

	
		"id": 1279711,
	

	
		"coordinates": {"latitude": 34.125430369, "longitude": -83.820656815},
	

	
		"number": 7022,
	


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

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

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30517/mulberry_park_ph_03",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr",
	

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr/7022",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Grand Hickory Dr",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "162,500",
	

	
		"date": "Oct 31, 2006",
	

	
		"city": "Braselton",
	

	
		"id": 831984,
	

	
		"coordinates": {"latitude": 34.125430369, "longitude": -83.820656815},
	

	
		"number": 7022,
	


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

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

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30517/mulberry_park_ph_03",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr",
	

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr/7022",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Grand Hickory Dr",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "160,700",
	

	
		"date": "Jun 27, 2006",
	

	
		"city": "Braselton",
	

	
		"id": 820340,
	

	
		"coordinates": {"latitude": 34.125430369, "longitude": -83.820656815},
	

	
		"number": 7022,
	


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

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

	
	"sub_link": "http://homesales.ajchomefinder.com/homesales/subdivision/30517/mulberry_park_ph_03",
	

	
	"street_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr",
	

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/grand_hickory_dr/7022",
	

	"null":null
}

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

