fires after a segment has been clicked
segmented.attachEvent("onAfterTabClick", function(id, e){ //code });
Unlike the onItemClick event this one watches clicks over separate tabs and passes the ID of a clicked tab into its handler.