function handleKeyDown (evt) 
{
    var keyCode = document.all ? event.keyCode :
                    evt.which ? evt.which :
                    evt.keyCode ? evt.keyCode :
                    evt.charCode;
      if (keyCode == 13) 
      {
        if (window.document.forms['navigation'].input_search)
        {
            var keyword = window.document.forms['navigation'].input_search.value;
            if (keyword != "")
            {
                doSearch();
                return false;
            }
        }
        if (window.document.forms['FORM_ACCOUNT'].login && window.document.forms['FORM_ACCOUNT'].password)
        {
            var username = window.document.forms['FORM_ACCOUNT'].login.value;
            var password = window.document.forms['FORM_ACCOUNT'].password;
            if (username!="" && password!="")
            {
                window.document.forms['FORM_ACCOUNT'].submit();
            }
        }
        return false;
      }
      else
        return true;
    }
    if (document.layers)
      document.captureEvents(Event.KEYDOWN);
    document.onkeydown = handleKeyDown;
