JS references in the code are lost when inserting with RJS

Hi,

Im using Lightbox(http://www.huddletogether.com/projects/lightbox2/) for
my galleries in my rails app, all goes well using template actions and
rendering the galleries with partials but if i use RJS to insert a
partial that contains a gallery then the gallery effects doesnt work
anymore, it seems like if the references to the JS scripts are lost(and
also to other js files).

Here its the code im using:

http://www.rorpaste.com/paste/details/636

even if i do a “eval(request.responseText)” when the html its loaded
doesnt work, here its the small project(no db, images and scripts
included), hope someone can help with this cause i cant find a solution
for this: http://www.rastamotion.com/test.rar

Thanks in advance for any help you can give me.