PageSourceSearch

https://nextninja.net/js/infocms.js

js nextninja.net collected 2026-10-02 05:09:17 UTC 4,699 bytes, 164 lines download raw bytes

1function searchEnter(kcode,txtClientId, btnClientId) {
2    if(kcode==13 && document.getElementById(txtClientId).value != '') {
3        __doPostBack(btnClientId,'');
4        return false;
5    }
6    if(kcode==13 && document.getElementById(txtClientId).value == '') {
7        return false;
8    }
9    return true;
10}
11if(!toggleitem){
12  var toggleitem = function(id) {
13    document.getElementById(id).checked=!document.getElementById(id).checked;
14  }
15}
16
17
18var calendarIds;
19function addCalendarIds(targetID){
20    (function($){
21        if(!calendarIds){
22            calendarIds = new Array();
23        }
24        if($.inArray(targetID, calendarIds) == -1){
25            calendarIds.push(targetID);
26        }
27    })(jQuery);
28}
29function showCalendars(path){
30    (function($){
31        if(calendarIds){
32            $.each(calendarIds, function(i, value) {
33                showCalendar(value, path);
34            });
35        }
36    })(jQuery);
37}
38function showCalendar(targetID, path) {
39    (function($){
40        $('#' + targetID).datepicker({
41            showButtonPanel: true,
42            showOn: "button",
43            onSelect: function() {},
44            buttonImage: path + "/images/calendar.png",
45            buttonImageOnly: true
46        });
47    })(jQuery);
48//  })(jqCalendar);
49}
50
51
52function loadAjaxzip3() {
53    (function($){
54        $.getScript('https://ajaxzip3.github.io/ajaxzip3.js');
55    })(jQuery);
56}
57
58function getAddressFromZip(zip1_name, zip2_name, address1_name, address2_name, errMsg, regval){
59    AjaxZip3.fpref = "";
60    AjaxZip3.faddr = "";
61    (function($){
62        if((typeof regval !== "undefined") && !regval.isvalid){
63            return;
64        }
65
66        var zipTop;
67        var zip = "";
68        if(zip1_name){
69            var zip1 = document.getElementsByName(zip1_name);
70            if(zip1){
71                zip += zip1[0].value;
72            }
73        }
74        if(zip2_name){
75            var zip2 = document.getElementsByName(zip2_name);
76            if(zip2){
77                zip += zip2[0].value;
78            }
79        }
80        if(zip != "" && zip.length > 2){
81            zipTop = zip.substr(0,3);
82        }
83
84        AjaxZip3.onFailure = null;
85        $.ajax( {
86            url: AjaxZip3.JSONDATA + "/" + zipTop + ".js",
87            type: 'GET',
88            success:function() {
89                AjaxZip3.zip2addr(zip1_name, zip2_name, address1_name, address2_name);
90                AjaxZip3.onFailure = function(){
91                    alert(errMsg);
92                }
93            },
94            error:function() {
95                alert(errMsg);
96            }
97        });
98    })(jQuery);
99}
100
101if((typeof(__nonMSDOMBrowser) !== 'undefined') && __nonMSDOMBrowser){
102    var agt = window.navigator.userAgent.toLowerCase();
103    if((agt.indexOf('msie') != -1) || (agt.indexOf('trident') != -1)){
104        __nonMSDOMBrowser = false;
105    }
106}
107
108(function($){
109document.addEventListener('dragover', function(event) {
110  event.preventDefault();
111  $('body:not(.modalFaq)').find('iframe[src^="/DesktopModules/TelerikWebUI/RadEditorProvider/Telerik.Web.UI.DialogHandler.aspx"]').each(function(){$(this).contents().find(".rfeDropZone").show();});
112});
113document.addEventListener('dragleave', function(event) {
114  var x = window.pageXOffset + window.innerWidth;
115  var y = window.pageYOffset + window.innerHeight;
116  if(event.pageX >= x || event.pageY >= y) {
117    hide();
118  }
119  if(event.pageX <= window.pageXOffset || event.pageY <= window.pageYOffset) {
120    hide();
121  }
122});
123document.addEventListener('drop', function(event) {
124  hide();
125});
126document.addEventListener('click', function(event) {
127  hide();
128});
129document.body.addEventListener("mouseleave", function() {
130  hide();
131}, false);
132function hide() {
133  $('body:not(.modalFaq)').find('iframe[src^="/DesktopModules/TelerikWebUI/RadEditorProvider/Telerik.Web.UI.DialogHandler.aspx"]').each(function(){$(this).contents().find(".rfeDropZone").hide();});
134}
135})(jQuery);
136
137function setCookieInfo(key, value, options) {
138    (function ($) {
139        $.removeCookie(key)
140        $.cookie(key, value, options);
141    })(jQuery);
142}
143
144//1秒後に一度だけ処理を実行する
145var postbackDisabled = false;
146function pageLoad(sender, args) {
147    postbackDisabled = false;
148}
149
150(function ($) {
151    $(function () {
152        $('form').on('submit', function () {
153            if (postbackDisabled) {
154                return false;
155            }
156            postbackDisabled = true;
157
158            setTimeout(function () {
159                postbackDisabled = false;
160            }, 1000);
161        });
162    });
163})(jQuery);
164

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.