I already have put the code for opening a new window but need the new window to be located at the center of the page.

If possible I wish to use only php, not Java

Please advice, Thanks.