Perform a search in the yahoo frame, above Then click the "Show location.search property" button to examine the window.location.search property value for the search.

Next, Click the "Modify search..." button to modify current search as derived from the upper frame's location.search property. Be sure to follow the codes and conventions for the search engin (e.g. a plus sign between terms.)