aaa:1,"pid":"40733326","name":"CNC ALUMINIUM WINDOW CORNER CRIMPER 2 X 5 T ~2 X 10 T STRENGTH","source_url":"\/sale-40733326-cnc-aluminium-window-corner-crimper-2-x-5-t-2-x-10-t-strength.html","picurl":"\/photo\/pd158489063-cnc_aluminium_window_corner_crimper_2_x_5_t_2_x_10_t_strength.jpg","propertyDetail":[["Product Name","Windows machine cnc crimping machine window machinery aluminum"],["Power Supply","380V 50Hz"],["Power","6 Kw"],["Clamping Strength","2 X 5 T ~2 X 10 T"]],"company_name":null,"picurl_c":"\/photo\/pc158489063-cnc_aluminium_window_corner_crimper_2_x_5_t_2_x_10_t_strength.jpg","price":"","username":"Zhao","viewTime":"Last Login : 3 hours 04 minutes ago","subject":"What is your best price for CNC ALUMINIUM WINDOW CORNER CRIMPER 2 X 5 T ~2 X 10 T STRENGTH","countrycode":"CN"}; var save_url = "/contactsave.html"; var update_url = "/updateinquiry.html"; var productInfo = {}; var defaulProductInfo = {}; var myDate = new Date(); var curDate = myDate.getFullYear()+'-'+(parseInt(myDate.getMonth())+1)+'-'+myDate.getDate(); var message = ''; var default_pop = 1; var leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0]; // 获取弹层 var _$$ = function (dom) { return document.querySelectorAll(dom); }; resInfo = originProductInfo; defaulProductInfo.pid = resInfo['pid']; defaulProductInfo.productName = resInfo['name']; defaulProductInfo.productInfo = resInfo['propertyDetail']; defaulProductInfo.productImg = resInfo['picurl_c']; defaulProductInfo.subject = resInfo['subject']; defaulProductInfo.productImgAlt = resInfo['name']; var inquirypopup_tmp = 1; var message = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(resInfo['name'])+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_1 = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(resInfo['name'])+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_2 = 'Hello,'+'\r\n'+"I am looking for"+' '+trim(resInfo['name'])+", please send me the price, specification and picture."+'\r\n'+"Your swift response will be highly appreciated."+'\r\n'+"Feel free to contact me for more information."+'\r\n'+"Thanks a lot."; var message_3 = 'Hello,'+'\r\n'+trim(resInfo['name'])+' '+"meets my expectations."+'\r\n'+"Please give me the best price and some other product information."+'\r\n'+"Feel free to contact me via my mail."+'\r\n'+"Thanks a lot."; var message_4 = 'Dear,'+'\r\n'+"What is the FOB price on your"+' '+trim(resInfo['name'])+'?'+'\r\n'+"Which is the nearest port name?"+'\r\n'+"Please reply me as soon as possible, it would be better to share further information."+'\r\n'+"Regards!"; var message_5 = 'Hi there,'+'\r\n'+"I am very interested in your"+' '+trim(resInfo['name'])+'.'+'\r\n'+"Please send me your product details."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Feel free to contact me by mail."+'\r\n'+"Regards!"; var message_6 = 'Dear,'+'\r\n'+"Please provide us with information about your"+' '+trim(resInfo['name'])+", such as type, size, material, and of course the best price."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Thank you!"; var message_7 = 'Dear,'+'\r\n'+"Can you supply"+' '+trim(resInfo['name'])+" for us?"+'\r\n'+"First we want a price list and some product details."+'\r\n'+"I hope to get reply asap and look forward to cooperation."+'\r\n'+"Thank you very much."; var message_8 = 'hi,'+'\r\n'+"I am looking for"+' '+trim(resInfo['name'])+", please give me some more detailed product information."+'\r\n'+"I look forward to your reply."+'\r\n'+"Thank you!"; var message_9 = 'Hello,'+'\r\n'+"Your"+' '+trim(resInfo['name'])+" meets my requirements very well."+'\r\n'+"Please send me the price, specification, and similar model will be OK."+'\r\n'+"Feel free to chat with me."+'\r\n'+"Thanks!"; var message_10 = 'Dear,'+'\r\n'+"I want to know more about the details and quotation of"+' '+trim(resInfo['name'])+'.'+'\r\n'+"Feel free to contact me."+'\r\n'+"Regards!"; var r = getRandom(1,10); defaulProductInfo.message = eval("message_"+r); var mytAjax = { post: function(url, data, fn) { var xhr = new XMLHttpRequest(); xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8"); xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xhr.setRequestHeader('Content-Type','text/plain;charset=UTF-8'); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)) { fn.call(this, xhr.responseText); } }; xhr.send(data); }, postform: function(url, data, fn) { var xhr = new XMLHttpRequest(); xhr.open("POST", url, true); xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); xhr.onreadystatechange = function() { if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)) { fn.call(this, xhr.responseText); } }; xhr.send(data); } }; window.onload = function(){ leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0]; if (window.localStorage.recordDialogStatus=='undefined' || (window.localStorage.recordDialogStatus!='undefined' && window.localStorage.recordDialogStatus != curDate)) { setTimeout(function(){ if(parseInt(inquirypopup_tmp%10) == 1){ creatDialog(defaulProductInfo, 1); } }, 6000); } }; function trim(str) { str = str.replace(/(^\s*)/g,""); return str.replace(/(\s*$)/g,""); }; function getRandom(m,n){ var num = Math.floor(Math.random()*(m - n) + n); return num; }; function strBtn(param) { var starattextarea = document.getElementById("textareamessage").value.length; var email = document.getElementById("startEmail").value; var default_tip = document.querySelectorAll(".watermark_container").length; if (20 < starattextarea && starattextarea < 3000) { if(default_tip>0){ document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "none"; }else{ document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "none"; } } else { if(default_tip>0){ document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "block"; }else{ document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "block"; } return; } // var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i;/*邮箱不区分大小写*/ var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i; if (!re.test(email)) { document.getElementById("startEmail").nextElementSibling.style.display = "block"; return; } else { document.getElementById("startEmail").nextElementSibling.style.display = "none"; } var subject = document.getElementById("pop_subject").value; var pid = document.getElementById("pop_pid").value; var message = document.getElementById("textareamessage").value; var sender_email = document.getElementById("startEmail").value; var tel = ''; if (document.getElementById("tel0") != undefined && document.getElementById("tel0") != '') tel = document.getElementById("tel0").value; var form_serialize = '&tel='+tel; form_serialize = form_serialize.replace(/\+/g, "%2B"); mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+sender_email+"&message="+(message)+form_serialize,function(res){ var mes = JSON.parse(res); if(mes.status == 200){ var iid = mes.iid; document.getElementById("pop_iid").value = iid; document.getElementById("pop_uuid").value = mes.uuid; if(typeof gtag_report_conversion === "function"){ gtag_report_conversion();//执行统计js代码 } if(typeof fbq === "function"){ fbq('track','Purchase');//执行统计js代码 } } }); for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; $('#idphonepql').val(tel); document.getElementById("dialog-content-pql-id").style.display = "block"; ; }; function twoBtnOk(param) { var selectgender = document.getElementById("Mr").innerHTML; var iid = document.getElementById("pop_iid").value; var sendername = document.getElementById("idnamepql").value; var senderphone = document.getElementById("idphonepql").value; var sendercname = document.getElementById("idcompanypql").value; var uuid = document.getElementById("pop_uuid").value; var gender = 2; if(selectgender == 'Mr.') gender = 0; if(selectgender == 'Mrs.') gender = 1; var pid = document.getElementById("pop_pid").value; var form_serialize = ''; form_serialize = form_serialize.replace(/\+/g, "%2B"); mytAjax.post(update_url,"iid="+iid+"&gender="+gender+"&uuid="+uuid+"&name="+(sendername)+"&tel="+(senderphone)+"&company="+(sendercname)+form_serialize,function(res){}); for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-ok").style.display = "block"; }; function toCheckMust(name) { $('#'+name+'error').hide(); } function handClidk(param) { var starattextarea = document.getElementById("textareamessage1").value.length; var email = document.getElementById("startEmail1").value; var default_tip = document.querySelectorAll(".watermark_container").length; if (20 < starattextarea && starattextarea < 3000) { if(default_tip>0){ document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "none"; }else{ document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "none"; } } else { if(default_tip>0){ document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "block"; }else{ document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "block"; } return; } // var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i; var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i; if (!re.test(email)) { document.getElementById("startEmail1").nextElementSibling.style.display = "block"; return; } else { document.getElementById("startEmail1").nextElementSibling.style.display = "none"; } var subject = document.getElementById("pop_subject").value; var pid = document.getElementById("pop_pid").value; var message = document.getElementById("textareamessage1").value; var sender_email = document.getElementById("startEmail1").value; var form_serialize = tel = ''; if (document.getElementById("tel1") != undefined && document.getElementById("tel1") != '') tel = document.getElementById("tel1").value; mytAjax.post(save_url,"email="+sender_email+"&tel="+tel+"&pid="+pid+"&message="+message+"&subject="+subject+form_serialize,function(res){ var mes = JSON.parse(res); if(mes.status == 200){ var iid = mes.iid; document.getElementById("pop_iid").value = iid; document.getElementById("pop_uuid").value = mes.uuid; if(typeof gtag_report_conversion === "function"){ gtag_report_conversion();//执行统计js代码 } } }); for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; $('#idphonepql').val(tel); document.getElementById("dialog-content-pql-id").style.display = "block"; }; window.addEventListener('load', function () { $('.checkbox-wrap label').each(function(){ if($(this).find('input').prop('checked')){ $(this).addClass('on') }else { $(this).removeClass('on') } }) $(document).on('click', '.checkbox-wrap label' , function(ev){ if (ev.target.tagName.toUpperCase() != 'INPUT') { $(this).toggleClass('on') } }) }) function hand_video(pdata) { data = JSON.parse(pdata); productInfo.productName = data.productName; productInfo.productInfo = data.productInfo; productInfo.productImg = data.productImg; productInfo.subject = data.subject; var message = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, quantity, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_1 = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_2 = 'Hello,'+'\r\n'+"I am looking for"+' '+trim(data.productName)+", please send me the price, specification and picture."+'\r\n'+"Your swift response will be highly appreciated."+'\r\n'+"Feel free to contact me for more information."+'\r\n'+"Thanks a lot."; var message_3 = 'Hello,'+'\r\n'+trim(data.productName)+' '+"meets my expectations."+'\r\n'+"Please give me the best price and some other product information."+'\r\n'+"Feel free to contact me via my mail."+'\r\n'+"Thanks a lot."; var message_4 = 'Dear,'+'\r\n'+"What is the FOB price on your"+' '+trim(data.productName)+'?'+'\r\n'+"Which is the nearest port name?"+'\r\n'+"Please reply me as soon as possible, it would be better to share further information."+'\r\n'+"Regards!"; var message_5 = 'Hi there,'+'\r\n'+"I am very interested in your"+' '+trim(data.productName)+'.'+'\r\n'+"Please send me your product details."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Feel free to contact me by mail."+'\r\n'+"Regards!"; var message_6 = 'Dear,'+'\r\n'+"Please provide us with information about your"+' '+trim(data.productName)+", such as type, size, material, and of course the best price."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Thank you!"; var message_7 = 'Dear,'+'\r\n'+"Can you supply"+' '+trim(data.productName)+" for us?"+'\r\n'+"First we want a price list and some product details."+'\r\n'+"I hope to get reply asap and look forward to cooperation."+'\r\n'+"Thank you very much."; var message_8 = 'hi,'+'\r\n'+"I am looking for"+' '+trim(data.productName)+", please give me some more detailed product information."+'\r\n'+"I look forward to your reply."+'\r\n'+"Thank you!"; var message_9 = 'Hello,'+'\r\n'+"Your"+' '+trim(data.productName)+" meets my requirements very well."+'\r\n'+"Please send me the price, specification, and similar model will be OK."+'\r\n'+"Feel free to chat with me."+'\r\n'+"Thanks!"; var message_10 = 'Dear,'+'\r\n'+"I want to know more about the details and quotation of"+' '+trim(data.productName)+'.'+'\r\n'+"Feel free to contact me."+'\r\n'+"Regards!"; var r = getRandom(1,10); productInfo.message = eval("message_"+r); if(parseInt(inquirypopup_tmp/10) == 1){ productInfo.message = ""; } productInfo.pid = data.pid; creatDialog(productInfo, 2); }; function handDialog(pdata) { data = JSON.parse(pdata); productInfo.productName = data.productName; productInfo.productInfo = data.productInfo; productInfo.productImg = data.productImg; productInfo.subject = data.subject; var message = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, quantity, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_1 = 'Dear,'+'\r\n'+"I am interested in"+' '+trim(data.productName)+", could you send me more details such as type, size, MOQ, material, etc."+'\r\n'+"Thanks!"+'\r\n'+"Waiting for your reply."; var message_2 = 'Hello,'+'\r\n'+"I am looking for"+' '+trim(data.productName)+", please send me the price, specification and picture."+'\r\n'+"Your swift response will be highly appreciated."+'\r\n'+"Feel free to contact me for more information."+'\r\n'+"Thanks a lot."; var message_3 = 'Hello,'+'\r\n'+trim(data.productName)+' '+"meets my expectations."+'\r\n'+"Please give me the best price and some other product information."+'\r\n'+"Feel free to contact me via my mail."+'\r\n'+"Thanks a lot."; var message_4 = 'Dear,'+'\r\n'+"What is the FOB price on your"+' '+trim(data.productName)+'?'+'\r\n'+"Which is the nearest port name?"+'\r\n'+"Please reply me as soon as possible, it would be better to share further information."+'\r\n'+"Regards!"; var message_5 = 'Hi there,'+'\r\n'+"I am very interested in your"+' '+trim(data.productName)+'.'+'\r\n'+"Please send me your product details."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Feel free to contact me by mail."+'\r\n'+"Regards!"; var message_6 = 'Dear,'+'\r\n'+"Please provide us with information about your"+' '+trim(data.productName)+", such as type, size, material, and of course the best price."+'\r\n'+"Looking forward to your quick reply."+'\r\n'+"Thank you!"; var message_7 = 'Dear,'+'\r\n'+"Can you supply"+' '+trim(data.productName)+" for us?"+'\r\n'+"First we want a price list and some product details."+'\r\n'+"I hope to get reply asap and look forward to cooperation."+'\r\n'+"Thank you very much."; var message_8 = 'hi,'+'\r\n'+"I am looking for"+' '+trim(data.productName)+", please give me some more detailed product information."+'\r\n'+"I look forward to your reply."+'\r\n'+"Thank you!"; var message_9 = 'Hello,'+'\r\n'+"Your"+' '+trim(data.productName)+" meets my requirements very well."+'\r\n'+"Please send me the price, specification, and similar model will be OK."+'\r\n'+"Feel free to chat with me."+'\r\n'+"Thanks!"; var message_10 = 'Dear,'+'\r\n'+"I want to know more about the details and quotation of"+' '+trim(data.productName)+'.'+'\r\n'+"Feel free to contact me."+'\r\n'+"Regards!"; var r = getRandom(1,10); productInfo.message = eval("message_"+r); if(parseInt(inquirypopup_tmp/10) == 1){ productInfo.message = ""; } productInfo.pid = data.pid; creatDialog(productInfo, 2); }; function closepql(param) { leaveMessageDialog.style.display = 'none'; }; function closepql2(param) { for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-ok").style.display = "block"; }; function decodeHtmlEntities(str) { var tempElement = document.createElement('div'); tempElement.innerHTML = str; return tempElement.textContent || tempElement.innerText || ''; } function initProduct(productInfo,type){ productInfo.productName = decodeHtmlEntities(productInfo.productName); productInfo.message = decodeHtmlEntities(productInfo.message); leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0]; leaveMessageDialog.style.display = "block"; if(type == 3){ var popinquiryemail = document.getElementById("popinquiryemail").value; _$$("#startEmail1")[0].value = popinquiryemail; }else{ _$$("#startEmail1")[0].value = ""; } _$$("#startEmail")[0].value = ""; _$$("#idnamepql")[0].value = ""; _$$("#idphonepql")[0].value = ""; _$$("#idcompanypql")[0].value = ""; _$$("#pop_pid")[0].value = productInfo.pid; _$$("#pop_subject")[0].value = productInfo.subject; if(parseInt(inquirypopup_tmp/10) == 1){ productInfo.message = ""; } _$$("#textareamessage1")[0].value = productInfo.message; _$$("#textareamessage")[0].value = productInfo.message; _$$("#dialog-content-pql-id .titlep")[0].innerHTML = productInfo.productName; _$$("#dialog-content-pql-id img")[0].setAttribute("src", productInfo.productImg); _$$("#dialog-content-pql-id img")[0].setAttribute("alt", productInfo.productImgAlt); _$$("#dialog-content-pql-id-hand img")[0].setAttribute("src", productInfo.productImg); _$$("#dialog-content-pql-id-hand img")[0].setAttribute("alt", productInfo.productImgAlt); _$$("#dialog-content-pql-id-hand .titlep")[0].innerHTML = productInfo.productName; if (productInfo.productInfo.length > 0) { var ul2, ul; ul = document.createElement("ul"); for (var index = 0; index < productInfo.productInfo.length; index++) { var el = productInfo.productInfo[index]; var li = document.createElement("li"); var span1 = document.createElement("span"); span1.innerHTML = el[0] + ":"; var span2 = document.createElement("span"); span2.innerHTML = el[1]; li.appendChild(span1); li.appendChild(span2); ul.appendChild(li); } ul2 = ul.cloneNode(true); if (type === 1) { _$$("#dialog-content-pql-id .left")[0].replaceChild(ul, _$$("#dialog-content-pql-id .left ul")[0]); } else { _$$("#dialog-content-pql-id-hand .left")[0].replaceChild(ul2, _$$("#dialog-content-pql-id-hand .left ul")[0]); _$$("#dialog-content-pql-id .left")[0].replaceChild(ul, _$$("#dialog-content-pql-id .left ul")[0]); } }; for (var index = 0; index < _$$("#dialog-content-pql-id .right ul li").length; index++) { _$$("#dialog-content-pql-id .right ul li")[index].addEventListener("click", function (params) { _$$("#dialog-content-pql-id .right #Mr")[0].innerHTML = this.innerHTML }, false) }; }; function closeInquiryCreateDialog() { document.getElementById("xuanpan_dialog_box_pql").style.display = "none"; }; function showInquiryCreateDialog() { document.getElementById("xuanpan_dialog_box_pql").style.display = "block"; }; function submitPopInquiry(){ var message = document.getElementById("inquiry_message").value; var email = document.getElementById("inquiry_email").value; var subject = defaulProductInfo.subject; var pid = defaulProductInfo.pid; if (email === undefined) { showInquiryCreateDialog(); document.getElementById("inquiry_email").style.border = "1px solid red"; return false; }; if (message === undefined) { showInquiryCreateDialog(); document.getElementById("inquiry_message").style.border = "1px solid red"; return false; }; if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { document.getElementById("inquiry_email").style.border= "1px solid red"; showInquiryCreateDialog(); return false; } else { document.getElementById("inquiry_email").style.border= ""; }; if (message.length < 20 || message.length >3000) { showInquiryCreateDialog(); document.getElementById("inquiry_message").style.border = "1px solid red"; return false; } else { document.getElementById("inquiry_message").style.border = ""; }; var tel = ''; if (document.getElementById("tel") != undefined && document.getElementById("tel") != '') tel = document.getElementById("tel").value; mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+email+"&message="+(message)+'&tel='+tel,function(res){ var mes = JSON.parse(res); if(mes.status == 200){ var iid = mes.iid; document.getElementById("pop_iid").value = iid; document.getElementById("pop_uuid").value = mes.uuid; } }); initProduct(defaulProductInfo); for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; $('#idphonepql').val(tel); document.getElementById("dialog-content-pql-id").style.display = "block"; }; //带附件上传 function submitPopInquiryfile(email_id,message_id,check_sort,name_id,phone_id,company_id,attachments){ if(typeof(check_sort) == 'undefined'){ check_sort = 0; } var message = document.getElementById(message_id).value; var email = document.getElementById(email_id).value; var attachments = document.getElementById(attachments).value; if(typeof(name_id) !== 'undefined' && name_id != ""){ var name = document.getElementById(name_id).value; } if(typeof(phone_id) !== 'undefined' && phone_id != ""){ var phone = document.getElementById(phone_id).value; } if(typeof(company_id) !== 'undefined' && company_id != ""){ var company = document.getElementById(company_id).value; } var subject = defaulProductInfo.subject; var pid = defaulProductInfo.pid; if(check_sort == 0){ if (email === undefined) { showInquiryCreateDialog(); document.getElementById(email_id).style.border = "1px solid red"; return false; }; if (message === undefined) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; }; if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { document.getElementById(email_id).style.border= "1px solid red"; showInquiryCreateDialog(); return false; } else { document.getElementById(email_id).style.border= ""; }; if (message.length < 20 || message.length >3000) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; } else { document.getElementById(message_id).style.border = ""; }; }else{ if (message === undefined) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; }; if (email === undefined) { showInquiryCreateDialog(); document.getElementById(email_id).style.border = "1px solid red"; return false; }; if (message.length < 20 || message.length >3000) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; } else { document.getElementById(message_id).style.border = ""; }; if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { document.getElementById(email_id).style.border= "1px solid red"; showInquiryCreateDialog(); return false; } else { document.getElementById(email_id).style.border= ""; }; }; mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+email+"&message="+message+"&company="+company+"&attachments="+attachments,function(res){ var mes = JSON.parse(res); if(mes.status == 200){ var iid = mes.iid; document.getElementById("pop_iid").value = iid; document.getElementById("pop_uuid").value = mes.uuid; if(typeof gtag_report_conversion === "function"){ gtag_report_conversion();//执行统计js代码 } if(typeof fbq === "function"){ fbq('track','Purchase');//执行统计js代码 } } }); initProduct(defaulProductInfo); if(name !== undefined && name != ""){ _$$("#idnamepql")[0].value = name; } if(phone !== undefined && phone != ""){ _$$("#idphonepql")[0].value = phone; } if(company !== undefined && company != ""){ _$$("#idcompanypql")[0].value = company; } for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-id").style.display = "block"; }; function submitPopInquiryByParam(email_id,message_id,check_sort,name_id,phone_id,company_id){ if(typeof(check_sort) == 'undefined'){ check_sort = 0; } var senderphone = ''; var message = document.getElementById(message_id).value; var email = document.getElementById(email_id).value; if(typeof(name_id) !== 'undefined' && name_id != ""){ var name = document.getElementById(name_id).value; } if(typeof(phone_id) !== 'undefined' && phone_id != ""){ var phone = document.getElementById(phone_id).value; senderphone = phone; } if(typeof(company_id) !== 'undefined' && company_id != ""){ var company = document.getElementById(company_id).value; } var subject = defaulProductInfo.subject; var pid = defaulProductInfo.pid; if(check_sort == 0){ if (email === undefined) { showInquiryCreateDialog(); document.getElementById(email_id).style.border = "1px solid red"; return false; }; if (message === undefined) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; }; if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { document.getElementById(email_id).style.border= "1px solid red"; showInquiryCreateDialog(); return false; } else { document.getElementById(email_id).style.border= ""; }; if (message.length < 20 || message.length >3000) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; } else { document.getElementById(message_id).style.border = ""; }; }else{ if (message === undefined) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; }; if (email === undefined) { showInquiryCreateDialog(); document.getElementById(email_id).style.border = "1px solid red"; return false; }; if (message.length < 20 || message.length >3000) { showInquiryCreateDialog(); document.getElementById(message_id).style.border = "1px solid red"; return false; } else { document.getElementById(message_id).style.border = ""; }; if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { document.getElementById(email_id).style.border= "1px solid red"; showInquiryCreateDialog(); return false; } else { document.getElementById(email_id).style.border= ""; }; }; var productsku = ""; if($("#product_sku").length > 0){ productsku = $("#product_sku").html(); } mytAjax.post(save_url,"tel="+senderphone+"&pid="+pid+"&subject="+subject+"&email="+email+"&message="+message+"&messagesku="+encodeURI(productsku),function(res){ var mes = JSON.parse(res); if(mes.status == 200){ var iid = mes.iid; document.getElementById("pop_iid").value = iid; document.getElementById("pop_uuid").value = mes.uuid; if(typeof gtag_report_conversion === "function"){ gtag_report_conversion();//执行统计js代码 } if(typeof fbq === "function"){ fbq('track','Purchase');//执行统计js代码 } } }); initProduct(defaulProductInfo); if(name !== undefined && name != ""){ _$$("#idnamepql")[0].value = name; } if(phone !== undefined && phone != ""){ _$$("#idphonepql")[0].value = phone; } if(company !== undefined && company != ""){ _$$("#idcompanypql")[0].value = company; } for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-id").style.display = "block"; }; function creat_videoDialog(productInfo, type) { if(type == 1){ if(default_pop != 1){ return false; } window.localStorage.recordDialogStatus = curDate; }else{ default_pop = 0; } initProduct(productInfo, type); if (type === 1) { // 自动弹出 for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql").style.display = "block"; } else { // 手动弹出 for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-id-hand").style.display = "block"; } } function creatDialog(productInfo, type) { if(type == 1){ if(default_pop != 1){ return false; } window.localStorage.recordDialogStatus = curDate; }else{ default_pop = 0; } initProduct(productInfo, type); if (type === 1) { // 自动弹出 for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql").style.display = "block"; } else { // 手动弹出 for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) { document.querySelectorAll(".dialog-content-pql")[index].style.display = "none"; }; document.getElementById("dialog-content-pql-id-hand").style.display = "block"; } } //带邮箱信息打开询盘框 emailtype=1表示带入邮箱 function openDialog(emailtype){ var type = 2;//不带入邮箱,手动弹出 if(emailtype == 1){ var popinquiryemail = document.getElementById("popinquiryemail").value; // var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i; var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i; if (!re.test(popinquiryemail)) { //前端提示样式; showInquiryCreateDialog(); document.getElementById("popinquiryemail").style.border = "1px solid red"; return false; } else { //前端提示样式; } var type = 3; } creatDialog(defaulProductInfo,type); } //上传附件 function inquiryUploadFile(){ var fileObj = document.querySelector("#fileId").files[0]; //构建表单数据 var formData = new FormData(); var filesize = fileObj.size; if(filesize > 10485760 || filesize == 0) { document.getElementById("filetips").style.display = "block"; return false; }else { document.getElementById("filetips").style.display = "none"; } formData.append('popinquiryfile', fileObj); document.getElementById("quotefileform").reset(); var save_url = "/inquiryuploadfile.html"; mytAjax.postform(save_url,formData,function(res){ var mes = JSON.parse(res); if(mes.status == 200){ document.getElementById("uploader-file-info").innerHTML = document.getElementById("uploader-file-info").innerHTML + ""+mes.attfile.name+"Delete"; var nowattachs = document.getElementById("attachments").value; if( nowattachs !== ""){ var attachs = JSON.parse(nowattachs); attachs[mes.attfile.id] = mes.attfile; }else{ var attachs = {}; attachs[mes.attfile.id] = mes.attfile; } document.getElementById("attachments").value = JSON.stringify(attachs); } }); } //附件删除 function delatt(attid) { var nowattachs = document.getElementById("attachments").value; if( nowattachs !== ""){ var attachs = JSON.parse(nowattachs); if(attachs[attid] == ""){ return false; } var formData = new FormData(); var delfile = attachs[attid]['filename']; var save_url = "/inquirydelfile.html"; if(delfile != "") { formData.append('delfile', delfile); mytAjax.postform(save_url, formData, function (res) { if(res !== "") { var mes = JSON.parse(res); if (mes.status == 200) { delete attachs[attid]; bbb
Beijing Dafei Weiye Industrial & Trading Co., Ltd.
products

