/**
 * @author Brandon Hollenbeck
 */
google.load('search', '1');

function OnLoad() {
	var customSearchControl = new google.search.CustomSearchControl();

	// tell the searcher to draw itself and tell it where to attach
	customSearchControl.draw(document.getElementById("cse"));

	// execute an inital search
	customSearchControl.execute(searchQuery());

}

google.setOnLoadCallback(OnLoad);