////////////////////////////////////////////////////////////
//
// (c) The Web Paving Company Ltd., / The City of Kingston
// Map pop-up JS
// Last edit: Jan 30, 2002
//
/////////////
//
function PopForm(page,width,height)
{
  var strScrollState;
  var intWpadding   = 1;
  var intHpadding   = 1;
  var intWidth      = parseInt(width) + intWpadding;
  var intHeight     = parseInt(height) + intHpadding;
  strScrollState  = "yes";
  strResizeState  = "yes";
  var strFeatures = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=' + strScrollState + ',resizable=' +  strResizeState + ',width=' + (intWidth - 10) + ',height=' + intHeight;
  var strUrl = page;
  if ( this.windowRef != null && this.windowRef.location != null )
  {
    this.windowRef.close();
    this.windowRef = null;
  }
  this.windowRef = window.open(strUrl, 'FORM_WINDOW', strFeatures);
}
// End PopWindow

