function initialize() {
  if (GBrowserIsCompatible()) {
	var map = new GMap2(document.getElementById("map_canvas"));
	map.addControl(new GSmallMapControl());
	map.addControl(new GMapTypeControl());
	map.setCenter(new GLatLng(39.165167, -84.524844), 10);

	// Create a base icon for all of our markers that specifies the
	// shadow, icon dimensions, etc.
	var baseIcon = new GIcon();
	baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
	baseIcon.iconSize = new GSize(20, 34);
	baseIcon.shadowSize = new GSize(37, 34);
	baseIcon.iconAnchor = new GPoint(9, 34);
	baseIcon.infoWindowAnchor = new GPoint(9, 2);
	baseIcon.infoShadowAnchor = new GPoint(18, 25);

	function createMarker(point, message, letter) {
		var letteredIcon = new GIcon(baseIcon);
		//letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
		letteredIcon.image = "/images/markers/" + letter + ".png";

		// Set up our GMarkerOptions object
		markerOptions = { icon:letteredIcon };
		var marker = new GMarker(point, markerOptions);

		var myHtml = "<font color='black' size='-1'>" + message + "</font>";
		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(myHtml);
		});
		return marker;
	}

	// Americas Mattress Marburg
	var point = new GLatLng(39.162167, -84.424844);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=4825+Marburg+Ave,+Cincinnati,+OH+45209&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Americas Mattress Marburg</b><div>4825 Marburg Ave<br>Oakley, OH 45209</div><div>(513) 631-3500</div></a>', 'K'));

	// Americas Mattress Western Hills
	var point = new GLatLng(39.171166, -84.638738);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=5744+Harrison+Avenue,+Cincinnati,+OH+45248&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Americas Mattress Western Hills</b><div>5744 Harrison Ave<br>Western Hills, OH 45248</div><div>(513) 598-7200</div></a>', 'L'));
	

	// Broyhill / Thomasville Home Furnishings
	var point = new GLatLng(39.287975, -84.303514);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=12030+Montgomery+Rd,+Loveland,+OH+45249&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Broyhill / Thomasville Home Furnishings</b><div>12030 Montgomery Rd<br>Loveland, OH 45249</div><div>(513) 774-9700</div></a>', 'I'));

	// Broyhill / Thomasville Home Furnishings
	var point = new GLatLng(39.017793, -84.639362);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=39+Spiral+Dr,+Florence,+KY+41042&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Broyhill / Thomasville Home Furnishings</b><div>39 Spiral Dr<br>Florence, KY 41042</div><div>(859) 647-8800</div></a>', 'H'));

	// Furniture Fair Florence
	var point = new GLatLng(39.01266, -84.642764);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=5015+Houston+Rd,+Florence,+KY+41042&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair Florence</b><div>5015 Houston Rd<br>Florence, KY 41042</div><div>(859) 525-7911</div></a>', 'G'));

	// Furniture Fair Erlanger
	var point = new GLatLng(39.012923, -84.606235);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=3932+Dixie+Highway,+Erlanger,+KY+41018&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair Erlanger</b><div>3932 Dixie Highway<br>Erlanger, KY 41018</div><div>(859) 342-7221</div></a>', 'F'));
	
	// Furniture Fair / Broyhill Home Furnishings / Design Destination
	var point = new GLatLng(39.027134, -84.449059);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=3710+Alexandria+Pike,+Cold+Spring,+KY+41076&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair / Broyhill Home Furnishings / Design Destination</b><div>3710 Alexandria Pike<br>Cold Spring, KY 41076</div><div>(859) 572-6800</div></a>', 'E'));

	// Furniture Fair Northgate
	var point = new GLatLng(39.230391, -84.589763);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=8760+Colerain+Ave,+Northgate,+OH+45251&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair Northgate</b><div>8760 Colerain Ave<br>Northgate, OH 45251</div><div>(513) 385-6600</div></a>', 'D'));
	
	// Furniture Fair / Design Destination
	var point = new GLatLng(39.290184, -84.292917);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=9591+Fields+Ertel+Rd,+Loveland,+OH+45140&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair / Design Destination</b><div>9591 Fields Ertel Rd<br>Loveland, OH 45140</div><div>(513) 774-9591</div></a>', 'C'));
				
	// Furniture Fair Eastgate
	var point = new GLatLng(39.094391, -84.269417);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=4363+Eastgate+Square+Dr,+Cincinnati,+OH+45245&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair Eastgate</b><div>4363 Eastgate Square Dr<br>Eastgate, OH 45245</div><div>(513) 753-8555</div></a>', 'B'));

	// Furniture Fair / Broyhill Home Furnishings
	var point = new GLatLng(39.311785, -84.48705);
	map.addOverlay(createMarker(point, '<a class="map" href="http://maps.google.com/maps?hl=en&rlz=1G1GGLQ_ENUS273&q=7200+Dixie+Highway,+Fairfield,+OH+45014&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image"><b>Furniture Fair / Broyhill Home Furnishings</b><div>7200 Dixie Highway (RT. 4)<br>Fairfield, OH 45014</div><div>(513) 753-8555</div></a>', 'A'));
  }
}
