<!--
function openFormhelp(pageToLoad,winName,width,height,center){
  args=getArgs(width,height,center,0,0);
  // since window.focus is buggy (js error on IE4), close the window
  // and reopen if present (focus is a security error and closing
  // isn't?... go figure)
  if (parseInt(navigator.appVersion) >= 4 ){
    if(window.formhelp){
      formhelp.close();
      formhelp=window.open(pageToLoad,winName,args);
    }
  }
  formhelp=window.open(pageToLoad,winName,args);
  return false;
}

function openGlobalhelp(pageToLoad, winName, width, height, center){
  loc = 2
  args=getArgs(width,height,center,0,loc);
  if (parseInt(navigator.appVersion) >= 4 ){
    if(window.globalhelp){
      globalhelp.close();
      globalhelp=window.open(pageToLoad,winName,args);
    }
  }
  globalhelp=window.open(pageToLoad,winName,args);
  return false;
}

function getArgs(width,height,center,menu,loc){
  xposition=10; yposition=10;

  if (parseInt(navigator.appVersion) >= 4 ){
    if (loc==0){
      xposition = (screen.width - width) - 10;
      yposition = (screen.height - height) - 58;
    }
    else if(loc==1){
      xposition = (screen.width - width) / 2;
      yposition = ((screen.height - height) / 2) - 67;
    }
    else if(loc==2){
      xposition = (screen.width - width) - 10;
      yposition = 0;
    }
  }
  if (navigator.appName == 'Netscape'){
    width = width + 25;
    height = height + 25;
  }
  args="width="+width+",height="+height
    +",toolbar="+menu+",menubar="+menu
    +",screenx="+ xposition+",screeny="+yposition
    +",left="+xposition+",top="+yposition
    +",resizable=1,scrollbars=1,";

  return args;
}

//-->

