// -----------------------------------------------------------------------------
// Purpose: Opens a popup window
// Written: 03/21/2001
// Changed: 03/21/2001
// Input:   URL (String)
//          Window name (String)
//          Height (Number)
//          Width (Number)
// Output:  None
// -----------------------------------------------------------------------------
function popupWindow(strURL, strWindowName, lngHeight, lngWidth)
{
  win = window.open(strURL, strWindowName, "height=" + lngHeight + ", width=" + lngWidth + ", directories=no, location=no, menu=no, resizable=yes, scrollbars=yes, status=no, toolbar=no");
}

// -----------------------------------------------------------------------------
// Purpose: Opens a popup window for an image
// Written: 02/15/2003
// Changed: 
// Input:   Directory level (Long)
//          Image URL (String)
// Output:  None
// -----------------------------------------------------------------------------
function popupImage(lngDirLevel, strImgURL)
{ 
  strDirLevel = setDirLevel(lngDirLevel);                                      // Call proc (see below)
  win = window.open(strDirLevel + "imagepopup.html?"+strImgURL, "", "resizable=0,HEIGHT=200,WIDTH=200");
}
