Code
<script type="text/javascript">
//Search start
function searchSelect(f) {
n = f.modul.selectedIndex;
modul = f.modul.options[n].value;
document.search.action = '/'+modul+'/';
if (modul == 'news')
{
document.search.a.value = '14';
}
else
if (modul == 'load' || modul == 'publ' || modul == 'dir' || modul == 'board')
{
document.search.a.value = '2';
}
else
if (modul == 'blog')
{
document.search.a.value = '13';
}
else
if (modul == 'faq')
{
document.search.a.value = '3';
}
}
//Search end
</script>
<div class="searchForm">
<form name="search" onSubmit="this.sfSbm.disabled=true" method="post" style="margin: 0px;">
<div class="schQuery">
<input name="query" maxlength="30" size="20" class="queryField" type="text">
<select name="modul" onChange="searchSelect(this.form);">
<option value="none">აირჩიეთ</option>
<option value="news">სიახლეები</option>
<option value="dir">საიტების კატალოგი</option>
<option value="blog">ბლოგი</option>
<option value="load">ფაილ კატალოგი</option>
<option value="]publ]">პუბლიშერი</option>
</select>
<input class="searchSbmFl" onClick="this.sfSbm.disabled=true" name="sfSbm" value="ძებნა" type="submit">
</div>