var parameter_str = handle.GetParameters();
var param_re = RegExp(parameter_str+".*")
var event_mgr = client.EventManager
var evt_count = event_mgr.EventCount
for(i=0;i<evt_count;++i){
 var evt = event_mgr.GetEvent(i)
 if(param_re.test(evt.name))
   evt.Active = 1
}