//<![CDATA[
google.load("search", "1");
function OnLoad() {
	// Create a search control
	var searchControl = new google.search.SearchControl();
	// Add in a full set of searchers
	// searchControl.addSearcher(new google.search.BlogSearch());

    var siteSearch = new GwebSearch();
    siteSearch.setUserDefinedLabel("Globis Search");
    siteSearch.setSiteRestriction("http://imba.globis.ac.jp/j/");
    siteSearch.setUserDefinedClassSuffix("siteSearch");

	var options = new GsearcherOptions();
	options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);
	options.setRoot(document.getElementById("web-search"));

	searchControl.setResultSetSize(GSearch.LARGE_RESULTSET);
	searchControl.setLinkTarget(GSearch.LINK_TARGET_TOP);
    searchControl.addSearcher(siteSearch,options);


	// Tell the searcher to draw itself and tell it where to attach
	searchControl.draw(document.getElementById("searchcontrol"));
}
google.setOnLoadCallback(OnLoad);
//]]>