Aluminium Machinery For Windows And Door

Home > products >
China Aluminium Machinery For Windows And Door
 Automatic Insulating Glass Flat-Pressing Production Line Video

Automatic Insulating Glass Flat-Pressing Production Line

zcvxcv{\"pid\":\"40691424\",\"productName\":\"Automatic Insulating Glass Flat-Pressing Production Line\",\"productInfo\":[[\"Product Name\",\"Automatic Insulating Glass Flat-Pressing Production Line\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"32kw\"],[\"Weight\",\"5500kg\"]],\"subject\":\"What is the FOB price on your Automatic Insulating Glass Flat-Pressing Production Line\",\"productImg\":\"\\/photo\\/pc158211551-automatic_insulating_glass_flat_pressing_production_line.jpg\"}");' class="p_pto_btn">
 Height 2850mm Double Glazing Glass Production Line for Igu Insulating Glass Making with Automatic Sealing Robot Glass Ma Video

Height 2850mm Double Glazing Glass Production Line for Igu Insulating Glass Making with Automatic Sealing Robot Glass Ma

zcvxcv{\"pid\":\"40691410\",\"productName\":\"Height 2850mm Double Glazing Glass Production Line for Igu Insulating Glass Making with Automatic Sealing Robot Glass Ma\",\"productInfo\":[[\"Product Name\",\"Height 2850mm Double Glazing Glass Production Line for Igu Insulating Glass Making with Automatic Sealing Robot Glass Machine in Window and Door Processing\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"32kw\"],[\"Weight\",\"5500kg\"]],\"subject\":\"Can you supply Height 2850mm Double Glazing Glass Production Line for Igu Insulating Glass Making with Automatic Sealing Robot Glass Ma for us\",\"productImg\":\"\\/photo\\/pc158211550-height_2850mm_double_glazing_glass_production_line_for_igu_insulating_glass_making_with_automatic_sealing_robot_glass_ma.jpg\"}");' class="p_pto_btn">
 Professional Vertical Automatic Insulating Glass Machine Double Glass Production Line Video

