When you create your searcher, you want to add a SearcherOptions
object as well, so your code would look more like this:

siteSearch = new google.search.WebSearch();
siteSearch.setUserDefinedLabel("Results:");
siteSearch.setSiteRestriction("myCustomSiteSearchKeyGoesHere");

// I'm adding this!
var searchOptions=new google.search.SearcherOptions;
searchOptions.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);

// I'm changing this!
searchControl.addSearcher(siteSearch,searchOptions);

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more informationo r a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to