ma adesso è nato un altro problema

praticamente l esempio che ho trovato restituisce il risultato in un div

<form>
Cerca un nome:

<input type="text" onkeyup="Richiesta(this.value)">
</form>

<div id="risultati"></div>


ma se metto questo div nella mia pagina mi salta tutto menu tabella etc pero il valore me lo passa correttamente..

la mia tabella è cosi

Codice PHP:
<div id="page-wrapper"> 
<div id="main-wrapper"> 
<div id="main-content"> 
<div class="title">   <h3>Gestione Documenti</h3> </div>  
<form name="myform" class="pager-form" method="post" action="gestione_documenti.php"> <div class="title"> Ricerca:   <input type="text" onkeyup="Richiesta(this.value)"> </div> 
<div class="hastable">    
<table id="sort-table" >     
<thead>       
<tr>         
<th><input type="checkbox" value="check_all" onclick="this.value=check(this.form.lista)" class="submit">
</th>         
<th>Nome</th>         
<th>Tipo</th>         
<th style="width:132px">Opzioni</th>       
</tr>     
</thead>     
<tbody>       
<?php echo $html;?>     
</tbody>   
</table>
come posso far mostrare il risultato senza che mi salti tutto?