/*
Geocaching.com modified - 0.50 14/07/2005
Copyright (c) 2008, Thomas Holz, geocaching.itsth.de

This script modifies the geocaching.com page to make it better.

Pimp my Geocaching.com.Map.
Tag: User-Javascript, Greasemonkey, Geocaching.com, Opera, Firefox

*/

// ==UserScript==
// @name          Pimp my Geocaching.com.Map.
// @namespace     http://geocaching.itsth.de
// @include       http://www.geocaching.com/map/default.aspx*
// ==/UserScript==


(function() {

function isfirefox()
{
   if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)) return(true);

   return(false);
}

function gcmain3()
{
   setTimeout("document.forms[0].elements[15].click(); document.forms[0].elements[20].click();", 100); // 
}

if (isfirefox()) gcmain3();
else             document.addEventListener('load',function(e) {gcmain3();}, false);   

})();