function getCookie(t){let e=document.cookie.split(";");for(let o=0;oİl\xe7e Se\xe7iniz'),$.getJSON("json/il-ilce.json",function(e){$("#ilce").append(''),$.each(e,function(e,n){var o="";n.il==i&&(o+='",$("#ilce").append(o))})})}); $(".tel-mask").inputmask({ mask: "0(*99) 999-9999", greedy: false, definitions: { '*': { validator: "[1-8]" } }, "clearIncomplete": true }); kargofirma_(); $("body").on('change', 'input[name="adet"],input[name="odeme"]', function() { kargofirma_(); }); $("body").on('click', '.kargofirmakampanyaustbuton', function() { $('html').animate({scrollTop: $('#contact_form').offset().top}, 300); }); function kargofirma_(){ } $("label.block").click(function(){$("html").animate({scrollTop:$(".scroolposition1").offset().top},300);var i=$(this);$(".block").each(function(){$(i).data("image")!=$(this).data("image")?($(this).children("img.showz").show(),$(this).children("img.none").hide()):($(this).children("img.showz").hide(),$(this).children("img.none").show())})}); $(".siparisbuton").click(function(){var i=$("#contact_form");$(".contentimg"),i.find(":input").on("invalid",function(n){var t=$(this),f=i.find(":invalid").first();if(t[0]===f[0]){var o=t.offset().top-0,c=window.pageYOffset-0;if(o>c&&o