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"); // 让Mozilla支持innerText try{ HTMLElement.prototype.__defineGetter__ ( 'innerText', function () { var anyString = ''; var childS = this.childNodes; for(var i=0; i_max) { var _lastN = (e.value.substr(_max-1, 2) == "\r\n"); if(_lastN) { e.value = e.value.substr(0, _max-1); _len-=2; }else{ e.value = e.value.substr(0, _max); } } if(_obj!=null) _obj.innerHTML = (_max-_len) -1){ if(value.charAt(iTemp) == w_space) { }else{ strTemp = value.substring(0,iTemp +1); break; } iTemp = iTemp-1; } return strTemp; }, // 去除左边空格 LTrim = function(value) { var w_space = String.fromCharCode(32); if(v_length document.body.offsetHeight){ // all but Explorer Mac xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // all except Explorer windowWidth = self.innerWidth; windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // Modify By Mudoo var visibleWidth, visibleHeight; visibleWidth = document.body.clientWidth; visibleHeight = document.body.clientHeight; // for small pages with total height less then height of the viewport if(yScroll maxX ? maxX : _mX; _mY = _mY>maxY ? maxY : _mY; style.left = _mX +'px'; style.top = _mY +'px'; } }; document.onmouseup = function() { if(dObj.releaseCapture) { dObj.releaseCapture(); }else if(window.captureEvents) { window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP); } document.onmousemove = null; document.onmouseup = null; document.ondragstart = null; document.onselectstart = null; document.onselect = null; } }; }, // 设置不透明度 setOpacity = function (obj,opacity) { if(opacity >=1 ) opacity = opacity / 100; try{obj.style.opacity = opacity; }catch(e){} try{if(obj.filters) obj.filters('alpha').opacity = opacity * 100;}catch(e){} }, // 显示隐藏元素 displayEle = function(obj, status) { obj = $(obj); if(obj==null) return; if(status==undefined) { obj.style.display = obj.style.display=='none' ? '' : 'none'; }else{ obj.style.display = (status) ? '' : 'none'; } }, // 初始化Select默认值 initSelect = function(_ele, _val) { _ele = $(_ele); if(_ele==null) return; var _ops = _ele.options; for(var i=0; i<_ops.length i if _ele true break displayselect="function(status)" var s="document.getElementsByTagName('select');" for status : appendelement="function(tagName," attribute strhtml refchild cele="document.createElement(tagName);" in cele.setattribute cele.innerhtml="strHtml;" refchild.appendchild return insertelement="function(tagName," refnode while _ refchild.nodetype refnode.insertbefore getlen="function(str)" str="str.replace(/\x00-\xff]/g," str.length sum="0;">=0) && (str.charCodeAt(i) 0; i--){ if (eventListeners[i] != undefined){ removeEventListenerIndex(i); } } }, // Open Dialog showDialogs = function(url,width,height) { var dialogWin = null; if(brower().isIE) { dialogWin = window.showModelessDialog(url,window, 'dialogWidth:'+width+'px;dialogHeight:'+height+'px;edge:Raised;center:1;help:0;status:0;resizable:1;'); }else{ var left = screen.availWidth/2 - width/2; var top = screen.availHeight/2 - height/2; dialogWin = window.open(url, "", "dependent=yes,width="+width+"px,height="+height+"px,left="+left+",top="+top); } return dialogWin; }, showDialog = function(url,width,height) { var dialogWin = null; if(brower().isIE) { dialogWin = window.showModalDialog(url,window, 'dialogWidth:'+width+'px;dialogHeight:'+height+'px;edge:Raised;center:1;help:0;resizable:1;'); }else{ var left = screen.availWidth/2 - width/2; var top = screen.availHeight/2 - height/2; dialogWin = window.open(url, "", "width="+width+"px,height="+height+",left="+left+",top="+top); function addFocus() { if(dialogWin.closed == false){ dialogWin.focus(); } } myAddEventListener(window, 'focus', addFocus); } return dialogWin; }, windowOpen = function(url,win,width,height) { return window.open(url,win,'width='+width+'px,height='+height+'px;toolbar=no,menubar=no,location=no,directories=no,status=yes'); }, // 弹出信息 M_Alert = function(msg, doMain) { try{ if(window.parent.popMsg != undefined) { try{ window.parent.frame.onLoad(); }catch(e){} window.parent.popMsg('alert', '系统提示', msg, doMain); }else{ try{ frame.onLoad(); }catch(e){} popMsg('alert', '系统提示', msg, doMain); } }catch(e){ alert(msg); try{ eval(doMain); }catch(e){} } }, // 确认操作 M_Confirm = function(e, msg, doMain) { e = e || event; e = e.target || e.srcElement; var eTag = LCase(e.tagName); if(eTag == 'a') { var href = e.getAttribute('href'); if(doMain==undefined) doMain = window != top ? 'oFrame.location="'+ href +'"' : 'window.location="'+ href +'"'; }else if(eTag == 'form') { if(doMain==undefined) doMain = window != top ? 'oFrame.'+ e.name +'.onsubmit="return true;"; oFrame.'+ e.name +'.submit();' : 'window.'+ e.name +'.onsubmit="return true"; window.'+ e.name +'.submit();'; } try{ if(window.parent.popMsg != undefined) { window.parent.popMsg('confirm', '系统提示', msg, doMain); }else{ popMsg('confirm', '系统提示', msg, doMain); } }catch(e){ if(confirm(msg)) { try{ eval(doMain); }catch(e){} } } return false; }; /* // Ajax类 Ajax = function(url, Syne) { var XMLHttp=null; var o=this; this.url=url; this.Syne=Syne; this.sendData = function(){ if (window.XMLHttpRequest) { XMLHttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttp = new ActiveXObject('Microsoft.XMLHTTP'); } with(XMLHttp){ open('GET', this.url, this.Syne); onreadystatechange = this.CallBack; send(null); } } this.CallBack=function(){ if (XMLHttp.readyState == 4) { if(XMLHttp.status == 200 || XMLHttp.status==0) { // }else{ urlError(XMLHttp.status); } } } this.getText=function(){ if (XMLHttp==null) {return '还没加载 XMLHttpRequest';} if (XMLHttp.readyState==4) {return XMLHttp.responseText;} return XMLHttp.readyState; } }, */ } /* FILE ARCHIVED ON 10:59:59 Sep 24, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 12:40:25 Apr 10, 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.748 exclusion.robots: 0.04 exclusion.robots.policy: 0.025 esindex: 0.014 cdx.remote: 12.928 LoadShardBlock: 536.19 (3) PetaboxLoader3.datanode: 368.545 (4) PetaboxLoader3.resolve: 480.837 (2) load_resource: 359.399 */