Below table is just to test the looks of the 7 (+3 for Moz/IE) different states.

Button 0 Button 1 Button 2 Button 3 IE IE IE MOZ MOZ MOZ

Below is a table where each cell is a CoolButton. Button 2,3 and 5 have toggle. Button 3 and 5 start with a value of true. Button 4 and 5 are disabled. The buttons are stored in an array called cells

Button 0 Button 1 Button 2 Button 3 Button 4 Button 5

Below is a table where each cell is a CoolButton. Button 2,3 and 5 have toggle. Button 3 and 5 start with a value of true. Button 4 and 5 are disabled. The buttons are stored in an array called cells2. All these buttons can be focused

Button 0 Button 1 Button 2 Button 3 Button 4 Button 5

Below is a table where each cell is a CoolButton with alwaysUp. Button 2,3 and 5 have toggle. Button 3 and 5 start with a value of true. Button 4 and 5 are disabled. The buttons are stored in an array called cells3. All these buttons can be focused

Button 0 Button 1 Button 2 Button 3 Button 4 Button 5

Below are three buttons that have toggle set to true. These buttons work as a radio group by managing their values in the onaction event. View source for more info.

Button 0 Button 1 Button 2