a simple jQuery plugin for adaptive sticky element positioning by Mike Turley.
a demo can be found here.
documentation can be found here.
the source code is on GitHub.
if you make changes to the source, you'll want to regenerate the documentation and the minified version. use docco and jsmin.