Professional Vertical Automatic Insulating Glass Machine Double Glass Production Line

zcvxcv{\"pid\":\"40691407\",\"productName\":\"Professional Vertical Automatic Insulating Glass Machine Double Glass Production Line\",\"productInfo\":[[\"Product Name\",\"Professional Vertical Automatic Insulating Glass Machine Double Glass Production Line\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"32kw\"],[\"Weight\",\"5500kg\"]],\"subject\":\"Please send me FOB price on Professional Vertical Automatic Insulating Glass Machine Double Glass Production Line\",\"productImg\":\"\\/photo\\/pc158211549-professional_vertical_automatic_insulating_glass_machine_double_glass_production_line.jpg\"}");' class="p_pto_btn">
 Upvc windows all machines single head seamless window welding machine for pvc Video

Upvc windows all machines single head seamless window welding machine for pvc

zcvxcv{\"pid\":\"40671596\",\"productName\":\"Upvc windows all machines single head seamless window welding machine for pvc\",\"productInfo\":[[\"Product Name\",\"Upvc windows all machines single head seamless window welding machine for pvc\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"1.2kw\"],[\"Weight\",\"150kg\"]],\"subject\":\"What is the CIF price on your Upvc windows all machines single head seamless window welding machine for pvc\",\"productImg\":\"\\/photo\\/pc158201664-upvc_windows_all_machines_single_head_seamless_window_welding_machine_for_pvc.jpg\"}");' class="p_pto_btn">
 Steel pipe making machine price automatic bending machine Video

