// CFMX document that outputs all items to be listed on the tours map from the db.
//White House
Visit the web site";
mapData[1] = [-77.036561, 38.897614, tour_1];
var tour_2 = "
The U.S. Capitol Building
Capitol Guide Services can accommodate 40-person tours
Visit the web site";
mapData[2] = [-77.00936, 38.889682, tour_2];
var tour_3 = "U.S. Supreme Court
Visit the web site";
mapData[3] = [-77.004444, 38.890516, tour_3];
//Add office
var tour_4 = "Kirsten Gillibrand's Office
478 Russell
Washington, NY 20510";
var openhtml = tour_4;
if (GBrowserIsCompatible()) {
var map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
//focus on Office
map.centerAndZoom(new GPoint(-77.00559854507446, 38.89289500761722), 4);
function createMarker(point, string) {
var marker = new GMarker(point);
// Show this markers index in the info window when it is clicked.
var html = string;
GEvent.addListener(marker, 'click', function() {
marker.openInfoWindowHtml(html);
});
return marker;
}
for(var i=1; i
//