-<script type="text/javascript">
-<!--
- function startSearch() {
- updateSidebar("<%= t 'site.sidebar.search_results' %>", "");
- }
-
- function describeLocation() {
- var position = getPosition();
- var zoom = getZoom();
-
- <%= remote_function(:loading => "startSearch()",
- :url => { :controller => :geocoder, :action => :description },
- :with => "'lat=' + position.lat + '&lon=' + position.lon + '&zoom=' + zoom") %>
- }
-
- <% if params[:query] %>
- <%= remote_function(:loading => "startSearch()",
- :url => { :controller => :geocoder, :action => :search, :query => h(params[:query]) }) %>
- <% end %>
-// -->
-</script>
-
-<% content_for "optionals" do %>