PageSourceSearch

https://www.besg.com.cn/js/AjaxHandler_BJHJ.js

js besg.com.cn collected 2026-10-08 08:36:06 UTC 23,664 bytes, 428 lines download raw bytes

1/**--------------公共变量 begin------------*/
2var this_url = window.location.href.toLowerCase();
3var regemail = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
4var 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}))$)/;
5var regnum = /^\d+$/;
6var regcode = /[1-9]\d{5}(?!\d)/;
7var 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)$/;
8var this_protocol = window.location.protocol;
9var this_host = window.location.host;
10var GetDomain = this_protocol + '//' + this_host;
11var hash = {
12    'qq.com': 'http://mail.qq.com',
13    'gmail.com': 'http://mail.google.com',
14    'sina.com': 'http://mail.sina.com.cn',
15    '163.com': 'http://mail.163.com',
16    '126.com': 'http://mail.126.com',
17    'yeah.net': 'http://www.yeah.net/',
18    'sohu.com': 'http://mail.sohu.com/',
19    'tom.com': 'http://mail.tom.com/',
20    'sogou.com': 'http://mail.sogou.com/',
21    '139.com': 'http://mail.10086.cn/',
22    'hotmail.com': 'http://www.hotmail.com',
23    'live.com': 'http://login.live.com/',
24    'live.cn': 'http://login.live.cn/',
25    'live.com.cn': 'http://login.live.com.cn',
26    '189.com': 'http://webmail16.189.cn/webmail/',
27    'yahoo.com.cn': 'http://mail.cn.yahoo.com/',
28    'yahoo.cn': 'http://mail.cn.yahoo.com/',
29    'eyou.com': 'http://www.eyou.com/',
30    '21cn.com': 'http://mail.21cn.com/',
31    '188.com': 'http://www.188.com/',
32    'foxmail.coom': 'http://www.foxmail.com'
33};
34String.prototype.replaceAll = function (s1, s2) {
35    return this.replace(new RegExp(s1, "gm"), s2);
36}
37/**--------------公共方法 begin------------*/
38
39$(function () {
40    if ($('#ajaxRelatedNews').attr('data-rn') != undefined) {
41        var rn = $('#ajaxRelatedNews').attr('data-rn');
42        var id = $('#ajaxRelatedNews').attr('data-id');
43        var data="cmd=getRelatedNews&rn="+escape(rn)+"&id="+id+"";
44        ajaxhelpS(data, function (msg) {
45            var obj = eval('(' + msg + ')');
46            $('#ajaxRelatedNews').html(unescape(obj.info));
47        });
48    }
49})
50
51$(document).on('click', '#msgType a', function () {
52    $('input[name=Title]').val($(this).text());
53});
54
55$(document).on('click', '#ddCity a', function () {
56    $('input[name=SingleLine1]').val($('#ddProvince>a.on').text()+"-"+$(this).text());
57});
58
59$(document).on('click', '#ddProvince a', function () {
60    $('#ddCity').prev().find('b').text('请选择城市');
61    $('input[name=SingleLine1]').val('');
62});
63
64
65/**--------------公共方法 end------------*/
66/**--------------公共变量 end------------*/
67
68
69/*---------------------监测数据--------------------------*/
70function getMonitorList(classid) {
71
72    var date = $('#date-b').val();
73    var cid = $('#classidHid').val();
74    var data = "cmd=getMonitorList&date=" + date + "&cid=" + cid;
75    ajaxhelpS(data, function (msg) {
76        var obj = eval('(' + msg + ')');
77        $('#ajaxList').html(unescape(obj.list));
78    });
79}
80
81/*---------------------监测数据--------------------------*/
82function getMonitorList1(classid) {
83
84    var date = $('#date-b').val();
85    var cid = $('#classidHid').val();
86    var data = "cmd=getMonitorList1&date=" + date + "&cid=" + cid;
87    ajaxhelpS(data, function (msg) {
88        var obj = eval('(' + msg + ')');
89        $('#ajaxList').html(unescape(obj.list));
90    });
91}
92/*---------------------监测数据--------------------------*/
93function getMonitorList2(classid) {
94
95    var date = $('#date-b').val();
96    var cid = $('#classidHid').val();
97    var data = "cmd=getMonitorList2&date=" + date + "&cid=" + cid;
98    ajaxhelpS(data, function (msg) {
99        var obj = eval('(' + msg + ')');
100        $('#ajaxList').html(unescape(obj.list));
101    });
102}
103
104/*-----------------------------全站搜索-------------------------------------------------------------------------*/
105$(function () {
106
107    $('#btnSearch').click(function () {
108        if ($.trim($("#formd_search_id").val()) == '' || $.trim($('#formd_search_id').val()) == '请输入关键字') {
109            $('#formd_search_id').focus();
110            alert(lang.search);
111            return;
112        }
113        else {
114            window.location = "/other/search.html?key=" + escape($.trim($("#formd_search_id").val())) + "";
115        }
116    });
117
118    $('#btnSearch2').click(function () {
119        if ($.trim($("#formd_search_id2").val()) == '' || $.trim($("#formd_search_id2").val()) == '请输出要搜索的关键词') {
120            $('#formd_search_id2').focus();
121            alert(lang.search);
122            return;
123        }
124        getList($.trim($("#formd_search_id2").val()), 1);
125    });
126})
127
128
129eval(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, {}));
130
131$(function () {
132
133    //重置按钮
134    $(document).on("click", "#btnReset", function () {
135        window.location.href = this_url;
136    });
137
138    EnterFunction('#formd_search_id', '#btnSearch');
139    EnterFunction('#formd_search_id2', '#btnSearch2');
140})
141
142
143/*----------------------导航定位-------------------*/
144/*----------------------当前位置定位-------------------*/
145$(function () {
146    var MenuName = $.trim($("div.path a:eq(1)").text());
147
148    /*一级导航栏目*/
149    var index = -1;
150    $('ul.nav>li>a').map(function () {
151        if ($.trim($(this).text()) == MenuName) {
152            $(this).addClass('cur').siblings().removeClass('cur');
153            index = 0;
154        }
155    });
156
157    MenuName = $.trim($("div.path a:eq(2)").text());
158    index = -1;
159    $('ul.nav>li>a').map(function () {
160        if ($.trim($(this).text()) == MenuName) {
161            $(this).addClass('cur').siblings().removeClass('cur');
162            index = 0;
163        }
164    });
165
166    $('ul.ul_top>li>a').map(function () {
167        if ($.trim($(this).text()) == MenuName) {
168            $(this).parent().addClass('on').siblings().removeClass('on');
169            index = 0;
170        }
171    });
172
173
174    MenuName = $.trim($("div.path a:last").text());
175    $('ul.nav>li>a').map(function () {
176        if ($.trim($(this).text()) == MenuName && index == -1) {
177            $(this).addClass('cur').siblings().removeClass('cur');
178            index = 0;
179        }
180    });
181    $('ul.ul_top>li>a').map(function () {
182        if ($.trim($(this).text()) == MenuName) {
183            $(this).parent().addClass('on').siblings().removeClass('on');
184            index = 0;
185        }
186    });
187
188    MenuName = $.trim($("div.path span:last").text());
189    $('ul.nav>li>a').map(function () {
190        if ($.trim($(this).text()) == MenuName && index == -1) {
191            $(this).addClass('cur').siblings().removeClass('cur');
192            index = 0;
193        }
194    });
195    $('ul.ul_top>li>a').map(function () {
196        if ($.trim($(this).text()) == MenuName) {
197            $(this).parent().addClass('on').siblings().removeClass('on');
198            index = 0;
199        }
200    });
201    $('div.thirdNav>a').map(function () {
202        if ($.trim($(this).text()) == MenuName) {
203            $(this).addClass('coron').siblings().removeClass('coron');
204            index = 0;
205        }
206    });
207})
208
209//全站搜索功能js方法
210function getList(keyserch, page) {
211    $('#ajaxList').html(lang.loading);
212    //$('#ajaxList').html('');
213    $('#ajaxPage').html('');
214    var ajaxListDate = $('#ajaxListDate').val();
215    var ajaxPageDate = $('#ajaxPageDate').val();
216    var ajaxSiteId = $('#ajaxSiteId').val();
217    var ajaxGroupId = $('#ajaxGroupId').val();
218    var ajaxPageSite = $('#ajaxPageSite').val();
219
220    $('#formd_search_id').val(unescape(keyserch));
221    $("#formd_search_id2").val(unescape(keyserch));
222    $("#resultem").html(unescape(keyserch));
223   
224
225    var data = "cmd=_saveListAndPageDate&ajaxListDate=" + ajaxListDate + "&ajaxPageDate=" + ajaxPageDate + "&ajaxSiteId=" + ajaxSiteId + "&ajaxGroupId=" + ajaxGroupId + "&ajaxPageSite=" + ajaxPageSite + "";
226    ajaxhelpS(data, function () {
227        data = "cmd=search&key=" + keyserch + "&page=" + page + "";
228        ajaxhelpS(data, function (msg) {
229            var obj = eval('(' + msg + ')');
230            $('#ajaxList').html(unescape(obj.list));
231            $('#ajaxPage').html(unescape(obj.page));
232            $("#resultem").html('”' + unescape(keyserch) + '“');
233            $("#SearchNum").html(unescape(obj.count));
234        });
235    });
236}
237
238
239
240//全站列表功能js方法
241function getList_LB(key, page) {
242    var _ajaxlist = "ajaxList";
243    var _ajaxpage = "ajaxPage";
244
245    var listidx = "", listcls = "", pageidx = "", pagecls = "";//列表索引 列表Class 分页索引 分页Class
246
247    if ($('#ajaxListIndex').val() != undefined) {
248        listidx = $.trim($('#ajaxListIndex').val());
249    }
250    if ($('#ajaxListClass').val() != undefined) {
251        listcls = $.trim($('#ajaxListClass').val());
252    }
253    if ($('#ajaxPageIndex').val() != undefined) {
254        pageidx = $.trim($('#ajaxPageIndex').val());
255    }
256    if ($('#ajaxPageClass').val() != undefined) {
257        pagecls = $.trim($('#ajaxPageClass').val());
258    }
259
260    var bon = false;//是否是切换类型
261    var dataBon = false;
262    //如果列表索引 列表Class 分页索引 分页Class都不为空时 则是切换类型
263    if (listidx != '' && listcls != '' && pageidx != '' && pagecls != '') {
264        bon = true;
265    }
266
267    var listi = 0;
268    var pagei = 0;
269    //判断是否加载数据
270    if (bon) {
271        $('.' + listcls).map(function () {
272            if (listi == listidx && ((($.trim($(this).html()) == lang.loading || $.trim($(this).html()) == lang.loading) && page == -1) || page >= 1)) {
273                if (page == -1) page = 1;
274                dataBon = true;
275            }
276            listi++;
277        });
278    }
279    else {
280        $('#' + _ajaxlist).html(lang.loading);
281        $('#' + _ajaxlist).html('');
282        $('#' + _ajaxpage).html('');
283        dataBon = true;
284    }
285    var ajaxListDate = $('#ajaxListDate').val();
286    var ajaxPageDate = $('#ajaxPageDate').val();
287    var ajaxSiteId = $('#ajaxSiteId').val();
288    var ajaxGroupId = $('#ajaxGroupId').val();
289    var ajaxPageSite = $('#ajaxPageSite').val();
290
291    var ajaxClassId = $('#ajaxClassId').val();
292    var ajaxXgid = $('#ajaxXgid').val();
293    var ajaxCategory = $('#ajaxCategory').val();
294    var ajaxAboutDownload = $('#ajaxAboutDownload').val();
295    var ajaxParentId = $('#ajaxParentId').val();
296    if (dataBon) {
297
298        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 + "";
299        ajaxhelpS(data, function () {
300            data = "cmd=search_LB&key=" + key + "&page=" + page + "";
301            ajaxhelpS(data, function (msg) {
302                var obj = eval('(' + msg + ')');
303
304                if (bon) {
305                    listi = 0;
306                    $('.' + listcls).map(function () {
307                        if (listi == listidx && ($.trim($(this).html()) == lang.loading || page >= 1)) {
308                            $(this).html(unescape(obj.list));
309                        }
310                        listi++;
311                    });
312                    pagei = 0;
313                    $('.' + pagecls).map(function () {
314                        if (pagei == pageidx && ($.trim($(this).html()) == '' || page >= 1)) {
315                            $(this).html(unescape(obj.page));
316                        }
317                        pagei++;
318                    });
319
320                } else {
321
322                    $('#' + _ajaxlist).html(unescape(obj.list));
323
324                    $('#' + _ajaxpage).html(unescape(obj.page));
325                }
326
327                try {
328                   
329                    var scriptStr = "<script src=\"/javascript/lightbox.js\"></script>";
330                    $('#ajaxScriptCallback').html(scriptStr);
331                } catch (e) {
332
333                }
334            });
335        });
336    }
337}
338
339eval(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, {}));
340
341eval(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, {}));
342
343eval(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, {}));
344/*------------取元素value值  end-----------*/
345
346
347/*----------------取元素text值-------------*/
348eval(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, {}));
349
350eval(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, {}));
351
352/*--------------验证元素输入的电话号码|手机号码格式是否正确-------------------*/
353eval(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, {}));
354/*-----------------元素输入的数字格式,如果输入非数字的字符 将默认设置为1------------*/
355
356$(function () {
357    $('.ajaxBQQH>li').mouseover(function (e) {
358        var index = $('.ajaxBQQH>li').index($(this));
359        $('#ajaxClassId').val($(this).attr("data-ClassId"));
360        setListAndPageHtml(index);
361    });
362})
363function setListAndPageHtml(index) {
364    $('#ajaxListIndex').val(index);
365    $('#ajaxPageIndex').val(index);
366    if ($.trim($('.' + $('#ajaxListClass').val()).eq(index).text()).length == 0) {
367        $('.' + $('#ajaxListClass').val()).eq(index).html(lang.loading);
368    }
369    getList_LB("", -1);
370}
371
372/*-----------------------------搜索结果绑定结束---------------------------------*/
373
374/*--------------------过滤危险字符---------------------------------------------------*/
375
376$(function () {
377    //$(document).on('keyup', 'input[type=text],textarea,input[type=password]', function () {
378
379    //    //});
380    $('input[type=text],textarea,input[type=password]').keyup(function () {
381        var val = $(this).val().toLocaleLowerCase();
382        var otherKey = " and | exec | count | chr | mid | master | or | truncate | char | declare | join |<|>|*|/*|*/|'|;|\\u|insert|select|delete|update|create|drop|script|javascript|alert";
383        var goon = true;
384        for (var i = 0; i < otherKey.split('|').length ; i++) {
385            if (goon) {
386                if (val.indexOf(otherKey.split('|')[i]) != -1) {
387                    alert(lang.dangerouschar);
388                    $(this).val('');
389                    goon = false;
390                    return;
391                }
392            }
393        }
394    });
395})
396
397
398/*---------------退订 订阅信息 begin----------*/
399/*------------取元素value值-----------*/
400eval(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, {}));
401
402/*----------------取元素text值-------------*/
403eval(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, {}));
404
405/*--------------验证元素输入的电话号码|手机号码格式是否正确-------------------*/
406eval(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, {}));
407
408/*-----------------元素输入的数字格式,如果输入非数字的字符 将默认设置为1------------*/
409eval(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, {}));
410
411/*-点击次数*/
412eval(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)})}}
412', [], 9, 'function||var|this_href|reg|UpdateCrt|obj|data|msg'.split('|'), 0, {}));
413
414/*-重置按钮*/
415eval(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, {}));
416/*-----------------------身份证号码真伪验证-----------------------------
417**返回结果
418**0   表示身份证号码正确
419**1   表示非法身份证号
420**2   表示非法地区
421**3   表示非法生日
422*/
423
424
425eval(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(r<D||r>q){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<j.v;k++){9(5.indexOf(j[k])!=-1){b 1}}b 0}', [], 42, '|||||strIDno||var||if||return|substr||sBirthday|new||Number||words||iSum|Date|replace|getFullYear|substring|nowYear|year|cardID|aCity|idCardLength|length|test||parseInt|dd|getMonth|getDate|nowDate|oldYear|for|Array'.split('|'), 0, {}));
426
427/*-------------------公共ajax调用方法-----------------*/
428eval(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-4]' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('0 ajaxhelpS(1,2){$.3({"type":"post","url":""+getRootPath()+"/3/AjaxHandler_BJHJ.ashx","1":1,"datatype":"html","success":0(4){if(2){2(4)}},"error":0(){}})}', [], 5, 'function|data|fn|ajax|msg'.split('|'), 0, {}))

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.