'; $('#shipping_content').html(html); $("#fbContent").html(html1); $('#helptext_red_prod').html(data.note); $('.del_date').html(data.delivered_date); $('.prccst1').addClass('prccst'); $('.prccst').removeClass('prccst1'); $("#helptext_red_prod").show(); var classname = $('.faster_active').attr("class"); var number = classname.match(/\d/g); $("#ship" + number).click(); if (data.tax) { $('#taxtr').css("display", "block"); $('#tax').html(data.tax); } else { $('#taxtr').css("display", "none"); $('#tax').html(''); } $('#total').html(formatNumber(data.totalprice)); $('#myBtn').click(function() { //$('#popup-shipcontent').slideToggle("slow"); fb.start('#popup-shipcontentt', { scrolling: 'no', boxScroll: true, pageScroll: false, afterBoxStart: function() { $("#fbBox").addClass("need-it-fast"); } }); $('#fbBox').addClass('dhil'); }); $('.closebtn').click(function() { parent.fb.end(); }); } } }); } else { var total = document.getElementById('producttot').value.replace(/[$,]+/g, ""); // $('#zipcode_input').addClass('new_error'); if ($('#zipcode_error').length != 0) { $('#zipcode_error').remove(); } $('#total').html(formatNumber(total)); if(1 == 1 && current_quantity <=2500 && 210 != 201 && document.getElementById("blankchecked").value==1){ document.getElementById('shipping-included').innerHTML='( Shipping, Imprinting and Setup Charge included )'; $('#shipping-included').removeClass('shipping-included-blank'); }else{ if(document.getElementById("blankchecked").value==1 && 210 != 201){ document.getElementById('shipping-included').innerHTML='(Imprinting and Setup Charge included )'; $('#shipping-included').removeClass('shipping-included-blank'); }else{ document.getElementById('shipping-included').innerHTML=''; $('#shipping-included').addClass('shipping-included-blank'); } } // $('#zipcode').after('