How to realize Xpage popup window after clicking view to open a new document

In view of the Xpage source, click the create after the current page is in the open a document, how can like C/S in which click view after a new web page to pop?

Subject: Client Side JavaScript

How about having a link in a column execute some Client Side JavaScript such as window.open( URL, windowName[, windowFeatures])

http://www.javascript-coder.com/window-popup/javascript-window-open.phtml