This is an amazing & thorough tooltip framework that provides plenty of examples & ways to customize it to your hearts content.

It currently supports jQuery & prototype with more to come I believe.

http://projects.nickstakenburg.com/tipped