You could always just install Steermouse or USB Overdrive (Google 'em); they both allow you to map mouse buttons to do pretty much whatever action you want. Otherwise, see if your mouse came with any drivers that would let you do the same thing (Kensington Mouseworks, Logitech Control Center, etc. depending on your mouse brand).