// 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(44.466667175293,-75.3166656494141,"~~20394.html\">Alexander Parr farm, Bigelow, De Kalb Township, St Lawrence Co., New York, USA

","Alexander Parr farm, Bigelow, De Kalb Township, St Lawrence Co., New York, USA"); cm(44.4000015258789,-75.3833312988281,"~~20391.html\">Henricks shaft, Bigelow, De Kalb Township, St Lawrence Co., New York, USA
","Henricks shaft, Bigelow, De Kalb Township, St Lawrence Co., New York, USA"); cm(44.466667175293,-75.3249969482422,"~~20393.html\">Mitchell prospect, Bigelow, De Kalb Township, St Lawrence Co., New York, USA
","Mitchell prospect, Bigelow, De Kalb Township, St Lawrence Co., New York, USA"); cm(44.4500007629395,-75.3249969482422,"~~20392.html\">Styles shaft, Bigelow, De Kalb Township, St Lawrence Co., New York, USA
","Styles shaft, Bigelow, De Kalb Township, St Lawrence Co., New York, USA"); cm(44.5,-75.3416666667,"~~20613.html\">Rowland Farm Pegmatite Quarry, De Kalb, De Kalb Township, St Lawrence Co., New York, USA
","Rowland Farm Pegmatite Quarry, De Kalb, De Kalb Township, St Lawrence Co., New York, USA"); var zoombox=new GLatLngBounds(new GLatLng(44.4000015258789,-75.3833312988281),new GLatLng(44.5,-75.3166656494141)); var zoomlevel = map.getBoundsZoomLevel(zoombox); if(zoomlevel>15) zoomlevel=15; map.setCenter(zoombox.getCenter(),zoomlevel); }