/*
 *	Copyright 20003 by Daniel J. Berger
 *	These functions may be used or modified freely, with the following conditions:
 *	1. The functions may not be sold or otherwise used to generate revenue in any way.
 *	2. The functions, if used as-is, must include this copyright block.
 */

// these lines create the global object "newWindow" and preset it to "closed".
if (!newWindow) {
	var newWindow = new Object();
	newWindow.closed = true;
}

// this function opens a new browser window with the URL given by the variable 'string'.
function HandOut(string)
{
// if newWindow is open, this closes newWindow
	if (!newWindow.closed)
	{
		newWindow.close();
	}

// this opens a document defined by "string" in newWindow
	newWindow = window.open(string, "handouts","");
	newWindow.focus();
}


