function Cap(Message)
  {
  if (Message)
    {
    window.status = Message;
    }
  else
    {
    window.status = document.title;
    }
  return true;
  }

function QuickSearch()
  {
  var S1 = document.TargetSearch.SearchVal.value;
  if (S1.length > 0)
    {
    if (S1.length > 255)
      {
      S1 = S1.substr(0,255);
      document.TargetSearch.SearchVal.value = S1;
      document.TargetSearch.submit();
      }
    else
      {
      document.TargetSearch.submit();
      }
    }
  else
    {
    document.TargetSearch.SearchVal.focus();
    }
  }

function SMenOver(ItemTable)
  {
  var PicTd = ItemTable.rows[0].cells[0];
  var TxtTd = ItemTable.rows[0].cells[1];
  PicTd.className = PicTd.className + 'Hover';
  TxtTd.className = TxtTd.className + 'Hover';
  }

function SMenOut(ItemTable)
  {
  var PicTd = ItemTable.rows[0].cells[0];
  var TxtTd = ItemTable.rows[0].cells[1];
  PicTd.className = PicTd.className.substr(0,(PicTd.className.length - 5));
  TxtTd.className = TxtTd.className.substr(0,(TxtTd.className.length - 5));
  }
function SMenClick(Url)
  {
  if(navigator.userAgent.match(/ MSIE /))
    {
    window.top.location.href = Url;
    return true;
    }
  }
function PopUp(Url)
  {
  var OptStr = new String();
  OptStr = 'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,status=no,resizable=yes,scrollbars=yes';
  window.open(Url,'PopUp',OptStr);
  }


