function create_popupWindow ( url, name, width, height)
{
	// Add some pixels to the width and height.
	width  = width + 25;
	height = height + 50;
	
	// If the window is already open, resize it to the new dimensions.
	if (window.popup_window && !window.popup_window.closed) 
	{
		window.popup_window.resizeTo(width, height);
	}

	// Set the window properties.
	var window_specs = "location=no, scrollbars=no, menubars=no, toolbars=no, resizable=yes, left=0, top=0, width=" + width + ", height=" + height;
	
	// Create the pop-up window.
	popup_window = window.open( url, name, window_specs );
	popup_window.focus();
}
