Autocomplete Search Option

please help me how to do the auto compete search option… in main.php…

my project search option main page itself… i want keywords to fill… if i type 2 or 3 letter…