⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logger.js

📁 //--- 开发背景------------// 在javascript开发过程中
💻 JS
📖 第 1 页 / 共 3 页
字号:
Dewind=(function(){var j=1;var k=(function(){var b=[],c,d,e,f,g,h=function(){e=true;clearInterval(c);while(f=b.shift()){f()}if(d){d.onreadystatechange=""}};return function(a){if(e){return a()}if(!b[0]){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h,false)}/*@cc_on@*//*@if(@_win32)document.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");d=document.getElementById("__ie_onload");d.onreadystatechange=function(){if(this.readyState=="complete")h()};/*@end@*/if(/WebKit/i.test(navigator.userAgent)){c=setInterval(function(){if(/loaded|complete/.test(document.readyState)){h()}},10)}g=window.onload;window.onload=function(){h();if(g){g()}}}b.push(a)}})();function dewind_addEvent(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else{if(!c.$$guid){c.$$guid=j++}if(!a.events){a.events={}}var d=a.events[b];if(!d){d=a.events[b]={};if(a["on"+b]){d[0]=a["on"+b]}}d[c.$$guid]=c;a["on"+b]=handleEvent}}function dewind_addEvent_props(a,b){for(var c in b){dewind_addEvent(a,c,b[c])}}function dewind_removeEvent_props(a,b){for(var c in b){dewind_removeEvent(a,c,b[c])}}function dewind_removeEvent(a,b,c){if(a.removeEventListener){a.removeEventListener(b,c,false)}else{if(a.events&&a.events[b]){delete a.events[b][c.$$guid]}}}function handleEvent(a){var b=true;a=a||fixEvent(((this.ownerDocument||this.document||this).parentWindow||window).event);var c=this.events[a.type];for(var i in c){this.$$handleEvent=c[i];if(this.$$handleEvent(a)===false){b=false}}return b}function fixEvent(a){a.preventDefault=fixEvent.preventDefault;a.stopPropagation=fixEvent.stopPropagation;return a}fixEvent.preventDefault=function(){this.returnValue=false};fixEvent.stopPropagation=function(){this.cancelBubble=true};return{addLoadedEvent:k,addEvent:dewind_addEvent,addEventProps:dewind_addEvent_props,removeEvent:dewind_removeEvent,removeEventProps:dewind_removeEvent_props}})();var WE=["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u65e5"];var SJ=["\u6625","\u590f","\u79cb","\u51ac"];var BR="\r\n";Date.prototype.format=function(a){var o={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":SJ[Math.floor((this.getMonth()+3)/3)-1],"S":this.getMilliseconds(),"W":WE[(this.getDay()==0)?6:this.getDay()-1]};if(/(y+)/.test(a)){a=a.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))}for(var k in o){if(new RegExp("("+k+")").test(a)){a=a.replace(RegExp.$1,RegExp.$1.length==1?o[k]:("00"+o[k]).substr((""+o[k]).length))}}return a};var _0=(navigator.appName=="Netscape")?true:false;var _1=(document.layers)?true:false;if(typeof($Log)=="undefined"){$Log=(function(){var B=600,C=200;var D=340,E=200;var F=null,G=null,H=null,I=null;var J="",K=0;var L,M,N,O,P,Q,R,S,T;var U,V,W,X,Y,Z,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk;var bl=new $ContextMenu("cMenuJavascriptLog");var bm=new Array(),bn=new Array();var bo={isdebug:true,iscn:true,isflod:false,ismax:false,isloaded:false,israndom:false,isGrid:false,isSimple:false,supportTime:false,supportSkin:false,supportHighlighter:true,supportSuspend:true,supportContextmenu:true,supportCookie:true,supportBuffereffect:false};var bp=function(a,b,c){var d=a.id?a.id:("_"+Math.random()+"_").replace("0.","_");var e=(a==window)?"window":(a==document)?"document":d;a.id=e;Dewind.addEvent(a,b,c);bn.push({elemid:e,guid:c.$$guid,type:b});a=null},bq=function(){if(!bn){return}var a=null;while(a=bn.shift()){var b=(a.elemid=="window")?window:(a.elemid=="document")?document:br(a.elemid);if(b){Dewind.removeEvent(b,a.type,b.events[a.type][a.guid])}}},br=function(a){return document.getElementById?document.getElementById(a):eval(a)},bs=function(d){function createLocalStr(a,b,c){return(c?"":"[")+(d?a:b)+(c?"":"]")}return{debugBlog:createLocalStr("\u521b\u610f\u65e0\u9650","Originality"),debugClear:createLocalStr("\u6e05\u9664\u4fe1\u606f","ClearInfo"),debugMove:createLocalStr("\u81ea\u7531\u5f0f\u79fb\u52a8","MoveConsole(Free)"),debugGridMove:createLocalStr("\u7f51\u683c\u5f0f\u79fb\u52a8","MoveConsole(Grid)"),debugVer:" "+createLocalStr("\u7cbe\u81f4\u751f\u6d3b\u6bcf\u4e00\u5929!","Exquisite life!",true),debugUpH:createLocalStr("\u589e\u5927\u9ad8\u5ea6","UpHeight"),debugMiH:createLocalStr("\u51cf\u5c0f\u9ad8\u5ea6","MiHeight"),debugSTi:createLocalStr("\u5207\u6362\u65f6\u523b(\u663e\u793a)","To-time(Show)"),debugHTi:createLocalStr("\u5207\u6362\u65f6\u523b(\u9690\u85cf)","To-time(Hide)"),debugLoCN:createLocalStr("(\u4e2d\u6587)","To-language(CN)"),debugLoEN:createLocalStr("\u5207\u6362\u8bed\u8a00(\u82f1\u6587)","EN"),debugReload:createLocalStr("\u5237\u65b0url\u9875\u9762","ReloadPage"),debugFold:createLocalStr("\u6298\u53e0","Flod"),debugUnFold:createLocalStr("\u5c55\u5f00","Unflod"),debugMAX:createLocalStr("\u6700\u5927\u5316","Max"),debugClose:createLocalStr("\u5173\u95ed","Close"),debugRE:createLocalStr("\u8fd8\u539f","Re"),debugHelp:createLocalStr("\u5e2e\u52a9...","Help..."),debugAbout:createLocalStr("\u5173\u4e8e","About"),debugAboutAlt:createLocalStr("\u5173\u4e8e\u6211...","About Me..."),debugSkinRandom:createLocalStr("\u5207\u6362\u80a4\u8272(\u968f\u673a)","To-skin(Random)"),debugSkinLocked:createLocalStr("\u5207\u6362\u80a4\u8272(\u9501\u5b9a)","To-skin(Lock)"),echoText:function(a,b){var c=br(a);if(c){c.innerText=b}},echoAlt:function(a,b){var c=br(a);if(c){c.title=b}}}},bt=function(a){for(var i=0;i<a.length;i++){var b=br(a[i]);var c=b.className;if(c.indexOf("logMenuItemDisabled")!=-1){b.className=c.replace("logMenuItemDisabled","")}else{b.className=c.replace(/(\s*$)/g,"")+" logMenuItemDisabled"}}},bu=function(){var a=bs(bo.iscn);a.echoText(V,bo.iscn?a.debugLoEN:a.debugLoCN);a.echoText(U,bo.supportTime?a.debugHTi:a.debugSTi);a.echoText(X,bo.isGrid?a.debugGridMove:a.debugMove);a.echoText(ba,a.debugVer);a.echoText(W,a.debugClear);a.echoText(bb,"q");a.echoAlt(bb,a.debugReload);a.echoText(Y,a.debugUpH);a.echoText(Z,a.debugMiH);a.echoText(bd,bo.isflod?"6":"4");a.echoAlt(bd,bo.isflod?a.debugUnFold:a.debugFold);a.echoText(bf,bo.ismax?"2":"1");a.echoText(bk,bo.israndom?"x":"`");a.echoAlt(bk,bo.israndom?a.debugSkinLocked:a.debugSkinRandom);a.echoText(bi,"r");a.echoText(bh,"s");a.echoText(bg,"@");a.echoText(bc,"/");a.echoAlt(bi,a.debugClose);a.echoAlt(bh,a.debugHelp);a.echoAlt(bf,bo.ismax?a.debugRE:a.debugMAX);a.echoAlt(bj,a.debugAboutAlt);a.echoText(bj,a.debugAbout)},bv=function(a){if(a){H=new a()}},bw=function(a){if(a){I=new a(B,C)}},bx=function(a){F=a},by=function(a){if(a){G=new a("xhtml")}},bz=function(){var a=document.getElementsByTagName("script");for(var i=0;i<a.length;i++){var b=a[i];var c=b.src;if(c!=null&&c!=""){var d=c.indexOf("logger");if(d>=0){bo.isdebug=((b.getAttribute("enabled")=="false")?false:true);if(bo.isdebug){bo.supportTime=((b.getAttribute("time")=="true")?true:bo.supportTime);J=((b.getAttribute("url"))?b.getAttribute("url"):"");bo.iscn=(b.getAttribute("lang")=="en")?false:bo.iscn;bo.supportSkin=(b.getAttribute("skin")=="true")?true:bo.supportSkin;bo.supportHighlighter=(b.getAttribute("highlighter")=="false")?false:bo.supportHighlighter;bo.supportSuspend=(b.getAttribute("suspended")=="false")?false:bo.supportSuspend;bo.supportContextmenu=(b.getAttribute("contextmenu")=="false")?false:bo.supportContextmenu;bo.supportCookie=(b.getAttribute("cookie")=="false")?false:bo.supportCookie;bo.supportBuffereffect=(b.getAttribute("buffereffect")=="true")?true:bo.supportBuffereffect;bo.isSimple=(b.getAttribute("simplemode")=="true")?true:bo.isSimple;if(H){var e=((d==0)?"":c.substr(0,d));var f=H.cssRegist(e+"logger.css");H.insertAfter(f,a[i])}if(bo.supportHighlighter&&G){var e=((d==0)?"":c.substr(0,d));var h=H.scrRegist(e+G.fileName);H.insertAfter(h,a[i])}}return bo.isdebug}}}return false},bA=function(a,b){var c=br(L);if(c){if(!c.style.height){return}var d=parseInt(c.style.height.replace("px",""));var e=document.body.clientHeight;var f=d+a;if(f+50>e||f<C){return false}if(typeof b=="undefined"){c.style.height=f+"px"}P=(1-f/e);Q=f;return true}},bB=function(d,e,f){var g=document.createElement(d);g.style.cursor=e;g.id=("_"+Math.random()+"_").replace("0.","_");function isNotSupportEvent(a){var b=a||window.event;var c=b.srcElement||b.target;return((bo.ismax&&(c.id==X||c.id==Y||c.id==Z||c.id==bd))||(bo.isflod&&(c.id==bf||c.id==Y||c.id==Z||c.id==bd||(bo.isGrid&&c.id==X))))}bp(g,"mousemove",function(a){if(isNotSupportEvent(a)){return}this.style.color="#FF4500";this.style.backgroundColor="yellow"});bp(g,"mouseout",function(a){if(isNotSupportEvent(a)){return}this.style.color="";this.style.backgroundColor=""});return g},bC=function(){bL(BR+"\u76f8\u5173API\u4ecb\u7ecd");bL("--------------------------------------------------------------------");bL("01.\u8f93\u51fa\u4fe1\u606f\u5230\u63a7\u5236\u53f0","lightslategray");bL("\u2192 $Log.loginfo(msg,color)","white");bL("02.javascript\u6027\u80fd\u6d4b\u8bd5","lightslategray");bL("\u2192 $PF.begin();//\u5f00\u59cb","white");bL("\u2192 $PF.end(msg);//\u7ed3\u675f","white");bL("03.javascript\u51fd\u6570\u8c03\u7528\u6808","lightslategray");bL("\u2192 $FT.show();","white");bL("04.\u65e5\u671f\u683c\u5f0f\u5316","lightslategray");bL("\u2192 var d= new Date();","white");bL("\u2192 d.format(\"yyyy/MM/dd hh:mm:ss S\")","white");bL("05.\u4e8b\u4ef6\u6ce8\u518c","lightslategray");bL("\u2192 Dewind.addEvent(element, type, handler);","white");bL("06.\u4e8b\u4ef6\u6ce8\u9500","lightslategray");bL("\u2192 Dewind.removeEvent(element, type, handler);","white");bL("07.DOM\u52a0\u8f7d\u5b8c\u6bd5","lightslategray");bL("\u2192 Dewind.addLoadedEvent(initializeHandler);","white");bL("08.\u5c42\u7f13\u51b2\u6548\u679c","lightslategray");bL("\u2192 $OpenLayer(divID,width,height);","white");bL("09.\u62d6\u653e\u5c42\u7ec4\u4ef6","lightslategray");bL("\u2192 var drapProcessor = new $dragComponent(width,height);","white");bL("\u2192 Dewind.addEvent(divObj,\"mousedown\",drapProcessor);","white");bL("10.\u8fdb\u5ea6\u6761\u7ec4\u4ef6","lightslategray");bL("\u2192 var iBar = new $BarStatus(divObj);","white");bL("\u2192 iBar.start('ibStatus begin');","white");bL("\u2192 for(var k=0;k<=100;k++){","white");bL("\u2192 iBar.run(k/100,\"Message\");","white");bL("\u2192 }","white");bL("\u2192 iBar.stop('done');","white");bL("11.AJAX URL\u7ec4\u4ef6","lightslategray");bL("\u2192 $AjaxUrl(\"http://www.baidu.com\")($Log.loginfo);","white");bL(BR+"\u63a7\u5236\u53f0\u64cd\u7eb5\u5feb\u6377\u952e");bL("--------------------------------------------------------------------");bL("ctrl+shift+d : \u5728\u63a7\u5236\u53f0\u8f93\u51fa\u5f53\u524d\u6d3b\u52a8\u5143\u7d20\u7684SourceCode","lightslategray");bL("ctrl+shift+s : \u663e\u793a\u63a7\u5236\u53f0","lightslategray");bL("ctrl+shift+a : \u9690\u85cf\u63a7\u5236\u53f0","lightslategray");bL(BR+"JS\u6027\u80fd\u6d4b\u8bd5\u7ec4\u4ef6");bL("--------------------------------------------------------------------");bL("1.\u4f7f\u7528\u65b9\u6cd5:","lightslategray");bL("\u5728\u4efb\u610fjavascript\u51fd\u6570\u4e2d\u52a0\u5165\u5982\u4e0b\u4ee3\u7801","lightslategray");bL("$PF.begin();","white");bL("$PF.begin();","white");bL("//task1: do something ","white");bL("$PF.end(\"task1\",\"white\");","white");bL("$PF.begin();","white");bL("//task2: do something ","white");bL("$PF.end(\"task2\",\"white\");","white");bL("$PF.end(\"task1+task2\",red);","white");bL("2.\u6d4b\u8bd5\u7ed3\u679c:","lightslategray");bL("\u4fbf\u53ef\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u5bf9\u5e94\u7684\u4ee3\u7801\u5757\u6267\u884c\u8fc7\u7a0b\u4e2d\u6240\u8017\u8d39\u7684\u65f6\u95f4","lightslategray");bL("[task1] execute-time:15 ms","white");bL("[task2] execute-time:5 ms","white");bL("[task1+task2] execute-time:20 ms","red");bL(BR+"\u8f93\u51fa\u51fd\u6570\u8c03\u7528\u6808\u7ec4\u4ef6");bL("--------------------------------------------------------------------");bL("\u5728\u4efb\u610fjavascript\u51fd\u6570\u4e2d\u52a0\u5165\u4ee3\u7801","lightslategray");bL("$FT.show();","lightslategray");bL("\u4fbf\u53ef\u5728\u63a7\u5236\u53f0\u4e2d\u8f93\u51fa\u8be5\u51fd\u6570\u7684\u8c03\u7528\u6808,\u8f93\u51fa\u7ed3\u679c\u5f62\u5982:","lightslategray");bL("[ Begin$ ] \u2192 anonymous() \u2192 test(a,b,c) \u2192 testDate(d,e,f) \u2192 [ $End ] ","lightslategray");bL(BR+"\u63a7\u5236\u53f0\u79fb\u52a8\u5feb\u6377\u952e");bL("--------------------------------------------------------------------");bL("\u2191\u4e0a \u2190\u5de6 \u2193\u4e0b \u2192\u53f3")},bD=function(a,b,c,d,e,f){var g=document.createElement("LI");if(a){var h=br(a);if(a==X){var i=bs(bo.iscn);g.appendChild(document.createTextNode(bo.isGrid?i.debugMove:i.debugGridMove))}else{g.appendChild(document.createTextNode(c?h.title:h.innerHTML))}if(d){g.appendChild(document.createTextNode("("));var j=document.createElement("SPAN");j.innerText=d;g.appendChild(j);g.appendChild(document.createTextNode(")"))}if(e){g.appendChild(document.createTextNode(" "+e))}if(f){g.setAttribute("menuStatus","disabled")}else{g.setAttribute("menuStatus","enabled")}g.className="cmenuItem";Dewind.addEvent(g,"click",b)}else{g.className="logMenuSeparator"}return g},bE=function(){var a=document.createElement("UL");a.appendChild(bD(W,bG.jsl_clearInfo,false,"C"));a.appendChild(bD());a.appendChild(bD(V,bG.jsl_refershLanguage,false,"L"));a.appendChild(bD(U,bG.jsl_refeshshowtime,false,"T"));a.appendChild(bD());a.appendChild(bD(X,bG.jsl_changeMove,false,"V",null,bo.isSimple));a.appendChild(bD());a.appendChild(bD(Y,bG.jsl_upHeight,false,"U",null,bo.ismax||bo.isflod));a.appendChild(bD(Z,bG.jsl_miHeight,false,"M",null,bo.ismax||bo.isflod));if(bo.supportSkin){a.appendChild(bD());a.appendChild(bD(bk,bG.jsl_switchSkin,true,"S"))}a.appendChild(bD());a.appendChild(bD(bf,bG.jsl_maxmin,true,"Z",null,bo.isflod));a.appendChild(bD(bd,bG.jsl_refershFlod,true,"F",null,bo.ismax));a.appendChild(bD());a.appendChild(bD(bj,bG.jsl_about,true,"A"));a.appendChild(bD(bh,bG.jsl_showHelp,true,"H"));a.appendChild(bD());a.appendChild(bD(bi,bG.jsl_closeConsole,true,"X","Ctrl+Shift+A"));return a},bF=function(){var a=br("loggerMessageCount");a.innerHTML=K},bG={jsl_clearInfo:function(){var a=br("logConsoleUl");if(!a){return}var b=a.getElementsByTagName("LI");var c=b.length;while(--c>=0){if(b[c].className!="JSLogKeeper"){b[c].parentNode.removeChild(b[c])}}K=b.length;bF()},jsl_showContextmenu:function(a){bl.reBuildContextMenu(true,bE,bo,a)},jsl_hideContextmenu:function(a){var b=a||window.event;var c=b.srcElement||b.target;if(c.getAttribute("menuStatus")=="disabled"||c.parentNode.getAttribute("menuStatus")=="disabled"){}else{bl.reBuildContextMenu(false)}},jsl_refershLanguage:function(){bo.iscn=bo.iscn?false:true;bu()},jsl_changeMove:function(){if(bo.isSimple){return}bo.isGrid=bo.isGrid?false:true;var a=bs(bo.iscn);a.echoText(X,bo.isGrid?a.debugGridMove:a.debugMove);I.setGridmodel(bo.isGrid);if(bo.isflod){bt([X])}},jsl_refershFlod:function(){if($OpenLayer.running||bo.ismax){return}bo.isflod=bo.isflod?false:true;var h=bo.isflod?(_0?0:2):Q;if(bo.supportBuffereffect&&typeof($OpenLayer)!="undefined"&&!bo.isflod){var a=new $OpenLayer(L,null,h);a.run()}else{br(L).style.height=h+"px"}P=1-h/document.body.clientHeight;var b=bs(bo.iscn);b.echoText(bd,bo.isflod?"6":"4");b.echoAlt(bd,bo.isflod?b.debugUnFold:b.debugFold);var c=[Y,Z,bf,bc];if(bo.isGrid){c.push(X)}bt(c)},jsl_refeshshowtime:function(){bo.supportTime=bo.supportTime?false:true;var a=bs(bo.iscn);a.echoText(U,(bo.supportTime?a.debugHTi:a.debugSTi))},jsl_upHeight:function(){if($OpenLayer.running||bo.ismax||bo.isflod){return}bA(88);bI()},jsl_miHeight:function(){if($OpenLayer.running||bo.ismax||bo.isflod){return}bA(-88);bI()},jsl_maxmin:function(){if($OpenLayer.running||bo.isflod){return}bo.ismax=bo.ismax?false:true;var a=br(N);var b=br(L);if(bo.ismax){S=a.style.left;T=a.style.top;a.style.left="10px";a.style.top=(document.body.scrollTop+20)+"px";P=0;R=b.style.width;var c=document.body.clientHeight-80;var d=document.body.clientWidth-50;if(bo.supportBuffereffect&&typeof($OpenLayer)!="undefined"){var e=new $OpenLayer(L,d,c);e.run()}else{b.style.height=c+"px";b.style.width=d+"px"}}else{b.style.height=Q+"px";b.style.width=R;a.style.left=S;a.style.top=T;P=1-Q/document.body.clientHeight}var f=bs(bo.iscn);f.echoText(bf,bo.ismax?"2":"1");f.echoAlt(bf,bo.ismax?f.debugRE:f.debugMAX);bt([Y,Z,bd,X,bc])},jsl_closeConsole:function(){var a=br(N);if(a){a.style.display="none"}},jsl_showHelp:bC,jsl_about:function(){bL(BR+"\u521b\u610f\u65e0\u9650\u4e4bJavascript\u65e5\u5fd7\u5de5\u5177");bL("\u9879\u76ee\u53d1\u5e03 : http://code.google.com/p/dewind/","#FAEBD7");bL("\u6700\u65b0\u4e0b\u8f7d : http://public.box.net/jzshmyt","#FAEBD7");bL("\u4f7f\u7528\u8bf4\u660e : http://jzshmyt.spaces.live.com","#FAEBD7");bL("Mail:yjz_ok@163.com  Msn:yjz_ok@hotmail.com QQ:450353251","#EE82EE");bL("\u7cbe\u81f4\u751f\u6d3b\u6bcf\u4e00\u5929(\u653e\u4e0b\u81ea\u6211,\u62e5\u6709\u4e16\u754c)")},jsl_switchSkin:function(a){if(bo.supportSkin){bo.israndom=bo.israndom?false:true;bl.$$random=bo.israndom;var b=bs(bo.iscn);b.echoText(bk,bo.israndom?"x":"`");b.echoAlt(bk,bo.israndom?b.debugSkinLocked:b.debugSkinRandom)}},jsl_shortKeyProc:function(a){var e=a||window.event;var b=_1?e.which:e.keyCode;var c=br(N).style;if(e.ctrlKey&&e.shiftKey){var d=document.activeElement;if(b==68&&d){var f=d.outerHTML;var g=br(L);if(bo.supportHighlighter&&G){var h=br("logConsoleUl");h.appendChild(G.execute(f));g.scrollTop=g.scrollHeight}else{bL(f,"slategray")}if(g){g.scrollTop=g.scrollHeight}}else{if(b==83){if($OpenLayer.running){return}if(c.display=="none"){c.display="block";if(bo.supportBuffereffect){var i=new $OpenLayer(L);i.run()}}}else{if(b==65){c.display="none"}}}}if(bl.$$isshow){var j=true;switch(b){case 67:bG.jsl_clearInfo();break;case 84:bG.jsl_refeshshowtime();break;case 76:bG.jsl_refershLanguage();break;case 85:bG.jsl_upHeight();break;case 77:bG.jsl_miHeight();break;case 90:bG.jsl_maxmin();break;case 70:bG.jsl_refershFlod();break;case 72:bG.jsl_showHelp();break;case 88:bG.jsl_closeConsole();break;case 83:bG.jsl_switchSkin();break;case 86:bG.jsl_changeMove();break;case 65:bG.jsl_about();break;default:j=false}if(bo.supportContextmenu&&j){bG.jsl_hideContextmenu()}}},jsl_keyMoveConsole:function(a){if(bo.ismax){return}var e=a||window.event;var b=_1?e.which:e.keyCode;var c=br(N).style;var d=parseInt(c.top.replace("px",""));var f=parseInt(c.left.replace("px",""));var g=40,h=true;switch(b){case 37:c.left=(f-g)+"px";break;case 38:c.top=(d-g)+"px";break;case 39:c.left=(f+g)+"px";break;case 40:c.top=(d+g)+"px";break;default:h=false}if(h){bI()}},jsl_drapProc:function(a){if(bo.ismax||(bo.isflod&&bo.isGrid)){return}I.down.call(this,a,L,X)},jsl_resizeProc:function(a){if(bo.supportContextmenu){document.oncontextmenu=function(){return false}}if($OpenLayer.running||bo.ismax||bo.isflod){return}I.resize.call(this,a,L)},jsl_unresizeProc:function(){if(bo.supportContextmenu){document.oncontextmenu=function(){return true}}if($OpenLayer.running||bo.ismax||bo.isflod){return}var a=br(L);a.style.border="dotted 2px #DCDCDC"},jsl_syncScroll:function(a){a=a||window.event;var b=br(N);if(b){var c=document.body.scrollTop+20;var d=document.body.scrollTop+(document.body.clientHeight-100)*P;var e=b.style.top.replace("px","");if(e<c){b.style.top=c+"px"}if(e>d){b.style.top=d+"px"}}}},bH=function(){var b=document.createElement("FIELDSET");var c=document.createElement("LEGEND");var d=document.createElement("LEGEND");var e=document.createElement("DIV");var f=document.createElement("UL");var g=bB("SPAN","pointer");W=g.id;var h=bB("SPAN","crosshair");X=h.id;var i=bB("SPAN","pointer");Y=i.id;var j=bB("SPAN","pointer");Z=j.id;var k=bB("SPAN","pointer");U=k.id;var l=bB("SPAN","pointer");V=l.id;var m=bB("A","pointer");ba=m.id;var n=bB("A","pointer");bd=n.id;var o=bB("SPAN","pointer");bg=o.id;var p=bB("SPAN","pointer");bf=p.id;var q=bB("SPAN","pointer");bi=q.id;var r=bB("SPAN","pointer");bh=r.id;var s=bB("SPAN","default");bc=s.id;var t=bB("SPAN","pointer");bj=t.id;var u=bB("SPAN","pointer");bk=u.id;b.className="logConsole";f.id="logConsoleUl";p.className=n.className=q.className=r.className=o.className=u.className="logMark";m.href="http://public.box.net/jzshmyt";m.target="blank";t.style.display="none";if(bo.isSimple){i.style.display=j.style.display=k.style.display=l.style.display=s.style.display="none";I.setSize(D,E)}L=e.id=("_"+Math.random()+"_").replace("0.","_");N=b.id=("_"+Math.random()+"_").replace("0.","_");e.className="logHistory";var v=document.createElement("SPAN");v.id="loggerMessageCount";d.appendChild(document.createTextNode("[ InfoCount:"));d.appendChild(v);d.appendChild(document.createTextNode(" ] "));if(!bo.isSimple){d.appendChild(document.createTextNode("Copyright(c) 2007-2008,"))}d.appendChild(m);if(!bo.isSimple){d.appendChild(document.createTextNode(" Inc. All rights reserved."))}d.align="right";d.style.cursor="default";d.onselectstart=function(){return false};c.appendChild(n);c.appendChild(h);c.appendChild(i);c.appendChild(s);c.appendChild(j);c.appendChild(g);c.appendChild(k);c.appendChild(l);c.appendChild(t);c.appendChild(document.createTextNode("    "));if(bo.supportContextmenu&&bo.supportSkin){c.appendChild(u);c.appendChild(document.createTextNode(" "))}c.appendChild(r);c.appendChild(document.createTextNode(" "));c.appendChild(p);c.appendChild(document.createTextNode(" "));c.appendChild(q);if(bo.supportContextmenu){c.appendChild(document.createTextNode(" "));c.appendChild(o)}c.onselectstart=function(){return false};e.appendChild(f);b.appendChild(c);b.appendChild(e);b.appendChild(d);if(J&&F){var w=new F(J);var x=bB("A","pointer");bb=x.id;x.className="logMark";c.appendChild(document.createTextNode(" "));c.appendChild(x);bp(x,"click",function(){var a=br(M);if(a){a.innerHTML=J+" loading...";w(bP)}});var y=document.createElement("DIV");M=y.id=("_"+Math.random()+"_2").replace("0.","_");y.style.height=((document.body.clientHeight-88)*0.7)+"px";y.style.overflow="auto";y.innerHTML=J+" loading...";var z=document.createElement("LEGEND");var A=document.createElement("FIELDSET");z.innerText="targetPage";A.appendChild(z);A.appendChild(y);document.body.appendChild(A);w(bP)}bp(g,"click",bG.jsl_clearInfo);bp(l,"click",bG.jsl_refershLanguage);bp(n,"click",bG.jsl_refershFlod);bp(k,"click",bG.jsl_refeshshowtime);bp(i,"click",bG.jsl_upHeight);bp(j,"click",bG.jsl_miHeight);bp(p,"click",bG.jsl_maxmin);bp(q,"click",bG.jsl_closeConsole);bp(r,"click",bG.jsl_showHelp);bp(u,"click",bG.jsl_switchSkin);bp(document,"keydown",bG.jsl_shortKeyProc);if(bo.supportSuspend){bp(window,"scroll",bG.jsl_syncScroll)}if(bo.supportContextmenu){bp(document,"click",bG.jsl_hideContextmenu);bp(o,"mouseover",bG.jsl_showContextmenu);bp(b,"contextmenu",bG.jsl_showContextmenu)}if(I){bp(b,"mousedown",bG.jsl_drapProc)}bp(b,"keydown",bG.jsl_keyMoveConsole);bp(b,"mousemove",bG.jsl_resizeProc);bp(b,"mouseout",bG.jsl_unresizeProc);document.body.appendChild(b);if(_1){document.captureEvents(Event.KEYDOWN|Event.KEYUP)}},bI=function(){if(!bo.supportCookie||bo.isflod){return}var a=br(N);var b=br(L);var c=a.style.top+":"+a.style.left;var d=b.style.height+":"+b.style.width;document.cookie="javascriptLog="+escape(c+":"+d)},bJ=function(){var a=br(N);var b=br(L);a.style.position="absolute";var c=document.cookie;var d=c.indexOf("javascriptLog=");if(bo.supportCookie&&c&&d!=-1){var e=d+"javascriptLog=".length;var f=c.indexOf(";",e);var g=(f!=-1)?c.substring(e,f):c.substring(e);g=unescape(g);var h=g.split(":");b.style.height=h[2];b.style.width=h[3];a.style.top=h[0];a.style.left=h[1];bA(0)}else{var i=document.body.clientHeight-88;var j=document.body.clientWidth;if(bo.isSimple){b.style.height=E+"px";b.style.width=D+"px";a.style.top="200px";a.style.left="500px"}else{var k=C-60;b.style.height=((i*0.3)<k?k:(i*0.3))+"px";b.style.width=((j*0.58)<B?B:(j*0.58))+"px";a.style.top=(i*0.6)+"px";a.style.left=(j*0.38)+"px";bA(60)}}},bK=function(e,f){if(bo.isdebug){var g=br(L);var h=br("logConsoleUl");if(typeof(f)==="undefined"){f="yellow"}var i=document.createElement("LI");i.onclick=function(){this.style.backgroundColor=(this.style.backgroundColor==""?"#191970":"");this.className=(this.className==""?"JSLogKeeper":"")};i.style.color=f;h.appendChild(i);var j=bo.supportTime?("\uffe1"+(new Date()).format("hh:mm:ss")+" \uffe0 "):"";if(typeof(e)==="object"){if(e!==null&&e.constructor===Array){e=("arrayLength : "+e.length+BR+"arrayContent : [ "+e.join(", ")+" ]")}else{if(e!==null&&e.constructor===Object){var k="";e=(function(a){k+="~~~";var b=0,c="{"+BR;for(var p in a){b++;var d=(k+(b<10?("0"+b):b)+"."+p);if(a[p]!==null&&a[p].constructor===Object){c+=(d+"="+arguments.callee(a[p]))}else{c+=(d+"="+a[p]+BR)}}c=c+"}"+BR;return c})(e)}else{e=e+""}}}if(typeof(e)==="function"){e=e.toString()}if(typeof(e)==="string"){if(e==""){e=BR}var l=e.replace(/>/g,">\n").split(/\n/g),m;var n=document.createDocumentFragment();while((m=l.shift())||l.length>0){n.appendChild(document.createTextNode(j+m));n.appendChild(document.createElement("BR"))}i.appendChild(n);g.scrollTop=g.scrollHeight}else{i.appendChild(document.createTextNode(j+e));i.appendChild(document.createElement("BR"))}g.scrollTop=g.scrollHeight;K++;bF()}return true},bL=function(a,b){if(!bo.isdebug){return}bo.isloaded?bK(a,b):bm.push({"m":a,"c":b})},bM=function(){if(!_0){bq()}bn=null;bm=null;O=null},bN=function(a,b,l){bL("There was an error on this page.","FF6347");bL("Error: "+a,"#FFFF00");bL("URL: "+b,"#FF6347");bL("Line: "+l,"#FFFF00");return true},bO=function(){var a=bz();if(a){bH();bJ();if(bo.supportBuffereffect){var b=new $OpenLayer(L,null,null,bu);b.run()}else{bu()}var c;while(c=bm.shift()){bK(c.m,c.c)}bF();bo.isloaded=true}},bP=function(a){var b=br(M);if(b){b.innerHTML="";b.innerHTML=a}},bQ=function(){return"JavascriptLog core code."};void function(){if(_0){HTMLElement.prototype.__defineSetter__("innerText",function(a){this.textContent=a});HTMLElement.prototype.__defineSetter__("outerHTML",function(a){var r=this.ownerDocument.createRange();r.setStartBefore(this);var b=r.createContextualFragment(a);this.parentNode.replaceChild(b,this);return a});HTMLElement.prototype.__defineGetter__("outerHTML",function(){var a;var b=this.attributes;var c="<"+this.tagName.toLowerCase();for(var i=0;i<b.length;i++){a=b[i];if(a.specified){c+=" "+a.name+"=\""+a.value+"\""}}if(!this.canHaveChildren){return c+">"}return c+">"+this.innerHTML+"</"+this.tagName.toLowerCase()+">"});HTMLElement.prototype.__defineGetter__("canHaveChildren",function(){switch(this.tagName.toLowerCase()){case"area":case"base":case"basefont":case"col":case"frame":case"hr":case"img":case"br":case"input":case"isindex":case"link":case"meta":case"param":return false}return true})}Dewind.addLoadedEvent(bO);bp(window,"unload",bM)}();return{loginfo:bL,registAjaxUrlProcessor:bx,registCodeHighLightProcessor:by,registScriptAndCssRegProcessor:bv,registDrapProcessor:bw,toString:bQ,regulateHeight:bA,refershCookie:bI,porcessError:bN,fieldsetId:function(){return N},consoleId:function(){return L},status:bo}})()}function loginfo(a,b){$Log.loginfo(a,b)}function $AjaxUrl(h){if(!h){return function(){}}function createXmlHttp(){if(window.XMLHttpRequest){return new XMLHttpRequest()}else{if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){return new ActiveXObject("Microsoft.XMLHTTP")}}else{return null}}}function deCodeUnicode(d){window.execScript("Function Asc2Unicode(n) \nAsc2Unicode = Chr(n) \nEnd Function \n"+"Function SafeArray2Str(body) \n SafeArray2Str = CStr(body)\nEnd Function","VBScript");var e=/%u(..)(..)/g,f=/%([8,9,A-F].)%(..)/g;var g=function(a,b,c){return Asc2Unicode(parseInt(b+c,16))};return unescape(escape(SafeArray2Str(d)).replace(e,"%$2%$1").replace(f,g))}function printInnerHtmlOnMain(a){var b="GET";var c=createXmlHttp();if(c==null){return}c.onreadystatechange=function(){if(c.readyState==4){if(c.status==200){a(deCodeUnicode(c.responseBody))}}};c.open(b,h,true);c.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=UTF-8");c.setRequestHeader("If-Modified-Since","0");c.send(null)}return printInnerHtmlOnMain}$Log.registAjaxUrlProcessor($AjaxUrl);function $Performance(c,a){if($Performance.caller!=$Performance.getInstance){throw new NotSupportException($logTime.getName()+" cannot be instantiated out of class.");}this.logProc=a;this.arrayTime=new Array();this.arrayLog=new Array();this.color=(typeof(c)=="undefined")?"red":c;$Performance._3=this}$Performance.getInstance=function(a,b){if($Performance._3){return $Performance._3}else{return new $Performance(a,b)}};$Performance.prototype.regeistLogProcessor=function(a){this.logProc=a};$Performance.prototype.begin=function(){var a=new Date();this.arrayTime.push(a)};$Performance.prototype.end=function(a,b){var c=new Date();var d=c-this.arrayTime.pop();var e=a?a:"default";var f=(typeof(b)=="undefined")?this.color:b;this.arrayLog.push({m:"["+e+"] execute-time:"+d+" ms",c:f});if(this.arrayTime.length==0){if(this.logProc==null){return}var g;while(g=this.arrayLog.shift()){this.logProc(g.m,g.c)}}};if((typeof($PF)=="undefined")){$PF=$Performance.getInstance("gold");$PF.regeistLogProcessor($Log.loginfo)}function $CurrentFunctionTrace(a){this.proc=a}$CurrentFunctionTrace.prototype.show=function(g){function analysisFunc(a,b){var c=/^function\b\s*([\$\S]*)\s*\(/;var d=/[^{]*\{([\d\D]*)\}$/;var e=/[^\(]*\(([^\)]*)\)[\d\D]*/;b=(b||"body").toLowerCase();var f=a.toString();with(f){return(b=="body")?replace(d,"$1").replace(/^\s*|\s*$/g,""):(b=="param")?((b=replace(e,"$1"))?b.split(/[,\s]+/):[]):(b=="name")?match(c)[1]:"Block() with bad arguments."}}var h="";for(var c=arguments.callee;c=c.caller;h=analysisFunc(c,"name")+"("+analysisFunc(c,"param")+") \u2192 "+h){}var i=g?g:this.proc;if(i){i("[ Begin$ ] \u2192 "+h+"[ $End ] ","violet")}return h};var $FT=new $CurrentFunctionTrace($Log.loginfo);function $ScriptAndCssRegistaion(){function _4(a,b){var c=b.parentNode;if(c.lastChild==b){c.appendChild(a)}else{c.insertBefore(a,b.nextSibling)}}function _5(a){var b=document.createElement("script");b.type="text/javascript";b.src=a;return b}function _6(a){var b=document.createElement("link");b.type="text/css";b.href=a;b.rel="stylesheet";return b}return{insertAfter:_4,cssRegist:_6,scrRegist:_5}}$Log.registScriptAndCssRegProcessor($ScriptAndCssRegistaion);function $dragComponent(W,H){var N=true;var O=false;function calcResize(a,b){var c=a||window.event;var d=c.srcElement||c.target;var w=this;if(d.tagName=="SPAN"||d.tagName=="A"){}else{var e=c.clientX+document.body.scrollLeft-parseInt(w.style.left.replace("px",""));var f=c.clientY+document.body.scrollTop-parseInt(w.style.top.replace("px",""));var g=e>w.clientWidth-10;var h=f>w.clientHeight-10;var i=e<8;var j=f<24;var k=(h||g||i||j)?((h?"s":"")+(j?"n":"")+(g?"e":"")+(i?"w":"")+"-resize"):"default";w.style.cursor=k}}function managerDragEvent(b,c){var d,e;Dewind.addEvent(document,"mousemove",b);Dewind.addEvent(document,"mouseup",d=function(a){c(a||arguments[0]);Dewind.removeEvent(document,"mousemove",b);Dewind.removeEvent(document,"mouseup",d)})}function down(g,h,i){var j=window.event||g;var k=j.srcElement||j.target;var l=this;var m=(typeof(h)=="undefined")?l:document.getElementById(h);var n=m.style;var o=l.style;var p=parseInt(o.top.replace("px",""));var q=parseInt(o.left.replace("px",""));var r=parseInt(n.width.replace("px",""));var s=parseInt(n.height.replace("px",""));var Y=(j.y||j.clientY||j.pageY);var X=(j.x||j.clientX||j.pageX);var t=Y-p;var u=X-q;var v=u+document.body.scrollLeft;var w=t+document.body.scrollTop;var x=o.cursor;if(k.id==i){o.cursor="move"}var y=o.cursor.replace("-resize","");var z=(y=="move")?"m":(y=="default")?"d":y;if(z==null){return}if(z!="m"&&(k.tagName=="SPAN"||k.tagName=="A")){return}if(z=="d"){return}var A=offset_e=offset_n=offset_w=0;if(N){function getDropTempdivStyle(){var a=document.getElementById("dropTempDivId");if(!a){a=document.createElement("DIV");a.id="dropTempDivId";a.style.border="dotted 2px #7CFC00";a.style.position="absolute";document.body.appendChild(a)}return a.style}var B=getDropTempdivStyle();B.top=p;B.left=q;B.width=r+(_0?32:16);B.height=s+(_0?45:50);B.display="block";n=o=B;offset_n=(_0?53:66);offset_w=(_0?38:20)}else{A=50;offset_e=(_0?40:18)}var C=function(a){var b=a+document.body.scrollTop-p;$Log.regulateHeight(a-Y,true);if(b>=H){n.height=(b-A)+"px"}};var D=function(a){var b=a+document.body.scrollLeft-q;if(b>=W){n.width=(b-offset_e)+"px"}};var E=function(a){o.top=(a-t)+"px";var b=s+p-document.body.scrollTop-a;if(b>=H){n.height=(b+offset_n)+"px"}};var F=function(a){o.left=(a-u)+"px";var b=r+q-a;if(b>=W){n.width=(b+offset_w)+"px"}};var G=function(a,b){C(a);D(b)};var I=function(a,b){C(a);F(b)};var J=function(a,b){E(a);D(b)};var K=function(a,b){E(a);F(b)};var L=function(a,b){if(O){var c=(document.body.clientHeight-10)/2;var d=(document.body.clientWidth-10)/2;var e=(document.body.clientHeight-10)/3;var f=(document.body.clientWidth-10)/3;o.height=((a<e||a>e*2)?e:c)+"px";o.width=(((a<e||a>e*2)&&(b<d))?(document.body.clientWidth-10):d)+"px";o.top=document.body.scrollTop+((a>e*2)?e*2:(a<c)?0:c);o.left=document.body.scrollLeft+((b<d)?0:d)}else{o.left=(b-u)+"px";o.top=(a-t)+"px"}};var M=function(){if(N){n.cursor=(z=="m")?"move":x}else{if(z=="m"){k.style.cursor="move"}m.style.border="dotted 2px orange"}};M();if(l.style.MozUserSelect!==undefined){l.style.MozUserSelect="none"}else{document.onselectstart=function(){return false}}managerDragEvent(function(a){var b=a||window.event;switch(z){case"s":C(b.clientY);break;case"n":E(b.clientY);break;case"e":D(b.clientX);break;case"w":F(b.clientX);break;case"ne":J(b.clientY,b.clientX);break;case"se":G(b.clientY,b.clientX);break;case"sw":I(b.clientY,b.clientX);break;case"nw":K(b.clientY,b.clientX);break;case"m":L(b.clientY,b.clientX);break;default:return}M()},function(a){var b=window.event||a;var c=b.srcElement||b.target;if(N){o.display="none";o.cursor="default";l.style.left=o.left.replace("px","");l.style.top=o.top.replace("px","");var d=n.width.replace("px","")-(_0?32:16);m.style.width=(W>d?W:d);m.style.height=n.height.replace("px","")-(_0?45:50)}else{if(z=="m"){c.style.cursor="crosshair"}m.style.border="dotted 2px #DCDCDC"}$Log.refershCookie();l.style.cursor="default";document.onselectstart=null;m=E=F=C=D=null;L=I=G=J=null})}return{down:down,resize:calcResize,setGridmodel:function(m){O=m},setSize:function(w,h){W=w;H=h}}}$Log.registDrapProcessor($dragComponent);function $HighlighterLogPlugin(g){var h="Highlighter.js";function colorExeLine(a){if((typeof(Highlighter)=="undefined")){return a}else{return Highlighter.Execute(a,g)}}function _7(a){var b=document.createElement("LI");var c=a.replace(/>/g,">\n").split(/\n/g),d;var e=document.createDocumentFragment();while((d=c.shift())||c.length>0){var f=document.createElement("DIV");f.innerHTML=colorExeLine(d);e.appendChild(f)}b.appendChild(e);return b}return{execute:_7,fileName:h}}$Log.registCodeHighLightProcessor($HighlighterLogPlugin);function $BarStatus(c){if(typeof(c)=="undefined"){return{}}var d=false,e=false;var f=document.getElementById("__iBNoticeDiv");if(f==null){f=document.createElement("div");f.id="__iBNoticeDiv";f.className="logStatus";var g="<br><div><div style=\"width:300px;height:15px;border:1px solid gray;background-color:#cccccc;\">"+"<div id=\"__iBPercentDiv\" style=\"background-color:mediumblue;width:0px;text-align:center;color:white;\">0%</div></div></div>";f.innerHTML="<div><div id=\"__iBInfoDiv\"></div>"+g+"</div>";c.appendChild(f)}function msgShow(a){var b=document.getElementById("__iBInfoDiv");b.innerHTML=a;b.parentNode.parentNode.style.display=e?"block":"none"}function statShow(a){if(!d){return}var b=document.getElementById("__iBPercentDiv");b.style.width=Math.round(a*300)+"px";b.innerHTML=Math.ceil(a*100)+"%"}function percentShow(a,b){d=true;statShow(a);msgShow(b)}return{run:percentShow,start:function(a){e=true;msgShow(a);percentShow(0,"begin")},stop:function(a){e=false;msgShow(a);percentShow(1,a)}}}function $OpenLayer(a,W,H,b){this.divId=a;this.W=W;this.H=H;this.func=b}$OpenLayer.running=false;$OpenLayer.prototype.run=function(){var c,d,e=50,f=50,g=10,h=10;var i=document.getElementById(this.divId);var j=this.func;function OpenNow(){if(g>d-f){f=10}if(h>c-e){e=10}g=g+f;h=h+e;if(d>g||c>h){$OpenLayer.running=true;if(d>g){i.style.width=g+"px"}if(c>h){i.style.height=h+"px"}window.setTimeout(OpenNow,10)}else{$OpenLayer.running=false;if(typeof(j)!="undefined"){j()}e=50;f=50;g=10;h=10;i=null}}function OpenDiv(a,b){c=b;d=a;i.style.display="block";if(a>b){e=Math.ceil((b-10)/((a-10)/50))}if(a<b){f=Math.ceil((a-10)/((b-10)/50))}OpenNow()}var k=(typeof(this.W)=="undefined"||this.W==null)?i.clientWidth:this.W;var l=(typeof(this.H)=="undefined"||this.H==null)?i.clientHeight:this.H;OpenDiv(k,l)};function $ContextMenu(a){this.$$isshow=false;this.$$random=false;this._8=a;this._9=null;this._10=false;this._11=false;this._12={isdebug:true,supportTime:false,iscn:true,isflod:false,ismax:false,isloaded:false,israndom:false,isGrid:false}}$ContextMenu.prototype.ischange=function(a){return((this._12.isdebug!=a.isdebug)||(this._12.supportTime!=a.supportTime)||(this._12.iscn!=a.iscn)||(this._12.isflod!=a.isflod)||(this._12.ismax!=a.ismax)||(this._12.isloaded!=a.isloaded)||(this._12.isGrid!=a.isGrid)||(this._12.israndom!=a.israndom))};$ContextMenu.prototype.randomColor=function(){var a="0123456789abcdef",t="#";for(j=0;j<6;j++){t=t+a.charAt(Math.random()*a.length)}return t};$ContextMenu.prototype.reBuildContextMenu=function(c,d,e,f){this.$$isshow=c;if(!this._10){this._9=document.createElement("DIV");this._9.className="logMenu";this._9.id=this._8;document.body.appendChild(this._9);this._10=true}if(c){if(this.ischange(e)){var g=this._9;function over(){this.className="logMenuItem logMenuItemOver"}function out(){this.className="logMenuItem"}function procE(a){var b=g.getElementsByTagName("ul")[0].getElementsByTagName("li");for(var i in b){if(i=="length"||i=="item"||i=="namedItem"){continue}var dis=(b[i].getAttribute("menuStatus")=="disabled");if(b[i].className&&b[i].className!="logMenuSeparator"&&!dis){b[i].className="logMenuItem";a(b[i],"mouseover",over);a(b[i],"mouseout",out)}if(dis){b[i].className="logMenuItem logMenuItemDisabled"}}}if(this._11){procE(Dewind.removeEvent)}while(g.hasChildNodes()){g.removeChild(g.lastChild)}g.appendChild(d());procE(Dewind.addEvent);if(this.$$random){var h=this.randomColor();g.style.backgroundColor=h;g.style.borderColor=h}this._12.isdebug=e.isdebug;this._12.supportTime=e.supportTime;this._12.iscn=e.iscn;this._12.isflod=e.isflod;this._12.ismax=e.ismax;this._12.isloaded=e.isloaded;this._12.israndom=e.israndom;this._12.isGrid=e.isGrid;this._11=true}this._9.style.display="block";var j=f||window.event;var k=(j.x||j.clientX||j.pageX);var l=(j.y||j.clientY||j.pageY);var m=parseInt(document.body.offsetWidth||document.body.clientWidth);var n=parseInt(document.body.offsetHeight||document.body.clientHeight);var o=parseInt(this._9.offsetWidth||this._9.style.width);var p=parseInt(this._9.offsetHeight||this._9.style.height);this._9.style.left=(((k+o)>m)?(k-o+document.body.scrollLeft):(k+document.body.scrollLeft))+"px";this._9.style.top=(((l+p)>n)?(l-p+document.body.scrollTop):(l+document.body.scrollTop))+"px"}else{this._9.style.display="none"}};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -