<!--HPB_SCRIPT_CODE_40
// _HpbScrollStatus: $B%9%F!<%?%99T$K%9%/%m!<%k(B $B%a%C%;!<%8$rI=<($7$^$9(B
//
var _hsstmrID = null;
var _hsspos   = 80;
function _HpbScrollStatus(msg, delay)
{
  if (typeof delay == "undefined") delay = 100;

  window.clearTimeout(_hsstmrID);

  var statmsg = "";

  if (_hsspos >= 0)
  {
    for (s = 0; s < _hsspos; s++)
    {
      statmsg += " ";
    }

    statmsg += msg;
  }
  else
  {
    statmsg = msg.substring(-_hsspos, msg.length);
  }

  window.status = statmsg;
  
  _hsspos = (-_hsspos > msg.length) ? 80 : _hsspos - 1;  

  fname = "_HpbScrollStatus('" + msg + "')";
  _hsstmrID = window.setTimeout(fname, delay);
}
//-->
