link_to_remote and open new window passing parameters

Hi, I would like to implement this: I have a view that shows a list of elements. Each element have a checkbox. The user can select some events marking the checkbox and click the link_to_remote "Print this elements". When this link is clicked another window is open with only the selected events and is printed (ala Google Maps).

I have coded the selection of items and I'm able to open a new window. I use the link_to_remote like this:

<%= link_to_remote 'Imprimir incidencias marcadas', { :url => '/incidencias/popup',   :submit => 'table' } %>

The elements are submited properly. I know how to open the new window:

popup.rjs:

page << "window.open('/events/print', 'print', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0' );"

But I don't know how to pass the list of elements from popup.rjs to /events/print in the new window!!

Any idea will be appreciated.