var shopid = '';var ors_a9_json = {"id":"1","handle":"KVKK","text":"KVKK Metni ni okudum kabul ediyorum","alert":"Lütfen KVKK Metnini okudum kabul ediyorum seçeneğini işaretleyiniz.","url":"https://turkey-e-commerce.myshopify.com/pages/kvkk","sub_1":"0","sub_txt_1":"","sub_2":"0","sub_txt_2":"","sub_3":"0","sub_txt_3":"","sub_4":"0","sub_txt_4":"","sub_5":"0","sub_txt_5":"","sub_url_4":"","sub_url_5":"","active_customer":"1","active_contact":"1"};var ors_a9_account_html = "" ; var a9_form = "" ; var a9_form_name = "";f_ors_a9_step_1();function f_ors_a9_step_1(){/*if(shopid==2371){alert(JSON.stringify(ors_a9_json))}*/;for(var i=0;i < document.forms.length ; i++){var ors_a9_form = null,ors_a9_html="";if(document.forms[i].action.indexOf("/account")>0 && document.forms[i].action.indexOf("/account/login")<0 && ors_a9_json.active_customer=="1"){ors_a9_form = document.forms[i]; a9_form="customer";a9_form_name="customer[note]";};if(document.forms[i].action.indexOf("/contact")>0 && ors_a9_json.active_contact=="1"){ors_a9_form = document.forms[i]; a9_form="contact";a9_form_name="contact";};if(ors_a9_form){if(ors_a9_form.querySelector("input[name='"+a9_form+"[email]']")){var form_id = "";if(ors_a9_form.id != "" ){if(shopid==1164){form_id=ors_a9_form.id}};if(a9_form=="contact"){ors_a9_html="
"};ors_a9_html_sub = "";ors_a9_html += "
 " + ors_a9_json.text.split("\"").join("\\n") + "
";if(ors_a9_json.sub_1=="1" && ors_a9_json.sub_txt_1 != ""){ ors_a9_html_sub += " " + ors_a9_json.sub_txt_1 + "
"};if(a9_form!="contact"){var ors_a9_sub_html_4 = ""; var ors_a9_sub_html_5 = "" ;if(ors_a9_json.sub_2=="1" && ors_a9_json.sub_txt_2 != ""){ ors_a9_html_sub += " " + ors_a9_json.sub_txt_2 + "
" };if(ors_a9_json.sub_3=="1" && ors_a9_json.sub_txt_3 != ""){ ors_a9_html_sub += " " + ors_a9_json.sub_txt_3 + "
" };if(ors_a9_json.sub_url_4 == ""){ ors_a9_sub_html_4 = ors_a9_json.sub_txt_4}else{ors_a9_sub_html_4="" + ors_a9_json.sub_txt_4 + ""};if(ors_a9_json.sub_url_5 == ""){ ors_a9_sub_html_5 = ors_a9_json.sub_txt_5}else{ors_a9_sub_html_5="" + ors_a9_json.sub_txt_5 + ""};if(ors_a9_json.sub_4=="1" && ors_a9_json.sub_txt_4 != ""){ ors_a9_html_sub += " " + ors_a9_sub_html_4 + "
" };if(ors_a9_json.sub_5=="1" && ors_a9_json.sub_txt_5 != ""){ ors_a9_html_sub += " " + ors_a9_sub_html_5 + "
" };}if( ors_a9_html_sub != ""){ors_a9_html+="
" + ors_a9_html_sub + "
"};ors_a9_html += " 
";ors_a9_form.noValidate=false;ors_a9_div = document.createElement("div");ors_a9_div.id = "ors_a9_" + a9_form + "_div";ors_a9_div.innerHTML = ors_a9_html;f_ors_a9_step_2(ors_a9_form,ors_a9_div);}}}}function f_ors_a9_step_2(ors_a9_form,ors_a9_div){var ors_a9_div_insert = 0;if(ors_a9_div_insert == 0 && ors_a9_form.querySelector('div[class="ors_a9_div_class"]')){ors_a9_form.querySelector('div[class="ors_a9_div_class"]').insertAdjacentElement("beforebegin",ors_a9_div);ors_a9_div_insert=1};if(ors_a9_div_insert == 0 && ors_a9_form.querySelector('input[type="submit"]')){ors_a9_form.querySelector('input[type="submit"]').parentNode.insertAdjacentElement("beforebegin",ors_a9_div);ors_a9_div_insert=1};if(ors_a9_div_insert == 0 && ors_a9_form.querySelector('button[type="submit"]')){ors_a9_form.querySelector('button[type="submit"]').insertAdjacentElement("beforebegin",ors_a9_div);ors_a9_div_insert=1};if(ors_a9_div_insert == 0 && ors_a9_form.querySelector('button')){ors_a9_form.insertAdjacentElement("beforeend",ors_a9_div);ors_a9_div_insert=1};}function f_ors_a9_scv(obj){obj.setCustomValidity(ors_a9_json.alert)}