//<![CDATA[
var map;
var geocoder;

//Set GLatLng's for Marker Points
var markers = new Array();
var info = new Array();
markers[0] = new GLatLng(52.674278,-8.561954); //Mark's Place
info[0] = "<b>Mark\'s Room</b><br/><a href=\"/tag/Mark\">Related Posts</a>";
markers[1] = new GLatLng(52.674343,-8.561954); //Kat's Place
info[1] = "<b>Katherine\'s Room</b>";
markers[2] = new GLatLng(52.673090,-8.568821); //Bus Stop
info[2] = "<b>Bus Stop</b><br/>This takes us downtown, to the airport, etc.";
markers[3] = new GLatLng(53.015248,-9.403267); //O'Brien's Tower
info[3] = "<b>O\'Brien\'s Tower</b><br/>Great lookout point by the cliffs<br/><a href=\"/2008/09/cliffs-cows-castles-cars-and-liscannor/\">Cliffs of Moher Post</a>";
markers[4] = new GLatLng(52.938345,-9.386101); //Liscannor Cow Castle
info[4] = "<b>Liscannor Cow Castle</b><br/>We saw some cows here<br/><a href=\"/2008/09/cliffs-cows-castles-cars-and-liscannor/\">Cliffs of Moher Post</a>";
markers[5] = new GLatLng(52.603986,-8.974371); //Franciscan Friary
info[5] = "<b>Franciscan Friary</b><br/>Built in 1420, it\'s in pretty good condition<br/><a href=\"\">Friary Post</a>";
markers[6] = new GLatLng(52.613237,-9.098740); //Foynes Flying Boat Museum
info[6] = "<b>Foynes Flying Boat Museum</b><br/>Site chosen by Charles Lindbergh<br/><a href=\"\">Foynes Post</a>";
markers[7] = new GLatLng(52.591317,-9.363699); //Ferry Crossing
info[7] = "<b>South Ferry Crossing</b><br/>We crossed here to get to Kilrush<br/><a href=\"\">Dolphin Hunting Post</a>";
markers[8] = new GLatLng(52.614254,-9.380457); //Ferry Crossing
info[8] = "<b>North Ferry Crossing</b><br/>We arrived here and headed toward Kilrush<br/><a href=\"\">Dolphin Hunting Post</a>";
markers[9] = new GLatLng(52.634538,-9.495562); //Dolphin Discovery
info[9] = "<b>Kilrush Pier</b><br/>Our dolphin hunting journey started here<br/><a href=\"\">Dolphin Hunting Post</a>";
markers[10] = new GLatLng(52.678360,-9.649601); //Marine Bar
info[10] = "<b>Marine Bar</b><br/>We ate here to end the day<br/><a href=\"\">Dolphin Hunting Post</a>";
markers[11] = new GLatLng(52.666666,-8.553243); //SuperQuinn
info[11] = "<b>SuperQuinn</b><br/>Our grocery store of choice<br/><a href=\"/tag/shopping\">Related Posts</a>";
markers[12] = new GLatLng(53.273227,-9.049644); //Galway Mall
info[12] = "<b>Galway Underground Mall</b><br/>Built over the old Galway city wall<br/><a href=\"/a-day-in-paradise-almost\">Related Post</a>";
markers[13] = new GLatLng(53.266214,-9.564457); //Ferry Port
info[13] = "<b>Ferry to Inis Mor</b><br/>Our ferry left from here<br/><a href=\"/a-day-in-paradise-almost\">Related Post</a>";
markers[14] = new GLatLng(53.119747,-9.666295); //Tour Van
info[14] = "<b>Tour Van Departure</b><br/>The tour guy picked us up here<br/><a href=\"/a-day-in-paradise-almost\">Related Post</a>";
markers[15] = new GLatLng(53.126303,-9.764872); //Dun Aonghasa
info[15] = "<b>Dun Aonghasa</b><br/>It's really old, and pretty impressive<br/><a href=\"/a-day-in-paradise-almost\">Related Post</a>";
markers[16] = new GLatLng(51.510921,-0.183934); //London Hostel
info[16] = "<b>Our Hostel</b><br/>It was no worse than Kilmurry<br/><a href=\"/tag/London\">Related Posts</a>";
markers[17] = new GLatLng(51.507547,-0.074487); //London Tower
info[17] = "<b>Tower of London</b><br/>Where the Crown Jewels are kept<br/><a href=\"/nothing-beats-a-beheading\">Related Post</a>";
markers[18] = new GLatLng(51.500075,-0.123041); //Big Ben
info[18] = "<b>Big Ben</b><br/>It's actually called Victoria Tower<br/><a href=\"/that-big-ol-clocktower\">Related Post</a>";
markers[19] = new GLatLng(51.504380,-0.185924); //Kensington Palace
info[19] = "<b>Kensington Palace</b><br/>Princess Diana lived here<br/><a href=\"/101-dalmations-in-hyde-park\">Related Post</a>";
markers[20] = new GLatLng(51.510572,-0.125627); //Noel Coward Theatre
info[20] = "<b>Noel Coward Theatre</b><br/><a href=\"http://www.avenueq.com\">Avenue Q</a> is playing here<br/><a href=\"/a-night-on-the-town\">Related Post</a>";
markers[21] = new GLatLng(51.510781,-0.131547); //Planet Hollywood
info[21] = "<b>Planet Hollywood</b><br/>We got a free dinner here<br/><a href=\"/a-night-on-the-town\">Related Post</a>";
markers[22] = new GLatLng(51.522217,-0.153793); //Madame Tussoud's
info[22] = "<b>Madame Tussaud's</b><br/>We did <i>not</i> get a discount here<br/?<a href=\"/the-really-expensive-wax-museum\">Related Post</a>";
markers[23] = new GLatLng(51.477231,0); //Royal Observatory
info[23] = "<b>Royal Observatory</b><br/>The Prime Meridian runs through here<br/?<a href=\"/straddling-the-boundary\">Related Post</a>";
markers[24] = new GLatLng(51.498790,-0.125858); //Westminster Abbey
info[24] = "<b>Westminster Abbey</b><br/>Houses the Coronation Chair used since 1066<br/><a href=\"/westminster-abbey\">Related Post</a>";
markers[25] = new GLatLng(51.500560,-0.140805); //Buckingham Palace
info[25] = "<b>Buckingham Palace</b><br/>We watched the Changing of the Guard here<br/><a href=\"/swapping-out-the-guardlondon-style\">Related Post</a>";
markers[26] = new GLatLng(51.500653,-0.128352); //ME Institute
info[26] = "<b>Institution of Mechanical Engineers</b><br/>Katherine fit in perfectly here<br/><a href=\"/the-me-institute\">Related Post</a>";
markers[27] = new GLatLng(48.857569,2.296071); //Proposal Spot
info[27] = "<b>The Proposal Spot</b><br/>Here's the spot, right on this bench<br/><a href=\"/the-proposal\">Related Post</a>";
markers[28] = new GLatLng(48.861025,2.335855); //Louvre
info[28] = "<b>The Louvre</b><br/>The most famous museum in the world<br/><a href=\"/friday-night-in-paris\">Related Post</a>";
markers[29] = new GLatLng(48.852959,2.349953); //Notre Dame
info[29] = "<b>Notre Dame Cathedral</b><br/>It costs money to go up to the belltower<br/><a href=\"/no-hunchbacks-here\">Related Post</a>";
markers[30] = new GLatLng(48.846913,2.337187); //Luxembourg Gardens
info[30] = "<b>Luxembourg Gardens</b><br/>Lots of perfectly manicured flowers<br/><a href=\"/luxembourg-gardens\">Related Post</a>";
markers[31] = new GLatLng(48.833666,2.331603); //Catacombs
info[31] = "<b>The Catacombs</b><br/>Creatively stacked human remains<br/><a href=\"/bones\">Related Post</a>";
markers[32] = new GLatLng(48.862430,2.395948); //Pere Lachaise Cemetery
info[32] = "<b>Pere Lachaise Cemetery</b><br/>Oscar Wilde, Jim Morrison, and Frederic Chopin are buried here<br/><a href=\"/cemetery-number-duex\">Related Post</a>";
markers[33] = new GLatLng(48.860816,2.294054); //Seine Cruise
info[33] = "<b>Seine Cruise Boat</b><br/>This is where we took the pictures in the sparkling tower collage<br/><a href=\"/cruisin-right-along\">Related Post</a>";
markers[34] = new GLatLng(48.873828,2.295005); //Arc de Triomphe
info[34] = "<b>Arc de Triomphe</b><br/>We got some great pictures from up here<br/><a href=\"/arc-de-triomphe\">Related Post</a>";
markers[35] = new GLatLng(48.871132,2.303995); //Cafe on Champs-Elysees
info[35] = "<b>Cafe on Champs-Elysees</b><br/>We had an excellent lunch here Sunday afternoon<br/><a href=\"/tag/Paris\">Paris Posts</a>";
markers[36] = new GLatLng(48.866550,2.417492); //Paris Hotel
info[36] = "<b>Our Hotel</b><br/>We stayed a ways outside the city<br/><a href=\"/tag/Paris\">Paris Posts</a>";
markers[37] = new GLatLng(52.766277,13.263685); //Sachsenhausen
info[37] = "<b>Sachsenhausen Concentration Camp</b><br/>Nazi concentration camp built in 1936<br/><a href=\"/2008/11/sachsenhausen\">Sachsenhausenn Post</a>";
markers[38] = new GLatLng(52.516259,13.377689); //Brandenburg Gate
info[38] = "<b>Brandenburg Gate</b><br/>The last surviving gate of Berlin<br/><a href=\"/2008/11/take-that-france\">Brandenburg Gate Post</a>";
markers[39] = new GLatLng(52.513924,13.378601); //Holocaust Memorial
info[39] = "<b>Holocaust Memorial</b><br/>Berlin's Memorial to the Murdered Jews of Europe<br/><a href=\"/2008/11/2711\">Memorial Post</a>";
markers[40] = new GLatLng(52.520841,13.409398); //TV Tower
info[40] = "<b>The Fernsehturm</b><br/>East Berlin's TV Tower<br/><a href=\"/2008/11/the-fernsehturm\">Fernsehturm Post</a>";
markers[41] = new GLatLng(52.507443,13.390389); //Checkpoint Charlie
info[41] = "<b>Checkpoint Charlie</b><br/>The most famous of checkpoints<br/><a href=\"/tag/berlin\">Berlin Posts</a>";
markers[42] = new GLatLng(52.518632,13.376033); //Reichstag
info[42] = "<b>Reichstag</b><br/>The dome here is really cool<br/><a href=\"/2008/11/watching-over-democracy\">Reichstag Post</a>";
markers[43] = new GLatLng(52.509519,13.376667); //Potsdam Platz
info[43] = "<b>Potsdamer Platz</b><br/>From ruin to skyscrapers in 20 years<br/><a href=\"/tag/berlin\">Berlin Posts</a>";
markers[44] = new GLatLng(52.518122,13.396980); //German History Museum
info[44] = "<b>German History Museum</b><br/>All you ever wanted to know about Germany<br/><a href=\"/tag/berlin\">Berlin Posts</a>";
markers[45] = new GLatLng(53.341714,-6.308713); //Kilmainham Gaol
info[45] = "<b>Kilmainham Gaol</b><br/>Numerous famous Irishmen were held here<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[46] = new GLatLng(53.364997,-6.261392); //Our B&B
info[46] = "<b>Our Hotel</b><br/>The nicest place we've stayed yet<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[47] = new GLatLng(53.349586,-6.259316); //Spire of Light
info[47] = "<b>Spire of Light</b><br/>Built for the millenium, completed in 2003<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[48] = new GLatLng(53.346601,-6.260497); //Liffey Cruise
info[48] = "<b>Liffey Cruise</b><br/>On this boat we saw Dublin's docklands<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[49] = new GLatLng(53.344301,-6.268335); //The Shack Restaurant
info[49] = "<b>The Shack</b><br/>They serve incredibe chicken enchiladas here<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[50] = new GLatLng(53.343680,-6.255443); //Book of Kells
info[50] = "<b>Book of Kells</b><br/>Located in Trinity College's Old Library<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[50] = new GLatLng(53.340992,-6.249472); //Oscar Wilde's House
info[50] = "<b>Oscar Wilde's House</b><br/>Now it's part of a college<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[51] = new GLatLng(53.339304,-6.270546); //St. Patrick's Cathedral
info[51] = "<b>St. Patrick's Cathedral</b><br/>Jonathan Swift is buried here<br/><a href=\"/2008/11/a-bit-about-dublin\">Dublin Post</a>";
markers[52] = new GLatLng(51.915823,-8.165229); //Old Jameson Distillery
info[52] = "<b>Old Jameson Distillery</b><br/>Home of Week 6's Mystery Picture<br/><a href=\"/2008/11/the-last-of-the-titanic\">Jameson Post</a>";
markers[53] = new GLatLng(51.851495,-8.293830); //St. Cormac's Carillon
info[53] = "<b>St. Cormac's Cathedral</b><br/>It has Ireland's only carillon<br/><a href=\"/2008/11/the-last-of-the-titanic\">Cobh Post</a>";
markers[54] = new GLatLng(51.819174,-8.273048); //Titanic waiting spot
info[54] = "<b>Cobh Harbour</b><br/>The Titanic waited here before heading out to sea<br/><a href=\"/2008/11/the-last-of-the-titanic\">Cobh Post</a>";
markers[55] = new GLatLng(52.246446,-7.132101); //Waterford Crystal
info[55] = "<b>Waterford Crystal Factory</b><br/>Crystallizing everything you could ever want<br/><a href=\"/2008/11/ireland-crystallized\">Waterford Post</a>";
markers[56] = new GLatLng(52.520128,-7.889986); //Rock of Cashel
info[56] = "<b>Rock of Cashel</b><br/>1000 years of history<br/><a href=\"/2008/11/cashelin-up-the-rockcash-style\">Rock of Cashel Post</a>";
markers[57] = new GLatLng(52.615827,-7.775692); //Horse & Jockey Hotel
info[57] = "<b>Horse & Jockey Hotel</b><br/>We finally found it<br/><a href=\"/2008/11/a-little-town-called-thurles\">Horse & Jockey post</a>";
markers[58] = new GLatLng(45.439856,12.322454); //Venice Hotel
info[58] = "<b>Our Venetian Hotel</b><br/>It was right next to the train station<br/><a href=\"/tag/venice/\">Venice Posts</a>";
markers[59] = new GLatLng(45.437962,12.335935); //Rialto Bridge
info[59] = "<b>Rialto Bridge</b><br/>Very famous, and it has shops inside<br/><a href=\"/2008/11/crossing-the-canal-the-rialto-way/\">Rialto Bridge Post</a>";
markers[60] = new GLatLng(45.433826,12.339020); //St. Mark's Belltower
info[60] = "<b>St. Mark's Belltower</b><br/>We could see everything from here<br/><a href=\"/2008/11/keeping-watch-over-the-lagoon/\">Belltower Post</a>";
markers[61] = new GLatLng(45.434021,12.338247); //St. Mark's Square
info[61] = "<b>St. Mark's Square</b><br/>Crowded with pigeons and tourists<br/><a href=\"/2008/11/amongst-the-pigeons/\">St. Mark's Square Post</a>";
markers[62] = new GLatLng(45.456074,12.352688); //Murano
info[62] = "<b>Murano Island</b><br/>The best in glass since 1291<br/><a href=\"/tag/venice/\">Venice Posts</a>";
markers[63] = new GLatLng(45.437650,12.336075); //Gelato #3
info[63] = "<b>Gelato Stop #3</b><br/>It was delicious<br/><a href=\"/2008/11/coldstone-cant-even-compete/\">Gelato Post</a>";

