selectAll(){if((event.keyCode==97||event.keyCode==65)&&event.ctrlKey){clearSelect(true);var b = oDocument.getElementsByName("span_item");for(var i=1;i<IconItem.length;++i) ItemSelect(b[i],i);PanelInner.innerHTML = "已选定 " + (i-1) + " 个对象。";};};function getFirstSelectedItem(){var m = Number.POSITIVE_INFINITY;for(var x in SelectedItem) if(parseInt(x)<m) m=parseInt(x);if(m==Number.POSITIVE_INFINITY) return 1;return m;};function ItemSelect(o,n,b){if(b||!o.checked){o.className = "ItemStyleSelected";o.checked = true;SelectedItem[n] = o;if(!b) PanelInner.innerHTML = "<b>" + IconItem[n].innerHTML + "</b><pre>" + o.title + "</pre>";};else{o.className = "ItemStyle";o.checked = false;delete SelectedItem[n];if(!b) PanelInner.innerHTML = PanelTemplet.innerHTML;};};function domenu(o,n){event.cancelBubble = true;if( event.shiftKey ){var x = getFirstSelectedItem();clearSelect(true);var b = oDocument.getElementsByName(o.id);for(var i=Math.min(n,x);i<=Math.max(x,n);++i) ItemSelect(b[i],i,true);PanelInner.innerHTML = "<br><br>已选定 " + (i-1) + " 个对象。";return ;};if( !event.ctrlKey ) clearSelect();ItemSelect(o,n);};function clearSelect(b){for(var x in SelectedItem){SelectedItem[x].checked = false;SelectedItem[x].className = "ItemStyle";delete SelectedItem[x];};if(!b) PanelInner.innerHTML = PanelTemplet.innerHTML;if(oDocument.popDivOpened){oDocument.popDivOpened.style.display = ''none'';oDocument.popDivOpened = null;};};function doExec(o){var n = o.Cc_FilePath;var t = parseInt(o.Cc_FileType);if(t<0){alert(''设备未就绪'');return;};else if(isNaN(t)){/*回首页*/location.href = sUrl;return;};else if(t & 16){/*Folder*/location.href = sUrl + "?a=f&t=" + n;return;};var r = "." + n;switch(r.substr(r.lastIndexOf(".")+1).toLowerCase()){case "txt": case "bat": case "ini": case "inf": case "log":case "asp": case "css": case "htm": case "php": case "cgi":case "js": case "vbs": case "
vb": case "cs": case "bas" :case "aspx": case "html": case "php3": case "php4": case "jsp":case "shtm": case "shtml": case "sql": case "xml" : case "xsl" :doAction(''edit'');break;case "jpg": case "gif": case "bmp": case "tiff": case "jpeg": case "tif" : case "png" :doAction(''show'');break;default:doAction();};};function ActionWin(sAction){with(oDocument.getElementById("formAction")){switch(sAction){case "rename" :var sValue = prompt(''* 支持按数字顺序批量重命名,
模板格式: "NewFileName(*).Ext"'',''请输新的文件名'');if(!sValue) return;action = "<%=sUrl%>?a=r";break;case "newDir" :var sValue = prompt(''新建文件夹'',''请新文件夹名'');if(!sValue) return;action = "<%=sUrl%>?a=nd";break;case "newTextFile" :var sValue = prompt(''新建文本文件'',''新建 文本文档.txt'');if(!sValue) return;if(sValue.toLowerCase().indexOf(".txt")<0) if(confirm(''文本文件的扩展名为".txt",您刚才输入的文件名中没有包含该后缀。\r\n\r\n点击"确定"增加该后缀,点击"取消"保持您输入的文件名'')) sValue += ".txt"; action = "<%=sUrl%>?a=ntf";break;default : action =