PopTool() can be called from multiple links, it can be hard-wired as an event handler for one or more document form controls and/or it can be called from a second page script.
PopTool() takes one mandatory parameter, a URI specifying the location of the file to be opened in the new window, which in this example is the HREF of the anchor link calling the function (this.href)
<a onclick="return PopTool(this.href)"
PopTool Example (default)
PopTool() takes two optional parameters width and height where: width is an integer representing the window's width in pixels; and height is an integer representing the windows heigth in pixels
<a onclick="return PopTool(this,800,400)"
Pop Example (800x400)