I toyed with the above script and it works great for mouseovers and mouseouts.

The next question is how to generate a sound when a link is clicked. Here are some things I've tried so far:

<A HREF="foo.htm" onClick="playsound()">Anything along these lines won't work. Why? It appears that the browser will begin loading the new page before any further JavaScripts can be executed.

<A HREF="JavaScript:Play-Sound-And-Wait-Before-Changing-Page()">This one works well, but the problem is that if JavaScript is turned off, the link won't work at all (which will incidentally block spiders as well).

<A HREF="foo.htm" onClick="return false; Play-Sound-And-Wait-Before-changing-Page()">For this one, the "return false" stops the new page from loading immediately, but also seems to stop the second function from running!

<A HREF="foo.htm" onClick="return PlaySound()">This one might work in theory, but I can't seem to put in a "return true" within a setTimeout delay!

Yep, I am worried about spider friendliness. I also think that a growing number of people are surfing with JavaScript turned off (such as me :)) because of the chronic number of popup ads plaguing the net. So purely JavaScript links aren't the best way to go.

Works fine in MSIE, but... - Nesting error may trip up some browsers or spiders. - You can't put a quote inside a quote inside a quote, so none of the functions in HREF can have arguments. - No sound comes out with NN4.7 (possibly the original Codebrain script, possibly because I'm running it locally) - Fails miserably in Opera. GetRight butts in, and the link is no longer clickable...

I'm still working on it, but if anyone has any good ideas, I'm all ears!