How to make response document in a second xpage window

How to create a response xpage in a separate window. The main remaining open.

xpage D.O.M. is only available on client side impossible to pass ParentID

simple action create response in same window.

Example: Creating a response document (front small window) keeping open the main document (back full screen window)

Subject: SOLVED

Script Client Side :

id=‘#{javascript:document.getNoteID()}’; //get document id

url=“NewResponseXpage.xsp?action=newDocument&parentId=”+id;

parameters=“location=0,status=1,scrollbars=1,width=800,height=600”;

window.open(url,“NewResponseXpage”,parameters);