function searchInTopic(){let extraFormSearch=document.querySelector("#extraFormSearch");let serializedExtraFormSearch="";if(extraFormSearch){serializedExtraFormSearch=$(extraFormSearch).serialize()}var a=getSearchQuery();$.progressMessage();var c=new Date().getTime();var b=getComponentId();$.get(getWebContext()+"/RAjaxPublicationsListServlet?"+serializedExtraFormSearch,{Index:0,SearchRequest:true,Query:a,ComponentId:b,IEFix:c},__updateDataAndUI,"html");return}function checkSubmitToSearch(a){var b=a.keyCode;if(b==13){searchInTopic()}}function getSearchQuery(){var a="";if(document.getElementById("topicQuery")!=null){a=$("#topicQuery").val()}return a}function clearSearchQuery(){try{if(document.getElementById("topicQuery")!=null){$("#topicQuery").val("")}document.getElementById("extraFormSearch").reset()}catch(a){}};