google.load("search", "1");
		
function gSearch() {

var searchControl = new google.search.SearchControl();
searchControl.setResultSetSize(searchControl.LARGE_RESULTSET);
var searchOptions = new google.search.SearcherOptions();
searchOptions.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
searchOptions.setNoResultsString("SEARCH_NO_RESULTS_STRING");
var GwebSearch = new google.search.WebSearch();
GwebSearch.setSiteRestriction('SEARCH_SITE');
searchControl.addSearcher(GwebSearch, searchOptions);
var drawOptions = new GdrawOptions();
drawOptions.setInput(document.getElementById('search_input'));
drawOptions.setSearchFormRoot(document.getElementById('search_div'));
searchControl.draw(document.getElementById('SEARCH_RESULTS_DIV'), drawOptions);
searchControl.execute(document.getElementById('search_input').value);
document.getElementById('SEARCH_TITLE_OBJECT').innerHTML = 'Search Results';
}
