function WAMapRef(mapObj)  {
  this.obj = mapObj;
  this.directions = false;
  this.icons = [];
  this.markers = [];
  this.addresses = [];
  this.getPointByAddress = getPointByAddressFunc;
  return this;
}

function waitForGeo()  {
  var startDate = new Date();
  var endDate = new Date();
  while ((endDate-startDate) < 200)  {
    endDate = new Date();
  }
}

function WAMapPoint(theMarker, theAddress, theIcon)  {
  this.icon = theIcon;
  this.marker = theMarker;
  this.address = theAddress;
  return this;
}

function getPointByAddressFunc(value,attname)  {
  if (!attname) attname = "street";
  for (var x=0; x < this.addresses.length; x++) {
    if (eval("this.addresses[x]."+attname) == value)  {
      return WAMapPoint(this.markers[x],this.addresses[x],this.icons[x]);
    }
  }
  return false;
}


function wagmp_map_3() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagmp_map_3')) return false;
    var map = new GMap2(document.getElementById('wagmp_map_3'));
    wagmp_map_3_obj = new WAMapRef(map);
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GSmallMapControl());
    map.addControl(new GScaleControl());
    map.addControl(new GMapTypeControl());
    map.addControl(new GOverviewMapControl());
    map.addOverlay(new GTrafficOverlay());
    var geocoder = new GClientGeocoder();
    
    var fromAddress = {
      enabled: true,
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      full: ''
    };

    var icon_0 = new GIcon();
    icon_0.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_0.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_0.iconSize = new GSize(34,35);
    icon_0.shadowSize = new GSize(34,35);
    icon_0.iconAnchor = new GPoint(9,23);
    icon_0.infoWindowAnchor = new GPoint(19,0);
    icon_0.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_0.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_0.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_0.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_0 = {
      street: 'Great Cumberland Place, Marble Arch',
      city: 'London',
      state: '',
      zip: 'W1A 4RF',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Cumberland Hotel</strong><br /><strong>Address:</strong><br />Great Cumberland Place, Marble Arch<br />London  W1A 4RF United Kingdom</span>',
      full: 'Great Cumberland Place, Marble Arch, London, W1A 4RF, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_0.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_0);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_0.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_0' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_0);
          wagmp_map_3_obj.icons.push(icon_0);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_1 = new GIcon();
    icon_1.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_1.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_1.iconSize = new GSize(34,35);
    icon_1.shadowSize = new GSize(34,35);
    icon_1.iconAnchor = new GPoint(9,23);
    icon_1.infoWindowAnchor = new GPoint(19,0);
    icon_1.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_1.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_1.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_1.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_1 = {
      street: 'Bedford Avenue',
      city: 'London',
      state: '',
      zip: 'WC1B 3AS',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>St Giles Hotel</strong><br /><strong>Address:</strong><br />Bedford Avenue<br />London  WC1B 3AS United Kingdom</span>',
      full: 'Bedford Avenue, London, WC1B 3AS, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_1.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_1);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_1.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_1' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_1);
          wagmp_map_3_obj.icons.push(icon_1);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_2 = new GIcon();
    icon_2.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_2.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_2.iconSize = new GSize(34,35);
    icon_2.shadowSize = new GSize(34,35);
    icon_2.iconAnchor = new GPoint(9,23);
    icon_2.infoWindowAnchor = new GPoint(19,0);
    icon_2.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_2.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_2.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_2.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_2 = {
      street: 'Aldwych',
      city: 'London',
      state: '',
      zip: 'WC2B 4DD',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>The Waldorf Hilton</strong><br /><strong>Address:</strong><br />Aldwych<br />London  WC2B 4DD United Kingdom</span>',
      full: 'Aldwych, London, WC2B 4DD, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_2.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_2);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_2.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_2' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_2);
          wagmp_map_3_obj.icons.push(icon_2);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_3 = new GIcon();
    icon_3.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_3.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_3.iconSize = new GSize(34,35);
    icon_3.shadowSize = new GSize(34,35);
    icon_3.iconAnchor = new GPoint(9,23);
    icon_3.infoWindowAnchor = new GPoint(19,0);
    icon_3.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_3.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_3.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_3.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_3 = {
      street: '11-13 Bayley Street, Bedford Square',
      city: 'London',
      state: '',
      zip: 'WC1B 3HD',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>myhotel Bloomsbury</strong><br /><strong>Address:</strong><br />11-13 Bayley Street, Bedford Square<br />London  WC1B 3HD United Kingdom</span>',
      full: '11-13 Bayley Street, Bedford Square, London, WC1B 3HD, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_3.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_3);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_3.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_3' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_3);
          wagmp_map_3_obj.icons.push(icon_3);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_4 = new GIcon();
    icon_4.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_4.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_4.iconSize = new GSize(34,35);
    icon_4.shadowSize = new GSize(34,35);
    icon_4.iconAnchor = new GPoint(9,23);
    icon_4.infoWindowAnchor = new GPoint(19,0);
    icon_4.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_4.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_4.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_4.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_4 = {
      street: '35 Ixworth Place',
      city: 'London',
      state: '',
      zip: 'SW3 3QX',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>myhotel Chelsea</strong><br /><strong>Address:</strong><br />35 Ixworth Place<br />London  SW3 3QX United Kingdom</span>',
      full: '35 Ixworth Place, London, SW3 3QX, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_4.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_4);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_4.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_4' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_4);
          wagmp_map_3_obj.icons.push(icon_4);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_5 = new GIcon();
    icon_5.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_5.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_5.iconSize = new GSize(34,35);
    icon_5.shadowSize = new GSize(34,35);
    icon_5.iconAnchor = new GPoint(9,23);
    icon_5.infoWindowAnchor = new GPoint(19,0);
    icon_5.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_5.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_5.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_5.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_5 = {
      street: 'Lancaster Terrace',
      city: 'London',
      state: '',
      zip: 'W2 2TY',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Royal Lancaster Hotel</strong><br /><strong>Address:</strong><br />Lancaster Terrace<br />London  W2 2TY United Kingdom</span>',
      full: 'Lancaster Terrace, London, W2 2TY, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_5.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_5);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_5.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_5' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_5);
          wagmp_map_3_obj.icons.push(icon_5);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_6 = new GIcon();
    icon_6.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_6.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_6.iconSize = new GSize(34,35);
    icon_6.shadowSize = new GSize(34,35);
    icon_6.iconAnchor = new GPoint(9,23);
    icon_6.infoWindowAnchor = new GPoint(19,0);
    icon_6.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_6.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_6.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_6.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_6 = {
      street: '17 Sloane Street, Knightsbridge',
      city: 'London',
      state: '',
      zip: 'SW1X 9NU',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Millennium Knightsbridge</strong><br /><strong>Address:</strong><br />17 Sloane Street, Knightsbridge<br />London  SW1X 9NU United Kingdom</span>',
      full: '17 Sloane Street, Knightsbridge, London, SW1X 9NU, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_6.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_6);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_6.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_6' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_6);
          wagmp_map_3_obj.icons.push(icon_6);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_7 = new GIcon();
    icon_7.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_7.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_7.iconSize = new GSize(34,35);
    icon_7.shadowSize = new GSize(34,35);
    icon_7.iconAnchor = new GPoint(9,23);
    icon_7.infoWindowAnchor = new GPoint(19,0);
    icon_7.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_7.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_7.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_7.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_7 = {
      street: 'Praed Street, Paddington',
      city: 'London',
      state: '',
      zip: 'W2 1EE',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Hilton London Paddington</strong><br /><strong>Address:</strong><br />Praed Street, Paddington<br />London  W2 1EE United Kingdom</span>',
      full: 'Praed Street, Paddington, London, W2 1EE, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_7.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_7);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_7.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_7' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_7);
          wagmp_map_3_obj.icons.push(icon_7);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_8 = new GIcon();
    icon_8.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_8.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_8.iconSize = new GSize(34,35);
    icon_8.shadowSize = new GSize(34,35);
    icon_8.iconAnchor = new GPoint(9,23);
    icon_8.infoWindowAnchor = new GPoint(19,0);
    icon_8.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_8.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_8.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_8.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_8 = {
      street: '225 Edgware Road',
      city: 'London',
      state: '',
      zip: 'W2 1JU',
      country: 'United Kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Hilton London Metropole:</strong><br /><strong>Address:</strong><br />225 Edgware Road<br />London  W2 1JU United Kingdom</span>',
      full: '225 Edgware Road, London, W2 1JU, United Kingdom',
      isdefault: false,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_8.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_8);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_8.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_8' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_8);
          wagmp_map_3_obj.icons.push(icon_8);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_9 = new GIcon();
    icon_9.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
    icon_9.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
    icon_9.iconSize = new GSize(34,35);
    icon_9.shadowSize = new GSize(34,35);
    icon_9.iconAnchor = new GPoint(9,23);
    icon_9.infoWindowAnchor = new GPoint(19,0);
    icon_9.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
    icon_9.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
    icon_9.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
    icon_9.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
    
    var address_9 = {
      street: '4-18 Harrington Gardens, Kensington',
      city: 'London',
      state: '',
      zip: 'SW7 4LH',
      country: 'United kingdom',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><strong>Millennium Gloucester Hotel</strong><br /><strong>Address:</strong><br />4-18 Harrington Gardens, Kensington<br />London  SW7 4LH United kingdom</span>',
      full: '4-18 Harrington Gardens, Kensington, London, SW7 4LH, United kingdom',
      isdefault: true,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'Google Traditional (flat)',
      markerColor: 'Pacifica'      
    };
    
    geocoder.getLatLng (
      address_9.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_9);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_9.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_9' != 'address_9') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_3_obj.markers.push(marker);
          wagmp_map_3_obj.addresses.push(address_9);
          wagmp_map_3_obj.icons.push(icon_9);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    directions = new GDirections(map, document.getElementById('wagmp_directions_3'));
    directions.load('from: ' + fromAddress.full + ' to: ' + address_9.full);
    wagmp_map_3_obj.directions = directions;

  }
}