The ability to integrate Custom Search with your site is an important feature , and we recently added a new option to the Code tab that makes this integration easier. Using AJAX techniques, you can now get your search results in an overlay that appears on top of the page containing the search box. Here's an example.

Go to the Code tab of your search engine's control panel and select "Host results on a non-Google site" and "overlay" to get this new code.

Behind the scenes, this is powered by the AJAX Search API, which gives you complete control of your search results and is easy to use with Custom Search.