// Initialize the page, if it has the right ID
RRS.util.Dom.addWindowOnload(
function()
 {
    if (document.body.id != "location")
    return;

    var hotelPoint = new LatLonPoint(26.3979626449959, -81.83685779571533);
    var centerPoint = new LatLonPoint(26.477783, -81.813829);
    var mapstract = new Mapstraction('map', 'google');
    mapstract.setCenterAndZoom(centerPoint, 11);
    mapstract.addControls({
        pan: true,
        zoom: 'small',
        map_type: true

    });

    aMarker = new Marker(hotelPoint);
    aMarker.setLabel("Hyatt Regency Coconut Point Resort &amp; Spa");

    var bubbleText = '<a href="http://coconutpoint.hyatt.com/hyatt/hotels/index.jsp" target="_top"><strong>Hyatt Regency Coconut Resort &amp; Spa</strong></a><br />';
    bubbleText += '5001 Coconut Road<br />Bonita Springs, <abbr title="Florida">FL</abbr> 34134<br />';
    bubbleText += "(239) 444-1234<br />";
    bubbleText += '<a href="http://www.mapquest.com/mq/6-zeQ4zwsQB0ZLznrM" title="MapQuest driving directions from Hyatt Regency Coconut Point to Southwest Florida International Airport" target="_top" class="bubbleDirections">Directions to Southwest Florida International Airport</a>';
    aMarker.setInfoBubble(bubbleText);
    aMarker.setIcon('/graphics/mapicons/lodging.png');
    aMarker.setHover(false);
    mapstract.addMarker(aMarker);

    aMarker = new Marker(new LatLonPoint(26.54285, -81.754568));
    aMarker.setLabel("Southwest Florida International Airport/Ft. Myers (RSW)");
    bubbleText = '<a href="http://www.flylcpa.com" target="_top"><strong>Ft. Myers-Southwest Florida International Airport (RSW)</strong></a><br />';
    bubbleText += "11000 Terminal Access Road<br />";
    bubbleText += 'Fort Myers, <abbr title="Florida">FL</abbr> 33913<br />';
	bubbleText += '<a href="http://www.mapquest.com/mq/4-wHCJ5q0SqGKW" title="Directions from Southwest Florida International Airport to Hyatt Regency Coconut Point Resort & Spa" target="_top" class="bubbleDirections">Directions to Hyatt Regency Coconut Point</a>';
    aMarker.setInfoBubble(bubbleText);
    aMarker.setIcon('/graphics/mapicons/plane.png');
    aMarker.setHover(false);
    mapstract.addMarker(aMarker);
    }
);