Using Google AJAX API to copy google results in array

This is some way you can Google as a JavaScript that you can display on any page, you first need to get your Google API Key then try this

	//generate  web  object
	var searcher = new GwebSearch();
	// html
	//expand results to max - about 10
	//excute the  by adding keyword then collect the results in element with id='mydiv'
	searcher.setSearchCompleteCallback( searcher.execute( 'my keyword' ), 
										var results = searcher.results;
										(i in results)
											(a in results[i])
												document.getElementById("mydiv").innerHTML += results[i][a]+' | '} ); 

More on how to collect information from this array could be found here