function popWindow(sURL, sTitle, width, height)
{
     var param = 'left=0, top=0, scrollbars=no, resizable=no, toolbar=no, status=no, menubar=no, null, null';
     sParameters = 'width=' + width + ', height=' + height + ', ' + param;

     var remote = window.open( sURL , sTitle , sParameters );
     if (!remote.opener)
     {
          remote.opener = self;
     }
     if (window.focus)
     {
          remote.focus();
     }
}

