
	/*
	optional second argument is the window name
	*/
	function pop(url)
	{
		
		// window name
		var winName = 'newWin';
		if (arguments.length > 1)
		{
			winName = arguments[1];
		}
		
		// features
		var features = 'width=800,height=550,left=200,top=200,scrollbars=yes,status=no,location=no'
		
		// window
		var popwin = window.open(url, winName, features);
		
		popwin.focus();
	}




	/*
	A specialized glossary popup function
	optional second parameter provides the name of the window,
	other than the default "glossaryDef".
	*/
	function define(term)
	{
		// (note that we want it to blow up if nestPrefix was not declared).
		// ...static coding is such a drag. :-)
		// url
		var url = nestPrefix + 'glossary.htm#' + term;
		
	

		// window name
		var winName = 'glossaryDef';
		if (arguments.length > 1)
		{
			winName = arguments[2];
		}
		
		// features
		var features = 'width=600,height=350,left=200,top=200,scrollbars=yes,status=no,location=no'
		
		// window
		var popwin = window.open(url, winName, features);
		
		popwin.focus();
	}
	
	/*
	A version of the "define" function that works from a child folder.
	And YES, in case you were wondering, it's a cheap hack...
	*/
	function defineUp(term)
	{
		// url
		var url = '../glossary.htm#' + term;
		
		// window name
		var winName = 'glossaryDef';
		if (arguments.length > 1)
		{
			winName = arguments[2];
		}
		
		// features
		var features = 'width=600,height=350,left=200,top=200,scrollbars=yes,status=no,location=no'
		
		// window
		var popwin = window.open(url, winName, features);
		
		popwin.focus();
	}

