// 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(/~~/,"
");
txt=txt.replace(/~!/,";) |
");
txt=txt.replace(/~\)/,"
Reference: ");
return (txt);
}
function loadPoints()
{
cm(36.4883346557617,-109.235275268555,"~~50738.html\">Joleo Mine, Lukachukai Mts, Apache Co., Arizona, USA~)Anthony, J.W., et al (1995), Mineralogy of Arizona, 3rd.ed.: 370.
","Joleo Mine, Lukachukai Mts, Apache Co., Arizona, USA");
cm(38.6194458007812,-108.871948242188,"~~115884.html\">Matchless Mine, Calamity Mesa, Uravan District, Mesa Co., Colorado, USA~)Minerals of Colorado (1997) E.B. Eckels
","Matchless Mine, Calamity Mesa, Uravan District, Mesa Co., Colorado, USA");
cm(37.9891662597656,-108.010559082031,"~~119491.html\">Fall Creek Mine, Lower San Miguel District, San Miguel Co., Colorado, USA~)Minerals of Colorado (1997) E.B. Eckels
","Fall Creek Mine, Lower San Miguel District, San Miguel Co., Colorado, USA");
}