Creating your own search system

Having spent time the other day working on a new site search for my site I have just uploaded details of how to create your own search system using the Google API and PHP. I hope it is useful for someone else.