function focusOnInput()
{
    if (document.searchform)
        {
        document.searchform.term.focus();
        if (document.searchform.term.value != "")
        {
            document.searchform.term.select();
        }
    }
}    


