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_15() {
  if(GBrowserIsCompatible()) {
    if(!document.getElementById('wagmp_map_15')) return false;
    var map = new GMap2(document.getElementById('wagmp_map_15'));
    wagmp_map_15_obj = new WAMapRef(map);
    map.enableContinuousZoom();
    map.enableDoubleClickZoom();
    map.addControl(new GLargeMapControl());
    map.addControl(new GScaleControl());
    map.addControl(new GMapTypeControl());
    var geocoder = new GClientGeocoder();
    
    var fromAddress = {
      enabled: false,
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      full: ''
    };

    var icon_0 = new GIcon();
    icon_0.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_0.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_0.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_0.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_0.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_0 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">San Jose Del Cabo Airport (SJD)</span>',
      full: '109 43\' 5.65"W,23 9\' 40.13"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 43\' 5.65"W',
      longitude: '23 9\' 40.13"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_0);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_1.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_1.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_1.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_1.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_1 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">San Jose Del Cabo, Downtown</span>',
      full: '109 41\' 38.23"W,23 3\' 37.83"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 41\' 38.23"W',
      longitude: '23 3\' 37.83"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_1);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_2.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_2.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_2.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_2.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_2 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Fine Dining District</span>',
      full: '109 41\' 46.89"W,23 3\' 42.72"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 41\' 46.89"W',
      longitude: '23 3\' 42.72"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_2);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_3.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_3.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_3.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_3.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_3 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Mega Grocery Store</span>',
      full: '109 42\' 17.44"W,23 2\' 37.02"N,',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 42\' 17.44"W',
      longitude: '23 2\' 37.02"N,',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_3);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_4.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_4.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_4.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_4.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_4 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Surf Zippers</span>',
      full: '109 42\' 51.96"W,23 1\' 44.16"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 42\' 51.96"W',
      longitude: '23 1\' 44.16"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_4);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_5.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_5.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_5.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_5.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_5 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Palmilla Luxury Resort</span>',
      full: '109 42\' 51.54"W,23 0\' 25.46"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 42\' 51.54"W',
      longitude: '23 0\' 25.46"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_5);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_6.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_6.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_6.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_6.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_6 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Gas Station & Mini Market</span>',
      full: '109 43\' 59.46"W,23 0\' 8.06"N,',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 43\' 59.46"W',
      longitude: '23 0\' 8.06"N,',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_6);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_7.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_7.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_7.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_7.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_7 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Cabo Golf<br />http://www.cabogolf.com/ Cabo Real Golf</span>',
      full: '109 46\' 3.25"W,22 59\' 32.25"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 46\' 3.25"W',
      longitude: '22 59\' 32.25"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_7);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_8.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_8.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_8.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_8.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_8 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Jet Ski & Watersports Rentals</span>',
      full: '109 45\' 50.62"W,22 58\' 43.43"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 45\' 50.62"W',
      longitude: '22 58\' 43.43"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_8);
          wagmp_map_15_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/traditionalpillow/tahitisea.png';
    icon_9.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/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/traditionalpillow/tahitisea.gif';
    icon_9.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_9.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_9.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_9 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Las Ventanas Luxury Resort</span>',
      full: '109 46\' 13.32"W,22 58\' 45.44"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 46\' 13.32"W',
      longitude: '22 58\' 45.44"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    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_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_9);
          wagmp_map_15_obj.icons.push(icon_9);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_10 = new GIcon();
    icon_10.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_10.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_10.iconSize = new GSize(34,35);
    icon_10.shadowSize = new GSize(34,35);
    icon_10.iconAnchor = new GPoint(9,23);
    icon_10.infoWindowAnchor = new GPoint(19,0);
    icon_10.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_10.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_10.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_10.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_10 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Beach Dining & Hotel Restaurants</span>',
      full: '109 46\' 19.51"W,22 58\' 34.42"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 46\' 19.51"W',
      longitude: '22 58\' 34.42"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_10.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_10);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_10.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_10' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_10);
          wagmp_map_15_obj.icons.push(icon_10);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_11 = new GIcon();
    icon_11.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_11.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_11.iconSize = new GSize(34,35);
    icon_11.shadowSize = new GSize(34,35);
    icon_11.iconAnchor = new GPoint(9,23);
    icon_11.infoWindowAnchor = new GPoint(19,0);
    icon_11.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_11.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_11.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_11.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_11 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Whale Watching</span>',
      full: '109 46\' 37.24"W,22 58\' 7.14"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 46\' 37.24"W',
      longitude: '22 58\' 7.14"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_11.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_11);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_11.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_11' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_11);
          wagmp_map_15_obj.icons.push(icon_11);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_12 = new GIcon();
    icon_12.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_12.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_12.iconSize = new GSize(34,35);
    icon_12.shadowSize = new GSize(34,35);
    icon_12.iconAnchor = new GPoint(9,23);
    icon_12.infoWindowAnchor = new GPoint(19,0);
    icon_12.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_12.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_12.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_12.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_12 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Surf El Tule</span>',
      full: '109 47\' 55.01"W,22 57\' 38.32"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 47\' 55.01"W',
      longitude: '22 57\' 38.32"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_12.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_12);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_12.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_12' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_12);
          wagmp_map_15_obj.icons.push(icon_12);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_13 = new GIcon();
    icon_13.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_13.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_13.iconSize = new GSize(34,35);
    icon_13.shadowSize = new GSize(34,35);
    icon_13.iconAnchor = new GPoint(9,23);
    icon_13.infoWindowAnchor = new GPoint(19,0);
    icon_13.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_13.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_13.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_13.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_13 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Chileno Snorkeling Beach</span>',
      full: '109 48\' 10.63"W,22 57\' 8.89"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 48\' 10.63"W',
      longitude: '22 57\' 8.89"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_13.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_13);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_13.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_13' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_13);
          wagmp_map_15_obj.icons.push(icon_13);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_14 = new GIcon();
    icon_14.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_14.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_14.iconSize = new GSize(34,35);
    icon_14.shadowSize = new GSize(34,35);
    icon_14.iconAnchor = new GPoint(9,23);
    icon_14.infoWindowAnchor = new GPoint(19,0);
    icon_14.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_14.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_14.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_14.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_14 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Santa Maria Beach</span>',
      full: '109 48\' 58.37"W,22 55\' 30.09"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 48\' 58.37"W',
      longitude: '22 55\' 30.09"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_14.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_14);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_14.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_14' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_14);
          wagmp_map_15_obj.icons.push(icon_14);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_15 = new GIcon();
    icon_15.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_15.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_15.iconSize = new GSize(34,35);
    icon_15.shadowSize = new GSize(34,35);
    icon_15.iconAnchor = new GPoint(9,23);
    icon_15.infoWindowAnchor = new GPoint(19,0);
    icon_15.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_15.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_15.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_15.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_15 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Cabo Del Sol Golf</span>',
      full: '109 50\' 27.77"W,22 54\' 58.36"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 50\' 27.77"W',
      longitude: '22 54\' 58.36"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_15.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_15);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_15.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_15' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_15);
          wagmp_map_15_obj.icons.push(icon_15);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_16 = new GIcon();
    icon_16.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_16.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_16.iconSize = new GSize(34,35);
    icon_16.shadowSize = new GSize(34,35);
    icon_16.iconAnchor = new GPoint(9,23);
    icon_16.infoWindowAnchor = new GPoint(19,0);
    icon_16.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_16.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_16.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_16.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_16 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Cabo Dolphins<br />http://www.cabodolphins.com/</span>',
      full: '109 54\' 38.27"W,22 52\' 42.90"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 54\' 38.27"W',
      longitude: '22 52\' 42.90"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_16.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_16);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_16.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_16' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_16);
          wagmp_map_15_obj.icons.push(icon_16);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_17 = new GIcon();
    icon_17.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_17.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_17.iconSize = new GSize(34,35);
    icon_17.shadowSize = new GSize(34,35);
    icon_17.iconAnchor = new GPoint(9,23);
    icon_17.infoWindowAnchor = new GPoint(19,0);
    icon_17.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_17.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_17.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_17.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_17 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Medano Beach & The Office Restaurant</span>',
      full: '109 54\' 17.27"W,22 53\' 13.26"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 54\' 17.27"W',
      longitude: '22 53\' 13.26"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_17.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_17);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_17.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_17' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_17);
          wagmp_map_15_obj.icons.push(icon_17);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_18 = new GIcon();
    icon_18.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_18.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_18.iconSize = new GSize(34,35);
    icon_18.shadowSize = new GSize(34,35);
    icon_18.iconAnchor = new GPoint(9,23);
    icon_18.infoWindowAnchor = new GPoint(19,0);
    icon_18.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_18.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_18.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_18.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_18 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Cabo San Lucas Marina Sportfishing & Tours</span>',
      full: '109 54\' 36.42"W,22 52\' 56.31"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 54\' 36.42"W',
      longitude: '22 52\' 56.31"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_18.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_18);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_18.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_18' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_18);
          wagmp_map_15_obj.icons.push(icon_18);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_19 = new GIcon();
    icon_19.image = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.png';
    icon_19.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png';
    icon_19.iconSize = new GSize(34,35);
    icon_19.shadowSize = new GSize(34,35);
    icon_19.iconAnchor = new GPoint(9,23);
    icon_19.infoWindowAnchor = new GPoint(19,0);
    icon_19.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea.gif';
    icon_19.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_mozprint.png';
    icon_19.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif';
    icon_19.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/tahitisea_transparent.png';
    
    var address_19 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">El Arco ~ Land\'s End</span>',
      full: '109 53\' 40.37"W,22 52\' 33.22"N',
      isdefault: false,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 53\' 40.37"W',
      longitude: '22 52\' 33.22"N',
      markerStyle: 'Google Traditional (pillow)',
      markerColor: 'Tahiti Sea'      
    };
    
    geocoder.getLatLng (
      address_19.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_19);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_19.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_19' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_19);
          wagmp_map_15_obj.icons.push(icon_19);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();

    var icon_20 = new GIcon();
    icon_20.image = 'http://google.webassist.com/google/markers/star/cabosunset.png';
    icon_20.shadow = 'http://google.webassist.com/google/markers/star/shadow.png';
    icon_20.iconSize = new GSize(29,39);
    icon_20.shadowSize = new GSize(29,39);
    icon_20.iconAnchor = new GPoint(15,15);
    icon_20.infoWindowAnchor = new GPoint(19,7);
    icon_20.printImage = 'http://google.webassist.com/google/markers/star/cabosunset.gif';
    icon_20.mozPrintImage = 'http://google.webassist.com/google/markers/star/cabosunset_mozprint.png';
    icon_20.printShadow = 'http://google.webassist.com/google/markers/star/shadow.gif';
    icon_20.transparent = 'http://google.webassist.com/google/markers/star/cabosunset_transparent.png';
    
    var address_20 = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Welcome to Beautiful<br />Villa Las Palmas!<br />For Reservations<br />Call: 714-307-0069 (US)</span>',
      full: '109 46\' 57.00"W,22 58\' 22.44"N',
      isdefault: true,
      addressType: 'coordinates',
      loop: '',
      latitude: '109 46\' 57.00"W',
      longitude: '22 58\' 22.44"N',
      markerStyle: 'Star',
      markerColor: 'Cabo Sunset'      
    };
    
    geocoder.getLatLng (
      address_20.full,
      function(point) {
        if(point) {
          var marker = new GMarker(point, icon_20);
          GEvent.addListener(marker, 'click', function() {
            marker.openInfoWindowHtml(address_20.infowindowtext);
          });
          if(!fromAddress.enabled || 'address_20' != 'address_19') {
            map.setCenter(point, 13);
            map.addOverlay(marker);
            marker.openInfoWindowHtml(address_20.infowindowtext);
          }
          wagmp_map_15_obj.markers.push(marker);
          wagmp_map_15_obj.addresses.push(address_20);
          wagmp_map_15_obj.icons.push(icon_20);
        }
        else {
          map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        }
      }
    );
     waitForGeo();


  }
}