/*
CRIR - Checkbox & Radio Input Replacement
Author: Chris Erwin (me[at]chriserwin.com)
www.chriserwin.com/scripts/crir/
Updated July 27, 2006.
Jesse Gavin added the AddEvent function to initialize
the script. He also converted the script to JSON format.
Updated July 30, 2006.
Added the ability to tab to elements and use the spacebar
to check the input element. This bit of functionality was
based on a tip from Adam Burmister.
*/
crir = {
init: function() {
arrLabels = document.getElementsByTagName('label');
searchLabels:
for (var i=0; i