encapsulating jQuery UI to run with other jQuery versions?

encapsulating jQuery UI to run with other jQuery versions?


Ok, this might just be nuts, but I am trying to create a version of
jQuery UI that can run in the same page as jQuery 1.0. The goal is to
get jQuery Ui to work with Drupal 5, which includes jQuery 1.0.
My naive attempt to accomplish this is to take a copy of jQuery 1.2.1
and try to put it into a different namespace. I did a find/replace on
jQuery -> jQueryUI, and changed line 29 to:
window.$ui = jQueryUI;
Then I when through all the ui.x.js files, again changing jQuery-