function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function ___SetToDo(a)
{
  var d = document.form1;
//  var rc = 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600';
  var rc = 'location=yes,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=yes,width=800,height=600';
  d.todo.value = -2;
  if ((d.arcive11) && (a == 1) && (d.arcive11[d.arcive11.selectedIndex].value.length > 2)) {
	d.todo.value = d.arcive11[d.arcive11.selectedIndex].value;
    if (d.todo.value.charAt(0) == '/') {document.location.href = d.todo.value;}
	else window.open(d.todo.value, null, rc);
  }
  return false;
}
function _ltrim(s)
{
  var i,j;

  for (i = 0, j = 0; i<s.length; i++)
	{
    if (s.charCodeAt(i) != 32) {j++; break}
	}
  if (j == 0) {s = ''};
  return s;
}

function __searchNow()
{
  var aform = document.form1;
  if (_ltrim(aform.textfield.value))
  {
    var href = '/search-results.asp?&OneYear=&SortProperty=rank&OneMn=&SortOrder=%5Bd%5D&CiMaxR=300&CiR1='
     + escape(aform.textfield.value)
     + '&CiScope=%2F&TemplateName=kSearchitw1&Cibackproc=%2Fsearch-results.asp&HTMLQueryForm=%2Fsearch.asp&CiRecPerPage=15';
    document.location.href = href;
  } else document.location.href='/search.asp';
}

function WhatToDo(){
  return false;
}

