show menu2 error in search page

gila

hi, i use this code to show the menu

<?php 
if (SHOW_MENU) { 
// navigation menu
show_menu2(0SM2_ROOT+1);
?>



and it works fine, except in the search result page where it show ererypage of every level :?

this is the form i use to perform the search:
<form name="search" id="search" action="<?php echo WB_URL?>/search/index.php" method="get">
<input type="hidden" name="referrer" value="<?php echo defined('REFERRER_ID') ? REFERRER_ID PAGE_ID?>" /><span class="titolo3"><?php echo $TEXT['SEARCH']; ?></span><br/>
<input name="string" type="text" value="" />
<a href="#" onClick="document.search.submit();" style="vertical-align:bottom;" alt="<?php echo $TEXT['SEARCH']; ?>"><img src="<?php echo TEMPLATE_DIR?>/img/vai.png" /></a>
</form>


in the settings section i selected the usual template i use in the whole site, so what can i do?