Damnit, once I get my wiki up I'm going to start keeping track of short language tutorials. I'm starting to use javascript again, and I'm starting to run into the same stupid things I always run into when I need to pick up a language I haven't touched in a while. Say it with me now... "How do I do that again?" 
Luckily I got the JavaScript pocket reference for just such an occasion. Though I don't have the newest version. At least I can rest my eyes looking at real paper instead of the screen 
Ok, I'll look into doing a client-side version of it. Time to learn the DOM better.
New feature: click through to my site from a search engine (try the first link on this search), and you'll get to see the new feature. It pretty much explains itself.
You may have to refresh the page, however, if the page is stored in your disk cache.
I took one regular expression trick from Dean Allen (thanks Dean).
Two issues: I can't do real highlighting of search terms of more than one word. Say you have a phrase in which one word is <em>emphasized</em>. If you search for "one word is emphasized", there's no real way to highlight that with regular expressions, since you could have an arbitrary nesting of HTML. "one word is <strong><em><span>emphasized</span></em></strong>"... etc. Is there a trick I don't know about?
The problem could theoretically happen even within one word, since you can have HTML markup within a word, but that's very rare.
The other issue is that I'd probably like to somehow make you only see the highlighted words once, so if you're browsing back and forth around the site you don't keep seeing these ugly yellow words staring you in the face. Not sure whether this is a feature or a bug as it stands. Hmm... by the way, it's super easy to set different caching levels in my CMS. To turn caching off, for instance, all I have to say is $cms->setSetting('http.cache',0). 
Lastly, I may eventually do multi-color highlighting like Google does. But plain old yellow will have to suffice for now.