<a id="backgroundenamel_realbutton_powderblue"
href="javascript:set_radio('radio_bgenamel_powderblue');"
class="radio-picture-enamel" style="background-color: #97b4d2;"
onclick="document.getElementsByClassName('cx00ringbuilder_topinsidecolor_img')[0].style.backgroundColor='#97b4d2';"> </a>
The above is supposed to change the color for multiple divs. I need a way for it to do all the divs. I know I have to change the [0] to an array or something but I don't know how.... any help would be greatly appreciated.