    function GMinitialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
		var pbikePoint = new GLatLng(32.037052,-102.129893);
		function PanToPeytons() {		}
		PanToPeytons.prototype = new GControl();
		PanToPeytons.prototype.initialize = function(map) {
		  var container = document.createElement("div");
		  var panDiv = document.createElement("div");
		  this.setButtonStyle_(panDiv);
		  container.appendChild(panDiv);
		  panDiv.appendChild(document.createTextNode("Return to Peyton's Bikes"));
		  GEvent.addDomListener(panDiv, "click", function() {
		    map.panTo(pbikePoint);
		  });

		  map.getContainer().appendChild(container);
		  return container;
		}
		PanToPeytons.prototype.getDefaultPosition = function() {
			  return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(62, 7));
		}
		PanToPeytons.prototype.setButtonStyle_ = function(button) {
			  button.style.color = "#0000cc";
			  button.style.background = "#FFFFFF";
			  button.style.font = "small Verdana";
			  button.style.border = "1px solid black";
			  button.style.padding = "1px";
			  button.style.textAlign = "center";
			  button.style.width = "162px";
			  button.style.height = "15px";
			  button.style.cursor = "pointer";
		}
		map.addControl(new PanToPeytons());
        map.setCenter(pbikePoint, 16);
        map.setUIToDefault();
		var pbikeIcon = new GIcon(G_DEFAULT_ICON);
		pbikeIcon.image = "images/MapMarker.png";
		pbikeIcon.shadow = "images/MapMarkerShadow.png";
		pbikeIcon.iconSize = GSize(32, 32);
		pbikeIcon.shadowSize = GSize(32, 32);
		Options = { icon:pbikeIcon };
		pbikeMarker=new GMarker(pbikePoint,Options);
		map.addOverlay(pbikeMarker);
		GEvent.addListener(pbikeMarker, "mouseover", function() {
		  pbikeMarker.openInfoWindowHtml("<img src='images/MapLogo.gif' style='position: relative; left: -5px; top: -10px;'><BR>4712 N. Midkiff Rd. Midland, Texas 79705");
		});
		GEvent.addListener(pbikeMarker, "mouseout", function() {
		  pbikeMarker.closeInfoWindow();
		});
      }
    }

	$(document).ready(function() {
		GMinitialize();
	});
	$(window).unload( function () {
		GUnload();
	});    
