Disable button AND colour change?

[FONT=Courier New][FONT=Courier New]Hey[/FONT][/FONT]

[FONT=Courier New]The following code is written to disable the button that is clicked but enable it when the next is clicked. Similarly i require the same buttons to change colour. All buttons start as #170A67 and which ever is clicked changes to #9900FF until the next button is clicked. Is it possible to include that in this code?[/FONT]

[FONT=Courier New][FONT=Verdana]

function disableButtons(disableMe) {
    for (i=0; i<btnArray.length; i++){
        var btn = btnArray*;
  btn.enabled = true;
  }
 disableMe.enabled = false;
 }

[/FONT]

[/FONT]