function openpopjs (afm){
    popwin = window.open("/pro/utility/waitprocess.htm?fn="+afm,"processwinpopup",
             "alwaysRaised,scrollbars=no,status=no,width=400,height=50,screenX=400,screenY=300,titlebar=no,toolbar=no");
    popwin.focus();
}
function closepopjs (){
    popwin = window.open("/pro/utility/processing.htm","processwinpopup",
             "alwaysRaised,scrollbars=no,status=no,width=400,height=50,screenX=400,screenY=300,titlebar=no,toolbar=no");
    popwin.close();
}
function winpopupdoc (prog,param,wd,hg,sx,sy) {
  popwin = window.open(prog+"?"+param,"docpop","alwaysRaised,scrollbars=no,status=no,width="+wd+",height="+hg+",screenX="+sx+",screenY="+sy+",toolbar=no");
  popwin.focus();
}        
