I code the game over at ninjawars.net, and have recently consolidated most of my (ugly) javascript code into a single object that gets re-used for the inner frame and the outer frame.
We were going to consolidate the same instance of jQuery as well (i.e. making it a Global so that it is accessible via $ everywhere, but is only 1 jQuery object, as opposed to what I believe is happening currently, which is that just including the jQuery library in the outer frame creates an instance of jQuery, and including in the inner iframe creates another.
Is it advisable to try to reuse a single instance (when a page is actually being loaded inside the iframe) of jQuery, and if so, how should I go about it?