Steel pipe making machine price automatic bending machine

zcvxcv{\"pid\":\"40670911\",\"productName\":\"Steel pipe making machine price automatic bending machine\",\"productInfo\":[[\"Product Name\",\"Steel pipe making machine price automatic bending machine\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"7 Kw\"],[\"Weight\",\"1500kg\"]],\"subject\":\"How much for your Steel pipe making machine price automatic bending machine\",\"productImg\":\"\\/photo\\/pc158503764-steel_pipe_making_machine_price_automatic_bending_machine.jpg\"}");' class="p_pto_btn">

Aluminum alloy error correction roll forming machine with very good price

zcvxcv{\"pid\":\"40670679\",\"productName\":\"Aluminum alloy error correction roll forming machine with very good price\",\"productInfo\":[[\"Product Name\",\"Aluminum alloy error correction roll forming machine with very good price\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"5 Kw\"],[\"Weight\",\"2300kg\"]],\"subject\":\"Please send me FOB price on Aluminum alloy error correction roll forming machine with very good price\",\"productImg\":\"\\/photo\\/pc158503145-aluminum_alloy_error_correction_roll_forming_machine_with_very_good_price.jpg\"}");' class="p_pto_btn">

Upvc windows fabrication copy drilling copy router aluminum window milling machine

