var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /// /// var host = location.href; var beforName = host.substring(0, host.lastIndexOf('/')); String.prototype.replaceAll = function(reallyDo, replaceWith, ignoreCase) { if (!RegExp.prototype.isPrototypeOf(reallyDo)) { return this.replace(new RegExp(reallyDo, (ignoreCase ? "gi" : "g")), replaceWith); } else { return this.replace(reallyDo, replaceWith); } }; function CurentTimeToMinute() { var now = new Date(); var year = now.getFullYear(); //骞? var month = now.getMonth() + 1; //鏈? var day = now.getDate(); //鏃? var hh = now.getHours(); //鏃? var mm = now.getMinutes(); //鍒? var clock = year + "-"; if (month < 10) clock += "0"; clock += month + "-"; if (day < 10) clock += "0"; clock += day + " "; if (hh < 10) clock += "0"; clock += hh + ":"; if (mm < 10) clock += '0'; clock += mm; return (clock); } function CurentTimeToDay() { var now = new Date(); var year = now.getFullYear(); //骞? var month = now.getMonth() + 1; //鏈? var day = now.getDate(); //鏃? var clock = year + "-"; if (month < 10) clock += "0"; clock += month + "-"; if (day < 10) clock += "0"; clock += day + " "; return (clock); } function RndNum(n) { var rnd = ""; for (var i = 0; i < n; i++) rnd += Math.floor(Math.random() * 10); return rnd; } String.prototype.Trim = function () { return this.replace(/(^\s*)|(\s*$)/g, ""); }; String.prototype.LTrim = function () { return this.replace(/(^\s*)/g, ""); }; String.prototype.RTrim = function () { return this.replace(/(\s*$)/g, ""); }; (function($){ $.getUrlParam = function(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } })(jQuery); function populate(frm, data) { $.each(data, function (key, value) { var $ctrl = $('[name=' + key + ']', frm); switch ($ctrl.attr("type")) { case "text": case "hidden": $ctrl.val(value); break; case undefined: if ($ctrl.is('textarea')) $ctrl.val(value); break; case "radio": case "checkbox": $ctrl.each(function () { if ($(this).attr('value') == value) { $(this).attr("checked", value); } }); break; } }); } } /* FILE ARCHIVED ON 03:09:00 Dec 03, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:02:44 Jul 29, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.485 exclusion.robots: 0.027 exclusion.robots.policy: 0.017 esindex: 0.011 cdx.remote: 294.798 LoadShardBlock: 2313.694 (3) PetaboxLoader3.datanode: 2324.77 (5) PetaboxLoader3.resolve: 348.063 (3) load_resource: 556.429 (2) */