// 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(36.2588882446289,-80.8141632080078,"~~102204.html\">Elkin Quarry, Surry Co., North Carolina, USA

","Elkin Quarry, Surry Co., North Carolina, USA"); cm(36.3841667175293,-80.5149993896484,"~~102205.html\">F. M. Dodson Mine, Surry Co., North Carolina, USA
","F. M. Dodson Mine, Surry Co., North Carolina, USA"); cm(36.4258346557617,-80.8438873291016,"~~102206.html\">Freeman Property, Surry Co., North Carolina, USA
","Freeman Property, Surry Co., North Carolina, USA"); cm(36.4941673278809,-80.595832824707,"~~102207.html\">Surry Mine, Surry Co., North Carolina, USA
","Surry Mine, Surry Co., North Carolina, USA"); var zoombox=new GLatLngBounds(new GLatLng(36.2588882446289,-80.8438873291016),new GLatLng(36.4941673278809,-80.5149993896484)); var zoomlevel = map.getBoundsZoomLevel(zoombox); if(zoomlevel>15) zoomlevel=15; map.setCenter(zoombox.getCenter(),zoomlevel); }