// Copyright (c) mindat.org 1993-2015 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(41.6080555556,-112.743611111,"~~180446.html\">Black Mountain Oolite Occurrence, Coyote Point, Box Elder Co., Utah, USA

","Black Mountain Oolite Occurrence, Coyote Point, Box Elder Co., Utah, USA"); cm(41.5572222222,-112.763611111,"~~181131.html\">Coyote Point Gravel Occurrence, Coyote Point, Box Elder Co., Utah, USA
","Coyote Point Gravel Occurrence, Coyote Point, Box Elder Co., Utah, USA"); cm(41.5636111111,-112.7875,"~~181132.html\">Coyote Point Oolite Occurrence, Coyote Point, Box Elder Co., Utah, USA
","Coyote Point Oolite Occurrence, Coyote Point, Box Elder Co., Utah, USA"); var zoombox=new GLatLngBounds(new GLatLng(41.5572222222,-112.7875),new GLatLng(41.6080555556,-112.743611111)); var zoomlevel = map.getBoundsZoomLevel(zoombox); if(zoomlevel>15) zoomlevel=15; map.setCenter(zoombox.getCenter(),zoomlevel); }