/*
Author: Charley Ruggiero
Created: 9/12/06 
Functions for managing popup windows
*/

// Stores Window Information
var windowName;
	
// Creates Popup window with specified width and height
function selectPopUpWindow(filename,width,height) {
  windowName = window.open(filename, "windowName", "resizable, scrollbars=yes, top=20, left=20");
  windowName.resizeTo(width, height);
  windowName.focus();		
}

// Closes the popup window
function closePopUpWindow()		{
  if (windowName && !windowName.closed)  {
	windowName.close();
  }
}