$("#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; } if(document.documentElement.clientWidth>1400) { document.getElementById("baremptyleft").style.width = '45px'; document.getElementById("searchemptyleft").style.width = '60px'; } else if(document.documentElement.clientWidth>1200) { document.getElementById("baremptyleft").style.width = '15px'; document.getElementById("searchemptyleft").style.width = '30px'; document.getElementById("searchemptycenter").style.width = '730px'; } else { document.getElementById("baremptyleft").style.width = '5px'; document.getElementById("searchemptyleft").style.width = '20px'; document.getElementById("searchemptycenter").style.width = '760px'; } if(document.getElementById("startday")!=undefined) { FixDaTe_('startyear','startmonth','startday','searchform','1'); FixDaTe_('finishyear','finishmonth','finishday','searchform','1'); } function ShowHideTrendmenu() { if(document.getElementById("trendleftmenu").style.display=="none") document.getElementById("trendleftmenu").style.display = ""; else document.getElementById("trendleftmenu").style.display = "none"; }