zcvxcv{\"pid\":\"40669798\",\"productName\":\"Upvc windows fabrication copy drilling copy router aluminum window milling machine\",\"productInfo\":[[\"Product Name\",\"Upvc windows fabrication copy drilling copy router aluminum window milling machine\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"0.75 Kw\"],[\"Copying Range (Width X Length)\",\"90X260 mm\"]],\"subject\":\"What is your best price for Upvc windows fabrication copy drilling copy router aluminum window milling machine\",\"productImg\":\"\\/photo\\/pc158501877-upvc_windows_fabrication_copy_drilling_copy_router_aluminum_window_milling_machine.jpg\"}");' class="p_pto_btn">

Cutting saw pvc profile cutting window making upvc window fabrication machine

zcvxcv{\"pid\":\"40667915\",\"productName\":\"Cutting saw pvc profile cutting window making upvc window fabrication machine\",\"productInfo\":[[\"Product Name\",\"Cutting saw pvc profile cutting window making upvc window fabrication machine\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"5.25kw\"],[\"Blade Size\",\"450mm*30mm*4.4mm\"]],\"subject\":\"Can you supply Cutting saw pvc profile cutting window making upvc window fabrication machine for us\",\"productImg\":\"\\/photo\\/pc158498671-cutting_saw_pvc_profile_cutting_window_making_upvc_window_fabrication_machine.jpg\"}");' class="p_pto_btn">
 Aluminium profile cutting saw double head cutting 5 axis alu door cnc machine for alu profile Video

