function wagt_map_1() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagt_map_1')) return false;
    var map = new GMap2(document.getElementById('wagt_map_1'));
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GSmallMapControl());
    map.addControl(new GMapTypeControl());
    var geocoder = new GClientGeocoder();
    
    var icon = new GIcon();
    var markerStyle = 'Flag';
    var markerColor = 'Pacifica';
    icon.image = 'http://brotherselectric.aycdemo.com/map-marker-large.png';
    icon.iconSize = new GSize(70,70);
    icon.iconAnchor = new GPoint(40,75);
    icon.infoWindowAnchor = new GPoint(60,30);
    icon.printImage = 'http://brotherselectric.aycdemo.com/map-marker-large.png';
    icon.mozPrintImage = 'http://brotherselectric.aycdemo.com/map-marker-large.png';
    icon.printShadow = 'http://brotherselectric.aycdemo.com/map-marker-large.png';
    icon.transparent = 'http://brotherselectric.aycdemo.com/map-marker-large.png';

var address_0 = {
      street: '3400 Sylon Blvd',
      city: 'Hainesport',
      state: 'NJ',
      zip: '08036',
      country: 'USA',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Hainesport</strong><br />3400 Sylon Blvd<br />Hainesport, NJ 08036 USA</span>',
      full: '3400 Sylon Blvd, Hainesport, NJ, 08036, USA',
      isdefault: true
    };
    
    geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
          map.setCenter(point, 8);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_0.infowindowtext);
          });
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );


    

    var address_1 = {
      street: '2201 Hangar Place',
      city: 'Allentown',
      state: 'PA',
      zip: '18109',
      country: 'USA',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Allentown</strong><br />2201 Hangar Place<br />Allentown, PA 18109 USA</span>',
      full: '2201 Hangar Place, Allentown, PA, 18109, USA',
      isdefault: false
    };
    
    geocoder.getLatLng (
      address_1.full,
      function(point) {
        if(point) {
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_1.infowindowtext);
          });
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );

    var address_2 = {
      street: '6599 Delilah Rd',
      city: 'Egg Harbor',
      state: 'NJ',
      zip: '08234',
      country: 'USA',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Egg Harbor</strong><br />6599 Delilah Rd<br />Egg Harbor, NJ 08234 USA</span>',
      full: '6599 Delilah Rd, Egg Harbor, NJ, 08234, USA',
      isdefault: false
    };
    
    geocoder.getLatLng (
      address_2.full,
      function(point) {
        if(point) {
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_2.infowindowtext);
          });
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );

    var address_3 = {
      street: '202 N. Bassett St',
      city: 'Clayton',
      state: 'DE',
      zip: '19938',
      country: 'USA',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Delaware</strong><br />202 N. Bassett St<br />Clayton, DE 19938 USA</span>',
      full: '202 N. Bassett St, Clayton, DE, 19938, USA',
      isdefault: false
    };
    
    geocoder.getLatLng (
      address_3.full,
      function(point) {
        if(point) {
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_3.infowindowtext);
          });
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );


    var address_4 = {
      street: '70 hatfield-souderton pike',
      city: 'souderton',
      state: 'pa',
      zip: '18964',
      country: 'usa',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Souderton</strong><br />70 Hatfield-Souderton Pike<br />Souderton, PA 18964</span>',
      full: '70 hatfield-souderton pike, souderton, pa, 18964, usa',
      isdefault: false
    };
    
    geocoder.getLatLng (
      address_4.full,
      function(point) {
        if(point) {
          map.setCenter(point, 13);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_4.infowindowtext);
          });
          map.addOverlay(marker);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );

var address_5 = {
      street: '1000 sussex blvd',
      city: 'broomall',
      state: 'pa',
      zip: '19008',
      country: 'USA',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Broomall (Headquarters)</strong><br />1000 Sussex Blvd<br />Broomall, PA 19008 USA</span>',
      full: '1000 sussex blvd, broomall, pa, 19008, USA',
      isdefault: false
    };
    
    geocoder.getLatLng (
      address_5.full,
      function(point) {
        if(point) {
          map.setCenter(point, 7);
          var marker = new GMarker(point, icon);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_5.infowindowtext);
          });
          map.addOverlay(marker);
          marker.openInfoWindowHtml(address_5.infowindowtext);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );

  }
}