document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write("
"); document.write("
"); document.write("
"); document.write("
    "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
  • "); document.write(" "); document.write("
  • "); document.write("
    Selectați Produs
    "); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write("
    "); document.write("
  • "); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Prenumele este obligatoriu
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Numele este obligatoriu.
"); document.write("
"); document.write("
"); document.write("
"); document.write(" +40"); document.write(" "); document.write("
Vă rugăm să introduceți un număr de telefon valid în formatul corect , ex, 712345678
"); document.write("
"); document.write("
"); document.write("
"); document.write(" "); document.write("
"); document.write("
"); document.write(" "); document.write("
Vă rugăm să alegeți un Județ.
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Oraş obligatoriu.
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Vă rugăm să introduceți un cod poştal valid (din 6- numere , ex., 010203)
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Adresă obligatorie.
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Număr apartament obligatoriu
"); document.write("
"); document.write("
"); document.write(" "); document.write("
Vă rugăm să selectați o modalitate de plata.
"); document.write("
"); document.write(" "); document.write("
"); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write(" "); document.write("
"); document.write(" "); document.write("
"); document.write("
"); document.write("
"); window.onload = radioclean; function radioclean(){ var forms = document.querySelectorAll('.needs-validation'); Array.prototype.slice.call(forms).forEach(function (form) { form.addEventListener('submit', function (event) { if (!form.checkValidity()) { event.preventDefault(); event.stopPropagation(); } form.classList.add('was-validated'); }, false); }); $('#orderBtn').on('click', function(event) { var isChecked = $("input[name='ProductPiece']:checked").length > 0; var feedback = $('#priceAlert'); if (!isChecked) { feedback.show(); } else { feedback.hide(); } }); $("input[name='ProductPiece']").on('change', function() { $('#priceAlert').hide(); // Uyarıyı gizle }); $('#PaymentType').on('change', function (e) { var PaymentTypeSelected = this.value; var PaymentDiscount = $('option:selected',this).data("discount"); if (PaymentTypeSelected == 6 && PaymentDiscount != 0) { $(".paymentNote").html("La uşă cu cardul de credit"); $(".packetateslim").fadeIn(); } else { $(".paymentNote").text(""); } if (PaymentTypeSelected == '2') { $(".orderBtn").text('COMANDA ACUM'); } if (PaymentTypeSelected == '6') { $(".orderBtn").text('Continuați plata cu cardul de credit'); } }); var urlParams = new URLSearchParams(queryString); var queryString = window.location.search; var urlParams = new URLSearchParams(queryString); var refCode = urlParams.get('ref') var utm_source = urlParams.get('utm_source') var utm_medium = urlParams.get('utm_medium') var utm_campaign = urlParams.get('utm_campaign') var utm_content = urlParams.get('utm_content') var click_id = urlParams.get('click_id') $('#refCode').val(refCode); $('#utm_source').val(utm_source); $('#utm_medium').val(utm_medium); $('#utm_campaign').val(utm_campaign); $('#utm_content').val(utm_content); $('#click_id').val(click_id); $('#http_user_agent').val(navigator.userAgent); } function optionquery(piece,product,web,fid) { $.post("https://api.jilet.org/FormApi", {piece: piece, product: product, web: web, cmd: 'check'}, function(kod) { $('#ProductOption').html(kod); }); $(".priceImgagesSelect").fadeOut(0); $(".priceImgages").fadeIn(0); $("#priceImg"+ fid).fadeOut(0); $("#priceImgSelect"+ fid).fadeIn(0); $("#SiparisFiyatID").val(fid); $('html,body').animate({scrollTop: $('#informationBlock').offset().top}, 2000); } function VariantSelected(v,s) { $('.variantselect'+s).attr('disabled', 'disabled'); $('#VariantSelected' + v +''+ s).removeAttr('disabled'); $('.VaryantSelect' + s).fadeOut(0); $('#VariantSelect' + v +''+ s).fadeIn(0); } function cargoTypeSelect(t) { if (t==0) { $('input:radio[name="TeslimatTuru"]').filter('[value="1"]').click(); } else { document.getElementById("orderSubmitForm").submit(); } $('#myModal').modal('hide'); } var packetaApiKey = 'enter-your-api-key-here'; function showSelectedCarrierPickupPoint(point) { $("#m4").html(point.id); $("#PostaKutusuKodu").val(point.id); }; function clear() { var elements = document.querySelectorAll('.method-detail'); for (var i = 0; i < elements.length; i++) { elements[i].innerText = ""; elements[i].style.height = "0"; } Packeta.Widget.close(); } function modalDialogPacketa(div) { clear(); const packetaApiKeyDE = 'ALL'; Packeta.Widget.pick(packetaApiKeyDE, showSelectedCarrierPickupPoint.bind(div), { country: 'ro', language: 'ro' }); } function phoneControl(input) { input.value = input.value.replace(/[^0-9+]/g, ''); const PhoneRegex = /^7\d{8}$/ ; if (!PhoneRegex.test(input.value)) { $("#phoneAlert").fadeIn(0); $('#Telephone').removeClass('valid'); $('#Telephone').addClass('invalid'); } else { $("#phoneAlert").fadeOut(0); $('#Telephone').removeClass('invalid'); $('#Telephone').addClass('valid'); } } function zipControl(input) { input.value = input.value.replace(/[^0-9+]/g, ''); const zipRegex = /^\d{6}$/; if (!zipRegex.test(input.value)) { $("#zipAlert").fadeIn(0); $('#PostaKoduFormat').removeClass('valid'); $('#PostaKoduFormat').addClass('invalid'); } else { $("#zipAlert").fadeOut(0); $('#PostaKoduFormat').removeClass('invalid'); $('#PostaKoduFormat').addClass('valid'); } }