changing styles

I need a system where when you click on a GUI object, it changes its color, and remains that way until you click on it again, or its changed back using script. Its for a selection system, and you can only select 2 at a time, and selecting 2 sets them back to the default style and runs a function, and clicking on a selected one sets it back to default as well (de-selects it). Can anyone help?

Check out the GUI.Toggle. You should have an array of (selected) states and supplying each state to the corresponding toggle.