jQuery(function($){$('.lws_radiobutton_radio').on('click',function(event){var me=$(event.currentTarget);if(me.hasClass('inactive'))return;var selector=me.data('input');if(selector!=undefined){var input=$('input'+selector);if(input.length>0){$('.lws_radiobutton_radio[data-input="'+selector+'"]').removeClass('selected');me.addClass('selected');input.val(me.data('value')).trigger('change')}}})})