fires after the control has been clicked
button.attachEvent("onItemClick", function(id, e){ // code });
The ID of the whole control is passed (but not a separate option).