help on a custom search tool

Google gives you the code in thier devolper section i thought?