'; $('#shipping_content').html(html); if (data.tax) { $('#taxtr').css("display", "block"); $('#tax').html(data.tax); } else { $('#taxtr').css("display", "none"); $('#tax').html(''); } var classname = $('.faster_active').attr("class"); var number = classname.match(/\d/g); $("#ship" + number).click(); $('#total').html(formatNumber(data.totalprice)); if(document.getElementById("blankchecked").value==1){	document.getElementById('shipping-included').innerHTML='( Shipping, Imprinting and Setup Charge included )'; $('#shipping-included').removeClass('shipping-included-blank'); }else{ document.getElementById('shipping-included').innerHTML='( Shipping Charge included )'; $('#shipping-included').removeClass('shipping-included-blank'); } $('#myBtn').click(function() { fb.start('#popup-shipcontentt', { scrolling: 'no', boxScroll: true, pageScroll: false, afterBoxStart: function() { $("#fbBox").addClass("need-it-fast"); setTimeout(function() { if ($("#fbBox").height() < $(window).height()) { $("body").addClass("fb-fixed"); } }, 2000); }, beforeBoxEnd: function() { $("body").removeClass("fb-fixed"); } }); $('#fbBox').addClass('dhil'); }); $('.closebtn').click(function() { parent.fb.end(); }); } } }); } }else{ var total = document.getElementById('producttot').value.replace(/[$,]+/g, ""); if($('#zipcode_error').length != 0) { $('#zipcode_error').remove(); } $('#zipcode_applied').remove(); $('#total').html(formatNumber(total)); if(1 == 1 && current_quantity <=2500 && 198 != 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 && 198 != 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'); } } if($('#zipcodeapply').val()==0){ $('#zipcode_input').addClass('new_error'); $('#zipcode').after('