var icon = new FE.Icon('http://www.ufomaps.com/img/ufo.png');

function onMapLoad() {
 this.setTargetLatLng(new FE.LatLng(38.160317,-96.888672));
// this.zoomTo(FE.Map.RADIUS,2);
try {
                 changedYear(document.getElementById('yearSelect'));
                 document.getElementById('monthSelect').selectedIndex = currMonth - 1;
                 document.getElementById('yearSelect').selectedIndex = 0;
} catch(e) {
}
 map.toggleAtmosphere();
 map.focus();
}

function newMap3D() {
 Bridge3D();
 map = new FE.Map(document.getElementById('map'));
 map.onLoad = onMapLoad;
 map.load();
}

function Bridge3D() {
 GLatLng = FE.LatLng;
 GMarker = FE.Pushpin;
 GEvent.addListener = FE.Event.addListener;
}

FE.Pushpin.prototype.openInfoWindowHtml = function(html) {
 if (!this._map) return;
 html = html.replace('&bull;', '*');
 html = html.replace(/<span style='font-size:12px'><a href='([^']+)' target=_blank>Read full report<\/a><\/span>/, '<a href="$1" target="_blank">Read full report</a>');
 this._map._flash.openInfoWindowHtml(this._jsid, html, 320, 150);
}

