That kind of event is scripted into the com object and isn't always the usable one. For standard events:
code:
var pActivex;
function OnEvent_Intialize(bMessengerStart){
pActivex = new ActiveXObject("MyProject.Control");
fnEventHandler();
}
var fnEventHandler = function(){
pActivex::MyEventName = function(){
// do my event stuff
}
}
or something along those lines.