1 2// cached javascript 3var MasterPage = { 4getCorpNo:function(key,callback,context){return new ajax_request(this.url + '?_method=getCorpNo&_session=r','key=' + enc(key),callback, context);}, 5url:'/ajax/Conduit.Website.MasterPage,Conduit.Website.ashx' 6} 7function HtmlControl(id) { 8 var ele = null; 9 if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); 10 if(ele == null) return null; 11 var _o = ele.cloneNode(true); 12 var _op = document.createElement('SPAN'); 13 _op.appendChild(_o); 14 this._source = _op.innerHTML; 15} 16HtmlControl.prototype.toString = function(){ return this._source; } 17 18function HtmlControlUpdate(func, parentId) { 19var f,i,ff,fa=''; 20var ele = document.getElementById(parentId); 21if(ele == null) return; 22var args = []; 23for(i=0; i<HtmlControlUpdate.arguments.length; i++) 24 args[args.length] = HtmlControlUpdate.arguments[i]; 25if(args.length > 2) 26 for(i=2; i<args.length; i++){fa += 'args[' + i + ']';if(i < args.length -1){ fa += ','; }} 27f = '{"invoke":function(args){return ' + func + '(' + fa + ');}}'; 28ff = null;eval('ff=' + f + ';'); 29if(ff != null && typeof(ff.invoke) == 'function') 30{ 31 var res = ff.invoke(args); 32 if(res.error != null){alert(res.error);return;} 33 ele.innerHTML = res.value; 34} 35} 36function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} 37TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} 38function digi(v, c){v = v + "";var n = "0000";if(v.length < c) return n.substr(0, c-v.length) + v;return v;} 39function DateTime(year,month,day,hours,minutes,seconds){if(year>9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} 40DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} 41function AjaxImage(url){var img=new Image();img.src=url;return img;} 42function _getTable(n,e){for(var i=0; i<e.Tables.length; i++){if(e.Tables[i].Name == n)return e.Tables[i];}return null;}
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.