$("#keyword").autocomplete("index.php?url=hm.emptypopupsearchkeyword", { width: $("#keyword").width()+50, selectFirst: false, matchCase: true, matchSubset: false, scrollHeight: 400 }); $("#keyword").result(function(event, data, formatted) { document.searchform.keyword.value = data[1]; document.searchform.talkid.value = data[2]; document.searchform.submit(); }); function Sont_DetiadSEcrh_Opt() { if(document.getElementById("detailedsearchframe").style.display=="none") { document.searchform.detailedsearch.value=1; document.getElementById("detailedsearchframe").style.display=""; } else { document.searchform.detailedsearch.value=0; document.getElementById("detailedsearchframe").style.display="none"; } return false; } $("#locationid").change(function() { SrCh_Each_SbmtForm(); }); $("#categoryid").change(function() { SrCh_Each_SbmtForm(); }); $("#orderid").change(function() { SrCh_Each_SbmtForm(); }); $("#dateid").change(function() { SrCh_Each_SbmtForm(); }); $(document).ready(function(){ $('#searchform').submit(function(){ SrCh_Each_SbmtForm(); return false; }); }); function SrCh_Each_SbmtForm() { window.location = "index.php?url=hm.news&unuqid=O24M0428j1507yio8Y0703H64577pR7690B2364f1688F3577L&keyword="+document.searchform.keyword.value+'&talkid='+document.searchform.talkid.value+'&detailedsearch='+document.searchform.detailedsearch.value+'&searchtype='+document.searchform.searchtype.value+'&locationid='+document.searchform.locationid.value+'&orderid='+document.searchform.orderid.value+'&dateid='+document.searchform.dateid.value + '&categoryid='+document.searchform.categoryid.value; } function NavigatePageIn(pagenumber) { document.navigateform.pagenumber.value = pagenumber; window.location = "index.php?url=hm.news&unuqid=O24M0428j1507yio8Y0703H64577pR7690B2364f1688F3577L&keyword="+document.navigateform.keyword.value+'&talkid='+document.navigateform.talkid.value+'&detailedsearch='+document.navigateform.detailedsearch.value+'&searchtype='+document.navigateform.searchtype.value+'&locationid='+document.navigateform.locationid.value+'&orderid='+document.navigateform.orderid.value+'&dateid='+document.navigateform.dateid.value + '&p='+document.navigateform.pagenumber.value + '&r='+document.navigateform.recordnumber.value + '&t='+document.navigateform.totalpage.value + '&categoryid='+document.navigateform.categoryid.value; } function Click_AddPNT(rssnewsid) { $.post("index.php?url=hm.emptypopupsavehit", {'rssnewsid':rssnewsid }, function(data) { },"html" ); return false; }