ter
                  $("#send_button").click();
              }else if(event.keyCode == 38){
                  // Up
                  $("#send_txt").val(HistoryManager.getPrev());
                  event.preventDefault();
              }else if(event.keyCode == 40){
                  // Down
                  $("#send_txt").val(HistoryManager.getNext());
                  event.preventDefault();
              }
          });
          $("#send_txt").keydown(function(event){
              var typedvalue = 