// 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(40.82,14.4272222222,"~~145740.html\">Mt. Vesuvius, Somma-Vesuvius Complex, Naples Province, Campania, Italy~)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: 429, 571.
","Mt. Vesuvius, Somma-Vesuvius Complex, Naples Province, Campania, Italy");
cm(55.8333320617676,160.33332824707,"~~2654.html\">Great Fissure (Main Fracture) eruption, Tolbachik volcano, Kamchatka Oblast\', Far-Eastern Region, Russia~)Pekov, I. (1998) Minerals First discovered on the territory of the former Soviet Union 369p. Ocean Pictures, Moscow
","Great Fissure (Main Fracture) eruption, Tolbachik volcano, Kamchatka Oblast\', Far-Eastern Region, Russia");
}