 google.load("search", "1");

    function OnLoad() {
      // Create a search control
     // var searchControl = new google.search.SearchControl();
	 
	 var tabbed = new GSearchControl();
tabbed.setResultSetSize(GSearch.LARGE_RESULTSET);
  // create our searchers.  There will now be 3 tabs.
  var webSearch=new google.search.WebSearch();
  webSearch.setUserDefinedLabel("vertexit.com");
  webSearch.setSiteRestriction('www.vertexit.com');
    tabbed.addSearcher(webSearch);
      var options = new google.search.SearcherOptions();
options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
  
  //tabbed.addSearcher(new google.search.LocalSearch());
  tabbed.addSearcher(new google.search.WebSearch());
  //tabbed.addSearcher(new google.search.BlogSearch());
  // draw in tabbed layout mode
  var drawOptions = new google.search.DrawOptions();
  drawOptions.setDrawMode(google.search.SearchControl.DRAW_MODE_LINEAR);

  // Draw the tabbed view in the content div
  tabbed.draw(document.getElementById("content"), drawOptions);

  // Search!
  tabbed.execute("");
}
google.setOnLoadCallback(OnLoad, true);
