<script>
$(document).ready(function(){
var freesumm = 3000;
var st1 = true;var st2 = true;
$(".t-input-group_dl .t-radio__control:first").addClass('delfirst').hide();
$(".t-input-group_dl .t-radio__control:first").next().addClass('delsecond');
$(".t706__cartwin-prodamount-wrap").bind( 'DOMSubtreeModified',function() {
var summ = tcart.prodamount;
if ( summ > freesumm && st1 ) { $('.delfirst').show();$('.delsecond').hide();
if ($('.delsecond .t-radio').is(':checked')) {
setTimeout(function(){$('.delfirst .t-radio')[0].click()}, 100); };
st1 = false; st2 = true; };
if(summ < freesumm && st2){ $('.delfirst').hide(); $('.delsecond').show();
if ($('.delfirst .t-radio').is(':checked')) {
setTimeout(function(){$('.delsecond .t-radio')[0].click()}, 100); };
st1 = true; st2 = false; };
});
});
</script>