function hideHelp() {
  invis('helpBoxDiv');
return true;
}
  var showHelp=1;
  var currWidth='94px';
  if (document.getElementById('userMenuDiv')) var currMenuHeight=document.getElementById('userMenuDiv').clientHeight;
  var currLeft='103px';
  var currTop='0px';
  var currScroll=0;
  var lastScroll=0;
  var checkFreq=500;
	if (document.documentElement && document.documentElement.scrollTop) { currScroll = document.documentElement.scrollTop; }
  else if (document.body)	{ currScroll = document.body.scrollTop; }
  var lastHelpLine='';
  function checkScrollBar() {
    lastScroll = currScroll;
	  if (document.documentElement && document.documentElement.scrollTop) { currScroll = document.documentElement.scrollTop; }
    else if (document.body)	{ currScroll = document.body.scrollTop; }
    if (currScroll != lastScroll) {
    currTop=currScroll+3;
    checkFreq = Math.round(checkFreq*2/3);
    }
    else {
    checkFreq = Math.round(checkFreq*11/10);
    }
    return true;
  }
  function setHelp(actionType,helpLine) { 
    if (showHelp==1) {
      checkScrollBar();
      if (helpLine.length < 50) { currWidth='100px'; currLeft='0px'; }
      else if (helpLine.length < 250) { currWidth='200px'; currLeft='0px'; }
      else if (helpLine.length < 500) { currWidth='300px'; currLeft='0px'; }
      else if (helpLine.length < 750) { currWidth='500px'; currLeft='0px'; }
      else { currWidth='700px'; currLeft='0px'; }
      document.getElementById('helpBoxDiv').style.width=currWidth;
      document.getElementById('helpBoxDiv').style.left=currLeft;
      document.getElementById('helpBoxDiv').style.top=currTop;
      var actionInstructs = '';
      if (actionType == 0) { actionInstructs = ''; }
      else if (actionType == 1) { actionInstructs = 'Click Mouse to '; }
      else if (actionType == 2) { actionInstructs = 'Enter Text for '; }
      else if (actionType == 3) { actionInstructs = 'Select from Drop Down to '; }
      document.getElementById('helpBoxDiv').innerHTML='<table border=1 cellspacing=1 width=100% style=" background: #FFFFFF;" align=center class="wysiwyg"><tr><td class="wysiwyg">'+actionInstructs+'<br>'+helpLine+'</td></tr></table>';
      document.getElementById('helpBoxDiv').style.visibility='visible';
      document.getElementById('helpBoxDiv').style.overflow='visible';
      window.status=helpLine;
      lastHelpLine=helpLine;
    }
    return true;
  }
  function clearHelp() {
    if (showHelp==1) {
      currWidth='100px'; currLeft='100px';
      document.getElementById('helpBoxDiv').innerHTML='';
      document.getElementById('helpBoxDiv').style.visibility='hidden';
      document.getElementById('helpBoxDiv').style.overflow='hidden';
      window.status='';
    }
    return true;
  }
