// 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(31.8788888889,-110.591388889,"~~24975.html\">Kartchner Caverns, Whetstone District, Whetstone Mts, Cochise Co., Arizona, USA~)www.cave.org; Hill, C.A. (1999) Mineralogy of Kartchner Caverns, Arizona, Journal of Cave and Karst Studies: 61(2): 73-78
","Kartchner Caverns, Whetstone District, Whetstone Mts, Cochise Co., Arizona, USA");
cm(32.8794444444,-111.756666667,"~~31936.html\">Casa Grande, Casa Grande District, Pinal Co., Arizona, USA~)Anthony, Williams, Bideaux, 1982. Mineralogy of Arizona, rev. ed., p.147
","Casa Grande, Casa Grande District, Pinal Co., Arizona, USA");
cm(42.255,20.1447222222,"~~156408.html\">Szeged, Csongrád Co., Hungary~)Palache, C., Berman, H., & Frondel, C. (1951), The System of Mineralogy of James Dwight Dana and Edward Salisbury Dana, Yale University 1837-1892, Volume II: 306.
","Szeged, Csongrád Co., Hungary");
}