google.load('search', '1');

    function OnLoad() {
    
		// create a search control
		var searchControl = new google.search.SearchControl();

		// Add in a WebSearch
		var webSearch = new google.search.WebSearch();
		// Restrict our search to pages from plusvalue.de
		webSearch.setSiteRestriction('www.plusvalue.de'); 
		// web search, open, alternate root
		var options = new google.search.SearcherOptions();
		options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
		options.setRoot(document.getElementById("gsearch-result"));
		searchControl.addSearcher(webSearch, options);
		


	// tell the searcher to draw itself and tell it where to attach
		searchControl.draw(document.getElementById("headerSearch"));
		
    }
    google.setOnLoadCallback(OnLoad);
