锘?**--------------鍏叡鍙橀噺 begin------------*/ var this_url = window.location.href.toLowerCase(); var regemail = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/; var regtelphone = /(^(\d{11})$|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)/; var regnum = /^\d+$/; var regcode = /[1-9]\d{5}(?!\d)/; var regID = /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])(\d{4}|\d{3}x)$/; var this_protocol = window.location.protocol; var this_host = window.location.host; var GetDomain = this_protocol + '//' + this_host; var hash = { 'qq.com': 'http://mail.qq.com', 'gmail.com': 'http://mail.google.com', 'sina.com': 'http://mail.sina.com.cn', '163.com': 'http://mail.163.com', '126.com': 'http://mail.126.com', 'yeah.net': 'http://www.yeah.net/', 'sohu.com': 'http://mail.sohu.com/', 'tom.com': 'http://mail.tom.com/', 'sogou.com': 'http://mail.sogou.com/', '139.com': 'http://mail.10086.cn/', 'hotmail.com': 'http://www.hotmail.com', 'live.com': 'http://login.live.com/', 'live.cn': 'http://login.live.cn/', 'live.com.cn': 'http://login.live.com.cn', '189.com': 'http://webmail16.189.cn/webmail/', 'yahoo.com.cn': 'http://mail.cn.yahoo.com/', 'yahoo.cn': 'http://mail.cn.yahoo.com/', 'eyou.com': 'http://www.eyou.com/', '21cn.com': 'http://mail.21cn.com/', '188.com': 'http://www.188.com/', 'foxmail.coom': 'http://www.foxmail.com' }; String.prototype.replaceAll = function (s1, s2) { return this.replace(new RegExp(s1, "gm"), s2); } /**--------------鍏叡鏂规硶 begin------------*/ $(document).on('click', '#msgType a', function () { $('input[name=Title]').val($(this).text()); }); $(document).on('click', '#ddCity a', function () { $('input[name=SingleLine1]').val($('#ddProvince>a.on').text() + "-" + $(this).text()); }); $(document).on('click', '#ddProvince a', function () { $('#ddCity').prev().find('b').text('璇烽€夋嫨鍩庡競'); $('input[name=SingleLine1]').val(''); }); $(function () { $.ajax({ "type": "get", "url": "/Temeplate/鐢熸垚鍚庡叕鍏辨ā鏉?inc_header.html", "data": "", "datatype": "html", "success": function (msg) { $('#ajaxHeader').html(msg); $(function () { //鎵嬫満瀵艰埅 $(document).on("click", ".menu_h,.ph-mask", function () { $(this).parents("body").toggleClass("menu-open"); $("html,body").toggleClass("overH"); }); $("nav>ul li").hover(function () { $(this).find(".child").show() $(".child-left ul li").hover(function () { var num = $(this).index() var numimg = $(".child-center-nav").index() $(".child-left ul li").removeClass("child-left-A") $(this).addClass("child-left-A") $(this).parent().parent().parent().find(".child-center").find(".child-center-text").hide() $(this).parent().parent().parent().find(".child-center").find(".child-center-text").eq(num).show() }) $(".child-center-nav li").hover(function () { var nums = $(this).index() $(this).parent().find("li").removeClass("child-centerA") $(this).addClass("child-centerA") $(this).parent().parent().find(".child-center-navT").find("li").hide() $(this).parent().parent().find(".child-center-navT").find("li").eq(nums).show() }) }, function () { $(this).children('div').hide() }) }); }, "error": function () { } }) }) /**--------------鍏叡鏂规硶 end------------*/ /**--------------鍏叡鍙橀噺 end------------*/ /**--------------鍜ㄨ鍒楄〃------------*/ function getServiceBaseStation(cid,id) { var data = "cmd=getServiceBaseStation&cid=" + cid + "&id="+id+""; ajaxhelpS(data, function (msg) { var obj = eval('(' + msg + ')'); $('#ajaxList').html(unescape(obj.list)); $('.fancybox').fancybox(); }); } /**--------------棰勮閲?-----------*/ function getDJSpan() { $('span.dianjiSpan').map(function () { var id = $(this).data("id"); var data = "cmd=getDJSpan&id=" + id; var e = $(this); ajaxhelpS(data, function (msg) { var obj = eval('(' + msg + ')'); e.html(unescape(obj.info)); }); }); } /*-----------------------------鍏ㄧ珯鎼滅储-------------------------------------------------------------------------*/ $(function () { $(document).on('click', '#btnSearch', function () { if ($.trim($("#formd_search_id").val()) == '' || $.trim($('#formd_search_id').val()) == '璇疯緭鍏ュ叧閿瓧') { $('#formd_search_id').focus(); alert(lang.search); return; } else { window.location = "/Auxiliary/search.html?key=" + escape($.trim($("#formd_search_id").val())) + ""; } }); $(document).on('click', '#btnSearch3', function () { if ($.trim($("#formd_search_id3").val()) == '' || $.trim($('#formd_search_id3').val()) == '璇疯緭鍏ュ叧閿瓧') { $('#formd_search_id3').focus(); alert(lang.search); return; } else { window.location = "/Auxiliary/search.html?key=" + escape($.trim($("#formd_search_id3").val())) + ""; } }); //$('#btnSearch').click(function () { // if ($.trim($("#formd_search_id").val()) == '' || $.trim($('#formd_search_id').val()) == '璇疯緭鍏ュ叧閿瓧') { // $('#formd_search_id').focus(); // alert(lang.search); // return; // } // else { // window.location = "/Auxiliary/search.html?key=" + escape($.trim($("#formd_search_id").val())) + ""; // } //}); $('#btnSearch2').click(function () { if ($.trim($("#formd_search_id2").val()) == '' || $.trim($("#formd_search_id2").val()) == '璇疯緭鍑鸿鎼滅储鐨勫叧閿瘝') { $('#formd_search_id2').focus(); alert(lang.search); return; } getList($.trim($("#formd_search_id2").val()), 1); }); }) eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-24]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('0 EnterFunction(1,2){$(1).keydown(0(e){var 4=e.which;if(4==13){$(2).click()}})}', [], 5, 'function|ElementInput|ElementBtn||curKey'.split('|'), 0, {})); $(function () { //閲嶇疆鎸夐挳 $(document).on("click", "#btnReset", function () { window.location.href = this_url; }); EnterFunction('#formd_search_id', '#btnSearch'); EnterFunction('#formd_search_id2', '#btnSearch2'); //鎴戣鍏ラ┗ EnterFunction('input[name="Title1"]', '#btnSubmit'); EnterFunction('input[name="SingleLine1"]', '#btnSubmit'); EnterFunction('input[name="SingleLine2"]', '#btnSubmit'); EnterFunction('input[name="SingleLine3"]', '#btnSubmit'); EnterFunction('input[name="SingleLine4"]', '#btnSubmit'); }) /*----------------------瀵艰埅瀹氫綅-------------------*/ /*----------------------褰撳墠浣嶇疆瀹氫綅-------------------*/ $(function () { var MenuName = $.trim($("div.auto-bar>p a:eq(1)").text()); /*涓€绾у鑸爮鐩?/ var index = -1; $('nav>ul.cf>li>a').map(function () { if ($.trim($(this).text()) == MenuName) { $(this).parent().addClass('on').siblings().removeClass('on'); } }); MenuName = $.trim($("div.auto-bar>p a:eq(2)").text()); $('nav>ul.cf>li>a').map(function () { if ($.trim($(this).text()) == MenuName) { $(this).parent().addClass('on').siblings().removeClass('on'); } }); MenuName = $.trim($("div.auto-bar>p a:last").text()); $('nav>ul.cf>li>a').map(function () { if ($.trim($(this).text()) == MenuName && index == -1) { $(this).parent().addClass('on').siblings().removeClass('on'); } }); MenuName = $.trim($("div.auto-bar>p i:last").text()); $('nav>ul.cf>li>a').map(function () { if ($.trim($(this).text()) == MenuName) { $(this).parent().addClass('on').siblings().removeClass('on'); index = 0; } }); $('div.besa-s_li>ul>li>a').map(function () { if ($.trim($(this).text()) == MenuName) { $(this).parent().addClass('on-link').siblings().removeClass('on-link'); } }); $('div.besa-s_li>ul>li>a').map(function () { if ($.trim($(this).text()) == $('#titleVal').val()) { $(this).parent().addClass('cor on-link').siblings().removeClass('cor on-link'); } }); }) //鍏ㄧ珯鎼滅储鍔熻兘js鏂规硶 function getList(keyserch, page) { $('#ajaxList').html(lang.loading); //$('#ajaxList').html(''); $('#ajaxPage').html(''); var ajaxListDate = $('#ajaxListDate').val(); var ajaxPageDate = $('#ajaxPageDate').val(); var ajaxSiteId = $('#ajaxSiteId').val(); var ajaxGroupId = $('#ajaxGroupId').val(); var ajaxPageSite = $('#ajaxPageSite').val(); $('#formd_search_id').val(unescape(keyserch)); $("#formd_search_id2").val(unescape(keyserch)); $("#resultem").html(unescape(keyserch)); var data = "cmd=_saveListAndPageDate&ajaxListDate=" + ajaxListDate + "&ajaxPageDate=" + ajaxPageDate + "&ajaxSiteId=" + ajaxSiteId + "&ajaxGroupId=" + ajaxGroupId + "&ajaxPageSite=" + ajaxPageSite + ""; ajaxhelpS(data, function () { data = "cmd=search&key=" + keyserch + "&page=" + page + ""; ajaxhelpS(data, function (msg) { var obj = eval('(' + msg + ')'); $('#ajaxList').html(unescape(obj.list)); $('#ajaxPage').html(unescape(obj.page)); $("#resultem").html('鈥? + unescape(keyserch) + '鈥?); $("#SearchNum").html(unescape(obj.count)); }); }); } //鍏ㄧ珯鍒楄〃鍔熻兘js鏂规硶 function getList_LB(key, page) { var _ajaxlist = "ajaxList"; var _ajaxpage = "ajaxPage"; var listidx = "", listcls = "", pageidx = "", pagecls = "";//鍒楄〃绱㈠紩 鍒楄〃Class 鍒嗛〉绱㈠紩 鍒嗛〉Class if ($('#ajaxListIndex').val() != undefined) { listidx = $.trim($('#ajaxListIndex').val()); } if ($('#ajaxListClass').val() != undefined) { listcls = $.trim($('#ajaxListClass').val()); } if ($('#ajaxPageIndex').val() != undefined) { pageidx = $.trim($('#ajaxPageIndex').val()); } if ($('#ajaxPageClass').val() != undefined) { pagecls = $.trim($('#ajaxPageClass').val()); } var bon = false;//鏄惁鏄垏鎹㈢被鍨 var dataBon = false; //濡傛灉鍒楄〃绱㈠紩 鍒楄〃Class 鍒嗛〉绱㈠紩 鍒嗛〉Class閮戒笉涓虹┖鏃 鍒欐槸鍒囨崲绫诲瀷 if (listidx != '' && listcls != '' && pageidx != '' && pagecls != '') { bon = true; } var listi = 0; var pagei = 0; //鍒ゆ柇鏄惁鍔犺浇鏁版嵁 if (bon) { $('.' + listcls).map(function () { if (listi == listidx && ((($.trim($(this).html()) == lang.loading || $.trim($(this).html()) == lang.loading) && page == -1) || page >= 1)) { if (page == -1) page = 1; dataBon = true; } listi++; }); } else { $('#' + _ajaxlist).html(lang.loading); $('#' + _ajaxlist).html(''); $('#' + _ajaxpage).html(''); dataBon = true; } var ajaxListDate = $('#ajaxListDate').val(); var ajaxPageDate = $('#ajaxPageDate').val(); var ajaxSiteId = $('#ajaxSiteId').val(); var ajaxGroupId = $('#ajaxGroupId').val(); var ajaxPageSite = $('#ajaxPageSite').val(); var ajaxClassId = $('#ajaxClassId').val(); var ajaxXgid = $('#ajaxXgid').val(); var ajaxCategory = $('#ajaxCategory').val(); var ajaxAboutDownload = $('#ajaxAboutDownload').val(); var ajaxParentId = $('#ajaxParentId').val(); if (dataBon) { var data = "cmd=_saveListAndPageDate_LB&ajaxListDate=" + ajaxListDate + "&ajaxPageDate=" + ajaxPageDate + "&ajaxSiteId=" + ajaxSiteId + "&ajaxGroupId=" + ajaxGroupId + "&ajaxPageSite=" + ajaxPageSite + "&ajaxClassId=" + ajaxClassId + "&ajaxXgid=" + ajaxXgid + "&ajaxCategory=" + ajaxCategory + "&ajaxAboutDownload=" + ajaxAboutDownload + "&ajaxParentId=" + ajaxParentId + ""; ajaxhelpS(data, function () { data = "cmd=search_LB&key=" + key + "&page=" + page + ""; ajaxhelpS(data, function (msg) { var obj = eval('(' + msg + ')'); if (bon) { listi = 0; $('.' + listcls).map(function () { if (listi == listidx && ($.trim($(this).html()) == lang.loading || page >= 1)) { $(this).html(unescape(obj.list)); } listi++; }); pagei = 0; $('.' + pagecls).map(function () { if (pagei == pageidx && ($.trim($(this).html()) == '' || page >= 1)) { $(this).html(unescape(obj.page)); } pagei++; }); } else { $('#' + _ajaxlist).html(unescape(obj.list)); $('#' + _ajaxpage).html(unescape(obj.page)); } imgratio(); }); }); } } eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function getValue(0){return $.trim($(0).val())}', [], 1, 'obj'.split('|'), 0, {})); eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(36) }; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-9a-g]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function getValueDefaultError(3,6,7,5,4,8){9 1=true;9 0=$.trim($(3).val());2(0==6||0==\'\'){a.b(7);1=c;2(5){$(3).d()}}2((4!=""||4!=null)&&0!=\'\'){2(0.length<4){a.b(8);1=c;2(5){$(3).d()}}e f g(0,1)}e f g(0,1)}', [], 17, 'Temp|Validator|if|Element|Length|Focus|DefaultVal|ErrorInfo|LengthErrorInfo|var|layer|alert|false|focus|return|new|Array'.split('|'), 0, {})); eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-7]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function getLengthDefaultError(1,3,4,5){6 2=true;6 0=$.trim($(1).val());7(0.length<3||0==\'\'){alert(4);2=false;7(5){$(1).focus()}}return new Array(0,2)}', [], 8, 'Temp|Element|Validator|DefaultVal|ErrorInfo|Focus|var|if'.split('|'), 0, {})); /*------------鍙栧厓绱爒alue鍊 end-----------*/ /*----------------鍙栧厓绱爐ext鍊?------------*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function getText(0){return $.trim($(0).text())}', [], 1, 'obj'.split('|'), 0, {})); eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-7]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function getTextDefaultError(0,3,4,5){6 1=true;6 2=$.trim($(0).val());7(2==3){alert(4);1=false;7(5){$(0).focus()}}return new Array(2,1)}', [], 8, 'Element|Validator|Temp|DefaultVal|ErrorInfo|Focus|var|if'.split('|'), 0, {})); /*--------------楠岃瘉鍏冪礌杈撳叆鐨勭數璇濆彿鐮亅鎵嬫満鍙风爜鏍煎紡鏄惁姝g‘-------------------*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function IsTelOrPhone(0){if(!regtelphone.test($(0).val())){alert(lang.telformat);$(0).focus()}}', [], 1, 'obj'.split('|'), 0, {})); /*-----------------鍏冪礌杈撳叆鐨勬暟瀛楁牸寮?濡傛灉杈撳叆闈炴暟瀛楃殑瀛楃 灏嗛粯璁よ缃负1------------*/ $(function () { $('.ajaxBQQH>li').mouseover(function (e) { var index = $('.ajaxBQQH>li').index($(this)); $('#ajaxClassId').val($(this).attr("data-ClassId")); setListAndPageHtml(index); }); }) function setListAndPageHtml(index) { $('#ajaxListIndex').val(index); $('#ajaxPageIndex').val(index); if ($.trim($('.' + $('#ajaxListClass').val()).eq(index).text()).length == 0) { $('.' + $('#ajaxListClass').val()).eq(index).html(lang.loading); } getList_LB("", -1); } /*-----------------------------鎼滅储缁撴灉缁戝畾缁撴潫---------------------------------*/ /*--------------------杩囨护鍗遍櫓瀛楃---------------------------------------------------*/ $(function () { //$(document).on('keyup', 'input[type=text],textarea,input[type=password]', function () { // //}); $('input[type=text],textarea,input[type=password]').keyup(function () { var val = $(this).val().toLocaleLowerCase(); var otherKey = " and | exec | count | chr | mid | master | or | truncate | char | declare | join |<|>|*|/*|*/|'|;|\\u|insert|select|delete|update|create|drop|script|javascript|alert"; var goon = true; for (var i = 0; i < otherKey.split('|').length ; i++) { if (goon) { if (val.indexOf(otherKey.split('|')[i]) != -1) { alert(lang.dangerouschar); $(this).val(''); goon = false; return; } } } }); }) /*---------------閫€璁 璁㈤槄淇℃伅 begin----------*/ /*------------鍙栧厓绱爒alue鍊?----------*/ eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(36) }; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-9a-l]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('a getValue(i){5 $.b($(i).c())}a getValueDefaultError(2,6,7,4,8,j){9 1=k;9 0=$.b($(2).c());3(0==6||0==\'\'){d(7);1=e;3(4){$(2).f()}}3((8!=""||8!=null)&&0!=\'\'){3(0.l<8){d(j);1=e;3(4){$(2).f()}}5 g h(0,1)}5 g h(0,1)}a getLengthDefaultError(2,6,7,4){9 1=k;9 0=$.b($(2).c());3(0.l<6||0==\'\'){d(7);1=e;3(4){$(2).f()}}5 g h(0,1)}', [], 22, 'Temp|Validator|Element|if|Focus|return|DefaultVal|ErrorInfo|Length|var|function|trim|val|alert|false|focus|new|Array|obj|LengthErrorInfo|true|length'.split('|'), 0, {})); /*----------------鍙栧厓绱爐ext鍊?------------*/ eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(36) }; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-9a-c]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('3 getText(4){5 $.6($(4).7())}3 getTextDefaultError(0,8,9,a){b 1=true;b 2=$.6($(0).7());c(2==8){alert(9);1=false;c(a){$(0).focus()}}5 new Array(2,1)}', [], 13, 'Element|Validator|Temp|function|obj|return|trim|text|DefaultVal|ErrorInfo|Focus|var|if'.split('|'), 0, {})); /*--------------楠岃瘉鍏冪礌杈撳叆鐨勭數璇濆彿鐮亅鎵嬫満鍙风爜鏍煎紡鏄惁姝g‘-------------------*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function IsTelOrPhone(0){if(!regtelphone.test($(0).val())){alert(\'鐢佃瘽鍙风爜鏍煎紡涓嶆纭?\');$(0).focus()}}', [], 1, 'obj'.split('|'), 0, {})); /*-----------------鍏冪礌杈撳叆鐨勬暟瀛楁牸寮?濡傛灉杈撳叆闈炴暟瀛楃殑瀛楃 灏嗛粯璁よ缃负1------------*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[0-2]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function IsNum(0,1){if(!regnum.test($(0).2())){$(0).2(1)}}', [], 3, 'obj|obj2|val'.split('|'), 0, {})); /*-鐐瑰嚮娆℃暟*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[02-8]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('$(0(){5(\'#dianji\')});0 5(6){2 3=window.location.href;2 4=/\\d{1,}_(\\d{1,})\\.html/;if(4.test(3)){2 7="cmd=updatecrt&id="+4.exec(3)[1]+"";ajaxhelpS(7,0(8){$(6).text(8)})}}', [], 9, 'function||var|this_href|reg|UpdateCrt|obj|data|msg'.split('|'), 0, {})); /*-閲嶇疆鎸夐挳*/ eval(function (p, a, c, k, e, r) { e = String; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '^$' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('$(document).on("click","#btnReset",function(){window.location.href=this_url});', [], 1, ''.split('|'), 0, {})); /*-----------------------韬唤璇佸彿鐮佺湡浼獙璇?---------------------------- **杩斿洖缁撴灉 **0 琛ㄧず韬唤璇佸彿鐮佹纭 **1 琛ㄧず闈炴硶韬唤璇佸彿 **2 琛ㄧず闈炴硶鍦板尯 **3 琛ㄧず闈炴硶鐢熸棩 */ eval(function (p, a, c, k, e, r) { e = function (c) { return (c < 62 ? '' : e(parseInt(c / 62))) + ((c = c % 62) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if ('0'.replace(0, e) == 0) { while (c--) r[e(c)] = k[c]; k = [function (e) { return r[e] || e }]; e = function () { return '[579bcefhjl-wyzA-F]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('function cardValid(s){7 t={11:"鍖椾含",12:"澶╂触",13:"娌冲寳",14:"灞辫タ",15:"鍐呰挋鍙?,21:"杈藉畞",22:"鍚夋灄",23:"榛戦緳姹?,31:"涓婃捣",32:"姹熻嫃",33:"娴欐睙",34:"瀹夊窘",35:"绂忓缓",36:"姹熻タ",37:"灞变笢",41:"娌冲崡",42:"婀栧寳",43:"婀栧崡",44:"骞夸笢",45:"骞胯タ",46:"娴峰崡",50:"閲嶅簡",51:"鍥涘窛",52:"璐靛窞",53:"浜戝崡",54:"瑗胯棌",61:"闄曡タ",62:"鐢樿們",63:"闈掓捣",64:"瀹佸",65:"鏂扮枂",71:"鍙版咕",81:"棣欐腐",82:"婢抽棬",91:"鍥藉"};7 l=0;7 5=s;7 u=5.v;9(!/^\\d{17}(\\d|x)$/i.w(5)&&!/^\\d{15}$/i.w(5)){b 1}9(t[y(5.c(0,2))]==null){b 2}9(u==15){e="19"+5.c(6,2)+"-"+h(5.c(8,2))+"-"+h(5.c(10,2));7 d=f m(e.n(/-/g,"/"));7 z=d.o().toString()+"-"+(d.A()+1)+"-"+d.B();9(e!=z){b 3}5=5.p(0,6)+"19"+5.p(6,15);5=5+GetVerifyBit(5)}7 C=f m();7 q=C.o();7 D=q-150;7 r=5.p(6,10);9(rq){b 3}5=5.n(/x$/i,"a");e=5.c(6,4)+"-"+h(5.c(10,2))+"-"+h(5.c(12,2));7 d=f m(e.n(/-/g,"/"));9(e!=(d.o()+"-"+(d.A()+1)+"-"+d.B())){b 3}E(7 i=17;i>=0;i--){l+=(Math.pow(2,i)%11)*y(5.charAt(17-i),11)}9(l%11!=1){b 1}7 j=f F();j=f F("11111119111111111","12121219121212121","123456789087654321");E(7 k=0;k