Unselect Radio Buttons with jQuery

    <input type="radio" name="radio_group" />radio a<br />
    <input type="radio" name="radio_group" />radio b<br />
    <input type="radio" name="radio_group" />radio c<br />

<script type="text/javascript">
            $(function(){
                        var allRadios = $('input[type=radio]')
                        var radioChecked;
                       
                        var setCurrent =
                                        function(e) {
                                            var obj = e.target;
                            
                                            radioChecked = $(obj).attr('checked');
                                     }
                                               
                        var setCheck =
                                    function(e) {
                                       
                                        if (e.type == 'keypress' && e.charCode != 32) {
                                            return false;
                                        }
                                       
                                        var obj = e.target;
                                       
                             if (radioChecked) {
                             $(obj).attr('checked', false);
                             } else {
                             $(obj).attr('checked', true);
                             }
                                 }   
                                                
                        $.each(allRadios, function(i, val){       
                             var label = $('label[for=' + $(this).attr("id") + ']');
                           
                         $(this).bind('mousedown keydown', function(e){
                                setCurrent(e);
                            });
                           
                            label.bind('mousedown keydown', function(e){
                                e.target = $('#' + $(this).attr("for"));
                                setCurrent(e);
                            });
                       
                         $(this).bind('click', function(e){
                                setCheck(e);   
                            });
                       
                        });
            });
</script>
http://www.12robots.com/index.cfm/2009/6/9/Unselecting-Radio-Buttons-with-jQuery