Centering in Prototype

Has anyone written a centering function with Prototype which centers an
element on a page (both vertically and horizontally) regardless of the
amount that the page has been scrolled?


John L.
http://wisheartdesign.com