Auto generate select box for search on index page.