    google.load('search', '1');
    
    function OnLoad() {
      
      // Create a search control
	var customSearchControl = new google.search.CustomSearchControl();
	  
	  var options = new google.search.DrawOptions();
  options.setSearchFormRoot(document.getElementById("searchForm"));

      // site restricted web search with custom label
      // and class suffix
      var siteSearch = new google.search.WebSearch();
      siteSearch.setUserDefinedLabel("Робочий стіл громадського експерта");
      siteSearch.setUserDefinedClassSuffix("siteSearch");
      siteSearch.setSiteRestriction("civicexpert.in.ua");
      searchControl.addSearcher(siteSearch);


      // tell the searcher to draw itself and tell it where to attach
	    customSearchControl.draw(document.getElementById("searchResults"), options);
  customSearchControl.execute("");

  customSearchControl.execute('ajax api');
    }

    google.setOnLoadCallback(OnLoad, true);
