(function(d,e,$,f,g){$.extend(e,{SysfixMgr:null,myInit:function(){this.show(500,347,0,1);var a=$.getUrlPara("id"),idb,ids;if(a==g||a.length==0){idb=$.getUrlPara("idb");ids=$.getUrlPara("ids");this.SysfixMgr=this.winApp.getComponent("RSFixSys");this.setSysfixInfo(idb,ids)}else{this.SysfixMgr=this.winApp.getComponent("RsPluginMgr");this.setPlugin(a)}this.activeDrag(".dialogHead","mousedown")},resize:function(w,h){var a=h-$("#wrap").outerHeight(),main=$("#itemDetail textarea");if(a===0)return;main.height(a+main.height())},setSysfixInfo:function(a,b){var c=this.SysfixMgr.getItemInfo(a,b),blk=" ",dn="\n\n",info=c.info,type=c.excepType,exce=c.exception,norm=c.normal,path=c.path,text=[];text[text.length]='－描述\n';path!=''&&(text[text.length]='　路径：'+path+'\n');text[text.length]='　'+info+'\n\n';switch(type){case 0:text[text.length]='－目前异常状况\n　注册表键值为'+(exce.length==0?"空":blk+exce)+dn;text[text.length]='－正常时\n　注册表键值'+(norm.length==0?"应该为空":"为"+blk+norm);break;case 1:text[text.length]='－目前异常状况\n　'+(exce.length==0?"缺少文件":"有多余文件"+blk+exce)+dn;text[text.length]='－正常时\n　'+(norm.length==0?"不应该有此文件":"应该有文件"+blk+norm);break;case 2:exce!=''&&(text[text.length]='－目前异常状况\n　文件 '+this.getFileName(path)+' 内容被更改');break}$('#itemDetail textarea').enableSelection();$('#itemDetail textarea').val(text.join(''))},getFileName:function(a){var i=a.lastIndexOf("\\");return i>=0?a.substr(i+1):""},setPlugin:function(a){var b=this.SysfixMgr.getPluginDetailInfo(a),detailtext=[],i,file,reg;if(b.filecount>0){detailtext.push(" - 相关文件("+b.filecount+"个)\r\n");for(i=0;i<b.filecount;i++){file=b.getInstallFile(i);detailtext.push("   ");detailtext.push(file);detailtext.push("\r\n")}}if(b.regcount>0){detailtext.push(" - 相关注册表项("+b.regcount+"个)\r\n");for(i=0;i<b.regcount;i++){reg=b.getRegInfo(i);detailtext.push("   ");detailtext.push(reg);detailtext.push("\r\n")}}$('#itemDetail textarea').enableSelection();$('#itemDetail textarea').val(detailtext.join(""))}});$(function(){e.init()})})(window,Core,jQuery,LangPack);$.copyTxt=function(a){var b=""+a;if(window.clipboardData){window.clipboardData.clearData();window.clipboardData.setData("Text",b)}else if(navigator.userAgent.indexOf("Opera")>0){window.location=b}else if(window.netscape){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect")}catch(e){alert("复制操作被浏览器拒绝！\n请在浏览器地址栏输入\"about:config\"并回车\n然后将\"signed.applets.codebase_principal_support\"设置为\"true\"\n\n或者使用快捷键 Ctrl+C 复制。");return false}var c=Components.classes["@mozilla.org/widget/clipboard;1"].createInstance(Components.interfaces.nsIClipboard);if(!c)return;var d=Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);if(!d)return;d.addDataFlavor("text/unicode");var f=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString),copytext=b;f.data=copytext;d.setTransferData("text/unicode",f,copytext.length*2);var g=Components.interfaces.nsIClipboard;if(!c)return false;c.setData(d,null,g.kGlobalClipboard)}return true};