I'm using some code to generate a pop-up upon the clicking of a link. Here's the code I have in my HEAD tags:

<script language="JavaScript">
function PopWindow()
Here's what I use to invoke an instace of that function:

<a href="JavaScript:PopWindow()">Open Window</a>

I'd like to, if possible, switch things around a bit so the page is not specified in the function, but so I can specify it each time I call the function, something like this:

<a href="JavaScript:PopWindow(page.html)">Open Window</a>

I've tried modifying the code in several different ways, but an error always follows. Any help would be greatly appreciated.