I can open a new window and size it using javascript............



Is there a way that I can have multiple scripts in the html header, each with a different height and width, being called from different buttons?

For instance:

Button #1 will call a script and open a new window 300x400

Button #2 will call another script that opens a new window of 100x400

Perhaps if I assigned a variable to the newWindow command and called that instead? If so what would be the basics of setting it up? I'm really having much more trouble with it than I should be.

Thanks in advance,

-Jason