You have to open up a new window. Here is a list of all the features:
window.open("URL","TARGET_NAME","WINDOW_ATTRIBUTES")
Description
URL - enter a page's URL, or leave it blank to dynamically write to it using
document.write*
TARGET_NAME - This is the name you want to use for the new window. Not the
name used for scripting, but the name used for the TARGET attribute of
hyperlinks and forms. This should not contain spaces.
WINDOW_ATTRIBUTES - This is the attributes of the window. EG, the status
bar, or the Menu bar. See below.
*You can set the window as a variable by writing:
var VAR_NAME = window.open();
then, you can write to it using
VAR_NAME.document.write();
Attribute - Description - Possible Values
a.. top - the distance from the top of the window to the top of your newly
opened window in pixels. - Integer
b.. left - the distance from the left side of the window to the left side
of your newly opened window in pixels. - Integer
c.. height - the height of your window in pixels. - Integer
d.. width - the width of your window in pixels. - Integer
e.. copyHistory - should the newly opened window retain this session's
browsing history? - yes | no
f.. directiories - directory buttons? - yes | no
g.. location - should your new window have a URL bar? - yes | no
h.. menubar - should your new window have a menu bar? (EG, file,edit,view,
etc..) - yes | no
i.. resizable - should your new window be resizable? - yes | no
j.. scrollbars - Should your new window have scrollbars? - yes | no
k.. status - Should your new window have a status bar? - yes | no
l.. toolbar - Should your new window have a tool bar (EG, back, forward,
Refresh, history, etc...) - yes | no