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("83 Symonds Street, P.O. Box 2771", "Fax: (64)(9)377 9367", "")});
	}else{
		img.addEventListener('click',function(){setDirections("83 Symonds Street, P.O. Box 2771", "Fax: (64)(9)377 9367", "")}, 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(-36.85799310877313, 174.76300030946731),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(-36.85799310877313, 174.76300030946731);
	 map.addOverlay(createMarker(point, iOptions,0));
	 var point1 = new GLatLng(-36.860802304059426, 174.77780610322952);
map.addOverlay(createMarker(point1, hOptions,1));

	 var point2 = new GLatLng(-36.861089870554146, 174.76208567619324);
map.addOverlay(createMarker(point2, hOptions,2));

	 var point3 = new GLatLng(-36.86533456949803, 174.63223189115524);
map.addOverlay(createMarker(point3, hOptions,3));

	 var point4 = new GLatLng(-36.87768963594095, 174.7648000717163);
map.addOverlay(createMarker(point4, hOptions,4));

	 var point5 = new GLatLng(-36.84296248204944, 174.76312637329101);
map.addOverlay(createMarker(point5, gOptions,5));

	 var point6 = new GLatLng(-36.842754268983526, 174.76275622844696);
map.addOverlay(createMarker(point6, gOptions,6));

	 var point7 = new GLatLng(-36.83954728685381, 174.7655349969864);
map.addOverlay(createMarker(point7, gOptions,7));

	 var point8 = new GLatLng(-36.84342612972639, 174.76867586374283);
map.addOverlay(createMarker(point8, gOptions,8));

	 var point9 = new GLatLng(-36.842756415512866, 174.76327657699585);
map.addOverlay(createMarker(point9, fOptions,9));

	 var point10 = new GLatLng(-36.84296248204944, 174.763123691082);
map.addOverlay(createMarker(point10, gOptions,10));

	 var point11 = new GLatLng(-36.84840801833455, 174.76216077804565);
map.addOverlay(createMarker(point11, fOptions,11));

	 var point12 = new GLatLng(-36.84592892002775, 174.7874003648758);
map.addOverlay(createMarker(point12, fOptions,12));

	 var point13 = new GLatLng(-36.850333288576664, 174.75881338119507);
map.addOverlay(createMarker(point13, fOptions,13));

	 var point14 = new GLatLng(-36.853009698539026, 174.7626033425331);
map.addOverlay(createMarker(point14, eOptions,14));

	 var point15 = new GLatLng(-36.85330373305461, 174.75990772247314);
map.addOverlay(createMarker(point15, cOptions,15));

	 var point16 = new GLatLng(-36.907794324914874, 174.7768995165825);
map.addOverlay(createMarker(point16, dOptions,16));

	 var point17 = new GLatLng(36.84477412644847, 174.76721942424774);
map.addOverlay(createMarker(point17, cOptions,17));

	 var point18 = new GLatLng(-36.846051267024585, 174.76630210876465);
map.addOverlay(createMarker(point18, cOptions,18));

	 var point19 = new GLatLng(-36.85745014315468, 174.76452112197876);
map.addOverlay(createMarker(point19, bOptions,19));

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

	 var point21 = new GLatLng(-36.84445430135093, 174.7686168551445);
map.addOverlay(createMarker(point21, eOptions,21));

	 var point22 = new GLatLng(-36.84165523804599, 174.7555249929428);
map.addOverlay(createMarker(point22, bOptions,22));

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

	 var point24 = new GLatLng(-36.832465261614, 174.74488735198975);
map.addOverlay(createMarker(point24, fOptions,24));

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

	 var point26 = new GLatLng(-36.86217574621639, 174.7189235687256);
map.addOverlay(createMarker(point26, aOptions,26));

	 var point27 = new GLatLng(-36.847701859125536, 174.76342678070068);
map.addOverlay(createMarker(point27, eOptions,27));

	 var point28 = new GLatLng(-36.85196017925657, 174.7638988494873);
map.addOverlay(createMarker(point28, cOptions,28));

	 var point29 = new GLatLng(-36.85203315243352, 174.7627803683281);
map.addOverlay(createMarker(point29, aOptions,29));

	 var point30 = new GLatLng(-36.845372989979836, 174.81759667396545);
map.addOverlay(createMarker(point30, aOptions,30));

	 var point31 = new GLatLng(-36.86815851562093, 174.72489148378372);
map.addOverlay(createMarker(point31, aOptions,31));

	 var point32 = new GLatLng(-36.849298756970455, 174.83154147863388);
map.addOverlay(createMarker(point32, dOptions,32));

	 var point33 = new GLatLng(-36.84524205606, 174.75823134183884);
map.addOverlay(createMarker(point33, aOptions,33));

	 var point34 = new GLatLng(-36.840745091094696, 174.7650146484375);
map.addOverlay(createMarker(point34, bOptions,34));

	 var point35 = new GLatLng(-36.844649630931926, 174.76893067359924);
map.addOverlay(createMarker(point35, cOptions,35));

	 var point36 = new GLatLng(-36.848015231494394, 174.76648181676865);
map.addOverlay(createMarker(point36, cOptions,36));

	 var point37 = new GLatLng(-36.8717462358277, 174.77496564388275);
map.addOverlay(createMarker(point37, cOptions,37));

	 var point38 = new GLatLng(-36.847995914056746, 174.76729184389114);
map.addOverlay(createMarker(point38, cOptions,38));

	 var point39 = new GLatLng(-36.85724626178797, 174.7813868522644);
map.addOverlay(createMarker(point39, cOptions,39));

	 var point40 = new GLatLng(-36.844538,174.765229);
map.addOverlay(createMarker(point40, cOptions,40));

	 var point41 = new GLatLng(-36.856542330362394, 174.77840691804886);
map.addOverlay(createMarker(point41, cOptions,41));

	 var point42 = new GLatLng(-36.853956,174.745531);
map.addOverlay(createMarker(point42, cOptions,42));

	 var point43 = new GLatLng(-36.842357160018054, 174.7599533200264);
map.addOverlay(createMarker(point43, dOptions,43));

	 var point44 = new GLatLng(-36.84806889101779, 174.7546425461769);
map.addOverlay(createMarker(point44, cOptions,44));

	 var point45 = new GLatLng(-36.84213821257139, 174.7643306851387);
map.addOverlay(createMarker(point45, dOptions,45));

	 var point46 = new GLatLng(-36.84728975104144, 174.76570397615433);
map.addOverlay(createMarker(point46, dOptions,46));

	 var point47 = new GLatLng(-36.81996331812343, 174.80647087097168);
map.addOverlay(createMarker(point47, dOptions,47));

	 var pointDefault = new GLatLng(-36.85799310877313, 174.76300030946731);

	 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, Auckland<br>Address: 83 Symonds Street, P.O. Box 2771<br>Tel: Tel: (64)(9)379 5132</b></td><td><img src=\"../images/hotel_alk_tlakl_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, Auckland<br>Address: 83 Symonds Street, P.O. Box 2771<br>Tel: (Tel: (64)(9)379 5132</b></td><td><img src=\"../images/hotel_alk_tlakl_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>The Auckland Museum</b><br> Auckland Museum is the cultural and spiritual touchstone and the first stop to gain an insight into New Zealand and its peoples. See priceless Maori treasures and amazing natural history.</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>Te Taumata Art Gallery</b><br> Owned and operated by Maori, quality exhibition pieces include fine arts, sculptural and spatial arts i.e.; finely woven kete, greenstone pendants, paua shell necklaces, Wood Carvings, Maori designed glass bowls.</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>Kura Contemporary Ethnic Art</b><br> Kura exhibits and sells 100% New Zealand art and design, specialising in contemporary Maori art. Artworks include framed works, oils, acrylics & prints, sculpture, ceramics, glass, carving, weaving, greenstone/pounamu and jewellery.</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>Maori Guided Walk of Auckland - Tamaki Hikoi</b><br> Maori guides from the local Ngati Whatua tribe re-tell ancient stories and sacred history on the Tamaki Hikoi walking tour through Auckland. </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>America's Cup Sailing Experience</b><br> A unique opportunity to participate as crew on an actual America's Cup yacht. Take the helm, or simply sit back and enjoy the ride as you sail the beautiful Waitemata Harbour.</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>Pride of Auckland</b><br> Enjoy world famous sailing and dining cruises on Auckland's Waitemata Harbour. Daily sailing, coffee, lunch & dinner cruises provides a fantastic time on the water. NZ National Maritime Museum pass included.</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>Explore NZ / Sail NZ</b><br> Experience the ultimate sailing experience out on the stunning Hauraki Gulf. Daily sailings, or match races are available onboard America's Cup yachts NZL 40 and NZL 41 which are suitable for all experiences and abilities.</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>Fullers Cruises</b><br> Experience The City of Sails on a Fullers Cruise. Explore the Auckland Harbour, take a Vineyard Tour or Island Explorer Tour on Waiheke Island or take a Volcanic Tour of Rangitoto Island.</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>Whale and Dolphin Safari</b><br> See small pods of dolphins playing around the boat or be spellbound by the spectacle of a feeding frenzy involving sea birds, dolphins, and whales.</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>America's Cup Sailing Experience</b><br> A unique opportunity to participate as crew on an actual America's Cup yacht. Take the helm, or simply sit back and enjoy the ride as you sail the beautiful Waitemata Harbour.</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>SkyWalk</b><br> Auckland's newest adrenaline pumping attraction. Step out on the 1.2 metre wide ledge suspended 192 metres high and walk the perimeter of the Sky Tower with only a safety harness and rope.</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>Helilink</b><br> Located at Auckland's only 'Downtown Heli-port' at Mechanics Bay, two minutes from the CBD, Helilink offers a range of sightseeing options.</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>AJ Hackett Bungy</b><br> Auckland is home to the world's first harbour bridge bungy jump. This personal challenge experience is situated directly under the bridge at Pier 2, where jumpers leap over the Waitemata Harbour.</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>Auckland City Council</b><br> Auckland City Council manages projects, strategies, rules and regulations for managing the natural and physical resources in Auckland city and Hauraki Gulf islands.</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>Central Police Station</b><br> Auckland Central Police Station is on the corner of Cook and Vincent Streets in the central city. New Zealand Police is the lead agency responsible for reducing crime and enhancing community safety.</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>Stardome Observatory</b><br> Visit the 360\u00b0 planetarium, where you can lie back in comfort as your guide takes you on an incredible space journey. Observe the Southern skies using a vast array of telescopes (weather dependent).</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>Westfield Downtown</b><br> When you're in Auckland City, head into Westfield shopping centre to find gift ideas, a food mall and over 70 handy stores under one roof.</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>Queen Street</b><br> Auckland's main shopping street is lined with clothing boutiques, souvenir shops, banks, arcades, restaurants and other businesses. If you like exploring, pop down some of the side streets and alleyways.</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>Partingtons at The Langham</b><br> New Zealand's finest produce is showcased at Partingtons, the New Zealand Culinary Fare Restaurant of the Year 2007. Indulge in our signature restaurant's award winning cuisine, complemented by an extensive wine list.</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>Sky Tower</b><br> At 328 metres high, Sky Tower's three observation levels offer unrivalled views of Auckland. Stand on the glass floor panels and look down on the street below.</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>Auckland's Central Business District</b><br> The commercial centre of Auckland city is Queen Street, which runs from Britomart Place near the waterfront, uphill to cosmopolitan Karangahape Rd (K Rd).</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>Auckland Fish Market</b><br> Purchase the best of the day's catch from the waterfront Auckland Fish Market and learn how to cook it as the adjacent cookery school.</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>Auckland Museum</b><br> Located in The Domain, the Auckland Memorial Museum contains Maori and Pacific art and artefacts. See priceless Maori treasures, amazing natural history, and daily Maori cultural performances.</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>Auckland Bridge Climb</b><br> The Auckland Harbour Bridge Experience is a must do for those wanting to experience outstanding views of the harbour, volcanic geography, city and outer Auckland region.</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>Auckland Art Gallery</b><br> View early portraits of Maori and early New Zealand landscapes, alongside contemporary New Zealand art. The Auckland Art Gallery also hosts international exhibitions. Located at the corner of Albert Park.</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>Auckland Zoo</b><br> Daily Keeper Encounters allow you to get close up with remarkable native and exotic animals. Experience the expanse of the African plains or journey through New Zealand's unique coastal habitat.</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>Auckland District Court</b><br> Located on the corner of Kingston & Albert Streets, Auckland District Court is the main court in Auckland central.</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>Aotea Markets</b><br> In the heart of the city, the Aotea Square markets are open on Fridays and Saturdays, offering a range of organic food, Pacific Rim arts and crafts and fashion by up-and-coming designers.</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>Town Hall</b><br> The Auckland Town Hall is of Imperial Baroque design with a distinctive clock tower. The 100 year old Town Hall building is one of Auckland's most recognised landmarks.</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>Kelly Tarlton's Antarctic Encounter and Underwater World</b><br> A wonderland of snow, ice and amazing underwater sights. Explore the wilds of Antarctica and the natural treasures of the ocean depths in the Underwater World.</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>Museum of Transport and Technology - MOTAT</b><br> MOTAT will take you on an interactive journey of many of the technological achievements that have helped shape New Zealand with everything from fire engines to World War 2 planes, steam trains to a fully functioning tram line.</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>Mission Bay</b><br> With an extensive range of beachfront dining options you can enjoy a thriving cafe culture and choose from some of the best restaurants and bars that Auckland has to offer.</td></tr></table></div>");
	 });
	 break;

		 case 33:
		 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>Wineries</b><br> Auckland is home to some of the country's oldest established vineyards and is well known for its chardonnay, merlot and cabernet sauvignon wines.</td></tr></table></div>");
	 });
	 break;

		 case 34:
		 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>Princes Wharf</b><br> Princes Wharf is located on the waterfront and extends into the Waitemata Harbour. It offers a vibrant hub of world-class restaurants, cafes and many people-watching opportunities.</td></tr></table></div>");
	 });
	 break;

		 case 35:
		 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>City Farmers Market</b><br> Head along to the vibrant City Farmers' Market and discover an array of fresh regional produce that is brought into Auckland City every Saturday. Located in the centre of Auckland's Britomart precinct.</td></tr></table></div>");
	 });
	 break;

		 case 36:
		 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>High Street</b><br> High Street is one of the Auckland city's most popular shopping strips and is packed with designer boutiques, florists, cafes, nightclubs, bookshops and bars.</td></tr></table></div>");
	 });
	 break;

		 case 37:
		 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>Newmarket</b><br> From the glitz and glamour of top designer boutiques to the intrigue and aroma of the back streets, Newmarket is the destination for eclectic retail therapy.</td></tr></table></div>");
	 });
	 break;

		 case 38:
		 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>Chancery</b><br> When visiting Auckland, be sure to check out the Chancery, located off High Street in Auckland's CBD. The shops within Chancery are high fashion, and are accompanied by delicious eateries.</td></tr></table></div>");
	 });
	 break;

		 case 39:
		 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>Chocolate Boutique Cafe</b><br> See delicious high quality gourmet chocolates & coffee, hundreds of handmade chocolates, and rows overflowing with candy jars lining the walls. While there, try out the dessert cafe, it's amazing.</td></tr></table></div>");
	 });
	 break;

		 case 40:
		 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</b><br> Shop in style and enjoy tax and duty free savings on cosmetics, fragrances, sunglasses, watches, electronics, luxury brand accessories, fine jewellery, leather goods, New Zealand souvenirs, and liquor.</td></tr></table></div>");
	 });
	 break;

		 case 41:
		 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>Parnell</b><br> Stylish and historic Parnell is home to art galleries, unique boutique arts and souvenirs, famous fashion designers, fabulous jewellers, buzzing cafes and restaurants, exciting home decor and much more.</td></tr></table></div>");
	 });
	 break;

		 case 42:
		 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>Ponsonby Road</b><br> One of Auckland's hippest shopping strips, Ponsonby Road is packed with funky fashion stores, Designer furniture and gift shops, and chic cafes, bars and restaurants.</td></tr></table></div>");
	 });
	 break;

		 case 43:
		 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>Viaduct Harbour</b><br> Downtown, you will find the Viaduct Harbour, surrounded by restaurants, bars and clubs. Stroll around the harbour, enjoy the entertainment and see the many luxury boats in the waterways.</td></tr></table></div>");
	 });
	 break;

		 case 44:
		 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>Victoria Park Market</b><br> Located near the central city, Victoria Park Market has more than 85 shops, cafes and restaurants. It offers an exceptional selection of New Zealand's arts and crafts, souvenirs, fashion, sportswear and accessories.</td></tr></table></div>");
	 });
	 break;

		 case 45:
		 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>Minus 5o</b><br> Get down to minus5o and surround yourself in tonnes of hand sculpted ice. Everything is made of ice. The walls, the bar, the sculptures, the seats and even the glasses that you enjoy our famous vodka based cocktails in.</td></tr></table></div>");
	 });
	 break;

		 case 46:
		 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>Mission Bay</b><br> Sailing and kayaking are hugely popular all year round with rollerblades, bicycles, sailboards and small catamarans also available for hire during the summer months.</td></tr></table></div>");
	 });
	 break;

		 case 47:
		 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>Devonport</b><br> The historic seaside village of Devonport has a charming and relaxed atmosphere. Stroll around the village at your leisure and visit the many art galleries and historic points of interest.</td></tr></table></div>");
	 });
	 break;

	 default : 
	 break;
 }
	 return marker;
}
	 function setDirections(fromAddress, toAddress, locale) {
	 if(fromAddress=="The Langham, Auckland")
	 fromAddress = "83 Symonds Street, P.O. Box 2771";
	 if(toAddress=="")return;	 gdir.load("from: " + fromAddress + " Auckland 1140 New Zealand to: " + toAddress + " Auckland 1140 New Zealand",{locale:""});
	 }

	 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(){
 }