Earle, I saw on the dev wiki http://openguides.org/dev/?node=Earle's%20To-Do that you want to move it. But why does it need to exist at all? It can be done entirely within the templates:
[% IF latitude AND longitude %] <a href="http://www.geocaching.com/seek/nearest_cache.asp?origin_lat=[% latitude %]&origin_long=[% longitude %]">Look for nearby geocaches</a> [% END %]
Cheers,
Dominic.