var map;
var gdir;
	function PlaneIcon() {
	}
	PlaneIcon.prototype = new GControl();
	PlaneIcon.prototype.initialize = function(map) {
	var container = document.createElement("div");
	this.setButtonStyle_(container);
	var img=document.createElement("IMG");
	img.src="../images/icon.png";
	if(window.ActiveXObject){
		img.attachEvent('onclick',function(){setDirections("250 Franklin Street, Boston, MA 02110 ", "Logan Airport", "en")});
	}else{
		img.addEventListener('click',function(){setDirections("250 Franklin Street, Boston, MA 02110 ", "Logan Airport", "en")}, false);
	 }
	container.appendChild(img);
	 map.getContainer().appendChild(container);
	 return container;
	 }
	 PlaneIcon.prototype.getDefaultPosition = function() {
		 return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(225, 0));
	 }
	 PlaneIcon.prototype.setButtonStyle_ = function(button) {  
	 button.style.backgroundColor = "transparent"; 
	 button.style.textAlign = "center";
	 button.style.cursor = "pointer";
	 button.style.border = "0";
	 }
	  function load() {
	 if (GBrowserIsCompatible()) {
	 map = new GMap2(document.getElementById("content"));
	 gdir = new GDirections(map, document.getElementById("directions"));
	 GEvent.addListener(gdir, "load", onGDirectionsLoad);
	 GEvent.addListener(gdir, "error", handleErrors);
	 map.addControl(new GSmallMapControl());
	 map.addControl(new GMapTypeControl());
	 map.setCenter(new GLatLng(42.35625863032217, -71.05444729328155),14);
	 var hotelicon = new GIcon(G_DEFAULT_ICON);
	 hotelicon.image = "../images/langham_logo.png";
	 iOptions = { icon:hotelicon};
	 var aIcon = new GIcon(G_DEFAULT_ICON);
	 aIcon.image = "../images/a_icon.png";
	 aOptions = { icon:aIcon};
	 var bIcon = new GIcon(G_DEFAULT_ICON);
	 bIcon.image = "../images/b_icon.png";
	 bOptions = { icon:bIcon};
	 var cIcon = new GIcon(G_DEFAULT_ICON);
	 cIcon.image = "../images/c_icon.png";
	 cOptions = { icon:cIcon};
	 var dIcon = new GIcon(G_DEFAULT_ICON);
	 dIcon.image = "../images/d_icon.png";
	 dOptions = { icon:dIcon};
	 var eIcon = new GIcon(G_DEFAULT_ICON);
	 eIcon.image = "../images/e_icon.png";
	 eOptions = { icon:eIcon};
	 var fIcon = new GIcon(G_DEFAULT_ICON);
	 fIcon.image = "../images/f_icon.png";
	 fOptions = { icon:fIcon};
	 var gIcon = new GIcon(G_DEFAULT_ICON);
	 gIcon.image = "../images/g_icon.png";
	 gOptions = { icon:gIcon};
	 var hIcon = new GIcon(G_DEFAULT_ICON);
	 hIcon.image = "../images/h_icon.png";
	 hOptions = { icon:hIcon};
	 var transportationIcon = new GIcon(G_DEFAULT_ICON);
	 transportationIcon.image = "../images/transportation_icon.png";
	 markerOptionsTransportation = { icon:transportationIcon };
	 var point = new GLatLng(42.35625863032217, -71.05444729328155);
	 map.addOverlay(createMarker(point, iOptions,0));
	 var point1 = new GLatLng(42.07329834528248, -71.28788262605667);
map.addOverlay(createMarker(point1, dOptions,1));

	 var point2 = new GLatLng(42.0932248469965, -71.2635925412178);
map.addOverlay(createMarker(point2, dOptions,2));

	 var point3 = new GLatLng(42.34654077231946, -71.09711855649948);
map.addOverlay(createMarker(point3, dOptions,3));

	 var point4 = new GLatLng(42.36682218475981, -71.0594442486763);
map.addOverlay(createMarker(point4, dOptions,4));

	 var point5 = new GLatLng(42.36622865126234, -71.06115952134132);
map.addOverlay(createMarker(point5, dOptions,5));

	 var point6 = new GLatLng(42.368821727126, -71.12244129180908);
map.addOverlay(createMarker(point6, dOptions,6));

	 var point7 = new GLatLng(42.349965237423035, -71.07780933380127);
map.addOverlay(createMarker(point7, dOptions,7));

	 var point8 = new GLatLng(-37.84075522742679, 144.99537728726864);
map.addOverlay(createMarker(point8, cOptions,8));

	 var point9 = new GLatLng(42.35027893090453, -71.06511510908604);
map.addOverlay(createMarker(point9, cOptions,9));

	 var point10 = new GLatLng(42.35123536424161, -71.07639849185944);
map.addOverlay(createMarker(point10, bOptions,10));

	 var point11 = new GLatLng(42.36393571626117, -71.05432525277138);
map.addOverlay(createMarker(point11, bOptions,11));

	 var point12 = new GLatLng(42.35953490951834, -71.05119913816452);
map.addOverlay(createMarker(point12, bOptions,12));

	 var point13 = new GLatLng(42.35996697714706, -71.05579376220703);
map.addOverlay(createMarker(point13, bOptions,13));

	 var point14 = new GLatLng(42.35949923407675, -71.05152904987335);
map.addOverlay(createMarker(point14, bOptions,14));

	 var point15 = new GLatLng(42.35710596028316, -71.05297207832336);
map.addOverlay(createMarker(point15, bOptions,15));

	 var point16 = new GLatLng(42.338627611668656, -71.0989049077034);
map.addOverlay(createMarker(point16, aOptions,16));

	 var point17 = new GLatLng(42.33896267486381, -71.09389185905457);
map.addOverlay(createMarker(point17, aOptions,17));

	 var point18 = new GLatLng(42.35911671279141, -71.05023756623268);
map.addOverlay(createMarker(point18, aOptions,18));

	 var point19 = new GLatLng(42.352865231871945, -71.04296609759331);
map.addOverlay(createMarker(point19, aOptions,19));

	 var point20 = new GLatLng(42.37208447103558, -71.05557650327682);
map.addOverlay(createMarker(point20, aOptions,20));

	 var point21 = new GLatLng(42.3587500451248, -71.0576605796814);
map.addOverlay(createMarker(point21, aOptions,21));

	 var point22 = new GLatLng(42.36619000698374, -71.05495020747185);
map.addOverlay(createMarker(point22, aOptions,22));

	 var point23 = new GLatLng(42.363732578398995, -71.05369091033936);
map.addOverlay(createMarker(point23, aOptions,23));

	 var point24 = new GLatLng(42.35762921799148, -71.06035754084587);
map.addOverlay(createMarker(point24, aOptions,24));

	 var point25 = new GLatLng(42.3587500451248, -71.05741381645202);
map.addOverlay(createMarker(point25, aOptions,25));

	 var pointDefault = new GLatLng(42.35625863032217, -71.05444729328155);

	 var mark = new GMarker(pointDefault,iOptions);
	 map.addOverlay(mark);
	 mark.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:300px\"><table border=\"0\"><tr><td><b>The Langham, Boston Hotel<br>Address: 250 Franklin Street, Boston, MA 02110 <br>Tel: Phone: 1(617) 451 1900 <br />Fax：1(617) 423 2844</b></td><td><img src=\"../images/hotel_tlbos.jpg\"></td></tr></table></div>");
	 map.addOverlay(createMarker(pointDefault, iOptions,0));
	 map.addControl(new PlaneIcon());

	 }
	 }
 function createMarker(point, number,index) {
	 var marker = new GMarker(point,number);

	 switch (index)
	 {

case 0:	 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>The Langham, Boston Hotel<br>Address: 250 Franklin Street, Boston, MA 02110 <br>Tel: (Phone: 1(617) 451 1900 <br />Fax：1(617) 423 2844</b></td><td><img src=\"../images/hotel_tlbos.jpg\"></td></tr></table></div>");		 });
		 break; 

		 case 1:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>New England’s professional Soccer team</b><br> Location: Gilette Stadium – 1 Patriot Place, Foxborough, MA</td></tr></table></div>");
	 });
	 break;

		 case 2:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>New England Patriots</b><br> Boston’s professional Football team (NFL)<br />Location: Gilette Stadium – 1 Patriot Place, Foxborough, MA</td></tr></table></div>");
	 });
	 break;

		 case 3:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Boston Red Sox</b><br> Boston’s professional Baseball team (AL)<br />Location: Fenway Park - 4 Yawkey Way</td></tr></table></div>");
	 });
	 break;

		 case 4:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Boston Celtics</b><br> Boston’s professional Basketball team (NBA)<br />Location: TD Banknorth Garden – 1 Fleetcenter Place</td></tr></table></div>");
	 });
	 break;

		 case 5:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Boston Bruins</b><br> Boston’s professional Hockey team (NHL / NLH)<br />Location:  TD Banknorth Garden – 1 Fleetcenter Place</td></tr></table></div>");
	 });
	 break;

		 case 6:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Head of the Charles Regatta</b><br> This is the largest two-day regatta in the world occurring annually in the latter part of October. Established in 1965, the regatta now hosts 19 events and attracts over 300,000 spectators who line the banks and bridges turning Boston into a rowing haven.<br />Location: Cambridge</td></tr></table></div>");
	 });
	 break;

		 case 7:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Boston Marathon</b><br> First run in 1897, the Boston Marathon is America's oldest and perhaps most famous annual marathon. It is held the third Monday in April on Patriots Day, a state holiday.</td></tr></table></div>");
	 });
	 break;

		 case 8:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Wang Theatre</b><br> Since The Wang Theatre's restoration, this 3600+ seat theater continues to host an impressive array of world-class Broadway, theater, music, dance, opera and film.<br />Address:  270 Tremont Street, Theatre District (10 minute walk from hotel)</td></tr></table></div>");
	 });
	 break;

		 case 9:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Boston Pops</b><br> Members of the Boston Symphony Orchestra first performed a summer program of light music in a café-style setting on July 11, 1885, under the direction of Adolf Neuendorff.  The event was known as a Promenade Concert.  The term “Pops” was first officially used during the 1900 season.<br />Address:  301 Massachusetts Avenue (10 minute taxi ride from hotel)<br />Website:  <a href='www.bostonpops.org'>www.bostonpops.org</a></td></tr></table></div>");
	 });
	 break;

		 case 10:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Newbury Street</b><br> One of Boston’s most enchanting streets filled with designer shops, boutiques, spas, and cafes. Stores include: Valentino, Chanel, Burberry Limited, Vera Wang, Polo Ralph Lauren, Juicy Couture, Diesel, Cole-Haan, Kenneth Cole, Niketown, Puma, DKNY.<br />Cuisine:  All<br />Address:  15 minute walk from  hotel – Newbury Street<br />Website: <a href='http://www.newbury-st.com'>http://www.newbury-st.com</a></td></tr></table></div>");
	 });
	 break;

		 case 11:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>North End</b><br> Explore the North End and experience America's oldest Italian neighborhood; the birthplace of the Revolution, the center of Italian culture and cuisine, and one of the most colorful, vibrant urban neighborhoods in Boston.<br />Cuisine:  Italian ~ Dining Style:  Casual<br />Address:  10 minute walk from hotel – Hanover Street<br />Website: <a href='http://www.northendboston.com'>http://www.northendboston.com</a></td></tr></table></div>");
	 });
	 break;

		 case 12:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Legal Sea Foods</b><br> For over 50 years, Legal Sea Foods has set the standard for quality and freshness in the restaurant business. We've dedicated ourselves to serving absolutely the freshest fish in the seafood industry.<br />Cuisine:  Seafood / Raw Bar ~ Dining Style:  Casual<br />Address:  255 State Street (5 minute walk from hotel)<br />Website: <a href='http://www.legalseafoods.com/'>http://www.legalseafoods.com/</a></td></tr></table></div>");
	 });
	 break;

		 case 13:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Faneuil Hall Marketplace</b><br> In the heart of Boston, Faneuil Hall Marketplace is the perfect place for shopping and people watching. Enjoy the sights and sounds as you walk along the cobblestone streets and visit the outdoor marketplace with over 125 shops and restaurants.<br />Cuisine:  All ~ Dining Style: Informal<br />Address:  (5 minute walk from hotel)<br />Website: <a href='http://www.faneuilhallmarketplace.com/'>http://www.faneuilhallmarketplace.com/</a></td></tr></table></div>");
	 });
	 break;

		 case 14:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Sel de la Terre</b><br> Sel de la Terre’s food is a reflection of the land around us. The rustic simplicity of their cuisine is inspired by New England’s proud agricultural and maritime heritage. They go to great lengths to support the local farmer and fisherman. They are grounded in the intent to marry the technique of southern French cuisine with local, hearty and fresh ingredients. They define their philosophy as the “salt of the earth.”<br />Cuisine:  New England / French fusion ~ Dining Style:  Casual<br />Address:  255 State Street (5 minute walk from hotel)<br />Website: <a href='http://www.seldelaterre.com/about/cuisine.shtml'>http://www.seldelaterre.com/about/cuisine.shtml</a></td></tr></table></div>");
	 });
	 break;

		 case 15:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Umbria</b><br> Umbria's executive chef Marisa Iocco concentrates on the rustic flavors -- and the truffles -- of one of Italy's quieter regions. The pasta is outstanding as are the robust meats and other dishes in this rather cozy dining room.<br />Cuisine:  Italian ~ Dining Style:  Casual<br />Address:  295 Franklin Street (2 minute walk from hotel)<br />Book now: <a href='http://umbriaristorante.com/'>http://umbriaristorante.com/</a></td></tr></table></div>");
	 });
	 break;

		 case 16:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Gardner Museum</b><br> Isabella Stewart Gardner first welcomed visitors to her museum on New Year's Day, 1903. On that evening guests listened to the music of Bach, Mozart, and Schumann, gazed in wonder at the courtyard full of flowers, and viewed one of the nation's finest collections of art. Today, visitors experience much the same thing. The Gardner Museum has remained essentially unchanged since its founder's death in 1924. Unchanged but certainly not stagnant. Three floors of galleries surround a garden courtyard blooming with life in all seasons.<br />Address:  280 The Fenway  (10 minute drive from hotel)<br />Website:  <a href='www.gardnermuseum.org'>www.gardnermuseum.org</a></td></tr></table></div>");
	 });
	 break;

		 case 17:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Museum of Fine Arts</b><br> The MFA is one of the most comprehensive art museums in the world; the collection encompasses nearly 450,000 works of art. We welcome more than one million visitors each year to experience art from ancient Egyptian to contemporary, special exhibitions, and innovative educational programs.<br />Address:  465 Huntington Avenue  (10 minute drive from hotel)<br />Website:  <a href='www.mfa.org'>www.mfa.org</a></td></tr></table></div>");
	 });
	 break;

		 case 18:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>New England Aquarium</b><br> The mission of the New England Aquarium is to increase understanding of aquatic life and environments, to enable people to act to conserve the world of water, and to provide leadership for the preservation and sustainable use of aquatic resources.<br />Address:  Central Wharf (7 minute walk from hotel)<br />Website: <a href='www.neaq.org'>www.neaq.org</a></td></tr></table></div>");
	 });
	 break;

		 case 19:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>The ICA</b><br> Award-winning architects Diller Scofidio + Renfro designed the ICA, conceiving the building both 'from the sky down,' as a contemplative space for experiencing contemporary art, and 'from the ground up,' providing dynamic areas for public enjoyment.<br />Address:  100 Northern Avenue (10 minute walk from hotel)<br />Website: <a href='www.icaboston.org/about/'>www.icaboston.org/about/</a></td></tr></table></div>");
	 });
	 break;

		 case 20:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>USS Constitution and Navy Yard</b><br> The USS Constitution (Old Ironsides) is the oldest commissioned warship afloat in the world. Her history is rich and colorful and 200 years strong -- from fighting Barbary pirates on the \"shores of Tripoli\" to winning famous victories during the War of 1812, the USS Constitution Museum brings her tale alive through its collection of 3,000 original artifacts and art work and through hands-on activities.<br />Address:  Charlestown Navy Yard  (20 minute walk from hotel)<br />Website:  <a href='www.ussconstitutionmuseum.org'>www.ussconstitutionmuseum.org</a></td></tr></table></div>");
	 });
	 break;

		 case 21:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>The Old State House</b><br> Designed by Charles Bulfinch, the “new” State House was completed on 11th January, 1798, and widely acclaimed as one of the more magnificent and well-suited buildings in the country.  Its golden dome was once made of wood, and later overlaid with copper by Paul Revere.<br />Address:  Beacon Street (10 minute walk from hotel)<br />Website:  <a href='http://www.cityofboston.gov/freedomtrail/massachusettshouse.asp'>http://www.cityofboston.gov/freedomtrail/massachusettshouse.asp</a></td></tr></table></div>");
	 });
	 break;

		 case 22:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Old North Church</b><br> Immortalized in Longfellow’s poem, “Paul Revere’s Ride”, the Old North is the oldest church building in Boston and the city’s most visited historic site.  On the evening of 18 April 1775, the Old North sexton, Robert Newman, climbed the steeple and held high two lanterns as a signal from Paul Revere that the Regulars (term describes enlisted British soldiers) were marching to Lexington and Concord to arrest Samuel Adams and John Hancock and to seize the Colonial store of ammunition. This fateful event ignited the American Revolution.<br />Address:  193 Salem Street (12 minute walk from hotel)<br />Website:  <a href='www.oldnorth.com'>www.oldnorth.com</a></td></tr></table></div>");
	 });
	 break;

		 case 23:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>Paul Revere House</b><br> On the night of 18 April, 1775, silversmith Paul Revere left his small wooden home in Boston North End and set out on a journey that would make him into a legend. Today that home is still standing at 19 North Square and has become a national historic landmark. It is downtown Boston's oldest building and one of the few remaining from an early era in the history of colonial America.<br />Address:  19 North Square (10 minute walk from hotel)<br />Website:  <a href='www.paulreverehouse.org'>www.paulreverehouse.org</a></td></tr></table></div>");
	 });
	 break;

		 case 24:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>King’s Chapel and Burying Ground</b><br> In 1688, the Royal Governor built King's Chapel on the town burying ground when no one in the city would sell him land to build a non-Puritan church. The first King's Chapel was a tiny church used by the King's men who occupied Boston to enforce British law. By 1749, the building was too small for the congregation, which had grown to include a number of prominent merchants and their families.<br />Address:  School Street at Tremont Street (5 minute walk from hotel)</td></tr></table></div>");
	 });
	 break;

		 case 25:
		 GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("<div style=\"font:Arial, Helvetica, sans-serif;font-size:10px;color:#3F454F;text-autospace : ideograph-alpha;width:350px\"><table border=\"0\"><tr><td><b>The Freedom Trail</b><br> Your visit to Boston must include a walk into history along the Freedom Trail. You can start in the beginning, the middle or the end and wind your way through the streets of this very modern city — Boston — and along the paths of history. This is Boston’s indoor / outdoor history museum. There are 16 “official” sites of the Freedom Trail.  You’ll want to visit every one!<br />Address:  Various access points (5 minute walk from hotel) – you can start at the Old State House on 206 Washington Street<br />Website:  <a href='http://www.thefreedomtrail.org/visitor/visitor.html'>http://www.thefreedomtrail.org/visitor/visitor.html</a></td></tr></table></div>");
	 });
	 break;

	 default : 
	 break;
 }
	 return marker;
}
	 function setDirections(fromAddress, toAddress, locale) {
	 if(fromAddress=="The Langham, Boston Hotel")
	 fromAddress = "250 Franklin Street, Boston, MA 02110 ";
	 if(toAddress=="")return;	 gdir.load("from: " + fromAddress + " USA to: " + toAddress + " USA",{locale:"en"});
	 }

	 function handleErrors(){
	 if (gdir.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
alert("No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: " + gdir.getStatus().code);
	 else if (gdir.getStatus().code == G_GEO_SERVER_ERROR)
	 alert("A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.\n Error code: " + gdir.getStatus().code);
	 else if (gdir.getStatus().code == G_GEO_MISSING_QUERY)
	 alert("The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: " + gdir.getStatus().code);
	 else if (gdir.getStatus().code == G_GEO_BAD_KEY)
	 alert("The given key is either invalid or does not match the domain for which it was given. \n Error code: " + gdir.getStatus().code);
	 else if (gdir.getStatus().code == G_GEO_BAD_REQUEST)
	 alert("A directions request could not be successfully parsed.\n Error code: " + gdir.getStatus().code);
	 else alert("An unknown error occurred.");
}
function onGDirectionsLoad(){
 }