// 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(-27.3163888889,133.29,"~~13140.html\">Mintabie opal field, Mintabie, South Australia, Australia

","Mintabie opal field, Mintabie, South Australia, Australia"); cm(-29.0130558013916,134.751388549805,"~~4631.html\">Coober Pedy, Coober Pedy - Everard Range Regions, South Australia, Australia
","Coober Pedy, Coober Pedy - Everard Range Regions, South Australia, Australia"); cm(41.844165802002,-119.00944519043,"~~5881.html\">Virgin Valley District, Humboldt Co., Nevada, USA
","Virgin Valley District, Humboldt Co., Nevada, USA"); cm(45.043888092041,-119.61222076416,"~~4068.html\">Opal Butte, Morrow Co., Oregon, USA~)USGS
","Opal Butte, Morrow Co., Oregon, USA"); }