<script type="text/javascript"> 
//Search start 
function searchSelect(f) { 
n = f.modul.selectedIndex; 
modul = f.modul.options[n].value; 
document.search.action = '$HOME_PAGE_LINK$/'+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" align="center"> 
<input name="query" maxlength="30" size="20" class="queryField" type="text"> 
<select name="modul" onchange="searchSelect(this.form);"> 
<option value="none">Где искать?</option> 
<option value="load">Файлы на сайте</option> 
</select> 

</div> 
<div class="schBtn" align="center"> 
<input class="searchSbmFl" onclick="this.sfSbm.disabled=true" name="sfSbm" value="« Найти »" type="submit"> 
</div> 
<input name="a" type="hidden"> 
</form> 
</div>