
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": "Silk Tree Pointe",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "0",
	

	
		"date": "Mar 26, 2009",
	

	
		"city": "Braselton",
	

	
		"id": 1297624,
	

	
		"coordinates": {"latitude": 34.125781917, "longitude": -83.818763013},
	

	
		"number": 6502,
	


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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/silk_tree_pointe/6502",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Silk Tree Pointe",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "183,240",
	

	
		"date": "Oct 07, 2008",
	

	
		"city": "Braselton",
	

	
		"id": 1264552,
	

	
		"coordinates": {"latitude": 34.125781917, "longitude": -83.818763013},
	

	
		"number": 6502,
	


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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/silk_tree_pointe/6502",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Silk Tree Pointe",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "0",
	

	
		"date": "Oct 07, 2008",
	

	
		"city": "Braselton",
	

	
		"id": 1264553,
	

	
		"coordinates": {"latitude": 34.125781917, "longitude": -83.818763013},
	

	
		"number": 6502,
	


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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/silk_tree_pointe/6502",
	

	"null":null
}

			
			,
			
		
			{

	
		"streetname": "Silk Tree Pointe",
	

	
		"subdivision": "Mulberry Park Ph 03",
	

	
		"zip": 30517,
	

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

	
		"price": "163,000",
	

	
		"date": "Mar 11, 2005",
	

	
		"city": "Braselton",
	

	
		"id": 774782,
	

	
		"coordinates": {"latitude": 34.125781917, "longitude": -83.818763013},
	

	
		"number": 6502,
	


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

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

	
	"address_link": "http://homesales.ajchomefinder.com/homesales/street/30517/silk_tree_pointe/6502",
	

	"null":null
}

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

