Use scriptaculous

Hello, I saw that with the library scriptaculous it is possible to
create a system of tab. Only I am a beginner. Somebody can to help me
to use this library in rails?
Thank you in advance.