AFAIK, you never need to specify the protocol in an onclick:
onclick="javascript:myFunction()" Bad
onclick="myFunction()" Good
Today I noticed in this article on Google Anallytics that they are using it:
<a href="http://www.example.com" onClick="javascript: pageTracker._trackPageview('/outgoing/example.com');">
Is this example just plain wrong, or is there ever a reason to specify javascript: in anything other than a href?