That bit of javascript that Lynn provided shouldn't have any effect on SEs at all. It is just to change what shows up in the browser status bar.
I don't know what you can do to stop SEs from following links, maybe a robots file, or something. I am sure that someone here will know.
robert