I have a wireless Microsoft intellimouse explorer that has two buttons on the left hand side (right next to my thumb) that I previously had set up in firefox on windows to cycle forwards and backwards in my history. Now that I'm running linux, pressing the rear button takes me to some post on www.greyhoundvillage.com, or some website on Polish flags, or any number of totally random websites. It's the weirdest thing and was pretty funny for a while, but now I just want those buttons to work properly.

In short-- Does anyone know how to set up intellimouse explorer buttons to cycle through my page history in firefox?