[sorry robot],
I found the solution of my problem with ajax search, i have a link in my template that use JS files(prototype or scriptaculous):
<a id="closebutton" onclick="Effect.toggle('searchcontainer','Appear'|'BlindDown','duration:3.0')">search</a>
if i use ajax search in page (use mootools.js) the link and search won't work and i must remove one of them, so i must either remove search or link from pages to using one of them well.
in the other words
mootools.js is not compatible with prototype.js or scriptaculous.js and this problem forced me call AjaxSearch in a frame to use both.
so i must select one of them to use,
OR
use ajaxsearch in external page like frames that causes
this problem(two post later) for me,
OR
find a solution for compatible problem.
please help me to use them well

Thanks
AHHP