// Brian Schemp
//
// Popup.JS

// Opens a window without any extra garbage.  Suitable for help windows
// and other console-window type applications.

// The default dimensions are 400w x 350h

function openWindow(url,width,height)
{
	if (arguments.length < 2)
	{
		width  = 400;
	}
	if (arguments.length < 3)
	{
		height = 350;
	}
	
	theWindow = window.open(url,"newWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height);
	theWindow.focus();
}