//markers[] = new GLatLng(); //
//info[] = "<b></b><br/><br/><a href=\"\"></a>";

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
	map.setCenter(new GLatLng(45.437279,12.336359), 13, G_SATELLITE_MAP); //Venice
	var mapControl = new GMapTypeControl();
	map.addControl(mapControl);
	map.addControl(new GLargeMapControl());
	for (i=0;i<markers.length;i++){
	  map.addOverlay(createMarker(markers[i],info[i]));
	}
//	geocoder = new GClientGeocoder();
//	geocoder.setCache(new CapitalCitiesCache());
      }
    }

    function createMarker(point, info){
	var myMarker = new GMarker(point);
	GEvent.addListener(myMarker, "click", function(){
	  myMarker.openInfoWindowHtml(info);
	  });
//	GEvent.addListener(myMarker, "mouseout", function(){
//	  myMarker.closeInfoWindow();
//	  });
	return myMarker;
    }

  function findCity(which) {
    if (which != 0) {
	switch(which)
	{
	case 1:
	  map.setCenter(new GLatLng(52.673162,-8.569708), 14, G_NORMAL_MAP);
	  break;    
	case 2:
	  map.setCenter(new GLatLng(52.989999,-9.418030), 11, G_SATELLITE_MAP);
	  break;
	case 3:
	  map.setCenter(new GLatLng(52.636397,-9.060974), 9, G_NORMAL_MAP);
	  break;
	case 4:
	  map.setCenter(new GLatLng(53.167768,-9.368591), 9, G_SATELLITE_MAP);
	  break;
	case 5:
	  map.setCenter(new GLatLng(51.500000,-.143836), 12, G_NORMAL_MAP)
	  break;
	case 6:
	  map.setCenter(new GLatLng(48.858391,2.345238), 12, G_NORMAL_MAP);
	  break;
	case 7:
	  map.setCenter(new GLatLng(52.316035,-7.819519), 8, G_NORMAL_MAP);
	  break;
	case 8:
	  map.setCenter(new GLatLng(53.345110,-6.262632), 12, G_NORMAL_MAP);
 	  break;
	case 9:
	  map.setCenter(new GLatLng(52.621653,13.411560), 10, G_NORMAL_MAP);
	  break;
	case 10:
	  map.setCenter(new GLatLng(45.437279,12.336359), 13, G_SATELLITE_MAP);
	  break;
	default:
	  map.setCenter(new GLatLng(52.673162,-8.569708), 14, G_NORMAL_MAP);
	}
    }
  }
//]]
