    //<![CDATA[
    // Google Map code generator
    // Mobilefish.com
    // http://www.mobilefish.com/services/googlemap/googlemap.php
    var map = null;
    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById('map'));
        map.setCenter(new GLatLng(42.495198,-92.339692), 16);
        map.addControl(new GSmallMapControl(), new GControlPosition(G_ANCHOR_TOP_LEFT));
        map.addControl(new GMapTypeControl(), new GControlPosition(G_ANCHOR_TOP_RIGHT));
        map.setMapType(G_NORMAL_MAP);
        map.enableDoubleClickZoom();
        toPoint = map.getCenter();
        gdir=new GDirections(map, document.getElementById('directions'));
        var point = new GLatLng(42.495198, -92.339692);
        var marker = createMarker(point,'<div align="center"><div class="mapText"><a href="http://www.iatechservices.com" class="mapText"><b>Iowa Technology Services</b></a><br> 531 Commercial St. Suite 300<br> Waterloo, IA 50701<br><img src="images/loobuild.jpg" height="75" border="1px"></div></div>');
        map.addOverlay(marker);
        GEvent.trigger(marker, 'click');
      }
    }
    function createMarker(point, label) {
      var marker = new GMarker(point);
      GEvent.addListener(marker,"click",function() { marker.openInfoWindowHtml(label);});
      return marker;
    }
    function showDirections() {
      var reasons=[];
      reasons[G_GEO_SUCCESS]            = "Success";
      reasons[G_GEO_MISSING_ADDRESS]    = "Missing Address: The address was either missing or had no value.";
      reasons[G_GEO_UNKNOWN_ADDRESS]    = "Unknown Address:  No corresponding geographic location could be found for the specified address.";
      reasons[G_GEO_UNAVAILABLE_ADDRESS]= "Unavailable Address:  The geocode for the given address cannot be returned due to legal or contractual reasons.";
      reasons[G_GEO_BAD_KEY]            = "Bad Key: The API key is either invalid or does not match the domain for which it was given";
      reasons[G_GEO_TOO_MANY_QUERIES]   = "Too Many Queries: The daily geocoding quota for this site has been exceeded.";
      reasons[G_GEO_SERVER_ERROR]       = "Server error: The geocoding request could not be successfully processed.";
      reasons[G_GEO_BAD_REQUEST]        = "A directions request could not be successfully parsed.";
      reasons[G_GEO_MISSING_QUERY]      = "No query was specified in the input.";
      reasons[G_GEO_UNKNOWN_DIRECTIONS] = "The GDirections object could not compute directions between the points.";
      GEvent.addListener(gdir, "error", function() {
          var code = gdir.getStatus().code;
          var reason="Code "+code;
          if (reasons[code]) {
           reason = reasons[code];
          }
          alert(reason);
      });
     var toAddr = "end"+"@"+toPoint.lat() + "," + toPoint.lng();
     // selectcoordinate=999
     var opts = {};
     opts.travelMode = G_TRAVEL_MODE_DRIVING;
     opts.avoidHighways = false;
     opts.locale = "en";
     var fromAddr = document.inputFormDirection.fromAddr.value;
     gdir.load("from: "+fromAddr+" to: "+toAddr, opts);
   }
    //]]>
