function setPointer(theRow, thePointerColor) {
    theRow.bgColor = thePointerColor;
    return true;
} 

function goSelection (form,path)
{
  for (i = 0; i < document.all.fastcat.options.length; i++)
    {
	   if (document.all.fastcat.options[i].selected)
    {
      document.location = path + document.all.fastcat.options[i].value;
    }
  }
}

function formsubmit() {
    alertmsg = "";
	if (document.searchform.elements[3].value == "") {alertmsg = "Введите, пожалуйста, строку поиска";}
    if (alertmsg == "") {
        return true;
    } 
	else {
        window.alert (alertmsg);
        return false;
    }
}