rotary encoders

I have some rotary encoders that don’t have any labels on them. How do I figure out the pin out to hook them up? I bought them from smashtv maybe 3 years ago and am just now finally getting around to using them. They are blue on the bottom. I can take a picture if that will help anyone with identifying them so I can find a data sheet.

http://www.midibox.org/dokuwiki/doku.php?id=encoders