Aluminium profile cutting saw double head cutting 5 axis alu door cnc machine for alu profile

zcvxcv{\"pid\":\"40666676\",\"productName\":\"Aluminium profile cutting saw double head cutting 5 axis alu door cnc machine for alu profile\",\"productInfo\":[[\"Product Name\",\"Aluminium profile cutting saw double head cutting 5 axis alu door cnc machine for alu profile\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"4kw*2\"],[\"Weight\",\"1500 Kg\"]],\"subject\":\"Can you supply Aluminium profile cutting saw double head cutting 5 axis alu door cnc machine for alu profile for us\",\"productImg\":\"\\/photo\\/pc158496510-aluminium_profile_cutting_saw_double_head_cutting_5_axis_alu_door_cnc_machine_for_alu_profile.jpg\"}");' class="p_pto_btn">
 Automatic holes punching profile aluminium used window equipment factory hole punch machine Video

Automatic holes punching profile aluminium used window equipment factory hole punch machine

zcvxcv{\"pid\":\"40665186\",\"productName\":\"Automatic holes punching profile aluminium used window equipment factory hole punch machine\",\"productInfo\":[[\"Product Name\",\"Automatic holes punching profile aluminium used window equipment factory hole punch machine\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"1.5 Kw\"],[\"Weight\",\"300kg\"]],\"subject\":\"What is the delivery time on Automatic holes punching profile aluminium used window equipment factory hole punch machine\",\"productImg\":\"\\/photo\\/pc158191335-automatic_holes_punching_profile_aluminium_used_window_equipment_factory_hole_punch_machine.jpg\"}");' class="p_pto_btn">
 Upvc window and door manufacturing machinery copy router machine for alu profile Video

