Hi I am wondering how websites are able to get this produced when searched under google???

Is it pre programmed by the website or paid to google??
Any feedback appreciated

Oil Oil News and analysis on current events, Oil business, finance, economy, sports and more. Searchable news in 35 languages from WorldNews Network and ...
www.oil.com/ - 119k - 3 Oct 2006 - Cached - Similar pages
Jobs - www.oil.com/s/employment.html
Advanced Search - www.oil.com/s/worldnews/adv_search.html
Heating Oil - www.oil.com/s/heatingoil/
Top Stories - www.oil.com/s/oil/tsindex.html
More results from www.oil.com ยป

As with anything Google it's all part of an algorithm that no one but Google knows. The one common factor is that this typically occurs only for the top ranked site and is usually a major brand/popular site. You can read more about it in Matt Cutt's blog.

I was under the impression that it was the top performing AdWords ad for the particular keyword. I could be wrong.