// 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(34.0236111111,-117.383888889,"~~3449.html\">Crestmore quarries, Crestmore, Riverside Co., California, USA
~)[micromounts@yahoogroups.com]
","Crestmore quarries, Crestmore, Riverside Co., California, USA"); cm(-36.033332824707,173.966659545898,"~~15384.html\">Golden Gully, Tokatoka, Kaipara, Northland, North Island, New Zealand~)Railton, G.L. & Watters, W.A., Minerals of New Zealand, New Zealand Geological Survey Bull. #104 (1990).
","Golden Gully, Tokatoka, Kaipara, Northland, North Island, New Zealand"); cm(45.5,-74.05,"~~604.html\">Oka complex, Oka, Deux-Montagnes RCM, Laurentides, Québec, Canada~)Gold (1969)
","Oka complex, Oka, Deux-Montagnes RCM, Laurentides, Québec, Canada"); }