Upvc window and door manufacturing machinery copy router machine for alu profile

zcvxcv{\"pid\":\"40660307\",\"productName\":\"Upvc window and door manufacturing machinery copy router machine for alu profile\",\"productInfo\":[[\"Product Name\",\"Upvc window and door manufacturing machinery copy router machine for alu profile\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"1.1 Kw\"],[\"Rotational Speed\",\"18000rmp\\/5.6kw\"]],\"subject\":\"Please send me more information on your Upvc window and door manufacturing machinery copy router machine for alu profile\",\"productImg\":\"\\/photo\\/pc158190452-upvc_window_and_door_manufacturing_machinery_copy_router_machine_for_alu_profile.jpg\"}");' class="p_pto_btn">
 Aluminium Profiles Corner Machine Window PVC Cutting Center UPVC Windows All Machines Video

Aluminium Profiles Corner Machine Window PVC Cutting Center UPVC Windows All Machines

zcvxcv{\"pid\":\"40636115\",\"productName\":\"Aluminium Profiles Corner Machine Window PVC Cutting Center UPVC Windows All Machines\",\"productInfo\":[[\"Product Name\",\"Aluminium Profiles Corner Machine Window PVC Cutting Center UPVC Windows All Machines\"],[\"Power Supply\",\"380V 50Hz\"],[\"Power\",\"12.5kw\"],[\"Blade Size\",\"500*30 mm\"]],\"subject\":\"Please send price on your Aluminium Profiles Corner Machine Window PVC Cutting Center UPVC Windows All Machines\",\"productImg\":\"\\/photo\\/pc158382670-aluminium_profiles_corner_machine_window_pvc_cutting_center_upvc_windows_all_machines.jpg\"}");' class="p_pto_btn"> 88 89 90 91 92 93 94 95
88 89 90 91 92 93 94 95