// POP WINDOW SCRIPT 
// to change window characteristics, change 0 to 1
// to use around link... <a HREF="JavaScript: openWin('URL_of_Page',405, 375)">LINK_TEXT</a>
// three variables are being passed, filename, window_width, and window_height
function openWin(url, width, height) {
	locationY = (screen.width) ? (screen.width-width)/2 : 0;
	locationX = (screen.height) ? (screen.height-height)/2 : 0;
	windowName	= "MIDDOUGH_POP";
	params 	= "toolbar=0,";
	params	+= "location=0,";
	params	+= "directories=0,";
	params	+= "status=0,";
	params	+= "menubar=0,";
	params	+= "scrollbars=1,";
	params	+= "resizable=0,";
	params	+= "width="+width+",";
	params	+= "height="+height+",";
	if (navigator.appName == "Netscape") {
		params	+= "screenX="+locationX+",";
		params	+= "screenY="+locationY+",";
	} else {
		params	+= "top="+locationX+",";
		params	+= "left="+locationY+",";
	}
	win = window.open(url, windowName, params);
	if (win.opener == null) mywin.opener = self;
	win.focus();
}
