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("8 Peking Road, Tsimshatsui, Kowloon, Hong Kong", "hong kong airport", "en")});
	}else{
		img.addEventListener('click',function(){setDirections("8 Peking Road, Tsimshatsui, Kowloon, Hong Kong", "hong kong 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(22.296392718764398, 114.16972607374191),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(22.296392718764398, 114.16972607374191);
	 map.addOverlay(createMarker(point, iOptions,0));
	 var point1 = new GLatLng(22.29606513795086, 114.1693103313446);
map.addOverlay(createMarker(point1, aOptions,1));

	 var point2 = new GLatLng(22.296402645443735, 114.16995406150818);
map.addOverlay(createMarker(point2, cOptions,2));

	 var point3 = new GLatLng(22.296392718764398, 114.16946053504944);
map.addOverlay(createMarker(point3, cOptions,3));

	 var point4 = new GLatLng(22.296268635213256, 114.16938543319702);
map.addOverlay(createMarker(point4, cOptions,4));

	 var point5 = new GLatLng(22.29693372175977, 114.16908234357834);
map.addOverlay(createMarker(point5, cOptions,5));

	 var point6 = new GLatLng(22.296834455312027, 114.16910380125046);
map.addOverlay(createMarker(point6, cOptions,6));

	 var point7 = new GLatLng(22.296752560439554, 114.1690930724144);
map.addOverlay(createMarker(point7, cOptions,7));

	 var point8 = new GLatLng(22.296727743802045, 114.16912257671356);
map.addOverlay(createMarker(point8, cOptions,8));

	 var point9 = new GLatLng(22.296586288884132, 114.16914403438568);
map.addOverlay(createMarker(point9, cOptions,9));

	 var point10 = new GLatLng(22.296529210543373, 114.16917622089386);
map.addOverlay(createMarker(point10, cOptions,10));

	 var point11 = new GLatLng(22.29668059217866, 114.16920304298401);
map.addOverlay(createMarker(point11, cOptions,11));

	 var point12 = new GLatLng(22.296571398884446, 114.16914939880371);
map.addOverlay(createMarker(point12, cOptions,12));

	 var point13 = new GLatLng(22.29628352524522, 114.1692566871643);
map.addOverlay(createMarker(point13, cOptions,13));

	 var point14 = new GLatLng(22.284400775223787, 114.1603410243988);
map.addOverlay(createMarker(point14, fOptions,14));

	 var point15 = new GLatLng(22.29325833450085, 114.17128443717956);
map.addOverlay(createMarker(point15, aOptions,15));

	 var point16 = new GLatLng(22.301050735557535, 114.17759031057358);
map.addOverlay(createMarker(point16, bOptions,16));

	 var point17 = new GLatLng(22.294255984625515, 114.17186379432678);
map.addOverlay(createMarker(point17, bOptions,17));

	 var point18 = new GLatLng(22.302035922194747, 114.1772711277008);
map.addOverlay(createMarker(point18, bOptions,18));

	 var point19 = new GLatLng(22.302068182596873, 114.17754471302032);
map.addOverlay(createMarker(point19, bOptions,19));

	 var point20 = new GLatLng(22.29789908428616, 114.16797190904617);
map.addOverlay(createMarker(point20, cOptions,20));

	 var point21 = new GLatLng(22.29469276452792, 114.16899919509887);
map.addOverlay(createMarker(point21, bOptions,21));

	 var point22 = new GLatLng(22.30103088285866, 114.17150974273681);
map.addOverlay(createMarker(point22, cOptions,22));

	 var point23 = new GLatLng(22.29604528454354, 114.16981995105743);
map.addOverlay(createMarker(point23, cOptions,23));

	 var point24 = new GLatLng(22.29688657020589, 114.16928887367248);
map.addOverlay(createMarker(point24, cOptions,24));

	 var point25 = new GLatLng(22.29778492865392, 114.16805237531662);
map.addOverlay(createMarker(point25, dOptions,25));

	 var point26 = new GLatLng(22.299055525215227, 114.1685700416565);
map.addOverlay(createMarker(point26, eOptions,26));

	 var point27 = new GLatLng(22.301236854472197, 114.17406052350998);
map.addOverlay(createMarker(point27, eOptions,27));

	 var point28 = new GLatLng(22.29679226705039, 114.17457818984985);
map.addOverlay(createMarker(point28, eOptions,28));

	 var point29 = new GLatLng(22.293516433723525, 114.1678512096405);
map.addOverlay(createMarker(point29, fOptions,29));

	 var point30 = new GLatLng(22.29957914660768, 114.1685003042221);
map.addOverlay(createMarker(point30, fOptions,30));

	 var point31 = new GLatLng(22.30183987805243, 114.17027056217193);
map.addOverlay(createMarker(point31, aOptions,31));

	 var point32 = new GLatLng(22.296392718764398, 114.1698145866394);
map.addOverlay(createMarker(point32, cOptions,32));

	 var pointDefault = new GLatLng(22.296392718764398, 114.16972607374191);

	 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 Hong Kong<br>Address: 8 Peking Road, Tsimshatsui, Kowloon, Hong Kong<br>Tel: (852) 2375 1133</b></td><td><img src=\"../images/hotel_tlhkg_tlhkg_en.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 Hong Kong<br>Address: 8 Peking Road, Tsimshatsui, Kowloon, Hong Kong<br>Tel: ((852) 2375 1133</b></td><td><img src=\"../images/hotel_tlhkg_tlhkg_en.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>1881 Heritage</b><br> Located on Canton Road '1881 Heritage' boasts an area of 130,000 sqf. It features a shopping mall and an exhibition hall. The original site of ‘1881 Heritage’ was the headquarters of the Hong Kong Marine Police from the 1880's to 1997. The buildings’ unique Victorian architecture epitomises its rich colonial background.<br>Opening hours: Noon - 8pm daily</td><td><img size=\"70\" height=\"70\" src=\"../images/A 1881 Heritage_small.jpg\"></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>Ermenegildo Zegna</b><br> Ermenegildo Zegna</td><td><img size=\"70\" height=\"70\" src=\"../images/13 Ermenegildo Zegna_small.jpg\"></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>Miu Miu</b><br> Miu Miu</td><td><img size=\"70\" height=\"70\" src=\"../images/11 Miu Miu_small.jpg\"></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>Fendi</b><br> Fendi</td><td><img size=\"70\" height=\"70\" src=\"../images/10 Fendi_small.jpg\"></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>Emporio Armani</b><br> Emporio Armani</td><td><img size=\"70\" height=\"70\" src=\"../images/9 Emporio Armani_small.jpg\"></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>Dolce & Gabbana</b><br> Dolce & Gabbana</td><td><img size=\"70\" height=\"70\" src=\"../images/8 Dolce Gabbana_small.jpg\"></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>Coach</b><br> Coach</td><td><img size=\"70\" height=\"70\" src=\"../images/7 Coach_small.jpg\"></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>Prada</b><br> Prada</td><td><img size=\"70\" height=\"70\" src=\"../images/6 Prada_small.jpg\"></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>Gucci</b><br> Gucci</td><td><img size=\"70\" height=\"70\" src=\"../images/5 Gucci_small.jpg\"></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>Louis Vuitton</b><br> Louis Vuitton</td><td><img size=\"70\" height=\"70\" src=\"../images/4 Louis Vuitton_small.jpg\"></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>Chanel</b><br> Chanel</td><td><img size=\"70\" height=\"70\" src=\"../images/3 Chanel_small.jpg\"></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>Salvatore Ferragamos</b><br> Salvatore Ferragamo</td><td><img size=\"70\" height=\"70\" src=\"../images/2 Salvatore Ferragamo_small.jpg\"></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>Hermès</b><br> Hermès</td><td><img size=\"70\" height=\"70\" src=\"../images/1 Hermes_small.jpg\"></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>The Star Ferry</b><br> With a history of over 100 years, the Star Ferry is a witness to the many changes that have taken place in Hong Kong over the years. As both a vehicle and a tourist attraction, it is a symbol of Hong Kong.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/The Star Ferry_tlhkg_en.jpg\"></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>Avenue of Stars</b><br> Imitating Hollywood's Walk of Fame, the Avenue of Stars, located along the Victoria Harbour waterfront in Tsim Sha Tsui, honours celebrities of the local Hong Kong film industry.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Avenue of Stars_tlhkg_en.jpg\"></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>Hong Kong Science Museum</b><br> The Hong Kong Science Museum is a multilevel complex, which consist of over 500 displays of computer science, energy, physics, robotics, telecommunications, health and much more.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Hong Kong Science Museum_tlhkg_en.jpg\"></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>Hong Kong Space Museum</b><br> The Hong Kong Space Museum is one of the most famous landmarks.Its unique egg-shaped dome easily recognizes it. This Museum has a collection of meteorites and organizes extension activities that enrich the lives of both children and adults.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Hong Kong Space Museum_tlhkg_en.jpg\"></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>Hong Kong Museum of History</b><br> The Hong Kong Museum of History is a museum which preserves Hong Kong's historical and cultural heritage. It is just like a time tunnel taking visitors through Hong Kong's history, from 6000 years ago to the present.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Hong Kong Museum of History_tlhkg_en.jpg\"></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>Hong Kong Museum of Art</b><br> he Museum of Art does a good job with classical Chinese art, showcasing paintings and lithographs of old Hong Kong. One of its exhibition halls shows creditable international exhibitions while its gallery falls down on contemporary and recent Chinese art.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Hong Kong Museum of Art_tlhkg_en.jpg\"></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>Harbour City</b><br> Harbour City is Hong Kong's largest shopping and entertainment complex with a total area of 2 million square feet, featuring 700 shops and boutiques, 50 restaurants and two cinemas.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Harbour City_tlhkg_en.jpg\"></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>Chinese Arts & Crafts</b><br> Stepping into Chinese Arts & Crafts makes you feel like visiting a miniature of a Chinese arts museum. Here in this first local department store, you can find the finest embroidery, silk fabric, traditional Chinese fashion, handicrafts, porcelain and jewellery, etc.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Chinese Arts and Crafts_tlhkg_en.jpg\"></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>Park Lane Shoppers' Boulevard</b><br> One side of the shoppers' boulevard is lined with a row of 2-storey shops with white tile walls while the other side is decorated with trees and greenery. Sculptures are placed throughout the shoppers' boulevard making it standout from the tall buildings surrounding it. Strolling along this remarkable boulevard gives you a similar feeling to strolling along the Champs Elysees in Paris.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Park Lane Shoppers Boulevard_tlhkg_en.jpg\"></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>One Peking</b><br> One Peking is set to create a new benchmark in design, style and quality,with superb designer boutiques including Christian Dior, Fendi & Cartier.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/One Peking_tlhkg_en.jpg\"></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>DFS Galleria Hong Kong</b><br> The place to enjoy duty-free savings on the world's leading luxury brands. With the best assortment, including fine watches, leather goods, jewelry, clothing and cosmetics, DFS Galleria offers the Ultimate Luxury Experience.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/DFS Galleria Hong Kong_tlhkg_en.jpg\"></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>Louis Vuitton Flagship Store</b><br> Louis Vuitton has opened their flagship store in Hong Kong, which is the largest in Asia and outside of Paris. The store has a total of 1749 square meters with four levels of retail space dedicated to the brand that embodies ultimate luxury.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Louis Vuitton Flagship Store_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 26:
		 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 Sweet Dynasty</b><br> The Sweet Dynasty offers authentic Hong Kong-style desserts straight from the source, plus plenty of good dim sum, noodle dishes and other a la carte items. This very popular shop is crowded with people around the clock.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/The Sweet Dynasty_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 27:
		 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>Knutsford Terrace</b><br> Walk up the ramp at Kimberley Road and you will arrive at Knutsford Terrace, a popular place for dining and clubbing. The Western style, relaxed atmosphere here is very different from that of central Tsim Sha Tsui.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Knutsford Terrace_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 28:
		 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>Minden Avenue</b><br> Minden Avenue, described as the \</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Minden Avenue_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 29:
		 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>Star Ferry</b><br> The best way to travel across the Victoria Harbour is by the Star Ferry. The public transport facility has been in operation for more than a hundred years and now consists of four routes.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Star Ferry_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 30:
		 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>Hong Kong China Ferry Terminal</b><br> Hong Kong China Ferry Terminal is one of three cross-border ferry terminals in Hong Kong. It provides ferry services to Macau and mainland China.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Hong Kong China Ferry Terminal_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 31:
		 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>Free Kung Fu Corner at Kowloon Park</b><br> The Kowloon Park is a welcome respite from the crowded concrete jungle of Tsim Sha Tsui. The park has extensive recreational and sports facilities, including Chinese-style gardens, an air-conditioned game hall and a heated Olympic size indoor swimming pool. Visitors are able to watch different Kung Fu techniques demonstrated by martial arts'experts and their trainees using different weapons.</td><td><img size=\"70\" height=\"70\" src=\"../images/attractions/Free Kung Fu Corner at Kowloon Park_tlhkg_en.jpg\"></td></tr></table></div>");
	 });
	 break;

		 case 32:
		 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>Cartier</b><br> Cartier</td><td><img size=\"70\" height=\"70\" src=\"../images/12 Cartier_small.jpg\"></td></tr></table></div>");
	 });
	 break;

	 default : 
	 break;
 }
	 return marker;
}
	 function setDirections(fromAddress, toAddress, locale) {
	 if(fromAddress=="The Langham Hong Kong")
	 fromAddress = "8 Peking Road, Tsimshatsui, Kowloon, Hong Kong";
	 if(toAddress=="")return;	 gdir.load("from: " + fromAddress + " HK to: " + toAddress + " HK",{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(){
 }
