var map = null; // The Google Map var gmMarkers = []; // array of marker objects var gmHtml = []; // array of HTML for each marker var gmHtml2 = []; var gmHtml3 = []; var shopIcon = new GIcon(); shopIcon.image = "http://www.suuntoservice.com/dealerlocator/icons/shop_1.png"; shopIcon.iconSize = new GSize(16, 16); shopIcon.iconAnchor = new GPoint(16, 16); shopIcon.infoWindowAnchor = new GPoint(9, 2); // shopIcon.infoShadowAnchor = new GPoint(16, 16); function gmMarkerClicked( url ) { window.opener.location.href = url; window.close(); } function gmCreateMarker( pt, html, icon ) { var marker = new GMarker(pt, icon); GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; } function gmCreateTabbedMarker(pt,htmls,labels, icon) { var marker = new GMarker(pt, icon); GEvent.addListener(marker, "click", function() { // adjust the width so that the info window is large enough for this many tabs if (htmls.length > 2) { htmls[0] = '