try{(function(window,$,undefined){$(function(){var id="component_aWKfApFYEJUC",el=$("#"+id);var uuId="navigation"+"_"+"aWKfApFYEJUC";var _$=$,_window=window;var events=["scroll","resize"];var checkInviewportCallFunction=null;var threshold=$.trim("50");if(!!!threshold)threshold="0";if(threshold=="-1"){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction();return}var _settings={threshold:threshold,container:window};function unbindEvents(){$.each(events,function(k,v){var nameSpace= v+"."+"lab_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}var js_depand='["//rqrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/jquery.SuperSlide.2.1.1.source.js","//jmrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/smartmenu/js/jquery.smartmenus.js","//iprnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/compsettings/comp.navigation.settings.js"]'; js_depand=$.trim(js_depand);try{js_depand=$.parseJSON(js_depand)}catch(e){js_depand=""}$LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){unbindEvents();clearInterval(checkInviewportCallFunction);if(!!el.data("lab_callFunction"))return;el.data("lab_callFunction",true);(function(window,$,undefined){try{$(function(){var slideScriptSrc="//rqrnrwxhonor5q.ldycdn.com/static/assets/widget/script/plugins/jquery.SuperSlide.2.1.1.source.js?_\x3d1576150391500";if(phoenixSite.phoenixCompSettings&& (typeof phoenixSite.phoenixCompSettings.navigation.defaultStyle!=="undefined"&&typeof phoenixSite.phoenixCompSettings.navigation.defaultStyle=="function")){phoenixSite.phoenixCompSettings.navigation.saveCompStyle(".sitewidget-navigation-20160309112617","","fit","18","","fit","","rgb(20, 51, 133)","cusColor","rgb(255, 255, 255)");phoenixSite.phoenixCompSettings.navigation.defaultStyle(".sitewidget-navigation-20160309112617",slideScriptSrc);return}$.getScript("//jmrnrwxhonor5q.ldycdn.com/static/assets/widget/script/compsettings/comp.navigation.settings.js?_\x3d1576150391500", function(){phoenixSite.phoenixCompSettings.navigation.saveCompStyle(".sitewidget-navigation-20160309112617","","fit","18","","fit","","rgb(20, 51, 133)","cusColor","rgb(255, 255, 255)");phoenixSite.phoenixCompSettings.navigation.defaultStyle(".sitewidget-navigation-20160309112617",slideScriptSrc)})})}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}})(_window,_$)})}(function(window,$,undefined){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(window).unbind(nameSpace).bind(nameSpace, function(){if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})});checkInviewportCallFunction=setInterval(function(){var isInviewport=LABHelper.inviewport(el,_settings);if(isInviewport&&!!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}if(isInviewport&&!!el.data("lab_callFunction"))clearInterval(checkInviewportCallFunction)},100)})(window,$);if(LABHelper.inviewport(el,_settings)){unbindEvents(); clearInterval(checkInviewportCallFunction);callFunction()}})})(this,jQuery)}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}} try{(function(window,$,undefined){var _$=$,_window=window;var css_depand='["//iprnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/form/form.css","//rqrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/inquire/inquire.css"]';try{css_depand=$.parseJSON(css_depand)}catch(e){css_depand=""}if(!!!css_depand||!$.isArray(css_depand))return;var id="component_mIUpAfPYkiHv",el=$("#"+id);var uuId="form"+"_"+"mIUpAfPYkiHv";var threshold=$.trim("-1"); if(!!!threshold)threshold="0";if(threshold=="-1"){loadCssImmediate();return}function loadCssImmediate(){$.each(css_depand,function(i,v){var options={};options.url=v;options.callback=function(){};LABHelper.loadCss(options)})}})(this,jQuery);(function(window,$,undefined){$(function(){var id="component_mIUpAfPYkiHv",el=$("#"+id);var uuId="form"+"_"+"mIUpAfPYkiHv";var _$=$,_window=window;var events=["scroll","resize"];var checkInviewportCallFunction=null;var threshold=$.trim("-1");if(!!!threshold)threshold= "0";if(threshold=="-1"){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction();return}var _settings={threshold:threshold,container:window};function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}var js_depand='["//jmrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/My97DatePicker/WdatePicker.js","//iprnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/proddetail/js/prodDetail_table.js"]'; js_depand=$.trim(js_depand);try{js_depand=$.parseJSON(js_depand)}catch(e){js_depand=""}$LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){unbindEvents();clearInterval(checkInviewportCallFunction);if(!!el.data("lab_callFunction"))return;el.data("lab_callFunction",true);(function(window,$,undefined){try{(function(window,jQuery,undefined){var bdArea=$(".sitewidget-form-20160309134819 .sitewidget-bd");$(function(){tableScroll(".sitewidget-form-20160309134819 .sitewidget-bd")}); var hasProduct=false;var showCode=false;var verifyCodeRes;var widget="sitewidget-form-20160309134819";var titleText=$("."+widget+" .sitewidget-bd").find("legend").text();$("."+widget+" .sitewidget-bd").find("legend").hide();$("."+widget+" h2").text(titleText);$("."+widget+" form").attr("action","/phoenix/admin/form");$("."+widget+" form").attr("method","post");$("."+widget+" form").attr("target","coreIframe");$("."+widget+" form").attr("enctype","multipart/form-data");$("."+widget+" form").attr("novalidate", "true");$("."+widget+" form fieldset").prepend('\x3cinput type\x3d"hidden" name\x3d"resultPage" value\x3d"iIKpAfLVviRc"\x3e');$("."+widget+" form fieldset").prepend('\x3cinput type\x3d"hidden" name\x3d"encodeFormId" value\x3d"pNUpfKKtHdJo"\x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" id\x3d"paramsJson" name\x3d"paramsJson" value\x3d""\x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" id\x3d"resultFlag" name\x3d"resultFlag" value\x3d"0"\x3e');$("."+ widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"componentPk" value\x3d"component_mIUpAfPYkiHv" \x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"pageId" value\x3d"iIKpAfLVviRc" \x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"Referer" value\x3d"" \x3e');$("."+widget+" form .control-group:last").before($("."+widget+" #imgVarifyCode"));$("."+widget+" [required]").bind("blur",function(){checkEmpty(this)});$("."+widget+ " .mailInput").bind("blur",function(){checkMail(this)});var thisWidget=$("."+widget);var countrySelect=thisWidget.find("select[title\x3d'country']");var countryPlaceholder="";if(countrySelect.length>0)$.ajax({url:"/phoenix/admin/user/getCountries",type:"post",dataType:"json",data:{},success:function(res){if(res.countriesList&&res.countriesList.length>0){countryPlaceholder=!!res.lanCode?"\u8bf7\u9009\u62e9":"please select";var options='\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e"; if(!res.isTw&&res.lanCode)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameCN+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameCN+"\x3c/option\x3e"});else if(!res.lanCode)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameEN+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameEN+"\x3c/option\x3e"});else if(res.isTw)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameTW+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameTW+"\x3c/option\x3e"}); countrySelect.html(options)}}});countrySelect.on("change",function(){if(thisWidget.find(".province").length>0){thisWidget.find(".province").remove();if(thisWidget.find(".city").length>0)thisWidget.find(".city").remove()}$(this).find("option:selected").val($(this).find("option:selected").text());if($(this).val()){var _this=this;$.ajax({url:"/phoenix/admin/user/getAllCountry",type:"post",dataType:"json",data:{province:$(this).find("option:selected").data("key")},success:function(res){if(res.provinceList&& res.provinceList.length>0){var selectDom='\x3cselect class\x3d"areachoose province"\x3e\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e";if(!res.isTw)$.each(res.provinceList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValue+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValue+"\x3c/option\x3e"});else $.each(res.provinceList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValueTW+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValueTW+ "\x3c/option\x3e"});selectDom+="\x3c/select\x3e";$(_this).after(selectDom)}}})}});thisWidget.on("change",".province",function(){if(thisWidget.find(".city").length>0)thisWidget.find(".city").remove();var addVal="";var countryVal=countrySelect.find("option:selected").text();addVal+=countryVal;if($(this).val()){var _this=this;addVal+="_"+$(this).val();if(countrySelect.find("option:selected").data("key")=="China")$.ajax({url:"/phoenix/admin/user/getCity",type:"post",dataType:"json",data:{city:$(this).find("option:selected").data("key")}, success:function(res){if(res.cityList&&res.cityList.length>0){var selectDom='\x3cselect class\x3d"areachoose city"\x3e\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e";if(!res.isTw)$.each(res.cityList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValue+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValue+"\x3c/option\x3e"});else $.each(res.cityList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValueTW+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+ obj.parameterValueTW+"\x3c/option\x3e"});selectDom+="\x3c/select\x3e";$(_this).after(selectDom)}}})}countrySelect.find("option:selected").val(addVal)});thisWidget.on("change",".city",function(){var addVal="";var countryVal=countrySelect.find("option:selected").text();var privinceVal=thisWidget.find(".province").val();addVal+=countryVal+"_"+privinceVal;if($(this).val())addVal+="_"+$(this).val();countrySelect.find("option:selected").val(addVal)});if(hasProduct){$("."+widget+" .inquireDeleteBtn").click(function(){var position= $("."+widget+" #"+$(this).attr("value")).index();$("."+widget+" #"+$(this).attr("value")).remove();jsonData.splice(position,1);$("."+widget+" #paramsJson").val(JSON.stringify(jsonData))});$("."+widget+" .proNum").each(function(){prodNumFunc(this)});$("."+widget+" .proNum").bind("change",function(){prodNumFunc(this)})}$("."+widget+" #formreset").click(function(e){$("."+widget+" span#filename").empty();$(".errgreater").remove();$("."+widget+" form")[0].reset();$("#formsubmit").removeClass("btn-disabeled")}); var serialNumberDom=undefined;var serialStatusDom=undefined;function judgingCustomizedForms(){var sortMark=0;$("."+widget+" form fieldset div label span:contains('Serial Number')").map(function(){if($(this).text()=="Serial Number"){sortMark=1;serialNumberDom=$(this)}});$("."+widget+" form fieldset div label span:contains('Serial Number Status')").map(function(){if($(this).text()=="Serial Number Status"&&sortMark==1){serialStatusDom=$(this).parents(".control-group.control-multi-radio-inline");serialStatusDom.css("display", "none");sortMark+=1}});fillingCustomeizedForms(sortMark);return sortMark}function fillingCustomeizedForms(flag){if(flag==2){var dateDom=$("."+widget+" form fieldset div label span:contains('Date of Installation')").parents(".control-group");dateDom.find("input").attr({"readonly":"readonly","onClick":"WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})"});dateDom.after($("#imgVarifyCode"))}}var mark=judgingCustomizedForms();$("."+widget+" #formsubmit").click(function(e){var _that=this;if(mark== 2)$.ajax({url:"/phoenix/admin/common/checkNo",type:"post",dataType:"text",data:{searchId:"aHKfpAUKBOje",conditions:"searchKeyword~!\x3d!~"+serialNumberDom.parents(".control-group").find("input").val(),formPkId:$("."+widget+" form fieldset").find("input[name\x3d'encodeFormId']").val(),serialNumber:serialNumberDom.parents(".control-group").find("input").val(),formField:serialNumberDom.parents(".control-group").find("input").attr("name")},success:function(res){if(res=="1")serialStatusDom.find("input[value\x3d'valid']").attr("checked", "true");else if(res=="0")serialStatusDom.find("input[value\x3d'invalid']").attr("checked","true");else if(res=="2")serialStatusDom.find("input[value\x3d'repetitive']").attr("checked","true");else return;formSubmit(_that)}});else formSubmit(_that)});function formSubmit(that){var _that=that;var executiveFlage=sublimeFlage();var formSubmitname=$("#formsubmit").hasClass("btn-disabeled");if(executiveFlage){var varifyResult=true;$("."+widget+" [required]").each(function(){varifyResult=varifyResult&&checkEmpty(this)}); $("."+widget+" .mailInput").each(function(){varifyResult=varifyResult&&checkMail(this)});if(varifyResult){if(hasProduct){$.cookie("baksetProdArray",null,{path:"/"});if(!!!localStorage){$("."+widget+" form").submit();$(this).addClass("btn-disabeled");return}localStorage.setItem("baksetProdArray","")}$("."+widget+" form").submit();$(this).addClass("btn-disabeled")}}}function sublimeFlage(){var fileList=$("."+widget+" :file");var flage=true;fileList.each(function(i,v,fSZids){var fileItem=v;var isIE= /msie/i.test(navigator.userAgent)&&!window.opera;var fileSize=0;if(isIE&&!fileItem.files.length>0){var filePath=fileItem.value;var fileSystem=new ActiveXObject("Scripting.FileSystemObject");var file=fileSystem.GetFile(filePath);fileSize=file.Size}else if(fileItem.files.length>0)fileSize=fileItem.files[0].size;var sizes=fileSize/1024;var errLenght=$(v).parent().find(".errgreater").length;if(sizes>1E4)flage=false;if(sizes>1E4&&errLenght<1)$(v).parent().append("\x3cp class\x3d'errormessage errgreater'\x3eAttachment can't exceed 10M\x3c/p\x3e"); else if(sizes<1E4)$(v).parent().find(".errgreater").remove()});return flage}function prodNumFunc(inputObj){var uid=$(inputObj).attr("unique_Id");var position=$("."+widget+" #"+uid).index();jsonData[position].quantity=$(inputObj).val();$("."+widget+" #paramsJson").val(JSON.stringify(jsonData))}function checkMail(Object){if(!validateMail($(Object).val())){if(undefined==$(Object).next(".errormessage").html())$(Object).after('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e'); if($(Object).next(".errormessage").html()=="")$(Object).next(".errormessage").html("invalid email address").show();return false}else{$(Object).next(".errormessage").html("").hide();return true}}function checkEmpty(Object){var isverifyCode=$(Object).attr("id")=="faptcha_response_field";var formAgreement=$(Object).attr("id")=="formbuilder_agreement";if(isverifyCode)if(""==$.trim($(Object).val())){$(Object).parent().find(".errormessage").html("This field is required").show();return false}else{$(Object).parent().find(".errormessage").html("").hide(); return true}else if(formAgreement){var objectSubParent=$(Object).parent().parent();if(!$(Object).is(":checked")){if(undefined==objectSubParent.find(".errormessage").html())objectSubParent.append('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e');if(objectSubParent.find(".errormessage").html()=="")objectSubParent.find(".errormessage").html("This field is required").show();return false}else{objectSubParent.find(".errormessage").html("").hide();return true}}else if(""==$.trim($(Object).val())){if(undefined== $(Object).next(".errormessage").html())$(Object).after('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e');if($(Object).next(".errormessage").html()=="")$(Object).next(".errormessage").html("This field is required").show();return false}else{$(Object).next(".errormessage").html("").hide();return true}}function validateMail(mail){var patten=new RegExp(/^([a-zA-Z0-9_\-'])*([\.a-zA-Z0-9_\-'])+@([a-zA-Z0-9_\-'])+((\.[a-zA-Z0-9_\-']+)+)\s*$/);if($.isEmptyObject(mail)||patten.test(mail))return true; else return false}var OppositeColorNormal=phoenixSite.opColor.getOppositeColor("")})(window,jQuery)}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}try{$(function(){})}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}})(_window,_$)})}})})(this,jQuery)}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}} try{(function(window,$,undefined){var _$=$,_window=window;var css_depand='["//rqrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/quicknavigation/quicknavigation.css"]';try{css_depand=$.parseJSON(css_depand)}catch(e){css_depand=""}if(!!!css_depand||!$.isArray(css_depand))return;var id="component_WAUKpfPYkbVh",el=$("#"+id);var uuId="quickNav"+"_"+"WAUKpfPYkbVh";var threshold=$.trim("360");if(!!!threshold)threshold="0";if(threshold=="-1"){loadCssImmediate();return}function loadCssImmediate(){$.each(css_depand, function(i,v){var options={};options.url=v;options.callback=function(){};LABHelper.loadCss(options)})}var _settings={threshold:threshold,container:window};var events=["scroll","resize"];var checkInviewportCallFunction=null;function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lazy_css_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lazy_css_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}loadCssImmediate()}(function(window, $,undefined){$.each(events,function(k,v){var nameSpace=v+"."+"lazy_css_"+uuId;$(window).unbind(nameSpace).bind(nameSpace,function(){if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})});checkInviewportCallFunction=setInterval(function(){var isInviewport=LABHelper.inviewport(el,_settings);if(isInviewport&&!!!el.data("lazy_css_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}if(isInviewport&&!!el.data("lazy_css_callFunction"))clearInterval(checkInviewportCallFunction)}, 100)})(window,$);if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})(this,jQuery);(function(window,$,undefined){$(function(){var id="component_WAUKpfPYkbVh",el=$("#"+id);var uuId="quickNav"+"_"+"WAUKpfPYkbVh";var _$=$,_window=window;var events=["scroll","resize"];var checkInviewportCallFunction=null;var threshold=$.trim("50");if(!!!threshold)threshold="0";if(threshold=="-1"){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction(); return}var _settings={threshold:threshold,container:window};function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}var js_depand="";js_depand=$.trim(js_depand);try{js_depand=$.parseJSON(js_depand)}catch(e){js_depand=""}unbindEvents();clearInterval(checkInviewportCallFunction);el.data("lab_callFunction",true);(function(window, $,undefined){try{$(function(){phoenixSite.sitewidgets.quicknavigationThumbToggle(".sitewidget-quickNav-20160309140219");phoenixSite.sitewidgets.addMarkWithUrl(".sitewidget-quickNav-20160309140219 a")})}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}})(window,$)}(function(window,$,undefined){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(window).unbind(nameSpace).bind(nameSpace,function(){if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction); callFunction()}})});checkInviewportCallFunction=setInterval(function(){var isInviewport=LABHelper.inviewport(el,_settings);if(isInviewport&&!!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}if(isInviewport&&!!el.data("lab_callFunction"))clearInterval(checkInviewportCallFunction)},100)})(window,$);if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})})(this,jQuery)}catch(e){try{console&& (console.log&&console.log(e))}catch(e){}} try{(function(window,$,undefined){var _$=$,_window=window;var css_depand='["//jmrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/quicknavigation/quicknavigation.css"]';try{css_depand=$.parseJSON(css_depand)}catch(e){css_depand=""}if(!!!css_depand||!$.isArray(css_depand))return;var id="component_ldpKfUPsFbgI",el=$("#"+id);var uuId="quickNav"+"_"+"ldpKfUPsFbgI";var threshold=$.trim("360");if(!!!threshold)threshold="0";if(threshold=="-1"){loadCssImmediate();return}function loadCssImmediate(){$.each(css_depand, function(i,v){var options={};options.url=v;options.callback=function(){};LABHelper.loadCss(options)})}var _settings={threshold:threshold,container:window};var events=["scroll","resize"];var checkInviewportCallFunction=null;function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lazy_css_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lazy_css_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}loadCssImmediate()}(function(window, $,undefined){$.each(events,function(k,v){var nameSpace=v+"."+"lazy_css_"+uuId;$(window).unbind(nameSpace).bind(nameSpace,function(){if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})});checkInviewportCallFunction=setInterval(function(){var isInviewport=LABHelper.inviewport(el,_settings);if(isInviewport&&!!!el.data("lazy_css_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}if(isInviewport&&!!el.data("lazy_css_callFunction"))clearInterval(checkInviewportCallFunction)}, 100)})(window,$);if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})(this,jQuery);(function(window,$,undefined){$(function(){var id="component_ldpKfUPsFbgI",el=$("#"+id);var uuId="quickNav"+"_"+"ldpKfUPsFbgI";var _$=$,_window=window;var events=["scroll","resize"];var checkInviewportCallFunction=null;var threshold=$.trim("50");if(!!!threshold)threshold="0";if(threshold=="-1"){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction(); return}var _settings={threshold:threshold,container:window};function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}var js_depand="";js_depand=$.trim(js_depand);try{js_depand=$.parseJSON(js_depand)}catch(e){js_depand=""}unbindEvents();clearInterval(checkInviewportCallFunction);el.data("lab_callFunction",true);(function(window, $,undefined){try{$(function(){phoenixSite.sitewidgets.quicknavigationThumbToggle(".sitewidget-quickNav-20160309140330");phoenixSite.sitewidgets.addMarkWithUrl(".sitewidget-quickNav-20160309140330 a")})}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}})(window,$)}(function(window,$,undefined){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(window).unbind(nameSpace).bind(nameSpace,function(){if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction); callFunction()}})});checkInviewportCallFunction=setInterval(function(){var isInviewport=LABHelper.inviewport(el,_settings);if(isInviewport&&!!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}if(isInviewport&&!!el.data("lab_callFunction"))clearInterval(checkInviewportCallFunction)},100)})(window,$);if(LABHelper.inviewport(el,_settings)){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction()}})})(this,jQuery)}catch(e){try{console&& (console.log&&console.log(e))}catch(e){}} try{(function(window,$,undefined){var _$=$,_window=window;var css_depand='["//iprnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/form/form.css","//rqrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/style/component/inquire/inquire.css"]';try{css_depand=$.parseJSON(css_depand)}catch(e){css_depand=""}if(!!!css_depand||!$.isArray(css_depand))return;var id="component_pIpfUKkNFezL",el=$("#"+id);var uuId="form"+"_"+"pIpfUKkNFezL";var threshold=$.trim("-1"); if(!!!threshold)threshold="0";if(threshold=="-1"){loadCssImmediate();return}function loadCssImmediate(){$.each(css_depand,function(i,v){var options={};options.url=v;options.callback=function(){};LABHelper.loadCss(options)})}})(this,jQuery);(function(window,$,undefined){$(function(){var id="component_pIpfUKkNFezL",el=$("#"+id);var uuId="form"+"_"+"pIpfUKkNFezL";var _$=$,_window=window;var events=["scroll","resize"];var checkInviewportCallFunction=null;var threshold=$.trim("-1");if(!!!threshold)threshold= "0";if(threshold=="-1"){unbindEvents();clearInterval(checkInviewportCallFunction);callFunction();return}var _settings={threshold:threshold,container:window};function unbindEvents(){$.each(events,function(k,v){var nameSpace=v+"."+"lab_"+uuId;$(_window).unbind(nameSpace)})}function callFunction(){if(!!el.data("lab_callFunction")){unbindEvents();clearInterval(checkInviewportCallFunction);return}var js_depand='["//jmrnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/My97DatePicker/WdatePicker.js","//iprnrwxhonor5q.ldycdn.com/static/t-7qBmBKiKqniornmknirrr/assets/widget/script/plugins/proddetail/js/prodDetail_table.js"]'; js_depand=$.trim(js_depand);try{js_depand=$.parseJSON(js_depand)}catch(e){js_depand=""}$LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){unbindEvents();clearInterval(checkInviewportCallFunction);if(!!el.data("lab_callFunction"))return;el.data("lab_callFunction",true);(function(window,$,undefined){try{(function(window,jQuery,undefined){var bdArea=$(".sitewidget-form-20160309151344 .sitewidget-bd");$(function(){tableScroll(".sitewidget-form-20160309151344 .sitewidget-bd")}); var hasProduct=false;var showCode=false;var verifyCodeRes;var widget="sitewidget-form-20160309151344";var titleText=$("."+widget+" .sitewidget-bd").find("legend").text();$("."+widget+" .sitewidget-bd").find("legend").hide();$("."+widget+" h2").text(titleText);$("."+widget+" form").attr("action","/phoenix/admin/form");$("."+widget+" form").attr("method","post");$("."+widget+" form").attr("target","coreIframe");$("."+widget+" form").attr("enctype","multipart/form-data");$("."+widget+" form").attr("novalidate", "true");$("."+widget+" form fieldset").prepend('\x3cinput type\x3d"hidden" name\x3d"resultPage" value\x3d"iIKpAfLVviRc"\x3e');$("."+widget+" form fieldset").prepend('\x3cinput type\x3d"hidden" name\x3d"encodeFormId" value\x3d"pNUpfKKtHdJo"\x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" id\x3d"paramsJson" name\x3d"paramsJson" value\x3d""\x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" id\x3d"resultFlag" name\x3d"resultFlag" value\x3d"0"\x3e');$("."+ widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"componentPk" value\x3d"component_pIpfUKkNFezL" \x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"pageId" value\x3d"iIKpAfLVviRc" \x3e');$("."+widget+" form fieldset").append('\x3cinput type\x3d"hidden" name\x3d"Referer" value\x3d"" \x3e');$("."+widget+" form .control-group:last").before($("."+widget+" #imgVarifyCode"));$("."+widget+" [required]").bind("blur",function(){checkEmpty(this)});$("."+widget+ " .mailInput").bind("blur",function(){checkMail(this)});var thisWidget=$("."+widget);var countrySelect=thisWidget.find("select[title\x3d'country']");var countryPlaceholder="";if(countrySelect.length>0)$.ajax({url:"/phoenix/admin/user/getCountries",type:"post",dataType:"json",data:{},success:function(res){if(res.countriesList&&res.countriesList.length>0){countryPlaceholder=!!res.lanCode?"\u8bf7\u9009\u62e9":"please select";var options='\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e"; if(!res.isTw&&res.lanCode)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameCN+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameCN+"\x3c/option\x3e"});else if(!res.lanCode)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameEN+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameEN+"\x3c/option\x3e"});else if(res.isTw)$.each(res.countriesList,function(i,obj){options+='\x3coption value\x3d"'+obj.nameTW+'" data-key\x3d"'+obj.key+'"\x3e'+obj.nameTW+"\x3c/option\x3e"}); countrySelect.html(options)}}});countrySelect.on("change",function(){if(thisWidget.find(".province").length>0){thisWidget.find(".province").remove();if(thisWidget.find(".city").length>0)thisWidget.find(".city").remove()}$(this).find("option:selected").val($(this).find("option:selected").text());if($(this).val()){var _this=this;$.ajax({url:"/phoenix/admin/user/getAllCountry",type:"post",dataType:"json",data:{province:$(this).find("option:selected").data("key")},success:function(res){if(res.provinceList&& res.provinceList.length>0){var selectDom='\x3cselect class\x3d"areachoose province"\x3e\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e";if(!res.isTw)$.each(res.provinceList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValue+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValue+"\x3c/option\x3e"});else $.each(res.provinceList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValueTW+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValueTW+ "\x3c/option\x3e"});selectDom+="\x3c/select\x3e";$(_this).after(selectDom)}}})}});thisWidget.on("change",".province",function(){if(thisWidget.find(".city").length>0)thisWidget.find(".city").remove();var addVal="";var countryVal=countrySelect.find("option:selected").text();addVal+=countryVal;if($(this).val()){var _this=this;addVal+="_"+$(this).val();if(countrySelect.find("option:selected").data("key")=="China")$.ajax({url:"/phoenix/admin/user/getCity",type:"post",dataType:"json",data:{city:$(this).find("option:selected").data("key")}, success:function(res){if(res.cityList&&res.cityList.length>0){var selectDom='\x3cselect class\x3d"areachoose city"\x3e\x3coption value\x3d""\x3e'+countryPlaceholder+"\x3c/option\x3e";if(!res.isTw)$.each(res.cityList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValue+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+obj.parameterValue+"\x3c/option\x3e"});else $.each(res.cityList,function(i,obj){selectDom+='\x3coption value\x3d"'+obj.parameterValueTW+'" data-key\x3d"'+obj.parameterKey+'"\x3e'+ obj.parameterValueTW+"\x3c/option\x3e"});selectDom+="\x3c/select\x3e";$(_this).after(selectDom)}}})}countrySelect.find("option:selected").val(addVal)});thisWidget.on("change",".city",function(){var addVal="";var countryVal=countrySelect.find("option:selected").text();var privinceVal=thisWidget.find(".province").val();addVal+=countryVal+"_"+privinceVal;if($(this).val())addVal+="_"+$(this).val();countrySelect.find("option:selected").val(addVal)});if(hasProduct){$("."+widget+" .inquireDeleteBtn").click(function(){var position= $("."+widget+" #"+$(this).attr("value")).index();$("."+widget+" #"+$(this).attr("value")).remove();jsonData.splice(position,1);$("."+widget+" #paramsJson").val(JSON.stringify(jsonData))});$("."+widget+" .proNum").each(function(){prodNumFunc(this)});$("."+widget+" .proNum").bind("change",function(){prodNumFunc(this)})}$("."+widget+" #formreset").click(function(e){$("."+widget+" span#filename").empty();$(".errgreater").remove();$("."+widget+" form")[0].reset();$("#formsubmit").removeClass("btn-disabeled")}); var serialNumberDom=undefined;var serialStatusDom=undefined;function judgingCustomizedForms(){var sortMark=0;$("."+widget+" form fieldset div label span:contains('Serial Number')").map(function(){if($(this).text()=="Serial Number"){sortMark=1;serialNumberDom=$(this)}});$("."+widget+" form fieldset div label span:contains('Serial Number Status')").map(function(){if($(this).text()=="Serial Number Status"&&sortMark==1){serialStatusDom=$(this).parents(".control-group.control-multi-radio-inline");serialStatusDom.css("display", "none");sortMark+=1}});fillingCustomeizedForms(sortMark);return sortMark}function fillingCustomeizedForms(flag){if(flag==2){var dateDom=$("."+widget+" form fieldset div label span:contains('Date of Installation')").parents(".control-group");dateDom.find("input").attr({"readonly":"readonly","onClick":"WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})"});dateDom.after($("#imgVarifyCode"))}}var mark=judgingCustomizedForms();$("."+widget+" #formsubmit").click(function(e){var _that=this;if(mark== 2)$.ajax({url:"/phoenix/admin/common/checkNo",type:"post",dataType:"text",data:{searchId:"aHKfpAUKBOje",conditions:"searchKeyword~!\x3d!~"+serialNumberDom.parents(".control-group").find("input").val(),formPkId:$("."+widget+" form fieldset").find("input[name\x3d'encodeFormId']").val(),serialNumber:serialNumberDom.parents(".control-group").find("input").val(),formField:serialNumberDom.parents(".control-group").find("input").attr("name")},success:function(res){if(res=="1")serialStatusDom.find("input[value\x3d'valid']").attr("checked", "true");else if(res=="0")serialStatusDom.find("input[value\x3d'invalid']").attr("checked","true");else if(res=="2")serialStatusDom.find("input[value\x3d'repetitive']").attr("checked","true");else return;formSubmit(_that)}});else formSubmit(_that)});function formSubmit(that){var _that=that;var executiveFlage=sublimeFlage();var formSubmitname=$("#formsubmit").hasClass("btn-disabeled");if(executiveFlage){var varifyResult=true;$("."+widget+" [required]").each(function(){varifyResult=varifyResult&&checkEmpty(this)}); $("."+widget+" .mailInput").each(function(){varifyResult=varifyResult&&checkMail(this)});if(varifyResult){if(hasProduct){$.cookie("baksetProdArray",null,{path:"/"});if(!!!localStorage){$("."+widget+" form").submit();$(this).addClass("btn-disabeled");return}localStorage.setItem("baksetProdArray","")}$("."+widget+" form").submit();$(this).addClass("btn-disabeled")}}}function sublimeFlage(){var fileList=$("."+widget+" :file");var flage=true;fileList.each(function(i,v,fSZids){var fileItem=v;var isIE= /msie/i.test(navigator.userAgent)&&!window.opera;var fileSize=0;if(isIE&&!fileItem.files.length>0){var filePath=fileItem.value;var fileSystem=new ActiveXObject("Scripting.FileSystemObject");var file=fileSystem.GetFile(filePath);fileSize=file.Size}else if(fileItem.files.length>0)fileSize=fileItem.files[0].size;var sizes=fileSize/1024;var errLenght=$(v).parent().find(".errgreater").length;if(sizes>1E4)flage=false;if(sizes>1E4&&errLenght<1)$(v).parent().append("\x3cp class\x3d'errormessage errgreater'\x3eAttachment can't exceed 10M\x3c/p\x3e"); else if(sizes<1E4)$(v).parent().find(".errgreater").remove()});return flage}function prodNumFunc(inputObj){var uid=$(inputObj).attr("unique_Id");var position=$("."+widget+" #"+uid).index();jsonData[position].quantity=$(inputObj).val();$("."+widget+" #paramsJson").val(JSON.stringify(jsonData))}function checkMail(Object){if(!validateMail($(Object).val())){if(undefined==$(Object).next(".errormessage").html())$(Object).after('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e'); if($(Object).next(".errormessage").html()=="")$(Object).next(".errormessage").html("invalid email address").show();return false}else{$(Object).next(".errormessage").html("").hide();return true}}function checkEmpty(Object){var isverifyCode=$(Object).attr("id")=="faptcha_response_field";var formAgreement=$(Object).attr("id")=="formbuilder_agreement";if(isverifyCode)if(""==$.trim($(Object).val())){$(Object).parent().find(".errormessage").html("This field is required").show();return false}else{$(Object).parent().find(".errormessage").html("").hide(); return true}else if(formAgreement){var objectSubParent=$(Object).parent().parent();if(!$(Object).is(":checked")){if(undefined==objectSubParent.find(".errormessage").html())objectSubParent.append('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e');if(objectSubParent.find(".errormessage").html()=="")objectSubParent.find(".errormessage").html("This field is required").show();return false}else{objectSubParent.find(".errormessage").html("").hide();return true}}else if(""==$.trim($(Object).val())){if(undefined== $(Object).next(".errormessage").html())$(Object).after('\x3cdiv class\x3d"errormessage" style\x3d"display:none;"\x3e\x3c/div\x3e');if($(Object).next(".errormessage").html()=="")$(Object).next(".errormessage").html("This field is required").show();return false}else{$(Object).next(".errormessage").html("").hide();return true}}function validateMail(mail){var patten=new RegExp(/^([a-zA-Z0-9_\-'])*([\.a-zA-Z0-9_\-'])+@([a-zA-Z0-9_\-'])+((\.[a-zA-Z0-9_\-']+)+)\s*$/);if($.isEmptyObject(mail)||patten.test(mail))return true; else return false}var OppositeColorNormal=phoenixSite.opColor.getOppositeColor("")})(window,jQuery)}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}try{$(function(){})}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}}})(_window,_$)})}})})(this,jQuery)}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}} try{var __probe__=__probe__||{};__probe__["prefix"]="//rqrnrwxhonor5q.ldycdn.com";__probe__["pId"]="iIKpAfLVviRc";__probe__["pCId"]="";__probe__["argSuffix"]="";__probe__["random"]=(new Date).getTime()+(1+Math.random()*65536|0).toString(16).substring(1);__probe__["debug"]="false";__probe__["_menu_prefix"]="";__probe__["_referer_"]=document.referrer||"";(function(){var p=document.createElement("script");p.type="text/javascript";p.async=true;p.src="//jmrnrwxhonor5q.ldycdn.com/static/assets/script/plugins/probe/probe.js?_\x3d1576150391500"; var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(p,s)})()}catch(e){try{console&&(console.log&&console.log(e))}catch(e){}};