title: making a div like radio button
body: <p>am wondering if its possible to make a div that behave exactly like a radio button? I'm trying to achieve this without the use of jquery which alot of people are suggesting, i checked the web and found some of it.</p>
  
  <p>my previous way of doing this is by using javascript, this works for a small number</p>
  
  <pre><code>function Switcher(a,b,c,d,e){
      document.getElementById('button1').style.background=a;
      document.getElementById('button2').style.background=b;
      document.getElementById('button3').style.background=c;
      document.getElementById('button4').style.background=d;
      document.getElementById('button5').style.background=e;
  }
  </code></pre>
  
  <p>with an onclick event</p>
  
  <pre><code>onClick="Switcher(#c5e043,#241009,#241009,#241009,#241009)"
  </code></pre>
  
  <p>then each button clicked is switched, i can add on a check radio button function but i notice that i might need to go up to 20, which make the list really long.</p>
  
  <p>am wondering if anyone out there have a simpler solution to this problem? Basically i need a div that behave like a radio button that changes bgcolor or smthg upon selected (the radio as well)</p>