// Copyright (c) mindat.org 1993-2009
function j(lat,long) {var point = new GLatLng(lat,long); map.setCenter(point, 16);}
function cm(lat,long,html,name) {
var point = new GLatLng(lat,long); var marker = new GMarker(point,{icon:icon, title:name});
GEvent.addListener(marker, "click", function()
{
marker.openInfoWindowHtml(jsunpack(html));
//
// map.panTo(marker.getPoint());
var zoom = map.getZoom();
if(zoom<9) zoom=9;
map.setZoom(zoom);
map.setCenter(marker.getPoint(), zoom);
});
GEvent.addListener(marker,"mouseover", function() {
marker.setImage("kml-gm-o.png");
});
GEvent.addListener(marker,"mouseout", function() {
marker.setImage("kml-gm.png");
});
clus.AddMarker(marker,name);
}
function jsunpack(txt)
{
txt=txt.replace(/~~/,"
","Humbolt Mine, Ouray, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA");
cm(37.9722213745117,-107.777778625488,"~~16600.html\">Mountain Top Mine, Ouray, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA
","Mountain Top Mine, Ouray, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA");
cm(37.9711112976074,-107.754997253418,"~~8508.html\">Atlas Mine, Revenue group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA
","Atlas Mine, Revenue group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA");
cm(37.9741668701172,-107.74666595459,"~~19641.html\">Revenue Mine, Revenue Group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA
","Revenue Mine, Revenue Group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA");
cm(37.9688873291016,-107.773612976074,"~~19645.html\">Revenue-Virginius Mine (Virginius Mine), Revenue Group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA
","Revenue-Virginius Mine (Virginius Mine), Revenue Group, Sneffels, Sneffels District (Mount Sneffels District), Ouray Co., Colorado, USA");
var zoombox=new GLatLngBounds(new GLatLng(37.9650001525879,-107.778335571289),new GLatLng(37.9741668701172,-107.74666595459));
var zoomlevel = map.getBoundsZoomLevel(zoombox);
if(zoomlevel>15) zoomlevel=15;
map.setCenter(zoombox.getCenter(),zoomlevel);
}