function LoadMap() {
	
	map = document.getElementById('map');
	if(map) {
		if (GBrowserIsCompatible()) {
			map = new GMap2(map);
			map.addControl(new GLargeMapControl());
			map.addControl(new GMapTypeControl());
			var BlairPoint = new GLatLng(41.475274, -83.295743);
			map.setCenter(BlairPoint, 8);
			// Set Tab content for locations
			infoTabs = new Array(7)
			infoTabs[0] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Blair Associates</strong><br><span style="font-size: 10px;">349 Rice St.<br>Elmore, Ohio 43416</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 862-2766<br><strong style="font-size: 12px;">Toll Free:</strong> (800) 848-2766<br><strong style="font-size: 12px;">Fax:</strong> (419) 862-3928<br>')
			];
			infoTabs[1] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Diversified Insurance Whitehouse Office</strong><br><span style="font-size: 10px;">6727 Providence St.<br>Whitehouse, Ohio 43571</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 877-0436<br><strong style="font-size: 12px;">Fax:</strong> (866) 551-1431<br>')
			];
			infoTabs[2] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Tadsen Davids</strong><br><span style="font-size: 10px;">124 E. Second St.<br>Port Clinton, Ohio 43452</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 734-2161<br><strong style="font-size: 12px;">Toll Free:</strong> (800) 350-1549<br><strong style="font-size: 12px;">Fax:</strong> (419) 734-2165<br>')
			];
			infoTabs[3] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Diversified Insurance Fremont Office</strong><br><span style="font-size: 10px;">1700 River St. Suite A<br>Fremont, Ohio 43420</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 332-9987<br><strong style="font-size: 12px;">Toll Free:</strong> (800) 822-4878<br><strong style="font-size: 12px;">Fax:</strong> (866) 551-1431<br>')
			];
			infoTabs[4] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Ohio Farmers Union</strong><br><span style="font-size: 10px;">1011 N. Defiance St.<br>Ottawa, Ohio 45875</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 523-6261<br>')
			];
			infoTabs[5] = [
				new GInfoWindowTab('Address', '<h3 class="lightBlue">Address:</h3><br><strong style="font-size: 12px;">Lowe Insurance</strong><br><span style="font-size: 10px;">21421 W State Route 579<br>PO Box 155<br>Williston, Ohio 43468</span>'),
				new GInfoWindowTab('Phone', '<h3 class="lightBlue">Phone Numbers:</h3><br><strong style="font-size: 12px;">Local:</strong> (419) 836-7209<br><strong style="font-size: 12px;">Fax:</strong> (419) 836-5038<br>')
			];
			points = new Array(6);
			points[0] = new GLatLng(41.475274, -83.295743);
			points[1] = new GLatLng(41.5181, -83.8031);
			points[2] = new GLatLng(41.511759, -82.940576);
			points[3] = new GLatLng(41.3278, -83.1316);
			points[4] = new GLatLng(41.027863, -84.048822);
			points[5] = new GLatLng(41.605046, -83.336749);
			// Creates a marker for each given point with the given tab information
			markers = new Array();
			function createMarker(point, number) {
				markers[number] = new GMarker(point);
				GEvent.addListener(markers[number], "click", function() {
					markers[number].openInfoWindowTabsHtml(infoTabs[number]);
				});
				return markers[number];
			}
			for (i = 0; i < points.length; i++) {
				map.addOverlay(createMarker(points[i], i));
			}
			markers[0].openInfoWindowTabsHtml(infoTabs[0])
		}	
	}
}
var map;
var infoTabs;
var points;
var markers;
window.onload = LoadMap;