// 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(33.5622215270996,-112.020553588867,"~~54815.html\">Squaw Peak area, Phoenix Mts, Phoenix, Maricopa Co., Arizona, USA~)Anthony, J.W., et al (1995), Mineralogy of Arizona, 3rd.ed.: 380; Thorpe, D.G. & D.M. Burt (1980), A unique chloritoid-staurolite schist from near Squaw Peak, AZ, AZ Geol. Soc. Digest: 12: 193-200.
","Squaw Peak area, Phoenix Mts, Phoenix, Maricopa Co., Arizona, USA");
cm(-14.25,-49.3666666667,"~~205449.html\">Chapada Cu deposit, Uruaçu, Goiás, Central-West Region, Brazil~)Singer, D.A., Berger, V.I., and Moring, B.C. (2008): US Geological Survey Open-File Report 2008-1155.
","Chapada Cu deposit, Uruaçu, Goiás, Central-West Region, Brazil");
}