I saw this code and I\'m scratching my head trying to decide how it works.
This is an extension to the Javascript language implemented by Microsoft. It's purpose is to specify an event handler for a COM object referenced on the page. SpeechMikeControl is the globally-scoped name of the COM (and/or ActiveX) object:
OBJECT or some other element, which has an id property of SpeechMikeControl, orSpeechMikeControl declared somewhere previously in the JavascriptSPMEventButton is the name of the COM event which will be raised by the SpeechMikeControl object under who-knows-what circumstances.
The double colon is an instruction to connect the function body as a handler to the control's event.