When you search for something on google (or Yahoo, etc) a bunch of related websites appear on the right hand side of the page. What is the name for this type of advertising? Is there one?

Answer to 2nd question: pay per click advertising

Answer to 1st question: contextual text advertising?