//<![CDATA[
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(28.548791,-81.372299), 13);
      }
    }
	function showAddress(address) {
		var map = new GMap2(document.getElementById("map"));
		var geocoder = new GClientGeocoder();
		if (geocoder) {
			geocoder.getLatLng(
			  address,
			  function(point) {
				if (!point) {
				  alert(address + " not found");
				} else {
				  map.setCenter(point, 13);
				  var marker = new GMarker(point);
				  map.addOverlay(marker);
				  // marker.openInfoWindowHtml(address);
				  map.addControl(new GSmallMapControl());
				}
			  }
			);
		}
    }
	var map;
    var directionsPanel;
    var directions;

    function setDirections(start, end) {
      map = new GMap2(document.getElementById("map"));
      directionsPanel = document.getElementById("route");
     // map.setCenter(new GLatLng(42.351505,-71.094455), 15);
      directions = new GDirections(map, directionsPanel);
	  directionsPanel.style.border ="1px solid #E0C297"; 
	  directionsPanel.style.backgroundColor = "#FAF4EC";
      directions.load(start + " to " + end);
    }
	
	function initAddress(){
		showAddress("700 North Westmoreland Road Lake Forest, IL 60045");
	}
	
	addLoadEvent(initAddress);
	
//]]>

