             // Fire a click event for the radio group.
             _selection = rb;
             _selection.selected = true;
+            _selectedIndex = index;
             if (fireChange)
                 dispatchEvent(new Event(Event.CHANGE));
         }

        return radioButtons.length;
    }

    //----------------------------------
    //  selectedValue
    //----------------------------------

            {
                _selection.selected = false;
                _selection = null;
                _selectedIndex = -1;
                if (fireChange)
                    dispatchEvent(new Event(Event.CHANGE));
            }
