// CFMX document that outputs all items to be listed on the tours map from the db.
//The U.S. Capitol Building
Capitol Guide Services can accommodate 40-person tours
Visit the web site
";
mapData[1] = [-77.00936, 38.889682, tour_1];
var tour_2 = "U.S. Supreme Court
Visit the web site
";
mapData[2] = [-77.004444, 38.890516, tour_2];
//Add Biden office
var tour_3 = "Joe Biden's Office
201 Russell Senate Office Building
Washington, D.C. 20510
";
var openhtml = tour_3;
if (GBrowserIsCompatible()) {
var map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
//focus on Biden
map.centerAndZoom(new GPoint(-77.006813, 38.892923), 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