I'm going to assume that when you say random you mean from a predefined number of available websites and not truly random like
www.xBi3!.html (characters chosen randomly by my fingers).
If that's the case then I'd stard with a javascript array containing your chosen sites then on the onclick= event of your link point to the script and randomly pick one of the array elements.