<!--//
    var coreSearch;
  
    function SolutionLoad() {
    var controlRoot = document.getElementById("searchControl");

    // create the search control
    coreSearch = new GSearchControl();
    coreSearch.setLinkTarget(GSearch.LINK_TARGET_BLANK);
    coreSearch.setResultSetSize(GSearch.LARGE_RESULTSET);

    // prep for decoupled search form
    var searchFormElement = document.getElementById("searchform");
    var drawOptions = new GdrawOptions();
    drawOptions.setSearchFormRoot(searchFormElement);
    drawOptions.setDrawMode(GSearchControl.DRAW_MODE_TABBED);

    // populate - web, this blog, all blogs
    searcher = new google.search.WebSearch();
	searcher.setSiteRestriction("014049532606333548478:89pgncpbc7g");
	searcher.setUserDefinedLabel("エロ動画検索");
	coreSearch.addSearcher(searcher);
	searcher = new google.search.WebSearch();
	searcher.setSiteRestriction("014049532606333548478:op3ume_xi3g");
	searcher.setUserDefinedLabel("エロ画像検索");
    coreSearch.addSearcher(searcher);
    searcher = new google.search.WebSearch();
	searcher.setUserDefinedLabel("Google検索");
	coreSearch.addSearcher(searcher);
    searcher = new google.search.ImageSearch();
	searcher.setUserDefinedLabel("Google画像検索");
	coreSearch.addSearcher(searcher);
    searcher = new google.search.VideoSearch();
	searcher.setUserDefinedLabel("Google動画検索");
	coreSearch.addSearcher(searcher);

    // option

    // option
    coreSearch.draw(controlRoot, drawOptions);
    coreSearch.execute("麻美ゆま");
    }

    function doCoreSearch(q) {
      coreSearch.execute(q);
    }
  
    registerLoadHandler(SolutionLoad);

    function registerLoadHandler(handler) {
      var node = window;
      if (node.addEventListener) {
        node.addEventListener("load", handler, false);
      } else if (node.attachEvent) {
        node.attachEvent("onload", handler);
      } else {
        node['onload'] = handler;
      }
      return true;
    }
//-->
