      var window1;
      function openWindow(url)
      { if(window1 != null && (!window1.closed))
        { // The popup window has already been opened; just give it focus.
          window1.focus();
        } else
        { // Create a new popup window.
          var width = 1005;
          var height = 734;
          var left = (screen.width - width) / 2;
          var top = (screen.height - height) / 2;
          var features = 'resizable=yes,toolbar=no,status=no,scrollbars=no,height=' + height + ',width=' + width + ',screenX=' + left + ',screenY=' + top + ',left=' + left + ',top=' + top;
          window1 = window.open(url, 'SFXChildWindow', features);
          window1.opener = self;
		  window1.focus();
        }
      }
