function load() {if (GBrowserIsCompatible()) {var map = new GMap2(document.getElementById('map'));map.enableContinuousZoom();map.addControl(new GLargeMapControl());map.addControl(new GMapTypeControl());map.setCenter(new GLatLng(41.3712,-71.9612), 10);var gLatLonBounds = new GLatLngBounds(new GLatLng(41.3712,-71.9612),new GLatLng(41.3712,-71.9612));var baseIcon = new GIcon();baseIcon.shadow = 'http://www.google.com/mapfiles/shadow50.png';baseIcon.iconSize = new GSize(20, 34);baseIcon.shadowSize = new GSize(37, 34);baseIcon.iconAnchor = new GPoint(9, 34);baseIcon.infoWindowAnchor = new GPoint(9, 2);baseIcon.infoShadowAnchor = new GPoint(18, 25);function createMarker(point, desc) {  var icon = new GIcon(baseIcon);  icon.image = 'http://www.google.com/mapfiles/marker.png';  var marker = new GMarker(point, icon);  GEvent.addListener(marker, 'click', function() {    marker.openInfoWindowHtml(desc);  });  return marker;}
function createMarkerOther(point, desc, link, shadowLink, height) {   tmpBaseIcon=baseIcon;  if (shadowLink!='') {   tmpBaseIcon.shadow=shadowLink;   tmpBaseIcon.iconSize=new GSize(30,30);  }  var icon = new GIcon(baseIcon);  icon.image = link;  var marker = new GMarker(point, icon);  GEvent.addListener(marker, 'click', function() {    marker.openInfoWindowHtml(desc);  });  return marker;}
function createMarkerDynamic(point, desc, link, height, anIndex) {   tmpBaseIcon=baseIcon;   tmpBaseIcon.iconSize=new GSize(13+(anIndex.toString().length*10),48);  var icon = new GIcon(baseIcon);  icon.image = link;  var marker = new GMarker(point, icon);  GEvent.addListener(marker, 'click', function() {    marker.openInfoWindowHtml(desc);  });  return marker;}
var locations = new Array(8); var index;
    locations[0] = new Array(2);
    locations[0][0] = 41.3712;
    locations[0][1] = -71.9612;
    locations[0][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=2107&siteid=9193&cur=USD" rel="nofollow">Mystic AmeriSuites</a><br>224 Greenmanville Ave.<br>Mystic, CT 06355 US';
    locations[1] = new Array(2);
    locations[1][0] = 41.37158;
    locations[1][1] = -71.9614;
    locations[1][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=173579&siteid=9193&cur=USD" rel="nofollow">Econo Lodge Mystic</a><br>251 Greenmanville Avenue<br>Mystic, CT 06355 US';
    locations[2] = new Array(2);
    locations[2][0] = 41.3725;
    locations[2][1] = -71.9599;
    locations[2][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=208326&siteid=9193&cur=USD" rel="nofollow">Holiday Inn Express MYSTIC</a><br>6 COOGAN BLVD.<br>Mystic, CT 06355 US';
    locations[3] = new Array(2);
    locations[3][0] = 41.3726;
    locations[3][1] = -71.96;
    locations[3][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=191134&siteid=9193&cur=USD" rel="nofollow">Mystic Seaport  Inn</a><br>6 Coogan BLVD.<br>Mystic, CT 06355 US';
    locations[4] = new Array(2);
    locations[4][0] = 41.3724;
    locations[4][1] = -71.9584;
    locations[4][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=16705&siteid=9193&cur=USD" rel="nofollow">Hilton Mystic</a><br>20 Coogan Boulevard<br>Mystic, CT 06355-1900 US';
    locations[5] = new Array(2);
    locations[5][0] = 41.3508;
    locations[5][1] = -71.9603;
    locations[5][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=190496&siteid=9193&cur=USD" rel="nofollow">Inn at Mystic</a><br>3 Williams Avenue<br>Mystic, CT 06355 US';
    locations[6] = new Array(2);
    locations[6][0] = 41.3758;
    locations[6][1] = -71.9613;
    locations[6][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=11716&siteid=9193&cur=USD" rel="nofollow">Mystic-Days Inn</a><br>55 Whitehall Avenue<br>Mystic, CT 06355 US';
    locations[7] = new Array(2);
    locations[7][0] = 41.37558;
    locations[7][1] = -71.9594;
    locations[7][2] = '<a href="http://hotelsearch.mystichotelservice.com/v5/redir.aspx?type=property&pid=18182&siteid=9193&cur=USD" rel="nofollow">Howard Johnson Inn Mystic</a><br>253 Greenmanville Ave<br>Mystic, CT 06355 US';
for (index=0;index<8;index+=1)
{
    var point = new GLatLng(locations[index][0],locations[index][1]);
    map.addOverlay(createMarker(point, locations[index][2]));
    gLatLonBounds.extend(point); 
}
    var point = new GLatLng(41.3619737028793,-71.9634312413677);
    map.addOverlay(createMarkerOther(point, 'Mystic Seaport<br>75 Greenmanville Ave','http://affiliateadmin.alliancereservations.com/GoogleIcons/iconb.png',''));
    gLatLonBounds.extend(point); 
map.setCenter(gLatLonBounds.getCenter(), map.getBoundsZoomLevel(gLatLonBounds));}}