Make A WordPress Search Bookmarklet

Elsewhere I created a JavaScript bookmarklet tool to easily search my old MovableType blog. It was a natural to create a similar one for my WordPress blog.
In fact, highlighting a chunk of text from any web page, I can search my own blog for the words highlighted (borrowing completely from the Google Browser Button). Or, if nothing is highlighted, I can type search terms in a dialog box. So here is a tool to help you build one for your favorite WordPress blog (most likely your own).
History
- May 5, 2005 Built the first tool here to make your own. Will it be free of bugs on the first release? There was a work around for changes to the getSelection() method changes in Safari and Firefox (Thanks to Joe Maller's tips).