Here is my favorite function for pop up windows. It centers the window
in the middle of the screen. Put this in the header of your html page:
<script language="JavaScript" type="text/JavaScript">
<!--
function displayWindow(theURL,winName,width,height,features) { //v3.1
// Made by Eddie Traversa modified from Macromedia Code
// http://nirvana.media3.net/
var window_width = width;
var window_height = height;
var newfeatures= features;
var window_top = (screen.height-window_height)/2;
var window_left = (screen.width-window_width)/2;
newWindow=window.open(''+ theURL + '',''+ winName + '','width=' +
window_width + ',height=' + window_height + ',top=' + window_top +
',left=' + window_left + ',features=' + newfeatures + '');
newWindow.focus();
}
//-->
</script>