UD23.js 270 KB

1
  1. Namespace.register("U.D");Namespace.register("U.D.SY");_$(U.D).Add({"WT":null,"OL":[],"UJZ":[]});U.M.TF=true;window.onload=U.D.FLoad=function(){U.U.OT.LNL([[{btnId:"UD_SYCOSLWL",size:"C_S"}],[{show_head:false,show_name:false,show_cancel:false,id:"UD_SYCOSLQL",type:"3,2",callback:{login:U.U.OT.WBCB}}]]);if(U.M.TF){U.M.OLM();}US["ITID"]=U.MS.produceGuid();U.D.MS.onesetInterval();U.D.MaxMin();U.CD.LIFA(U.D.UJZ,U.D.ONTSJZ);U.D.ONLZM();};U.D.ONLZM=function(){var a,c=US.Width,b=$("#UD_MP").Child();a=US.Width-287;if(a>0){b[1].style.width=a+"px";a=a-410;if(a>0){(b=$(b[1]).Child()[0]).style.width=a+"px";a=a-100;(a)&&($(b).childg(null,1).Child()[1].style.width=a+"px");}}};U.D.ONTSJZ=function(){U.U.L.UInfo();U.U.L.CookieL();for(var a=0;a<U.D.OL.length;a++){U.D.OL[a]();}};U.D.OL=function(){var c,a,b=U.CI.getBrowser();U.D.OLSize();if(b["browser"]=="msie"&&parseInt(b["ver"])<7){(a=$("#UD_SYL")[0]).style.display="block";U.D.PopupWindow($(a).Child()[0]);}U.D.IFK("U_SMR");U.D.ZJGGYB();U.D.SY.FL();U.D.SY.SSHY();(U.D.SY.ET["GDE"]=a=$("#UD_SYSXN")[0]).onscroll=U.M.apply(a,[[U.D.SY.ZTGD,([a])]]);U.D.Time((U.D.MS.UEL=[$("div",$("#UD_SYSSRT")[0]),$("#UD_T").find(".UD_TBT")]));U.F.N.UXFN.push(U.D.SY.CKJSXX);U.U.L.ULF.push(U.M.apply(this,[[U.U.L.QDZXDLTP,([true])]]));$$("img",{"alt":"看不清?点击重获验证码","src":"http://main.1473.cn/Mian.ashx?functionname=UseStudioManage.Verification&n="+Math.random(),"onclick":[[U.U.R.GVCI,(["this"])]]},$("#UD_SYCOCDZ")[0]);$("#UD_SYK")[0].style.display="block";U.D.CSHHT();};U.D.Time=function(a){var b,c=U.MT.getTimeStr(new Date(),"Array");for(b=0;b<a.length;b++){(a[b][0])&&(a[b][0].innerText=c[3]+":"+c[4]);(a[b][2])&&(a[b][2].innerText=c[0]+"-"+c[1]+"-"+c[2]);}};U.D.OL.push(U.D.OL);U.D.CSHHT=function(){$("body")[0].focus();U.A.Request("UseStudioManage.GetOnloadSJ",([US.NLInfo.LogAddr||"",US["ITID"]]),U.D.AsynCSHHT,([[$("#UD_SYSXN")[0],true]]));};U.D.AsynCSHHT=function(e){var d,c,a=[],b=[["GHBK","TD"],"Blog","WPFF","SYTJ","Message"];e=e.value;for(d=0;d<b.length;d++){if(d){U.D[d==b.length-1?"BC":"SY"]["Asyn"+b[d]]({"context":"","value":e[d]});}else{for(c=0;c<b[d].length;c++){U.D.SY["Asyn"+b[d][c]]({"context":"","value":e[d][c]});}}}U.AFB.UHash(U.D.G.UrlGuide);};U.D.Favorite=function(){window.external.addFavorite("","云操作系统");};U.D.SHome=function(a){a.style.behavior="url(#default#homepage)";a.setHomePage("");return false;};window.onbeforeunload=function(){if(US.userInfo.userid){return event.returnValue="是否要退出云端,请确定是否保存所有的资料。";}};window.onunload=function(){var a=US.userInfo;if(a.UserId&&U.A){U.A.Request("UseStudioManage.DUser",([a.UserId,a.OnUserId]),U.M.apply(),([]));}};window.onerror=function(a){U.M.Console(null,a);return true;};U.D.mosedown=function(){var b,a=["#UD_MPRRRO","#UD_MPRRRT"];for(b=0;b<a.length;b++){$(a[b])[0].style.display="none";}};window.onresize=function(){if(document.readyState=="complete"){clearTimeout(U.D.WT);U.D.MaxMin();U.D.OLSize();U.D.WT=setTimeout(function(){U.D.OSMZ();(U.D.SY.ET["UB"])&&(U.D.SY.ZXWZ($("#UD_SYSXZBR")[0],0));U.D.ONLZM();},0);}};U.D.MaxMin=function(){var a=$("body").GetElementInfo();if(a["CW"]&&a["CH"]){_$(US).Add({"Height":a["CH"],"Width":a["CW"]});}};U.D.SY.ZMSize=function(){var c,e,a=$("#UD_H"),d=a.childg(),b=Math.ceil(d[1].scrollTop/d[1].clientHeight)||0;a.addAttrArray({"style":{"display":"block","height":US.Height-200+"px","width":US.Width-120+"px"}});if(a[0].clientHeight>100){d[1].style.height=(c=(a[0].clientHeight-40))+"px";d[1].scrollTop=b*c;e=d.childg(1,0);d.find(".UD_HCLLS")[0].style.height=Math.floor((c-200)/26)*26+"px";d.find(".UD_HCBC")[0].style.height=c-60+"px";}};U.D.OLSize=function(){var a,d=$("#UD_SYDA").Parent(),c=US.Width,b=US.Height;U.D.SY.ET["GDTW"]=d.offsetWidth-d.clientWidth;if(c){}};U.D.OSMZ=function(){var c,b,e,d=$("#UD_SYSXZBOO").Child().concat([$("#UD_SYSXZLLA")[0]]),a=[U.D.SY.DiskSYN,U.D.PB.NSYPBL,U.D.SYDJBH,U.D.SGBLBS];for(c=0;c<d.length;c++){if(d[c].offsetWidth){e=$(d[c]).Child();if(c==1){for(b=0;b<3;b++){e=$(e[1]).Child();}}(a[c])&&(a[c](e[e.length-2],0));break;}}if(US.userInfo.userid){U.D.SY.WPDXTZ();U.D.SY.CSHFGS();U.D.SY.LTWPDHSZ();}};U.D.SYDJBH=function(c,a,d){var b=$($($(c).Parent()).Child()[0]).Child()[0];b.style.width=US.Width-50+"px";$(b).Child()[1].style.width=US.Width-170+"px";};U.D.SGBLBS=function(){var b,c=$("#UD_SYSXZLLRTA").Child(),d=$("#UD_SYSXZLRSRD")[0],a=[U.D.SY.DiskSYN,U.D.PB.NSYPBL,U.D.SYDJBH];for(b=0;b<c.length;b++){if(c[b].className=="UD_SYSXZLLRTO"){if(b==1){d=$(d).Child()[0];for(j=0;j<3;j++){d=$(d).Child()[1];}}}(a[b])&&(a[b](d,0));break;}};U.D.ZMQH=function(a){$("#UD_SYK")[0].style.display=a?"block":"none";$("#UD_SYH").Child()[1].style.right=a?U.D.SY.ET["GDTW"]+"px":"0px";};U.D.IFK=function(a,b){var c=$$("iframe",{"id":a,"style":{"width":"100%","height":"100%","display":"block","overflow":"hidden"}});U.M.IFO(c,"",[[U.D.AsynIFK,([c,a])]]);(b||$("body")[0]).appendChild(c);};U.D.AsynIFK=function(b,a){var c=b.contentWindow;c.document.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><script>document.domain="1473.cn";<\/script><link href="/css/UD/UD_SY.css" rel="stylesheet" type="text/css" /><link href="/uform.css" rel="stylesheet" type="text/css" /><body></body>');b.contentWindow.name=a;return b;};U.D.ZJGGYB=function(){var b,c=win.alimamatk_onload=win.alimamatk_onload||[],d=$("head")[0],a=[{pid:"mm_32325420_3265865_24254681",appkey:"",unid:""},{pid:"mm_32325420_3265865_14752067",appkey:"",unid:""},{pid:"mm_32325420_3265865_24246760",appkey:"",unid:""},{pid:"mm_32325420_3265865_24254681",appkey:"",unid:""}];for(b=0;b<a.length;b++){c.push(a[b]);}if(!win.alimamatk_show){$$("script",{"charset":"gbk","async":true,"src":"http://a.alimama.cn/tkapi.js"},d);}};U.D.SY.QHYY=function(d){var a=d.UIE=d.UIE||1,g=["版块分享","网盘信息","圈内信息"],c=$(d).prev(),b=c[0].scrollTop,f=c[0].scrollHeight,e=c[0].offsetHeight,h=b+a*e;if(h+e>=f){d.UIE=-1;d.className+=" UD_HCLRXRO";}else{if(h<=0){d.UIE=1;d.className="UD_HCLRXR UD_SYI";}}a=h/e;c.parentg().Child()[0].innerText=g[a];d.title=g[a];c.animate({"scrollTop":h},300);};Namespace.register("U.D.R");U.D.R.XY=function(b){var c,a=$(b).Parent();if(!U.U.C){U.MD.DynamicLoad("/js/UU/U.U.C.js","js",[[U.D.R.YJZ,([b])]]);U.MD.loading(b,true);}else{U.D.R.YJZ(b);}U.D.PopupWindow(a);U.M.StopBubble();};U.D.R.YJZ=function(a){U.MD.uploading(a);a.innerHTML=U.U.C.XY;};Namespace.register("U.D.BC");_$(U.D.BC).Add({"LTS":[],"MFUN":[],"M":[],"BS":["",false,null,{"":{"ID":US.NU,"L":0},"UD_DiskCon":{"ID":US.NU,"L":0},"UD_BlogCon":{"ID":US.NU,"L":0},"UD_ChatCon":{"ID":US.NU,"L":0},"UD_BBSCon":{"ID":US.NU,"L":0},"UD_AppCon":{"ID":US.NU,"L":0}},false]});U.D.BC.AsynMessage=function(b){b=b.value;var a=b[1][0];(a.length)&&(U.D.BC.BS[3][""]["ID"]=a[a.length-1].NEWID);};U.D.BC.NLGN=function(){var a=U.D.BC.BS;U.A.Request("UseStudioManage.GetAllChat",([a[3][a[0]]["ID"],a[0],US["ITID"]]),U.D.BC.AsynNLGN,(["",a[0]]));};U.D.BC.AsynNLGN=function(c){var b=c.context,d=b[0],a=U.D.BC.BS;c=c.value;if(c&&c[0]&&c[0].length){a[3][b[1]]["ID"]=c[0][c[0].length-1].NEWID;}};Namespace.register("U.D.CM");U.D.CM.RP={};U.D.CM.Num=20;U.D.CM.CMSS=function(g,i,c,d){var e,h=U.D.CM.Num,b=i*h,f=b-h,a=U.D.CM.RP[g];(a)&&(e=a.slice(f,b));(i==1)&&(c.innerText="");if(d||e){if(e.length){U.D.CM.SetRPSS(e,c);}else{if(i==1){U.D.CM.WSJDY(c);}}}else{U.A.Request("Reply.SelectData",(["SelectData",g,f,100]),U.D.CM.CMSG,([i==1?[c,true]:null,g,i,c]));}};U.D.CM.CMSG=function(f){var d=f.context,c=U.D.CM.RP,b=d[1],e=d[2],a=d[3];f=f.value;if(f){if(f.length==0){d[3].onscroll=null;}else{(!c[b])&&(c[b]=[]);c[b]=c[b].concat(U.D.CM.QFOTP(f));U.D.CM.CMSS(b,e,a,true);}}else{U.Alert("服务器繁忙");}};U.D.CM.QFOTP=function(b){var d,c,a;for(d=0;d<b[1].length;d++){a=_$(b[0]).Select({"ReplyID":b[1][d]["ReplyBindingID"]})[0];if(a){(!a["NextP"])&&(a["NextP"]=[]);a["NextP"].push(b[1][d]);for(c=(d+1);c<b[1].length;c++){if(b[1][c]["ReplyBindingID"]==a["ReplyID"]){a["NextP"].push(b[1].splice(c,1)[0]);}}}}return b[0];};U.D.CM.SetRPSS=function(b,c){var e,d,a,f,h,g=$$("frag");for(e=0;e<b.length;e++){a=b[e];h=$("div",U.D.CM.UOSS(b[e],g));h=h[h.length-1];for(d=0;d<(a["NextP"]||{"length":0}).length;d++){f=a["NextP"][d];U.D.CM.UTSS(f,a,h);}}c.appendChild(g);};U.D.CM.WSJDY=function(a){$$("div",{"className":"UD_SYSXZBECCT UD_SYSXZBECCTS","innerHTML":"暂无评论哦~"},a);};U.D.CM.UOSS=function(h,d){var i,b,e,a,f,c,g;i=$$("div",{"className":"UD_CM_HFPL"},d);b=$$("div",{"className":"UD_CM_HFPLO"},i);$$("img",{"onerror":[U.M.ImgError,(["retElement"])],"className":"UD_CM_HFPLLImg","onclick":[[U.D.SY.UIFZX,([h.UserID])]],"src":U.M.GetImgU(h.ReplyUserThumbnailImageHead),"alt":"点击查看资料"},b);$$("div",{"className":"UDK_L_DiskGE UD_CM_HFPLL"},i);e=$$("div",{"className":"UD_CM_HFPLR "},i);$$("div",{"title":"查看该用户","className":"UD_CM_HFPLRUs","innerHTML":h.UserName,"onclick":[[parent.U.U.I.POUW,([h.ReplyAddUserID])]]},e);$$("div",{"className":"UD_CM_HFPLRVa","innerHTML":" 发表評論:"},e);$$("div",{"innerHTML":h.ReplyContent,"className":"UD_CM_OCT"},e);$$("div",{"className":"UD_CM_OCRTT","innerHTML":U.MT.GetDT(h.ReplyAddTime)},e);$$("div",{"className":"UD_CM_OCRTTX","innerHTML":"來自"+(h.UserName)},e);$$("div",{"className":"UD_CM_OCRTTB","style":{"color":"#3863dc"},"onclick":[[U.D.CM.UTTP,([h,e])]],"innerHTML":"回复"},e);$$("div",{"className":"UD_CM_URFV"},e);return i;};U.D.CM.UTSS=function(b,c,e){var a,g,f,d,f;a=$$("div",{"className":"UD_CM_HFPL"},e);g=$$("div",{"className":"UD_CM_HFPLR UD_CM_HFPLRO","style":{"marginLeft":"0"}},a);$$("div",{"className":"UD_CM_HFPLRUs","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([b.UserID])]],"innerHTML":b.UserName},g);$$("div",{"className":"UD_CM_OCTE","innerHTML":"回复了"},g);$$("div",{"className":"UD_CM_HFPLRUs","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([b.ReplyParentID])]],"innerHTML":"@"+b.ReplyParentNickname},g);$$("div",{"className":"UD_CM_OCT","innerHTML":b.ReplyContent},g);$$("div",{"className":"UD_CM_OCRTT","innerHTML":U.MT.GetDT(b.ReplyAddTime)},g);$$("div",{"className":"UD_CM_OCRTTX","innerHTML":"來自"+(b.UserName)},g);$$("div",{"className":"UD_CM_OCRTTB","onclick":[[U.D.CM.UTTP,([b,a,true])]],"innerHTML":"回复"+"<br />"},g);$$("div",{"className":"UDK_L_DiskGE UD_CM_HFPLLR"},a);$$("img",{"onerror":[U.M.ImgError,(["this"])],"className":"UD_CM_HFPLLImg","onclick":[[U.D.SY.UIFZX,([b.UserID])]],"src":U.M.GetImgU(b.ReplyUserThumbnailImageHead),"style":{"marginLeft":"10px"}},a);return a;};U.D.CM.UTTP=function(a,c,e){var b,d=$(".UD_SYPLDC",e?(b=$(c).Parent()):c)[0];if(!d){d=$($($(c).Parent("UD_SYPL")).Child()[2]).Child()[0];d=d.cloneNode(true);d.className+=" UD_SYPLDCO";}$(b||c).append(d,0,b?c.nextSibling:null);d.style.display="block";d=$("div",d);d[d.length-1].onclick=U.M.apply(this,[[U.D.CM.MR,([a.FileID,d[2],2,(a["ReplyBindingID"]||a["ReplyID"]),a["UserID"],a["UserName"]])]]);d[2].onfocus=U.M.apply(d[2],[[U.D.SY.KBJJQ,([d[2],(["发表评论...","<div></div>",d[4],{"GS":"M","FCP":U.D.SY.ATGBL,"UDOD":d[1],"URL":"http://disk.1473.cn/USupfile.ashx?iframename=UseStudioEditor","ID":"UD_SYPLDCO"}])])]]);d[2].focus();return d;};U.D.CM.BNPE=function(a){a.innerHTML="发表评论...";$(a).Parent(3).style.display="none";};U.D.CM.TCM=function(a){_$(this).Add({"FileID":a[0],"UserID":a[1],"UserName":a[2],"ReplyID":a[3],"ReplyContent":a[4],"ReplyAddTime":a[5],"ReplyIP":a[6],"ReplyAddress":a[7],"ReplyDeep":a[8],"ReplyUserThumbnailImageHead":a[9],"ReplyBindingID":a[10],"ReplyParentID":a[11],"ReplyParentNickname":a[12]});};U.D.CM.MR=function(h,e,g,i,c,b){if(!U.D.SY.DLTC()){var f=[],d=e.innerHTML;if(!d){U.Alert("请输入内容");}else{var a=new U.D.CM.TCM((f=[h,US.userInfo.userid,US.userInfo.UserNickName,U.MS.produceGuid(),d,new Date(),US.userInfo.LoginIP||"",US.userInfo.LoginAddress||"",g,US.userInfo.UserThumbnailImageHead||"",i||"",c||"",b||""]));e.innerText="发表评论...";f.splice(5,1);f.unshift("InsertData");U.A.Request("Reply.InsertData",(f),U.D.CM.AsynMR,(["",a,e]));}}};U.D.CM.AsynMR=function(e){var b,a,h,g=U.D.CM.RP,d=e.context,c=d[1],f=d[2];e=e.value;if(e!==false){if(c["ReplyBindingID"]){U.D.CM.BNPE(f);h=$(f).Parent(4);b=_$(g[c["FileID"]]).Select({"ReplyID":c["ReplyBindingID"]})[0];(!b["NextP"])&&(b["NextP"]=[]);b["NextP"].unshift(c);a=U.D.CM.UTSS(c,b);}else{h=$("#UD_SYPL").Child()[1];(!g["FileID"])&&(g["FileID"]=[]);(!g["FileID"].length)&&(h.innerText="");c["NextP"]=[];g["FileID"].unshift(c);a=U.D.CM.UOSS(c);}h.insertBefore(a,h.firstChild);U.M.SCT(0,$("#UD_SYPLC")[0]);}};Namespace.register("U.D.G");U.D.G.UrlGuide=function(){var b,a,c=U.M.GetUF();if(c&&c.length>2&&(b=c[1])){U.D.G.YDHSS(b,c.slice(2));}};U.D.G.YDHSS=function(b,a){b=b.toLowerCase();switch(b){case"pb":U.D.DT.YYDK(b.toUpperCase(),a);break;case"pbt":U.D.PB.A.WAPMHBK(a[0]);break;case"disk":U.D.SY.SYDLHD(U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[a[0],1]])]]));break;}};YDHJH=function(UTP,UDE){var _UCE;UDE=eval("("+UDE+")");switch(UTP){case"UD_DiskCon":US.Disk.DiskDaren["SE"]={UserFilesID:UDE[0]};U.D.SY.SYDLHD(U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[null,UDE[1]]])]]));break;case"TZ":case"UPBR":if(UDE[0]){U.D.PB.A.WAPMHBK(UDE[1],null,null,UDE[2]);}else{(UDE[1])&&(U.D.SY.GSHGBL(UDE[1]));}break;case"0":U.D.SY.SLHCK($("#UD_SYH")[0]);break;case"1":$("#UD_SYSSRXOA").Child()[0].onclick();break;case"3":(US.userInfo.userid&&(_UCE=_$(US.Friend[2]).Select({"GroupManageID":UDE.MessageContent})[0]))&&(U.D.SY.SLHCK($("#UD_SYH")[0],_UCE));break;}};U.D.G.UrlWrite=function(a,b){U.AFB.UTH.Add(a,b);};Namespace.register("U.D.MS");_$(U.D.MS).Add({"OT":null,"UEL":[]});U.D.MS.OT;U.D.MS.onesetInterval=function(){var a=[0];clearInterval(U.D.MS.OT);U.D.MS.OT=setInterval(U.M.apply(this,[[U.D.MS.TFUN,([a])]]),1000);};U.D.MS.TFUN=function(b){var a,c=b[0]+++1,d=U.D.MS.UEL;if(!(c%60)){U.D.Time(d);b[0]=0;}if(!(c%5)){if((a=US.userInfo.userid)){U.F.N.GNM(a);}else{U.D.BC.NLGN();}}};Namespace.register("U.D.PB");U.D.SY.GHBK=function(){var a="false",b=U.D.SY.ET["NT"]["PB"]["BK"];if(!b){U.A.Request("pb.GetNDAndNND",([US.PID,"false"]),U.D.PB.AsynGHBK,(["",a]));}};U.D.PB.AsynGHBK=function(b){var a=b.context;b=b.value;U.D.PB.CGHBK((U.D.SY.ET["NT"]["PB"]["BK"]=b,a[1]));};U.D.PB.CGHBK=function(a,d){var b,c=_$(a).Select({"PublishedParentID":US.PID});for(b=0;b<c.length;b++){c[b].Next=_$(a).Select({"PublishedParentID":c[b].UserDirectoryID});_$(c[b].Next).Add({"Parent":c[b]});}if(d=="true"){a.unshift(a.splice(a.length-1,1)[0]);a[0].PublishedParentID=US.PID;}};U.D.SY.TD=function(){if(!U.D.SY.ET["NT"]["PB"]["RM"]){U.A.Request("pb.GetNHIMGP",([10]),U.D.PB.AsynTD,([[$("#UD_SYSXN")[0],true]]));}};U.D.PB.AsynTD=function(b){b=b.value;var a=U.D.SY.ET["NT"]["PB"];if(b){a["RM"]=[b[0].slice(0,50),b[0].slice(50,100)];a["TJ"]=b[1];a["RD"]=b[2];a["FC"]=b[3];a["BC"]=b[4];a["KC"]=[b[5],b[6]];}};U.D.PB.RMZXSX=function(b){if(b<=5||!U.D.SY.DLTC(3)){var a=$("#UD_SYSXZBYP"),f=$("#UD_SYSXZBYPL"),g=$("#UD_SYSXZBYPO"),e=U.D.SY.ET["NT"]["PB"],c=e["DBK"],d=e["USID"];(!f.Child().length)&&(U.D.PB.PBCKMU(f[0],_$(e["BK"]).Select({"PublishedParentID":US.PID})));(g.Parent()!=a[0])&&(a.append(g[0]));if(((d&&(d.length==36||(d[1]&&d[1].length==36)))||c)&&!U.D.PB.FYYMHBK(b)){}else{U.D.PB.NRMZXSX(b);}}};U.D.PB.FYYMHBK=function(a,d){var e,c=US.userInfo.userid,g=U.D.SY.ET["NT"]["PB"],f=g["USID"],b=g["DBK"];if(c&&f&&(f==c||f[1]==c)){U.D.PB.PBCKZXR($("#UD_SYSXZBTOC").Child()[0],true);U.D.PB.CKWDFB(a,b);}else{if(f&&(f[1]&&f[1].length==36&&f[1]!=c)){U.D.PB.A.FTZSS(f[0],a,f[1],f[2]);}else{if(b){U.D.PB.GNXZCK(f,null,b,a);(a==1)&&(U.D.PB.PBCKMU($("#UD_SYSXZBYPL")[0],_$(g["BK"]).Select({"PublishedParentID":US.PID})));return;}return true;}}};U.D.PB.PBCKMU=function(d,b,a){var f,c=U.D.SY.ET["NT"]["PB"]["DBK"],g=c?c["UserDirectoryID"]:"",e=$$("frag");d.innerText="";for(f=0;f<b.length;f++){_UDTD=$$("div",{"className":"UD_SYSXZBYPLA UTDF"+((g==b[f].UserDirectoryID)?" UD_SYSXZBYPLOO":""),"onclick":a?[[U.D.PB.CKWDFB,([1,b[f],a])]]:[[U.D.PB.DJPBCKMU,([b[f],null,"this"])]]},e);_UDSD=$$("div",{"className":"UD_SYSXZBYPLAI"},_UDTD);(b[f].UserDirectoryUrl)&&($$("img",{"src":"http://"+b[f].UserDirectoryUrl},_UDSD));$$("div",{"className":"UD_SYSXZBYPLO UTDF","title":b[f].UserDirectoryName,"innerHTML":b[f].UserDirectoryName},_UDTD);}d.appendChild(e);$(d).Parent().style.display=b.length?"block":"none";};U.D.PB.YMHBK=U.D.PB.DJPBCKMU;U.D.PB.DJPBCKMU=function(b,e,c,a){(typeof b=="string")&&(b={"UserDirectoryID":b});var g=$("#UD_SYSSTO").Child()[1],h=$("#UD_SYSXZBY"),f=U.D.SY.ET["NT"]["PB"],d=b["IF"];(!(_UBE=_$(f["BK"]).Select({"UserDirectoryID":b["UserDirectoryID"]})[0]))&&(f["BK"].push(b));f["DBK"]=b;f["USID"]=a||"";(c)&&(U.MR.DHQH(c,"UD_SYSXZBYPLOO"));U.D.PB.Pa.XSYCBK(h.Parent());if(d){(!US.userInfo.userid)&&(U.D.SY.ET.DLHD=[U.M.apply(this,[[U.D.PB.DJPBCKMU,([b,e,c,a])]])]);if(d[2]==2&&a){U.A.Request("pb.IFCollect",([b.UserDirectoryID,US.userInfo.userid||US.NU]),U.D.PB.CMHBK,(["",U.M.apply(this,[[U.D.PB.DJPBCKMU,([b,e,c,a])]])]));}else{U.D.PB.FYYMHBK(1);h=U.D.PB.CKBKTZCL(h,b);U.D.PB.XJBKMU(h[0],b["Child"],b);}}else{(h=$("#UD_SYSXZBYPR")[0]).innerText="";U.D.SY.CSXWP(b.UserDirectoryID||b.PublishedDirectoryID,null,b);b["IF"]=[];U.A.Request("pb.GBKSJ",([b.UserDirectoryID||b.PublishedDirectoryID,a||US.NU]),U.D.PB.AsynYMHBK,([[h,true],b,null,a,U.M.apply(this,[[U.D.PB.DJPBCKMU,([b,e,c,a])]])]));}};U.D.PB.AsynYMHBK=function(f){var d=f.context,b=d[1],g=d[2],a=d[3],c=d[4],e=b.PublishedParentID;b["IF"]=(f=f.value);b["IF"][0]=[,b["IF"][0][0]];_$(b).Add(f[3]);b.PublishedParentID=e;b["Child"]=f[4];b["IF"].splice(3,2);(c||U.D.PB.YMHBK)(b,g,null,a);};U.D.PB.XJBKMU=function(c,b,f){var e,a,d=$$("div",{"className":"UD_SYSXZBYTC"});c.innerText="";if(!b||!b.length){b=[{"UserDirectoryName":"< 返回上一层"}];a=true;}for(e=0;e<b.length;e++){$$("div",{"className":"UD_SYSXZBYTO","innerHTML":b[e].UserDirectoryName,"onclick":[[U.D.PB.DJPBCKMU,([a?_$(U.D.SY.ET["NT"]["PB"]["BK"]).Select({"UserDirectoryID":f.PublishedParentID})[0]:b[e]])]]},d);}c.appendChild(d);};U.D.PB.CMHBK=function(c){var b=c.context,a=b[1];b[1]["IF"][2]=c.value;U.D.PB.YMHBK(a);};U.D.PB.YJYMHBK=function(a,c){var b=_$(U.D.SY.ET["NT"]["PB"]["BK"]).Select({"UserDirectoryID":a})[0];if(b){U.D.SY.CSXWP(b.UserDirectoryID,null,b);U.D.PB.YMHBK(b,c);}else{U.Alert("未加载完..请等待");}};U.D.PB.PBCKZXR=function(c,f){var a,d=$($(c).Parent()).Child(),b=$(c).Parent(3),e=["O","O","T"];for(i=0;i<d.length;i++){$(d[i])[(c==d[i])?(a=i,"addClass"):"removeClass"]("UD_SYSXZBTN"+e[i]);}if(!f){$(b).Parent(3).UH=b.UPL="";(a)&&(U.D.PB.NRMZXSX(1,a));}};U.D.SY.OLPB=function(c){var d,b=[["C","RM","UD_HCLLZA"],["T","RM","UD_HCLLS"],["B","BK","UD_HCLLX"],["S","RD","UD_HCLRXL"]],e=$("#UD_H").find(".UD_HCL"),a=e.childg(0,1),f=e.childg(0,0);for(d=0;d<b.length;d++){U.D.SY["OLPB"+b[d][0]](d<2?c[b[d][1]][d]:c[b[d][1]],(d<3?a:f).find("."+b[d][2])[0]);}};U.D.SY.OLPBT=function(b,c){var f,d=0,e,h,a=Math.ceil(b.length/16),g=$(c).childg();a=Math.min(a,2);for(f=0;f<a;f++){e=$$("frag");for(d;(d<b.length&&d<(f+1)*25);d++){h=$$("div",{"className":"UD_HCLLSO UTDF","innerHTML":b[d].ArticleTitle||"图片分享","onclick":[[U.D.PB.A.WAPMHBK,([b[d]])]]},e);h.innerText=h.innerText;}g.text("",f).append(e,f);}};U.D.SY.OLPBC=function(h,c){var e,d=0,b,f,k,a=$$("frag"),g=$(c).parentg();for(e=0;(e<h.length&&d<10);e++){b=$$("div",{"className":"UD_HCLLZO","title":h[e].ArticleTitle,"onclick":[[U.D.PB.A.WAPMHBK,([h[e]])]]});f=$$("div",{"innerHTML":h[e].ArticleContentBrief,"onclick":U.M.apply()},b);k=$("img",f)[0];(k)&&((!d)&&($(b).addAttrArray({"className":"UD_HCLLZO UD_HCLLZOO","style":{"marginLeft":"0"}})),d++,f.innerText="",U.D.SY.JZTPJS(k.src,f,h[e]),a.appendChild(b));}$(c).addAttrArray({"innerText":"","style":{"width":d*82+"px"}}).append(a);U.ME.LBTP({"e":c,"s":{"className":"UD_HCLLZO UD_HCLLZOO"},"h":{"className":"UD_HCLLZO"},"i":0});};U.D.SY.OLPBB=function(a,b){var d,f,c=$$("frag"),e=$("#UD_SYSSTO").Child()[1];for(d=0;(d<a.length&&d<8);d++){$$("div",{"className":"UD_HCLLXO","innerHTML":a[d].UserDirectoryName,"onclick":[[U.D.ZMQH,([true])],[U.D.SY.SYQHL,([e,true])],[U.D.PB.DJPBCKMU,([a[d]])]]},c);}b.appendChild(c);};U.D.SY.OLPBS=function(k,d){var g,e=0,b,h,l,c,f,a=$$("frag");for(g=0;(g<k.length&&e<12);g++){b=$$("div",{"className":"UD_HCLRXLO","onclick":[[U.D.PB.A.WAPMHBK,([k[g]])]]});h=$$("div",{"innerHTML":k[g].ArticleContentBrief},$$("div",{"className":"UD_HCLRXLOS"},b));l=$("img",h)[0];if(l||f){c=h.innerText;h.innerText="";a.appendChild(b);e++;(l)&&(U.D.SY.JZTPJS(l.src,h,k[g]));h=$$("div",{"className":"UD_HCLRXLOX"},b);$$("div",{"className":"UD_HCLRXLOXS","innerHTML":k[g].ArticleTitle},h);$$("div",{"className":"UD_HCLRXLOXX","innerText":c.Trim()},h);}(g==k.length-1)&&(g=0,f=true);}d.appendChild(a);};U.D.SY.OLPBFT=function(){if(!U.D.SY.DLTC(3)){U.D.ZMQH(true);$("#UD_SYSSTO").Child()[1].onclick();}};U.D.PB.NRMZXSX=function(b,g){var d,e=b*10,a,f=U.D.SY.ET["NT"]["PB"],c=f["RM"];f["DBK"]=null;if(!g){a=$("#UD_SYSXZBTOC").Child();for(d=0;d<a.length;d++){if($(a[d]).hasClass("UD_SYSXZBTNO")||$(a[d]).hasClass("UD_SYSXZBTC")){break;}}g=d;}if(g){a=$("#UD_SYSXZBY").Child();a[0].style.display="none";if((c=c[g-1]).length>=e){(b==1)&&(a[1].innerText="");U.D.PB.NSYPBL(a[1],c.slice(e-10,e),null);}else{U.D.PB.HRMZXSX(c.length/50+1,g-1,b);}(b==1)&&(U.D.PB.PBCKMU($("#UD_SYSXZBYPL")[0],_$(f["BK"]).Select({"PublishedParentID":US.PID})));}else{_UDCD[0].onclick();}};U.D.PB.HRMZXSX=function(a,d,b){var c=ITF*50;U.A.Request("pb.New_HostPosts",([c-50,c,d]),U.D.PB.AsynHRMZXSX,([[$("#UD_SYSXZBYPD")[0],true],a,d,b]));};U.D.PB.AsynHRMZXSX=function(e){var c=e.context,b=c[1],f=c[2],d=c[3],a=U.D.SY.ET["NT"]["PB"]["RM"];e=e.value;a[f]=a[f].concat(e);U.D.PB.RMZXSX(d,f+1);};U.D.PB.CKWDFBDJ=function(a){if(U.D.PB.CKWDFB(1)){U.D.PB.PBCKZXR(a);}};U.D.PB.CKWDFB=function(h,e,a){if(!U.D.SY.DLTC(3)){var c,f=US.userInfo.PB,k=U.D.SY.ET["NT"]["PB"],g=$("#UD_SYSXZBY"),d=g.Child(),b=$("#UD_SYSXZBYPL")[0];a=a||US.userInfo.userid;(!f||!f[0]||!f[0].length)&&($(b).Parent().style.display="none");k["DBK"]=e;k["USID"]=a;_UDID=e?e["UserDirectoryID"]:US.NU;c=U.D.T.FYGBL(f?f[1][_UDID]:null,h,[10,100]);(h==1)&&(U.D.PB.CKBKTZCL(g,e),d[1].innerText="");if(c[0]){(h==1)&&(U.D.PB.PBCKMU(b,f[0],a));U.D.PB.NSYPBL(d[1],c[0],e);if(!c[0].length&&h==1){U.D.PB.PMHBKK(d[1],e?null:{"onclick":[[_$(k).Add,([{"USID":""}])],[U.D.SY.SYQHL,([$("#UD_SYSSTO").Child()[1]])],[U.D.PB.PBCKZXR,([$("#UD_SYSXZBTOC").Child()[1]])]]});}}else{if(!$("div#loadImg",g[0])[0]){U.A.Request("pb.GetMeA",([a,_UDID,(c[1]-1)*100,c[1]*100,f?false:true]),U.D.PB.AsynCKWDFB,([[h==1?g.Parent():d[2],true],_UDID,h,c[1],e,a]));}}return true;}};U.D.PB.AsynCKWDFB=function(f){var g,d=f.context,h=d[1],e=d[2],a=d[3],c=d[4],b=d[5];f=f.value;if(f.length>1){US.userInfo.PB=[f[0],{}];US.userInfo.PB[1][h]=[null,f[1]];}else{g=US.userInfo.PB[1];(!g[h])&&(g[h]=[]);g[h][a]=f[0];}U.D.PB.CKWDFB(e,c,b);};U.D.SY.DLCKWDFB=function(b){var a=$($(b).Parent(3)).Child()[1];(!$("#UD_SYSXZBYPO",a)[0])&&(a.innerText="",$("#UD_SYSXZBYPO").appendTo(a));U.D.PB.CKWDFB(1);};U.D.PB.CKBKTZCL=function(c,a){var b,d=c.Child();d[0].style.display=a?"block":"none";U.D.SY.HDDB(0);$(c.Parent(5)).addAttrArray({"UH":"","UPL":""});if((b=$(c).Parent(3)).id=="UD_SYSXZBYP"){b.UPL=1;}d=$(d[0]).Child();U.D.PB.CSYMHBK(d[2],a);(_UDBD=$("#UD_SYSXZBFCTA")[0]).onclick=U.M.apply(_UDBD,[[U.D.PB.A.FBTZMU,([a,_UDBD])],[$($(_UDBD).Parent()).Child()[1].onclick]]);return d;};U.D.PB.CSYMHBK=function(c,a){var d,b=US.userInfo.userid,f=$(c).Child(),e=["GX","Img","Rm","Me","Disk"];for(d=0;d<5;d++){(f[d])&&(f[d].onclick=U.M.apply(f[d],[[U.D.PB.GNXZCK,([e[d],f[d],a])]]));}};U.D.PB.NSYPBL=function(b,q,k,c){b=$(b);var n,h=0,g,f=$("#UD_SYSXN")[0],r=U.D.SY.ET["NT"]["PB"]["DBK"],a=$$("frag"),p=b.Child(),l=b.Parent(2),m=$(l).Parent("UD_SYSXN"),e=m.offsetWidth-150,s=m.offsetHeight,d=Math.floor(e/366)||1,o=((c||typeof q=="number")?(c?0:q):p.length);if((q&&q.length)){for(;h<q.length;h++){$(U.D.PB.PBSYWZ(q[h],a,k)).addAttrArray({"style":{"marginRight":((h+o+1)%d)?"":"0px","marginTop":(!r&&((h+o)<d))?"0px":""}});}b.append(a,0,c?b[0].firstChild:null);(f.offsetHeight>=f.scrollHeight)&&(b.Parent(4).onscroll());}for(g=o;g<p.length;g++){$(p[g]).addAttrArray({"style":{"marginRight":((h+g+1)%d)?"":"0px","marginTop":(!r&&((h+g)<d))?"0px":""}});}((s=s-250)>0)&&(n=366+(d<2?200:0),b.css({"marginTop":r?"":"0px","width":l.style.width=($(b).Parent().style.width=((e=n*d-20))+"px"),"min-height":(l.style.minHeight=(s+"px"))}),$(l).Parent().style.width=e+170+"px");};U.D.PB.PBSYWZ=function(n,q,a){var c,o,e,b,p,u,f,s,v,h,d,m,l,t,g,k=US.userInfo.userid,r=n.UserNickName||n.UserName;c=$$("div",{"onclick":[[U.D.PB.A.WAPMHBK,([n,a])]],"className":"UD_SYSXZBPO"},q);b=$$("div",{"className":"UD_SYSXZBMCOS"},c);o=$$("div",{"className":"UD_SYSXZBMCOT UD_SYSXZBMCOTB"},b);e=$$("div",{"className":"UD_SYSXZBMCOTL"},o);$$("img",{"onerror":U.M.ImgError,"alt":r,"title":r,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([n.UserID])]],"src":U.M.GetImgU(n.UserThumbnailImageHead)},e);b=$$("div",{"className":"UD_SYSXZBMCOCA"},o);p=$$("div",{"className":"UD_SYSXZBMCOCAO UD_SYSXZBMCOCAT"},b);$$("div",{"className":"UD_SYSXZBPOCLS UTDF","innerHTML":n.ArticleTitle},p);$$("div",{"className":"UD_SYSXZBPOTM UTDF","innerHTML":(n.UserDirectoryName||(a?a.UserDirectoryName:"")),"onclick":[[U.M.StopBubble],[U.D.PB.PBSYWZML,([n,a])]]},o);(k&&n.UserID==k)&&($$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIS UD_SYSXZLRSRDTRZTIO UD_SYI","onclick":[[U.M.StopBubble],[U.UI.Confirm,(["是否删除该消息",[U.D.SY.SCPGBL,([n,c,a])]])]],"title":"移除消息"},o));p=$$("div",{"className":"UD_SYSXZBMCOCB"},b);$$("div",{"className":"UD_SYSXZBMCOTZ UTDF","innerHTML":r},p);$$("div",{"className":"UD_SYSXZBMCOTR","innerHTML":U.MT.getTDInterval(n.ArticleAddTime)},p);u=$$("div",{"className":"UD_SYSXZBPOC"},c);f=$$("div",{"className":"UD_SYSXZBPOCL"},u);s=$$("div",{"className":"UD_SYSXZBPOCLX","innerHTML":n.ArticleContentBrief},f);g=$("img",s)[0];if(g){s.innerText=s.innerText.AP(200);v=$$("div",{"className":"UD_SYSXZBPOCR","style":{"height":(222-Math.ceil(s.innerText.Count()/52)*20)+"px"}},u);h=$$("div",{"onclick":U.M.apply()},v);U.D.SY.JZTPJS(g.src,h,n);}else{$(s).addAttrArray({"innerText":s.innerText,"style":{"height":(f.style.maxHeight="100%")}});}d=$$("div",{"className":"UD_SYSXZBPOD"},c);m=$$("div",{"className":"UD_SYSXZBPODL"},d);l=$$("div",{"className":"UD_SYSXZBPODR"},d);t=$$("div",{"className":"UD_SYSXZZXRCDO"},l);$$("div",{"className":"UD_SYSXZZXRCDOI UD_SYI"},t);$$("div",{"innerHTML":"查看("+n.AricitleReadNumber+")"},t);t=$$("div",{"className":"UD_SYSXZZXRCDT"},l);$$("div",{"className":"UD_SYSXZZXRCDTI UD_SYI"},t);$$("div",{"innerHTML":"评论("+(n.ArticleReplayNumber<0?0:n.ArticleReplayNumber)+")"},t);return c;};U.D.SY.PMHBK=function(m,c,g,l){var e,d,k,b,f,o,h,n,a=$$("frag");for(e=0;e<m.length;e++){b=$$("div",{"className":"UD_SYSXZBECCO","onclick":[[U.D.PB.A.APMHBK,([m[e],g])],[U.D.PB.Re.RPMHBK,([m[e],1])]]});if(m[e].UserID==US.userInfo.userid){$$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO UD_SYI UD_SYSXZBECCOI","onclick":[[U.M.StopBubble],[U.UI.Confirm,(["是否删除该消息",[U.D.SY.SCPGBL,([m[e],b,g])]])]],"title":"移除消息"},b);}f=$$("div",{"className":"UD_SYSXZBECCOT"},b);o=$$("div",{"className":"UD_SYSXZBECCOTL"},f);$$("img",{"onerror":U.M.ImgError,"alt":m[e].UserNickName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([m[e].UserID])]],"src":U.M.GetImgU(m[e].UserThumbnailImageHead)},o);o=$$("div",{"className":"UD_SYSXZBECCOTR"},f);n=$$("div",{"className":"UD_SYSXZBECCOTRS"},o);$$("div",{"className":"UD_SYSXZBECCOTRSN","innerHTML":m[e].UserNickName},n);$$("div",{"className":"UD_SYSXZBECCOTRST","innerHTML":U.MT.getTDInterval(m[e].ArticleAddTime)},n);$$("div",{"className":"UD_SYSXZBECCOTRC UTDF","innerHTML":m[e].ArticleTitle},o);f=$$("div",{"className":"UD_SYSXZBECCOC"},b);$$("div",{"className":"UD_SYSXZBECCOCT UTDF","innerHTML":m[e]["ArticleContentBrief"]},f);o=$$("div",{"className":"UD_SYSXZBECCOCI","innerHTML":m[e]["ArticleContent"]},f);h=$("img",o);o.innerText="";(!h.length)&&(o.parentNode.removeChild(o));if(l){c.insertBefore(b,c.firstChild);}else{c.appendChild(b);}for(d=0;(d<h.length&&d<3);d++){n=$$("div",{"onclick":U.M.apply()},o);U.M.imgReady(h[d].src,null,U.M.apply(null,[[U.D.SY.DYWPTP,([n,null,m[e]])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])]]));}f=$$("div",{"className":"UD_SYSXZBECCOD"},b);o=$$("div",{"className":"UD_SYSXZBECCODL"},f);for(d=0;d<m[e].length;d++){}o=$$("div",{"className":"UD_SYSXZBECCODR"},f);f=$$("div",{"className":"UD_SYSXZBECCODRO"},o);$$("div",{"className":"UD_SYSXZBECCODROI UD_SYSXZBECCODROV UD_SYI"},f);$$("div",{"className":"UD_SYSXZBECCODRN","innerHTML":"浏览("+m[e].AricitleReadNumber+")"},o);f=$$("div",{"className":"UD_SYSXZBECCODRO"},o);$$("div",{"className":"UD_SYSXZBECCODRTI UD_SYSXZBECCODROV UD_SYI"},f);$$("div",{"className":"UD_SYSXZBECCODRN","innerHTML":"评论("+m[e].ArticleReplayNumber+")"},o);}};U.D.PB.PMHBKK=function(b,a){var e,c,d=$("#UD_SYSXZBFCAC")[0];e=$$("div",{"className":"UD_SYSXZBECCT"},b);$$("div",{"className":"UD_SYSXZBECCTS","innerHTML":"这里暂时没有任何内容哦! !"},e);c=$$("div",{"className":"UD_SYSXZBECCTX","innerHTML":"赶紧抢先: "},e);$$("span",{"innerHTML":"发布分享","onclick":(a&&a.onclick)?a.onclick:[[U.M.StopBubble],[U.M.IEVENT,([d,"mousedown"])],[U.M.IEVENT,([d,"focus"])]]},c);};U.D.PB.PBSYWZML=function(a,c){var b=U.D.SY.ET["NT"]["PB"],d=a["PublishedDirectoryID"]||a["UserDirectoryID"];c=c||_$(b["BK"]).Select({"UserDirectoryID":d})[0];U.D.PB.DJPBCKMU(c||{"UserDirectoryID":d,"UserDirectoryName":a["UserDirectoryName"]},null,null,b["USID"]==US.userInfo.userid?b["USID"]:null);};U.D.PB.A.TZSS=function(c,e,a){var f=U.D.SY.ET["NT"]["PB"],b=US.userInfo.userid,g=f["DBK"],d=c.value.Trim().AP(50).valueOf();if(c.value!=c.defaultValue&&d){f["USID"]=[d,a=(a||(g&&g["UserDirectoryID"])||US.NU),f["USID"]==b?b:US.NU];U.D.PB.A.FTZSS(d,e,a,f["USID"][2]);}else{U.Alert("请正确的输入..");}};U.D.PB.A.FTZSS=function(f,c,b,a){var g=$("#UD_SYSXZBYPR")[0],e=c*30,d=e-29;(P==1)&&(g.innerText="");U.A.Request("pb.SearchArtlce",([f,d,e,b,a]),U.D.PB.A.AsynTZSS,([[c==1?g:UD_SYSXZBYPD,true],g,P]));};U.D.PB.A.AsynTZSS=function(d){var b=d.context,a=b[1],c=b[2];d=d.value;if(d){if(d.length){(c==1)&&(a.innerText="");U.D.PB.NSYPBL(a,d);}else{if(c==1){U.D.PB.PMHBKK(a);}}}};U.D.PB.A.DJWYFB=function(){var b,a=U.D.SY.ET["NT"]["PB"]["DBK"];if(a){$("#UD_SYSXZBFCAC")[0].onmousedown();}else{a=["UD_SYSSTO","UD_SYSXZBTOC"];for(b=0;b<a.length;b++){$("#"+a[b]).Child()[1].onclick();}U.Alert("请选择目录!");}};U.D.PB.A.FBTZMU=function(a,b){U.D.PB.A.FBMSSBK(a,$(b).Parent(2),U.D.PB.A.AFBTZMU);};U.D.PB.A.AFBTZMU=function(c,b,a){U.D.PB.NSYPBL($("#UD_SYSXZBYPR")[0],c,a,true);};U.D.PB.A.BMSSBK=function(d,b,h,g){var e,c=d.parentNode,a=c.offsetHeight,f=$(c).Child();if(a>0){f[f.length-1].style.display=f[0].style.display=g;h["height"]="";$(c).addAttrArray({"style":b});$(d).addAttrArray({"style":h});d.style.height=c.offsetHeight-(f[0].offsetHeight+f[2].offsetHeight+(f[0].offsetHeight==0?20:58))+"px";}};U.D.PB.A.QXFBMSSBK=function(b){var a=$(b).Parent(2),c=$(a).Child();$("input",a)[0].value=c[1].innerText="";U.D.PB.A.BMSSBK(c[1],{"cssText":""},{"textIndent":"10px","color":"#000"},"none");};U.D.PB.A.FBMSSBK=function(h,b,c){var e="请登录发帖",k=$("input",b)[0],a=$("div#UD_SYSXZBFCAC",b)[0],f=k.value,g=a.innerText,d=a.innerHTML;if(!U.D.SY.DLTC(3)){if(f.Trim().length==0||f.Trim().length>40){e="标题太长或者为空";}else{if(g.Trim().length<0){e="内容太长或者为空";}else{U.A.Request("pb.addArticle",([h.UserDirectoryID,f,d,"false"]),U.D.SY.AsynFBMSSBK,(["",h,f,d,c]));k.value=a.innerText="";a.focus();a.blur();e="正在提交请稍后";}}}U.Alert(e);};U.D.SY.AsynFBMSSBK=function(g){var c,h,b=$("#UD_SYSXZBYPR")[0],f=g.context,d=f[1],e=f[4],a="服务器繁忙";g=g.value;c=new U.D.PB.A.BMSSBTI([0,U.MT.SetDT(new Date()),f[3],f[3],g,0,f[2],US.userInfo.userid,US.userInfo.UserNickName,US.userInfo.UserThumbnailImageHead]);if(g){$("#UD_SYSXZBELSD&div")[2]=(d.ACF++)+1;a="发表成功";h=d["IF"]?d["IF"][0][1]:US.userInfo.PB[1][d.UserDirectoryID][1];(!h.length)&&(b.innerText="");h.unshift(c);(e||U.D.SY.PMHBK)([c],b,d,true);}U.Alert(a);};U.D.PB.A.BMSSBTI=function(a){this.AricitleReadNumber=a[0];this.ArticleAddTime=a[1];this.ArticleContent=a[2];this.ArticleContentBrief=a[3];this.ArticleID=a[4];this.ArticleReplayNumber=a[5];this.ArticleTitle=a[6];this.UserID=a[7];this.UserNickName=a[8];this.UserThumbnailImageHead=a[9];};U.D.SY.DYTJY=function(b,a,e){var d,c=$$("frag");b.innerText="";for(d=0;d<a.length;d++){$$("div",{"style":(d%e[0])?{"marginLeft":e[1]}:{},"className":"UTDF","innerHTML":a[d].UserDirectoryName,"onclick":[[U.M.StopBubble],[U.D.PB.YMHBK,([a[d]])]]},c);}b.appendChild(c);};U.D.SY.PZRHD=function(p,c){var h,g,b,a,k,d,m,n,f,o,e,l;c.innerText="";for(h=0;h<p.length;h++){a=$$("div",{"className":"UD_SYSXROCRCO","onclick":[[U.D.PB.A.WAPMHBK,([p[h]])]]},c);k=$$("div",{"className":"UD_SYSXROCRCOS"},a);d=$$("div",{"className":"UD_SYSXROCRCOSL"},k);m=$$("div",{"innerHTML":p[h].ArticleContent,"onclick":U.M.apply()},d);l=$("img",m)[0];m.innerText="";if(l){U.M.imgReady(l.src,null,U.M.apply(null,[[U.D.SY.DYWPTP,([m,null,p[h]])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])]]));}else{U.D.SY.WPMHBK(m,"暂无图片区",[{"top":"8px","height":"65px"}]);}n=$$("div",{"className":"UD_SYSXROCRCOSR"},k);$$("div",{"className":"UD_SYSXROCRCOSRS","innerHTML":(b=p[h].ArticleTitle).length>20?b.substr(0,13)+"...":b},n);e=$$("div",{"className":"UD_SYSXROCRCOSRX"},n);$$("div",{"className":"UD_SYSXROCRCOSRXL","innerHTML":p[h].AricitleReadNumber},e);f=$$("div",{"className":"UD_SYSXROCRCOSRXR","onclick":[[U.D.SY.UIFZX,([p[h].UserID])]]},e);$$("img",{"onerror":U.M.ImgError,"alt":p[h].UserName,"onclick":[[U.D.SY.UIFZX,([p[h].UserId])]],"src":U.M.GetImgU(p[h].UserThumbnailImageHead)},f);o=$$("div",{"className":"UD_SYSXROCRCOX UTDF","innerHTML":p[h].ArticleContentBrief},a);o.innerText=o.innerText.Trim().substr(0,40);}};U.D.SY.PZRHDN=function(a,b){var c,h,e,f,g,d;for(c=0;c<a.length;c++){h=$$("div",{"className":"UD_SYSXROCRCT","onclick":[[U.D.PB.A.WAPMHBK,([a[c]])]]},b);e=$$("div",{"className":"UD_SYSXROCRCTS"},h);f=$$("div",{"className":"UD_SYSXROCRCTSL"},e);$$("img",{"onerror":U.M.ImgError,"title":a[c].UserName,"alt":a[c].UserName,"onclick":[[U.D.SY.UIFZX,([a[c].UserId])]],"src":U.M.GetImgU(a[c].UserThumbnailImageHead)},f);f=$$("div",{"className":"UD_SYSXROCRCTSR"},e);$$("div",{"className":"UD_SYSXROCRCTSRS","innerHTML":a[c].UserName},f);$$("div",{"className":"UD_SYSXROCRCTSRX UTDF","innerHTML":a[c].ArticleTitle},f);f=$$("div",{"className":"UD_SYSXROCRCTZ UTDF","innerHTML":a[c].ArticleContentBrief},h);f.innerText=f.innerText.Trim().substr(0,40);f=$$("div",{"className":"UD_SYSXROCRCTX"},h);g=$$("div",{"innerHTML":a[c].ArticleContent},f);d=$("img",g)[0];g.innerText="";if(d){U.M.imgReady(d.src,null,U.M.apply(null,[[U.D.SY.DYWPTP,([g,null,a[c]])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])]]));}else{U.D.SY.WPMHBK(g,"暂无图片区",[{"top":"12px","width":"75px","height":"65px"}]);}$$("div",{"className":"UD_SYSXROCRCTD","innerHTML":a[c].AricitleReadNumber.SPL()},h);}};U.D.SY.PZRFY=function(b,a,c){};U.D.SY.PZR=function(l,c){var b,e,k,m,n,g,f,d,h,a;n=U.M.SetElement(l.ArticleContent,"img","De");b=U.D.SY.TYYS(l.UserId,"UD_SYSXZZXLCO UD_SYSXZZXRCO",U.M.GetImgU(l.UserThumbnailImageHead),l.UserNickName,U.MT.getTDInterval(l.ArticleAddTime));e=$$("div",{"className":""},b);$$("div",{"className":"UD_SYSXZZXRCT","innerHTML":l.UserDirectoryName},e);m=$$("div",{"className":"UD_SYSXZZXRCC UTDF","innerHTML":l.ArticleContentBrief},e);k=$$("div",{"className":"UD_SYSXZZXRCD"},e);if(n[0]){f=$$("div",{"className":"UD_SYSXZZXRCDI"},k);g=$$("div",{"className":"UD_Radius","onclick":[[U.M.StopBubble],[U.D.Img.Img,([l,[{"Thm":n[0][0].src,"Img":n[0][0].src}]])]]},f);c.appendChild(b);U.M.imgReady(n[0][0].src,null,U.M.apply(null,[[U.D.SY.DYWPTP,([g,null,l])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])]]));}else{m.className="UD_SYSXZZXRCCO";k.className="UD_SYSXZZXRCDF";}d=$$("div",{"className":"UD_SYSXZZXRCDOA"},k);h=$$("div",{"className":"UD_SYSXZZXRCDO"},d);$$("div",{"className":"UD_SYSXZZXRCDOI UD_SYI"},h);$$("div",{"innerHTML":l.AricitleReadNumber},h);a=$$("div",{"className":"UD_SYSXZZXRCDT"},d);$$("div",{"className":"UD_SYSXZZXRCDTI UD_SYI"},a);$$("div",{"innerHTML":(l.ArticleReplayNumber<0?0:l.ArticleReplayNumber)},a);(n[0]==null)&&(c.appendChild(b));};U.D.SY.HD=function(a){};U.D.SY.PBWZ=function(c,b,d){var a=U.D.SY.ET["NT"]["PB"]["ZT"];if(a){a=a.slice((c-1)*3,c*3);if(a.length>0){(b.innerText="",U.D.SY.PPBWZ(a,b));}else{U.D.SY.ET["NT"]["PB"]["P"]+=d;}}else{U.A.Request("pb.GetPAT",([0,12]),U.D.SY.AsynPBWZ,(["",c,b,d]));}};U.D.SY.AsynPBWZ=function(b){var a=b.context;b=b.value;U.D.SY.ET["NT"]["PB"]["ZT"]=b;U.D.SY.PBWZ(a[1],a[2],a[3]);};U.D.SY.PPBWZ=function(g,c){var d,k,b,a,l,f,h,e;for(d=0;d<g.length;d++){k=U.M.SetElement(g[d].ArticleContent,"img","De");if(k.length>0){b=U.D.SY.TYYS(g[d].UserID,"UD_SYSXZZXLCO UD_SYSXZZSO UD_Radius",U.M.GetImgU(g[d].UserThumbnailImageHead),g[d].UserName,U.MT.getTDInterval(g[d].ArticleAddTime));a=$$("div",{"className":"UD_SYSXZZSC UD_SmallRadius"},b);$$("div",{"className":"UD_SYSXZZSCT UTDF","innerHTML":k[1].innerText},a);l=$$("div",{"className":"UD_SYSXZZSCC"},a);f=$$("div",{},l);h=$$("div",{"className":"UD_SYSXZZSCD"},a);$$("div",{"className":"UD_SYSXZZSCDI UD_SYI"},h);$$("div",{"innerHTML":"查看更多"},h);c.appendChild(b);U.M.imgReady(k[0][0].src,null,U.M.apply(null,[[U.D.SY.DYWPTP,([f,null,g[d]])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])]]));}}};U.D.PB.GNXZCK=function(d,c,m,o){var g,h,n,k,b=$("#UD_SYSXZBYPR")[0],a=(c&&c.className=="UD_SYSXZBECTC UD_SYSXZBECTO"),q=U.D.SY.ET["NT"]["PB"],f=US.NU,l=US.userInfo.PB,e=US.userInfo.userid,p=m.UserDirectoryID;o=o||1;d=d||"GX";switch(d){case"GX":g=["Publicpage",0,0];break;case"Img":g=["GetPATImg",4,1];break;case"Rm":g=["RPHotPost",3,2];break;case"Disk":U.D.SY.SYDLHD(U.M.apply(this,[[U.D.DT.YYDK,(["PDisk",[US.DG]])]]));return;break;case"Me":if(U.D.SY.DLTC(3)){return;}g=["GetMeA",5,3];break;}(g&&g[2]!=null)&&U.D.PB.SPMHBK(c||$("#UD_SYSXZBALCB").Child()[g[2]]);q["USID"]=(e&&(q["USID"]==e||q["USID"][1]==e))?(k=true,[d,e]):d;n=U.D.T.FYGBL((h=(k?(d=="GX"?l[1][p]:(l[1][d]?l[1][d][p]:null)):m["IF"][g[1]])),o,[20,100]);if(!n[0]||a){g[2]=[p,(n[1]-1)*100,n[1]*100];if(g[0]=="Publicpage"){g[2].push(1);}else{if(g[0]=="GetMeA"){g[2].unshift(US.userInfo.userid);}}(a&&h&&h[1]&&h[1][0])&&(f=h[1][0].ArticleID);g[2].push(f);g[2].push(k?e:US.NU);U.A.Request("pb."+g[0],(g[2]),U.D.PB.AsynTMTZ,([!a?[o==1?b:$("#UD_SYSXZBYPD")[0],true]:"",m,g[1],o,d,n[1],b,p,k,k?l[1]:null]));}else{(o==1)&&(b.innerText="");if(o==1&&!n[0].length){U.D.PB.PMHBKK(b);}else{if(n[0].length){U.D.PB.NSYPBL(b,n[0],m);}}}};U.D.PB.AsynTMTZ=function(c){var a,b=c.context,a=b[1],h=b[2],e=b[3],d=b[4],k=b[5],m=b[6],o=b[7],f=b[8],g=b[9],n=h,l=f?g:a;c=c.value;if(f){(d!="GX")&&(l=l[d]=l[d]||{});n=o;}else{l=l["IF"];}if(!l[n]){l[n]=[null,c];}else{if(k>1){l[n][k]=c;}else{l[n][1]=c.concat(l[n][1]);}}if(d=="GX"&&c.length&&l["IF"]){l["ACF"]=c[0].AllCount||l["ACF"];}U.D.PB.GNXZCK(d,null,a,e);};U.D.PB.SPMHBK=function(a){var c,b,d=$($(a).Parent()).Child();for(c=0;c<d.length-3;c++){d[c].className="UD_SYSXZBALCO"+(d[c]==a?" UD_SYSXZBALCOO":"");}};U.D.PB.Pa.SQPGHBK=function(h){if(!U.D.SY.DLTC(3)){var c,e,d=U.D.SY.ET["NT"]["PB"],f=h?h[0]:d["DBK"],a=$("#UD_SYTB").addAttrArray({"style":{"display":"block"}}),g=$("div#UD_SYTBODLR",a[0])[0],b=$("input",a[0])[0];h=(f?_$(d["BK"]).Select({"PublishedParentID":f["PublishedParentID"]}):[]).concat(h||[]);(!h.length)&&(h.push(f));g.innerText="";e=$$("select",{"onchange":[[U.D.PB.Pa.SZSQPGHBKTS,([h,b,"this"])]]});e.options.length=h.length;for(c=0;c<h.length;c++){$(e.options[c]).addAttrArray({"text":h[c].UserDirectoryName,"value":h[c].UserDirectoryName});(!f||(f["UserDirectoryID"]==h[c]["UserDirectoryID"]))&&(e.selectedIndex=c);}e.onchange();g.appendChild(e);U.D.SetDTop(a[0]);U.D.PopupWindow(a.Child()[0]);b.focus();}else{U.D.SY.ET.DLHD=[U.M.apply(this,[[U.D.SY.SYQHL,([$("#UD_SYSSTO").Child()[1]])]])];}};U.D.PB.Pa.SZSQPGHBKTS=function(b,c,a){$("#UD_SYTBOXR")[0].onclick=U.M.apply(this,[[U.D.PB.Pa.QDSQPGHBK,([c,b[a.selectedIndex]])]]);};U.D.PB.Pa.SQPGHBKTS=function(a,b){$(a).addAttrArray({"innerHTML":b,"style":{"display":"block"}});};U.D.PB.Pa.QDSQPGHBK=function(c,k){if(!U.D.SY.ET.PB.SQ){var g,l,e,h=(event.type!="blur"),a=k||U.D.SY.ET["NT"]["PB"]["DBK"],f=$(c).Parent(5),d=$("i",f)[0],b=$("div",f);b=b[b.length-2];if((g=c.value)&&g!=c.defaultValue){if((e=U.MS.FFZF.test(g))&&g.length){U.D.SY.ET.PB.SQ=true;U.A.Request("pb.IsDName",([g,US.userInfo.userid,a?(a["UserDirectoryID"]||a["PublishedDirectoryID"]):US.PID,"1",h]),U.D.PB.Pa.AsynQDSQPGHBK,(["",c,k,f,d,h]));l="检测中...";}U.D.PB.Pa.SQPGHBKTS(d,l||(e?"输入内容长度不允许大于50":"不允许输入特殊字符"));}}};U.D.PB.Pa.DDJL=function(a){a.onclick(true);};U.D.PB.Pa.AsynQDSQPGHBK=function(c){var g,h="版块名已存在无法建立",b=c.context,k=b[1],a=b[2],f=b[3],d=b[4],e=b[5];U.D.SY.ET.PB.SQ=false;if(e&&c.value.UserDirectoryID){U.D.PB.Pa.AsynSSQPGHBK(c);}else{if((c=c.value)===0){h="允许发送建立信息";g=$("div",f);g.addAttrArray({"onclick":[[U.D.PB.Pa.SSQPGHBK,(["this",k,f,a])]]},g.length-3);}U.D.PB.Pa.SQPGHBKTS(d,h);}};U.D.PB.Pa.SSQPGHBK=function(d,b,e,a){var c=$("i",e)[0];U.D.SY.ET.PB.SQ=true;U.D.PB.Pa.SQPGHBKTS(UDED,"等待服务器响应");U.A.Request("pb.addRoot",([UDN,US.userInfo.userid,_UDE?(_UDE["UserDirectoryID"]||_UDE["PublishedDirectoryID"]):US.PID,"1"]),U.D.PB.Pa.AsynSSQPGHBK,(["",b,a,e,c]));};U.D.PB.Pa.AsynSSQPGHBK=function(e){var d=e.context,f=d[1],a=d[2],c=d[3],b=d[4];e=e.value;U.D.SY.ET.PB.SQ=false;f.value=f.defaultValue;U.Alert(e.UserDirectoryID?(c.style.display="none","申请版块成功,请等待审核..."):((f.focus()||true),"服务器繁忙,请重新填写..."));};U.D.PB.A.WAPMHBK=function(f,e,b,c){(typeof f=="string")&&(f={"ArticleID":f,"PublishedDirectoryID":""});var d,g=$("#UD_SYP"),a=g.Child()[0],k=U.D.SY.ET["NT"]["PB"]["BK"],h=f.PublishedDirectoryID!=null?f.PublishedDirectoryID:e["UserDirectoryID"]||"";(b!=true)&&(U.D.SY.JBXS(g),g.Center(),$(g.Child()[0]).Center());(h)&&(e=e||_$(k).Select({"UserDirectoryID":h})[0],(!e)&&(k.push(e={})));if(f&&f["IF"]){if(f["ArticleID"]){U.D.PB.A.APMHBK(f,e);U.D.PB.Re.RPMHBK(f,1,c);}else{U.D.PB.YMHBK(e);}if((d=US.PB.News)&&(_$((d=d[0])).Select({"ArticleID":f["ArticleID"]}))[0]){U.D.SY.SNXX(f.ArticleID,d);}}else{U.A.Request("pb.GetPND",([h,(US.userInfo.userid||US.NU),f.ArticleID]),U.D.PB.A.AsynWAPMHBK,([[$("#UD_SYPA",a)[0],true],f,k,e,c]));}};U.D.PB.A.AsynWAPMHBK=function(d){var a,c=d.context,b=c[1],e=c[2],g=c[3]||{},f=c[4],h=g.UserDirectoryID||"";d=d.value;_$(g).Add(d[0]);_$(g).Add({"IF":d[1],"UserDirectoryID":h||g.UserDirectoryID});(e&&!_$(e).Select({"UserDirectoryID":h})[0])&&(e.push(g));g["IF"][0]=[,g["IF"][0][0]];_$(b).Add((b["IF"]=d[2][0]));U.D.PB.A.WAPMHBK(b,g,true,f);};U.D.PB.A.APMHBK=function(a,c){if(a["IF"]){var b=U.D.SY.ET["NT"]["PB"];c=c||_$(b["BK"]).FineOne({"UserDirectoryID":a.PublishedDirectoryID});U.D.PB.A.PAPMHBK(a,c);b["DWZ"]=a;}else{U.A.Request("pb.ArticleContent",([a.ArticleID,"PB"]),U.D.PB.A.AsynAPMHBK,(["",a,c]));}};U.D.PB.A.AsynAPMHBK=function(c){var b=c.context,a=b[1],d=b[2];c=c.value;a["IF"]=c[0];U.D.PB.A.APMHBK(a,d,_UDOD);};U.D.PB.A.PAPMHBK=function(k,f){var e,m,g,d=k["IF"],b=[f.ACF,0,f.DCF],l=$("#UD_SYPCL"),c=l.Child(),h=$($(c[0]).Child()[0]).Child(),a=$("div",h[1]);a[0].innerHTML=f.UserDirectoryName;for(e=0;e<b.length;e++){a[(e+1)*3+1].innerText=b[e];}h=$(c[1]).Child();a=$("div",h[0]);g=$($("img",a[0])[0]||$$("img",{},a[0])).addAttrArray({"onerror":U.M.ImgError,"alt":d.UserNickName,"onclick":[[U.D.SY.UIFZX,([d.UserID])]],"src":U.M.GetImgU(d.UserThumbnailImageHead)});a[2].innerText=d.ArticleTitle;a[4].innerText=d.UserNickName;a[5].innerText=U.MT.getTDInterval(d.ArticleAddTime);$(l.Parent(2)).addAttrArray({"style":{"height":l.Parent(3).offsetHeight-16+"px"},"onscroll":U.M.SSCH({"AF":U.D.PB.Re.FGRPMHBK}).SCH()})[0].scrollTop=0;h[1].innerHTML=d.ArticleContent;a=$("img",h[1]);g=[];for(e=0;e<a.length;e++){g.push({"Time":k.ArticleAddTime,"Thm":a[e].src,"Img":a[e].alt.indexOf(US.fs)>-1?a[e].alt:a[e].src});$(a[e]).addAttrArray({"style":{"cssText":""},"onclick":[[U.M.StopBubble],[U.D.Img.Img,([d,g,e])]]});}$("a",h[1]).addAttrArray({"target":"_blank"});a=$("div",h[3]);_UIE=[0,d.ArticleReplayNumber<0?0:d.ArticleReplayNumber,d.AricitleReadNumber];for(e=0;e<_UIE.length;e++){a[e*3+1].innerText=_UIE[e];}$("#UD_SYPCLRCDO")[0].onclick=U.M.apply(this,[[U.D.PB.Re.APRPMHBK,([null,$("#UD_SYPCLRCC")[0],k])]]);$("#UD_SYPCLRCC")[0].innerText="发表评论...";};U.D.PB.Re.RPMHBK=function(e,d,c){var b=$("#UD_SYPCLRR")[0],a=U.D.T.FYGBL(e.Reply,d,[10,100]);(d==1)&&(b.innerText="");if(a[0]){if(a[0].length){U.D.PB.Re.PRPMHBK(a[0],b,e,c);}else{}return true;}else{U.A.Request("pb.Reply100List",([e.ArticleID,(a[1]-1)*100,a[1]*100]),U.D.PB.Re.AsynRPMHBK,(["",e,d,a[1],c]));}};U.D.PB.Re.FGRPMHBK=function(){U.D.PB.Re.RPMHBK(U.D.SY.ET["NT"]["PB"]["DWZ"],this.P+2);};U.D.PB.Re.AsynRPMHBK=function(d){var c,b=d.context,a=b[1];d=d.value;(a.Reply==null)&&(a.Reply=[]);a.Reply[b[2]]=[];for(c=0;c<d.length;c++){if(d[c].ReplyParentID==null){a.Reply[b[2]].push(d[c]);d[c]["RR"]=_$(d).Select({"ReplyParentID":d[c].ReplyID});}}U.D.PB.Re.RPMHBK(a,b[2],b[4]);};U.D.PB.Re.PRPMHBK=function(m,o,l,f){var q,p,g,r,a,n,t,c,s,d,k,e,h=US.userInfo,b=$$("frag");for(q=0;q<m.length;q++){g=m[q]["RR"]||[];a=$$("div",{"className":"UD_SYPCLRRO"},b);(f==m[q].ReplyID)&&(r=a);n=$$("div",{"className":"UD_SYPCLRROS"},a);t=$$("div",{"className":"UD_SYPCLRROSA"},n);c=$$("div",{"className":"UD_SYPCLRROL"},t);$$("img",{"onerror":U.M.ImgError,"alt":m[q].UserNickName,"onclick":[[U.D.SY.UIFZX,([m[q].ReplyAddUserID])]],"src":U.M.GetImgU(m[q].UserThumbnailImageHead)},c);c=$$("div",{"className":"UD_SYPCLRROR"},t);s=$$("div",{"className":"UD_SYPCLRRORS"},c);$$("div",{"className":"UD_SYPCLRRORSN","innerHTML":m[q].UserNickName},s);$$("div",{"className":"UD_SYPCLRRORST","innerHTML":U.MT.getTDInterval(m[q].ReplyAddTime)},s);s=$$("div",{"className":"UD_SYPCLRRORX"},c);d=$$("div",{"className":"UD_SYPCLRRORXC"},s);k=$$("div",{"className":"UD_SYPCLRRORXCO","innerHTML":m[q].ReplyContent},d);$("a",k).addAttrArray({"target":"_blank"});k=$("img",k);e=[];for(p=0;p<k.length;p++){e.push({"Time":m.ArticleAddTime,"Thm":k[p].src,"Img":k[p].alt.indexOf(US.fs)>-1?k[p].alt:k[p].src});k.addAttrArray({"style":{"cssText":""},"onclick":[[U.M.StopBubble],[U.D.Img.Img,([h,e,p])]]},p);}c=$$("div",{"className":"UD_SYPCLRROM"},t);$$("div",{"className":"UD_SYPCLRROMA","innerHTML":"回复"+(g.length>0?"("+g.length+")":""),"onclick":[[U.D.PB.Re.XPRPMHBK,([n,m[q],l])]]},c);n=$$("div",{"className":"UD_SYPCLRROX"},a);for(p=0;(g&&p<g.length);p++){c=$$("div",{"className":"UD_SYPCLRROXO"},n);(f==g[p].ReplyID)&&(r=c);s=$$("div",{"className":"UD_SYPCLRROL"},c);$$("img",{"onerror":U.M.ImgError,"alt":g[p].UserNickName,"onclick":[[U.D.SY.UIFZX,([g[p].ReplyAddUserID])]],"src":U.M.GetImgU(g[p].UserThumbnailImageHead)},s);s=$$("div",{"className":"UD_SYPCLRROXOR"},c);d=$$("div",{"className":"UD_SYPCLRROXORS"},s);$$("div",{"className":"UD_SYPCLRROXORSO","innerHTML":g[p].UserNickName},d);$$("span",{"className":"UD_SYPCLRROXORSS","innerHTML":"回复"},d);$$("div",{"className":"UD_SYPCLRROXORSO","innerHTML":g[p].ParentUserNickName,"style":{"marginLeft":"5px"}},d);d=$$("div",{"className":"UD_SYPCLRRORX"},s);k=$$("div",{"className":"UD_SYPCLRRORXC"},d);$$("div",{"className":"UD_SYPCLRRORXCO","innerHTML":g[p].ReplyContent},k);s=$$("div",{"className":"UD_SYPCLRROM"},c);$$("div",{"className":"UD_SYPCLRROMA","innerHTML":"回复","onclick":[[U.D.PB.Re.XPRPMHBK,([c,g[p],l,m[q]])]]},s);}}o.appendChild(b);(r)&&(r.scrollIntoView(false),$(o).Parent(2).scrollLeft=0);};U.D.PB.Re.XPRPMHBK=function(c,a,g,e){if(!U.D.SY.DLTC(3)){var f,d,b=$("#UD_SYPCLRCL")[0];(b==null)&&(b=$("#UD_SYPCLRC")[0].cloneNode(true),$(b).addAttrArray({"id":"UD_SYPCLRCL"}));d=$($($(b).Child()[0]).Child()[0]).addAttrArray({"innerText":"发表评论...","id":""})[0];(f=$("div",b))[f.length-1].onclick=U.M.apply(this,[[U.D.PB.Re.APRPMHBK,([a,d,g,e||a])]]);c.appendChild(b);d.focus();}};U.D.PB.Re.APRPMHBK=function(b,c,e,d){var g=c.innerHTML,a="请先登录",f=b?(b.ReplyParentID||b.ReplyID):"";if(US.userInfo.userid){a="回复的内容部能为空";if(c.innerText.Trim().length>0&&g!="发表评论..."){a="正在回帖请稍等";U.A.Request("pb.ReportReply",([e.ArticleID,c.innerHTML,f,b?b.ReplyAddUserID:""]),U.D.PB.Re.AsynAPRPMHBK,(["",b,e,c.innerHTML,d]));c.innerHTML="";}}U.Alert(a);};U.D.PB.Re.AsynAPRPMHBK=function(f){var d,h,e="服务器繁忙",c=f.context,b=c[1],a=c[3],g=c[4]||c[2];f=f.value;if(f){(b?g["RR"]:g["Reply"][1]).unshift((h=new U.D.PB.Re.TPRPMHBK([b?b.UserNickName:"",U.MT.SetDT(new Date()),US.userInfo.userid,a,f,b?(b.ReplyParentID||b.ReplyID):"",b?b.ReplyAddUserID:"",US.userInfo.UserNickName,US.userInfo.UserThumbnailImageHead])));$("#UD_SYPCLCD&div")[1].innerHTML=(g.ArticleReplayNumber++)+1;U.D.PB.Re.RPMHBK(c[2],1);e="发表回复成功";}U.Alert(e);};U.D.PB.Re.TPRPMHBK=function(a){this.ParentUserNickName=a[0];this.ReplyAddTime=a[1];this.ReplyAddUserID=a[2];this.ReplyContent=a[3];this.ReplyID=a[4];this.ReplyParentID=a[5];this.ReplyVerifyUserID=a[6];this.UserNickName=a[7];this.UserThumbnailImageHead=a[8];this.RR=[];};U.D.PB.Pa.SCYMHBK=function(d,b,c){if(!U.D.SY.DLTC(3)&&(!d["IF"]||d["IF"][2]!=2)){var a=["您确认要收藏该版块吗","AddCollect",[US.userInfo.userid,d.UserDirectoryID||d.PublishedDirectoryID]];(d["IF"]&&d["IF"][2])&&(a[0]="您取消版块收藏吗",a[1]="DCollect",a[2].splice(1,0,""));U.Alert("服务器同步中...");U.A.Request("pb."+a[1],a[2],U.D.PB.Pa.AsynSCYMHBK,(["",d,b,c]));}};U.D.PB.Pa.TJSCYMHBK=function(c,b,a){if(!c["IF"]){c["IF"]=[null,null,a?0:1];}else{c["IF"][2]=(a=(a&&c["IF"][2]))?0:1;}$(b).addAttrArray({"innerHTML":a?"添加爱好":"取消爱好","className":b.className.replace(" UD_SYSXRAHRCOTCOO","")+(a?"":" UD_SYSXRAHRCOTCOO")});};U.D.PB.Pa.AsynSCYMHBK=function(c){var d,e=["取消爱好",1,1," UD_SYSXZBELSLXO"],a=US.userInfo["SC"],f=U.D.SY.ET["NT"]["PB"]["BK"],b=c.context,h=b[1],k=b[2],l=b[3],g=h.UserDirectoryID;c=c.value;if(c&&!l){d=_$(f).Select({"UserDirectoryID":g})[0];if(h["IF"]&&h["IF"][2]){(a)&&(_$(a).Delete({"UserDirectoryID":g}));e[0]="添加爱好";e[1]=0;e[2]=-1;e[3]="";U.Alert("取消对该版块的关注");}else{(a)&&(a.unshift(f||h));U.Alert("收藏成功");}h["DCF"]+=e[2];h["IF"][2]=e[1];(k)&&($([$("#UD_SYSXZBELSLX")[0],b[2]]).addAttrArray({"innerText":e[0],"className":"UD_SYSXZBELSLX"+(e[3]||"")}));}else{U.Alert("版块已收藏");}(l)&&(l(h,k,c));};U.D.PB.Pa.ZSYMHBK=function(a){if(US.userInfo.userid){var c=1,b=US.userInfo["SC"];(b)&&(c=U.D.T.FYGBL(b,a,[30,300]),U.D.SY.PZSYMHBK((b=c[0])),c=c[1]);(b)&&(U.A.Request("pb.GetCollect",([US.userInfo.userid,c*50-50,c*50]),U.D.PB.Pa.AsynZSYMHBK,(["",a])));}else{parent.U.Alert("请登录");}};U.D.PB.Pa.AsynZSYMHBK=function(b){var a=b.context;US.userInfo["SC"]=b=b.value;U.D.SY.PZSYMHBK();};U.D.SY.PZSYMHBK=function(a,b){};U.D.PB.Pa.BKSSBK=function(a,d){var b=$(a).Child(),c=$("input",a)[1];if(d[1]=="block"||c.value==""){b[0].style.display=d[0];b[1].style.display=d[1];(d[1]=="block")&&($("input",b[1])[0].focus());}};U.D.PB.Pa.BSBKSSBKO=function(a){var d=$("#UD_SYSXZBALSTI"),b=$("input",d.Parent())[0],c=$("input",a.parentNode)[0];if(c.value!=c.defaultValue){b.value=c.value;U.D.PB.Pa.SBKSSBKO(d[0],$("#UD_SYXT").Child()[2].onclick);}};U.D.PB.Pa.SBKSSBKO=function(c,h){var f,a,e=["none","block"],k,m=U.D.SY.ET["NT"]["PB"]["BK"],g=$(c).Parent(4),b=$($(g).Child()[1]).Child()[1],l=$("input",g)[1],d=l.value.Trim();if(d&&l.value!=l.defaultValue){a=_$(m).Select({"UserDirectoryName":d})[0];if(a){U.D.PB.DJPBCKMU(a);}else{U.A.Request("pb.GetZDKM",([d]),U.D.PB.Pa.AsynSBKSSBKO,([[$("#UD_SYSXZBALZ")[0],true],b,d,m,h]));return;}}U.D.PB.Pa.XSYCBK(b,e);};U.D.PB.Pa.AsynSBKSSBKO=function(d){var f,e,b=d.context,h=b[1],c=b[2],l=b[3],k=b[4],g=$(h).Child(),a=["block","none"];d=d.value;if((e=d[0])&&e[0]){a=["none","block"];l.push(e[0]);U.D.PB.DJPBCKMU(e[0]);}else{U.D.PB.Pa.PKSBKSSBK(g[0],d[1],c,k);}U.D.PB.Pa.XSYCBK(h,a);};U.D.PB.Pa.PKSBKSSBK=function(b,a,d,f){var c,g,e;b.innerText="";$$("div",{"className":"UD_SYSXZBATO","innerHTML":'暂时找不到<span> "'+d+'" </span>版块'},b);if(a.length){g=$$("div",{"className":"UD_SYSXZBATC"},b);$$("div",{"className":"UD_SYSXZBATCL","innerHTML":"是不是在找?"},g);e=$$("div",{"className":"UD_SYSXZBATCR"},g);for(c=0;c<a.length;c++){$$("div",{"className":"UD_SYSXZBATCRO","title":a[c].UserDirectoryName,"innerHTML":a[c].UserDirectoryName,"onclick":[[U.D.PB.DJPBCKMU,([a[c]])]]},e);}}$$("div",{"className":"UD_SYSXZBATD","innerHTML":"返回上一步 >","onclick":f||[[U.D.PB.Pa.XSYCBK,([b.parentNode,["none","block"]])]]},b);};U.D.PB.Pa.XSYCBK=function(c,a){var b,d=$(c).Child();a=a||["none","block"];for(b=0;b<a.length;b++){d[b].style.display=a[b];}};U.D.SY.Blog=function(){if(!U.D.SY.ET["UB"]){U.A.Request("Blog.nologinload",([]),U.D.SY.AsynBlog,([[$("#UD_SYSXN")[0],true]]));}};U.D.SY.AsynBlog=function(c){var b,a=U.D.SY.ET["UB"]=[[]];c=c.value;for(b=1;b<c.length;b++){a[b]=c[b];}U.D.ZFSYPFY(a[0][1]=c[0]);U.D.SY.ZMBMAIN(a);};U.D.ZFSYPFY=function(a){for(i=0;i<a.length;i++){a[i]["JZ"]=true;if(a[i].Forward){j=a.length;while(j--){if(a[i].Forward==a[j].ArticleID){a[i].ZF=a.splice(j,1)[0];break;}}}}return a;};U.D.SY.ZMBMAIN=function(a){U.D.SY.ZMBCK(a[0][1],$("#UD_HCBCCL")[0]);U.D.SY.ZMBRMCK(a[2],$("#UD_HCBCCROC")[0]);U.D.SY.ZMBTBY(a[1],$("#UD_HCBCCRTC")[0]);};U.D.SY.SWZMBM=function(a,d){var b=U.D.SY.ET["UB"],c=$("#UD_HCBCCL")[0];c.innerText="";U.MR.DHQH(a,"UD_HCBTLOO");U.D.SY.ZMBCK(d?b[2]:b[0][1],c);};U.D.SY.ZMBCK=function(m,e){var k,h=0,d,c,l,n,b,f,g,a=$$("frag");for(k=0;(k<m.length&&h<9);k++){g=m[k];c=$$("div",{"className":"UD_HCBCCLO","onclick":[[U.D.SY.GSHGBL,([g])]],"style":{"marginLeft":h%3?"":"0"}});l=$$("div",{"className":"UD_HCBCCLOS"},c);l=$$("div",{"className":"UD_HCBCCLOSO"},l);l=$$("div",{"innerHTML":g.ArticleContentBrief,"onclick":U.M.apply()},l);n=$("img",l)[0];d=l.innerText;l.innerText="";if(n){h++;U.D.SY.JZTPJS(n.src,l,m[k]);a.appendChild(c);l=$$("div",{"className":"UD_HCBCCLOX"},c);b=$$("div",{"className":"UD_HCBCCLOXS"},l);f=$$("div",{"className":"UD_HCBCCLOXSL","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([g.UserId])]]},b);$$("img",{"onerror":U.M.ImgError,"alt":g.UserName,"title":g.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([g.UserID])]],"src":U.M.GetImgU(g.UserThumbnailImageHead)},f);$$("div",{"className":"UD_HCBCCLOXSR","innerHTML":U.MT.getTDInterval(g.ArticleAddTime)},b);$$("div",{"className":"UD_HCBCCLOXSZ","innerHTML":g.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([g.UserId])]]},b);$$("div",{"className":"UD_HCBCCLOXX","innerHTML":d},l);}}e.appendChild(a);};U.D.SY.ZMBRMCK=function(b,c){var e,a,h,f,g,d=$$("frag");for(e=0;(e<b.length&&e<3);e++){a=b[e];h=$$("div",{"className":"UD_HCBCCROCO","onclick":[[U.D.SY.GSHGBL,([a])]]},d);f=$$("div",{"className":"UD_HCBCCROCOL","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserId])]]},h);$$("img",{"onerror":U.M.ImgError,"alt":a.UserName,"title":a.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserID])]],"src":U.M.GetImgU(a.UserThumbnailImageHead)},f);f=$$("div",{"className":"UD_HCBCCROCOR"},h);$$("div",{"className":"UD_HCBCCROCORL","innerHTML":a.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserId])]]},f);g=$$("div",{"className":"UD_HCBCCROCORS UTDF","innerHTML":a.ArticleContentBrief},f);g.innerText=g.innerText;$$("div",{"className":"UD_HCBCCROCORZ UTDF","innerHTML":"已有"+a.AricitleReadNumber+"人阅读"},f);}c.appendChild(d);};U.D.SY.ZMBTBY=function(b,c){var e,a,g,f,d=$$("frag");for(e=0;(e<b.length&&e<6);e++){a=b[e];g=$$("div",{"className":"UD_HCBCCRTCO","onclick":[[U.D.SY.GSHGBL,([a])]]},d);f=$$("div",{"className":"UD_HCBCCRTCOS"},g);$$("img",{"onerror":U.M.ImgError,"alt":a.UserName,"title":a.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserID])]],"src":U.M.GetImgU(a.UserThumbnailImageHead)},f);$$("div",{"className":"UD_HCBCCRTCON UTDF","innerHTML":a.UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserId])]]},g);$$("div",{"className":"UD_HCBCCRTCOC","innerHTML":"追随","onclick":[[U.M.StopBubble],[U.D.SY.YAddFriend,([a])]]},g);}c.appendChild(d);};U.D.SY.PFY=function(b){var d=$("#UD_SYSXN")[0],a=$("#UD_SYSXZBR")[0],c=U.D.T.FYGBL(U.D.SY.ET["UB"][0],b,[30,120]),e=c[1]*120;if(c[0]){(b==1)&&(a.innerText="");U.D.SY.ZXBlog(a,c[0],false,$(a).Child().length);(d.scrollHeight<=d.offsetHeight)&&(U.D.SY.PFY(b+1));}else{U.A.Request("Blog.getNewArticess",([e-120,e]),U.D.SY.AsynPFY,([[$("#UD_SYSXSZCD")[0],1],b,c[1]]));}};U.D.SY.AsynPFY=function(g){var e,c,b=U.D.SY.ET["UB"][0],d=g.context,f=d[1],a=d[2];U.D.ZFSYPFY(b[a]=g.value);U.D.SY.PFY(f);};U.D.SY.ZXBlog=function(t,q,b,h,y){var u,v,c,k,l,n,x,w,a,r,e,z,A,x,z,o,s,f,p,g,d=$$("frag"),m=US.userInfo.userid,c=U.D.SY.ZXWZ(t,h,null,true);for(u=0;u<q.length;u++){g=null;v=true;l=q[u];w=$$("div",{"className":"UD_SYSXZBRA","style":{"cssText":"left:"+c[4]+"px;top:"+c[5]+"px"}},d);a=$$("div",{"className":"UD_SYSXZBRAO"},w);a=$$("div",{"className":"UD_SYSXZBRO","onclick":[[U.D.SY.GSHGBL,([l,null,null])]]},a);k=l.ArticleAddTime;if(l.ZF){r=$$("div",{"className":"UD_SYSXZBMCOT UD_SYSXZBMCOTT"},a);$$("div",{"className":"UD_SYSXZLRSRDTSL UD_SYI UD_SYSXZLRSRDTSLO"},r);e=$$("div",{"className":"UD_SYSXZBMCOTLT"},r);$$("img",{"onerror":U.M.ImgError,"alt":l.UserName,"title":l.UserName,"onclick":[[U.D.SY.UIFZX,([l.UserID])]],"src":U.M.GetImgU(l.UserThumbnailImageHead)},e);e=$$("div",{"className":"UD_SYSXZBMCOTZTO UTDF"},r);z=$$("div",{"className":"UD_SYSXZBMCOTZTOS"},e);$$("div",{"className":"UD_SYSXZBMCOTZTOSL","innerHTML":l.UserName},z);$$("div",{"className":"UD_SYSXZBMCOTZTR UD_SYSXZBMCOTZTOSR","innerHTML":"推荐了"},z);e=$$("div",{"className":"UD_SYSXZBMCOTZTOX","innerHTML":l.ArticleContentBrief},e);e.innerText=e.innerText.AP(50)||"";l=l.ZF;v=!v;}(y&&q[u].UserID==m)&&($$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO UD_SYI","onclick":[[U.M.StopBubble],[U.UI.Confirm,(["是否删除该消息",[U.D.SY.SCPGBL,([q[u],w])]])]],"title":"移除消息"},a));r=$$("div",{"className":"UD_SYSXZBMCOT UD_SYSXZBMCOTU"},a);e=$$("div",{"className":"UD_SYSXZBMCOTL UD_SYSXZBMCOTLO"},r);$$("img",{"onerror":U.M.ImgError,"alt":l.UserName,"title":l.UserName,"onclick":[[U.D.SY.UIFZX,([l.UserID])]],"src":U.M.GetImgU(l.UserThumbnailImageHead)},e);z=$$("div",{"className":"UD_SYSXZBMCOTO UD_SYSXZBMCOTZ UTDF","innerHTML":l.UserName},r);$$("div",{"className":"UD_SYSXZBMCOTR UD_SYSXZBMCOTRO","innerHTML":U.MT.getTDInterval(k)},r);A=$$("div",{"className":"UD_SYSXZBROCO"},a);x=$$("div",{"className":"UD_SYSXZBROC","onclick":[[U.D.SY.GSHGBL,([l])]]},A);(o=l.ArticleContent)&&(s=$$("div",{"className":"UD_SYSXZBROCC"}),f=$$("div",{"onclick":U.M.apply(),"innerHTML":o},s),g=$("img",f)[0],f.innerText="",(g)&&(x.appendChild(s)),U.D.SY.JZTPJS(g.src,f,l));A=$$("div",{"className":"UD_SYSXZBROCS","style":{"width":g?"":"358px","marginLeft":g?"":"0px"}},x);z=$$("div",{"className":"UD_SYSXZBROCT"+(l.ArticleContentBrief?" UD_SYSXZBROCTO":""),"innerHTML":l.ArticleContentBrief},A);z.innerText=z.innerText.AP(150)||"图片分享";p=$$("div",{"className":"UD_SYSXZBROCD"},A);e=$$("div",{"className":"UD_SYSXZLRSRDTRDRO"},p);z=$$("div",{"className":"UD_SYSXZLRSRDTRDRZ","title":"转发","onclick":[[U.M.StopBubble],[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.SY.PAZF,([l])]])])]]},e);$$("div",{"className":"UD_SYSXZLRSRDTRDRZIO UD_SYI"},z);$$("div",{"innerHTML":l.ArticleZFN,"className":"UD_SYSXZLRSRDTRDRZN"},z);z=$$("div",{"className":"UD_SYSXZLRSRDTRDRZ","title":"回复"},e);$$("div",{"className":"UD_SYSXZLRSRDTRDRZIT UD_SYI"},z);$$("div",{"innerHTML":l.ArticleReplayNumber,"className":"UD_SYSXZLRSRDTRDRZN"},z);}n=$(d).Child();t.insertBefore(d,((h!=null)&&($(t).Child()[h]))||null);U.D.SY.ZXWZ(t,(h||0),d,false);};U.D.SY.ZXWZ=function(q,f,h,a){var s,r,m,u,o,e,n,t=[],w=$(q).Child(),b=U.CI.getBrowser(),d=(b.browser=="msie"&&(parseInt(b["ver"])<10)),l=$(q).Parent().offsetWidth,v=q.offsetHeight,g=450,c=Math.floor((l+20)/(g+20)),r=Math.ceil(f/c)-1,p=f%c;for(s=0;s<c;s++){t[s]=[20];}e=[g,100/c,c,p,(l-g)/2,v-(US.Height/2),d];if(h){if(r>-1){for(s=0;s<c;s++){o=w[(r-(s<(p||c)?0:1))*c+s];t[s]=[o.offsetHeight+o.style.parent.toInt()+20];}}for(s=0;s<h.length;s++){_UIM=(s+p)%c;t[_UIM].push(t[_UIM][t[_UIM].length-1]+h[s].offsetHeight+20);}for(s=0;s<h.length;s++){_UIM=(s+p)%c;h[s].style.cssText="top:"+(t[_UIM].shift())+"px;left:"+(_UIM*(g+20))+"px;";}f+=s;}if(!a){if(f<w.length){for(s=f;s<w.length;s++){_UIM=s%c;t[_UIM].push(t[_UIM][t[_UIM].length-1]+w[s].offsetHeight+20);}for(s=f;s<w.length;s++){_UIM=s%c;w[s].style.cssText="top:"+(t[_UIM].shift())+"px;left:"+(_UIM*(g+20))+"px;";}}v=0;for(s=0;s<t.length;s++){v=Math.max(t[s],v);}(v)&&(q.style.cssText+=(";height:"+v+"px;width:"+(c*(g+20)-20)+"px"));}return e;};U.D.SY.FBCKME=function(){U.D.SY.SYDLHD(U.M.apply(this,[[U.D.SY.HDSY,([["none","block"]])],[U.D.SY.DLXXCKQH,([$("#UD_SYSXZLLRTA").Child()[2]])],[U.D.SY.BHFBGBL,([$("#UD_SYSXZLRSSI").Parent(),true])]]));};U.D.SY.PNXX=function(){var g,n,f,p,l,d,a=US.PB.News[0],o=$("#UD_SYSXZLRSR")[0],e=$("#UD_SYSXZLRSRO")[0],k=e.parentNode,h=$("span",k),m=$("#UD_SYXTXO")[0],c=$(m.parentNode),b=c.Child();if((f=a.length)){U.D.SY.PNWB(a);d=_$(a).Select({"NF":null});p=_$(a).Select({"NF":US.PID});l=_$(a).Select({"NF":US.NU});if(f=d.length){U.D.SY.PNSXX(d.slice(0,3),o);(f>3)&&(k.style.display="block",U.D.SY.PNXXX(e,d.slice(3,10)),h[h.length-2].innerText=f);$("div",k)[0].onclick=U.M.apply(this,[[U.M.StopBubble],[U.D.SY.SNXX,([null,d,e])]]);}else{g=0;n=2;}if(p.length||l.length){U.D.SY.BNXX(p,m);U.D.SY.SQBNXX(l,m);b[2].innerHTML="有"+(a.length-d.length)+"条新讨论消息";c[0].style.display="block";b[0].onclick=U.M.apply(this,[[U.M.StopBubble],[U.D.SY.SNXX,([null,p,m])]]);}else{g=g==null?2:g;n=3;}}else{g=0;n=3;}g=g||0;n=(n==null?0:n||3);a=[e,o,m];for(;g<n;g++){a[g].innerText="";(g-1>0)&&($(a[g]).parentg(g-1).css("display","none"));}};U.D.SY.PNWB=function(c){var d,b,a=[];for(d=0;d<c.length;d++){a.push({"UsParamet":[c[d].NF,c[d].ArticleID,c[d].ReplyID],"UsImag":U.M.GetImgU(c[d].UserThumbnailImageHead),"UsName":c[d].UserName,"UsType":"UPBR","UsSYScontent":c[d].ReplyContent});}if((b=window.external)){try{window.external.news(U.MS.SerializeJsonToStr(a));}catch(f){}}};U.D.SY.BNXX=function(k,d){var g,c,l,h,f,b,e=k.length,a=$$("frag");$(d).addAttrArray({"style":{"display":"block"},"innerText":""});for(g=0;g<e;g++){c=$$("div",{"className":"UD_SYXTXOOT","onclick":[[U.M.StopBubble],[U.D.PB.A.WAPMHBK,([k[g]])],[U.D.SY.SNXX,([k[g].ArticleID,k,"this"])]]},a);l=$$("div",{"className":"UD_SYXTXOOTL"},c);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(k[g].UserThumbnailImageHead)},l);h=$$("div",{"className":"UD_SYXTXOOTR UTDF"},c);f=$$("div",{"className":"UD_SYXTXOOTRS"},h);$$("div",{"className":"UD_SYXTXOOTRSN UTDF","innerHTML":k[g].UserName},f);b=$$("div",{"className":"UD_SYXTXOOTRSC","innerHTML":k[g].ArticleContentBrief},f);b.innerText=b.innerText.Trim();$$("div",{"className":"UD_SYXTXOOTRX","innerHTML":k[g].ReplyContent},h);$$("div",{"className":"UD_SYSSRXOMS UD_SYXTXOOTC","innerHTML":"查看"},c);}d.appendChild(a);};U.D.SY.SQBNXX=function(b,c){var a,e,d=$$("frag");for(i=0;i<b.length;i++){a=[[U.M.StopBubble],[U.D.SY.SNXX,([b[i].ArticleID,b,"this"])]];(b[i].ArticleTitle!="0")&&(a=[[U.D.PB.DJPBCKMU,([{"ArticleID":"","PublishedDirectoryID":b[i].ArticleID},null])],[U.D.SY.HDSY,([["block","none"],[false,["block","none",false]]])]].concat(a));e=$$("div",{"className":"UD_SYXTXOOO","onclick":a},d);$$("div",{"className":"UD_SYXTXOOOL UD_SYI"},e);$$("div",{"className":"UD_SYXTXOOOZ","innerHTML":'您申请的版块 "<span>'+b[i].ArticleContentBrief+'</span>" '+b[i].ReplyContent},e);$$("div",{"className":"UD_SYXTXOOOR"+(a?" UD_SYXTXOOORO":""),"innerHTML":a?"关闭":"查看","onclick":a?[[U.M.StopBubble],[U.D.SY.SNXX,([b[i].ArticleID,b,e])]]:null},e);}c.appendChild(d);};U.D.SY.PNSXX=function(a,b){var d,f,e,c=$$("frag");$(b).addAttrArray({"style":{"display":"block"},"innerText":""});for(d=0;d<a.length;d++){f=$$("div",{"className":"UD_SYSXZLRSRA","style":d?{}:{"marginLeft":"0px"},"title":a[d].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.GSHGBL,([a[d]])],[U.D.SY.SNXX,([a[d].ArticleID,a,"this"])]]},c);e=$$("div",{"className":"UD_SYSXZLRSRAI"},f);$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(a[d].UserThumbnailImageHead)},e);$$("div",{"className":"UD_SYSXZLRSRAT UD_SYI","innerHTML":a[d].UCN},f);}b.appendChild(c);};U.D.SY.PNXXX=function(c,b){var e,a,h,f,g,d=$$("frag");c.innerText="";for(e=0;e<b.length;e++){a=$$("div",{"className":"UD_SYSXZLRSROO","onclick":[[U.M.StopBubble],[U.D.SY.GSHGBL,([b[e]])],[U.D.SY.SNXX,([b[e].ArticleID,b,"this"])]]},d);h=$$("div",{"className":"UD_SYSXZLRSROOL"},a);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(b[e].UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([b[e].ReplyAddUserID])]]},h);f=$$("div",{"className":"UD_SYSXZLRSROOR"},a);g=$$("div",{"className":"UD_SYSXZLRSROORS"},f);$$("div",{"className":"UD_SYSXZLRSROORSN","innerHTML":b[e].UserName},g);$$("div",{"className":"UD_SYSXZLRSROORSN","innerHTML":U.MT.getTDInterval(b[e].ReplyAddTime)},g);$$("div",{"className":"UD_SYSXZLRSROORX","innerHTML":b[e].ReplyContent},f);}c.appendChild(d);};U.D.SY.SNXX=function(g,a,b){var d,f=US.PB.News[0],e=g||_$(a).pluck("ArticleID"),c=b?b.parentNode:"";(g)&&(e=[e]);for(d=0;d<e.length;d++){_$([a,f]).Delete({"ArticleID":e[d]});}e=e.join(",");if(g&&b){if(a.length){$(b).remove();}else{b=b.parentNode;c=b.parentNode;}}(!g||!a.length)&&(b&&(b.innerText="",c.style.display="none"));U.D.SY.PNXX();U.A.Request("UseStudioManage.ChangeMoreNewsState",([e,0,1,2]),U.M.apply(),([]));};U.D.SY.BLEI=function(a){var c,b=["ArticleID","AricitleReadNumber","ArticleReplayNumber","ArticleAddTime","ArticleContent","ArticleContentBrief","UserID","UserName","UserThumbnailImageHead","ArticleZFN"];return _$().NL(b,a);};U.D.SY.SXGBL=function(d,b,a,f){var e=U.D.SY.ET["UL"]["HY"],c=e[b];if(a.className=="UD_SYSXZLLRTO"){if(!f&&!e["GX"]&&c&&c[1]&&c[1][0]){e["GX"]=true;U.A.Request("Blog.GFA",([b,0,100,US.userInfo.userid||US.NU,c[1][0]["ArticleID"]]),U.D.SY.AsynSXGBL,([[d,true],d,b,c]));}}else{U.D.SY.GBL(d,1,b);}};U.D.SY.GBL=function(f,c,b){var g=U.D.SY.ET["UL"]["HY"],e=g["UID"]||b,d=U.D.T.FYGBL(g[e],c,[15,150]),a=["ReplayMost",[(d[1]-1)*150,d[1]*150,e,US.NU]];(c==1)&&(f.innerText="");if(d[0]){if(d[0].length){U.D.SY.PGBL(f,d[0],null);if(f.scrollHeight<US.Height-f.offsetTop-120){U.D.SY.GBL(f,c+1,b);}}else{(c==1)&&(U.D.SY.PGBLK(f));}}else{(c==1)&&(f.style.height=Math.max((US.Height-110-f.offsetTop),50)+"px");if(e!="RM"){a[1].unshift(e);a[0]="GFA";}U.A.Request("Blog."+a[0],(a[1]),U.D.SY.AsynGBL,([c==1?[f,true]:null,f,c,d[1],e]));}};U.D.SY.AsynGBL=function(g){var d,h=U.D.SY.ET["UL"]["HY"],e=g.context,a=e[1],f=e[2],b=e[3],c=e[4];g=g.value;if(g){d=h[c];(!d)&&(d=h[c]=[]);d[b]=U.D.SY.ZFSGBL(g);U.D.SY.GBL(a,f,c);}};U.D.SY.AsynSXGBL=function(e){var f=U.D.SY.ET["UL"]["HY"],d=e.context,a=d[1],c=d[2],b=d[3];e=e.value;f["GX"]=false;(e.length)&&(b[1]=U.D.SY.ZFSGBL(e).concat(b[1]));U.D.SY.PGBL(a,e,null,0,true);};U.D.SY.ZFSGBL=function(a){var c,b;_$(a).Add({"JZ":true});for(c=0;c<a.length;c++){if(a[c].Forward){for(b=a.length-1;b>c;b--){if(a[c].Forward==a[b].ArticleID){a[c].ZF=a.splice(b,1)[0];break;}}}}return a;};U.D.SY.PGBL=function(c,b,e,a,d){if(e){U.D.SY.ZLNRPY(c,b);}else{U.D.SY.ZXBlog(c,b,d,a!=null?(a===true?$(c).Child().length-1:a):null,true);}};U.D.SY.ZLNRPY=function(o,m){var q,d,h,r,a,k,n,f,g,b,p,t,e,s,l,c=$$("frag");for(q=0;q<m.length;q++){d=true;a=$$("div",{"className":"UD_SYSXZLRSRDTK","style":q?{}:{"marginTop":"9px"}},c);k=$$("div",{"className":"UD_SYSXZLRSRDTKO"},a);if((h=m[q].ZF)||m[q].Forward){n=$$("div",{"className":"UD_SYSXZLRSRDTS"},k);$$("div",{"className":"UD_SYSXZLRSRDTSL UD_SYI"},n);f=$$("div",{"className":"UD_SYSXZLRSRDTSI"},n);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([m[q].UserID])]],"src":U.M.GetImgU(m[q].UserThumbnailImageHead)},f);f=$$("div",{"className":"UD_SYSXZLRSRDTSR"},n);g=$$("div",{"className":"UD_SYSXZLRSRDTSRS"},f);$$("div",{"className":"UD_SYSXZLRSRDTSRSL","innerHTML":m[q].UserName},g);$$("div",{"className":"UD_SYSXZLRSRDTSRSR","innerHTML":"推荐了"},g);$$("div",{"className":"UD_SYSXZLRSRDTSRX","innerHTML":m[q].ArticleContentBrief},f);if(m[q].UserID==US.userInfo.userid){$$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO UD_SYI","onclick":[[U.M.StopBubble],[U.UI.Confirm,(["是否取消转发",[U.D.SY.SCPGBL,([m[q],a])]])]],"title":"取消转发"},n);}else{$$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIT UD_SYI","title":"点击展开"},n);}d=!d;(h==null)&&(h=new U.D.SY.BLEI([m[q].ArticleID,0,0,m[q].ArticleAddTime,"很遗憾,动静已被作者删除了","很遗憾,动静已被作者删除了","","","",0]));}h=h||m[q];r=$$("div",{"className":"UD_SYSXZLRSRDTKLO"},k);n=$$("div",{"className":"UD_SYSXZLRSRDTKL"},r);f=$$("div",{"className":"UD_SYSXZLRSRDTLI"},n);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([h.UserID])]],"src":U.M.GetImgU(h.UserThumbnailImageHead)},f);$$("div",{"style":{"fontWeight":"100"},"className":"UD_SYSXZLRSRDTLKN UTDF","innerHTML":h.UserName||US.userInfo.UserNickName},n);g=$$("div",{"className":"UD_SYSXZLRSRDTKR UD_SYUPCC"},r);p=$$("div",{"className":"UD_SYSXZLRSRDTRZ UD_SYUPCCY"},g);t=$$("div",{"className":"UD_SYSXZLRSRDTRZTC UD_SYUPCCT"},p);U.D.SY.TPGBL(t,h,true,true);if(d&&h.UserID==US.userInfo.userid){if(h.UserID==US.userInfo.userid){$$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIO UD_SYI","onclick":[[U.M.StopBubble],[U.UI.Confirm,(["是否删除该消息",[U.D.SY.SCPGBL,([m[q],a])]])]],"title":"移除消息"},r);}else{if(!m[q].Forward){$$("div",{"className":"UD_SYSXZLRSRDTRZTI UD_SYSXZLRSRDTRZTIT UD_SYI","title":"点击展开"},r);}}}if(h.UserID){e=$$("div",{"className":"UD_SYSXZLRSRDTRD UD_SYSXZLRSRDTKRD"},p);r=$$("div",{"className":"UD_SYSXZLRSRDTRDY"},e);s=$$("div",{"className":"UD_SYSXZLRSRDTRDRT"},e);l=$$("div",{"className":"UD_SYSXZLRSRDTRDRZ","title":"转发","onclick":h["UserID"]?[[U.M.StopBubble],[U.D.SY.PAZF,([h,"this"])]]:""},s);$$("div",{"className":"UD_SYSXZLRSRDTRDRZI UD_SYSXZLRSRDTRDRZIO UD_SYI"},l);$$("div",{"className":"UD_SYSXZLRSRDTRDRZN","innerHTML":h.ArticleZFN},l);l=$$("div",{"className":"UD_SYSXZLRSRDTRDRZ","title":"回复"},s);$$("div",{"className":"UD_SYSXZLRSRDTRDRZI UD_SYSXZLRSRDTRDRZIT UD_SYI"},l);$$("div",{"className":"UD_SYSXZLRSRDTRDRZN","innerHTML":h.ArticleReplayNumber},l);a["onclick"]=U.M.apply(this,[[U.D.SY.GSHGBL,([h,null,null])]]);}$$("div",{"className":"UD_SYSXZLRSRDTD","innerHTML":U.MT.getTDInterval(h.ArticleAddTime)},a);}o.appendChild(c);};U.D.SY.WZPGBL=function(b,e){var c,a,d=b[3];for(c=b[0];c<b[1];c++){a=(b[2]+c)%3;$(e[c]).addAttrArray({"style":{"top":d[a]+"px","left":(361*a)+"px"}});d[a]+=e[c].offsetHeight+20;}};U.D.SY.GGBL=function(c,a){var e,d,f=$("#UD_SYSXZLLRTA").Child(),b=[[U.D.SY.GRWPQHJ,([c,a])],[U.D.PB.CKWDFB,([a,U.D.SY.ET["NT"]["PB"]["DBK"]])],[U.D.SY.GBL,([c,a])]];for(e=0;e<f.length;e++){(f[e].className=="UD_SYSXZLLRTO")&&(d=e);(b[e])&&(b[e]=U.M.apply(this,[b[e]]));}b[d]();};U.D.SY.GSHGBL=function(a,c,b){if(typeof a=="string"){a={"ArticleID":a,"JZ":true};}U.D.SY.ZKSHGBL(a,c,b);U.D.SY.HFRGBL(a,$("#UD_SYB")[0],1);};U.D.SY.ZKSHGBL=function(b,e,c){var a,f=$("#UD_SYB"),d=f.Child()[0];(!e&&!c)&&(U.D.SY.JBXS(f),U.D.PopupWindow(f[0]),U.D.PopupWindow(d));if(b.ArticleContent&&!b["JZ"]){if(c){U.D.SY.KZPGBL(b,c);}else{U.D.SY.PBPGBL(b,f[0]);}if((a=US.PB.News)&&(_$((a=a[0])).Select({"ArticleID":b["ArticleID"]}))[0]){U.D.SY.SNXX(b.ArticleID,a);}}else{U.A.Request("pb.ArticleContent",([b.ArticleID,"Blog"]),U.D.SY.AsynZKSHGBL,([[$(d).Child()[0],true],b,c]));}};U.D.SY.AsynZKSHGBL=function(b){var a=b.context;b=b.value;delete a[1]["JZ"];if(b.length){_$(a[1]).Add(b[0]);}else{a[1]["KZ"]=true;}U.D.SY.ZKSHGBL(a[1],true,a[2]);};U.D.SY.KZPGBL=function(a,b){var e=$("div.UD_SYSXZLRSRDTRDZD",b.parentNode)[0],c=["查看更多",true],d;if(e.innerHTML==c[0]){c[0]="收起";c[1]=false;}if(a["KZ"]){U.D.SY.SCTPGBL();}else{U.D.SY.TPGBL(b,a,c[1]);e.innerHTML=c[0];}};U.D.SY.SCTPGBL=function(a){};U.D.SY.TPGBL=function(c,m,l,g){var h,b,a,n,e,f,k,d=[];c.innerHTML=m.ArticleContent||m.ArticleContentBrief;h=$("img",c);f=c.innerText||m.ArticleContentBrief||"";c.innerText="";k=l?1:h.length;b=$$("div",{"className":g?"UD_SYSXZLRSRDTRZTCS":"UD_SYSXZLRSRDTRZTKCS","style":m.UserID?{}:{"color":"#9B9B9B","textAlign":"center","padding":"95px 0 90px 0"},"innerHTML":f},c);(f=b.innerText);b.innerText=(l?(f.length>60?f.substring(0,60)+"...":f):f);b.innerText=b.innerText.Trim()||"图片分享";if(h.length){a=$$("div",{"className":"UD_SYSXZLRSRDTRZTCD"+(g?" UD_SYSXZLRSRDTRZTKCD":""),"style":l?{}:{"width":"100%","height":"auto","paddingBottom":"10px"}},c);for(i=0;i<k;i++){d.push({"Time":m.ArticleAddTime||m.UserFilesAddTime,"Thm":h[i].src,"Img":h[i].alt.indexOf(US.fs)>-1?h[i].title:h[i].src});}for(i=0;i<k;i++){n=$$("div",{"className":l?"UD_SYSXZLRSRDTRZTCDT":"UD_SYSXZLRSRDTRZTCDO","onclick":U.M.apply()},a);if(l){U.D.SY.JZTPJS(h[i].src,n,m);}else{$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.Img.Img,([m,d,i])]],"src":h[i].src},n);}}}};U.D.SY.SCPGBL=function(a,b,c){U.Alert("正在和服务器同步...");U.A.Request("pb.DeleteArticleAndAllReply",([US.userInfo.userid,a.ArticleID]),U.D.SY.AsynSCPGBL,(["",b,a,U.D.SY.ET["UL"]["HY"]["UID"],c]));};U.D.SY.AsynSCPGBL=function(f){var e=f.context,a=e[1],d=e[2],c=e[3],g=e[4],b=a.parentNode;if(g){if(g["IF"]){_$([g["IF"][0],g["IF"][3],g["IF"][4],g["IF"][5]]).Delete({"ArticleID":d["ArticleID"]});}else{if(g.length){_$(g).Delete({"ArticleID":d["ArticleID"]});}else{_$(US.userInfo.PB[1][g.UserDirectoryID]).Delete({"ArticleID":d["ArticleID"]});}}}else{_$(U.D.SY.ET["UL"]["HY"][c]).Delete({"ArticleID":d["ArticleID"]});U.D.SY.YCPYQ(a);}$(a).remove();if(g){if((g.length||(g["IF"]&&g["IF"][0][1].length)||(!g["IF"]&&US.userInfo.PB[1][g.UserDirectoryID][1].length))){U.D.PB.NSYPBL(b,null,null,true);}else{U.D.PB.PMHBKK(b);}}else{if(b.id=="UD_SYSXZLRSRD"){U.D.SY.ZXWZ(b,0);}}U.Alert("移除消息成功...");};U.D.SY.YCPYQ=function(a){var c,b,e,f,g,d=$(a.parentNode).Child();for(c=0;c<d.length;c++){if(d[c]==a){e=[27,27,27];f=[Math.ceil((c+1)/3)-1,c%3];if(c>0){for(b=0;b<3;b++){g=d[((f[0]-(b<f[1]?0:1))*3)+b];e[b]=g?g["offsetHeight"]+g["offsetTop"]+27:27;}}U.D.SY.WZPGBL([c+1,d.length,-1,e],d);break;}}};U.D.SY.PGBLK=function(b){var a=US.Friend[1].length,d,c=$("#UD_SYSXZLRSSI")[0],e=$$("div",{"className":"UD_SYSXZLRSRDO"},b);$$("div",{"className":"UD_SYSXZLRSRDOS","innerHTML":a?"暂追随好友消息":"你还没有追随喜欢的人哦 ! &nbsp;!"},e);$$("div",{"className":"UD_SYSXZLRSRDOZ","innerHTML":a?"可以查看热门用户":"可以尝试追随喜欢的人。"},e);d=$$("div",{"className":"UD_SYSXZLRSRDOX","innerHTML":"或者:"},e);$$("span",{"innerHTML":"发布动静..","onclick":U.M.apply(c,[[U.M.StopBubble],[c.onfocus]])},d);};U.D.SY.PAZF=function(b,e){var f,d,a=$("#UD_SYR"),c=a.Child();(d=$("div",c[1])[0]).innerHTML="可添加内容...";U.D.SY.PAZFP(b,c[2]);U.D.PopupWindow(a[0]);(f=$(c[3]).Child()[1]).onclick=U.M.apply(f,[[U.D.SY.SPAZFF,([b,d,e])]]);d.focus();};U.D.SY.PAZFP=function(a,b){b.innerHTML="";var c,e,d,f=$$("div",{"className":"UD_SYRML"},b);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a.UserID])]],"src":U.M.GetImgU(a.UserThumbnailImageHead)},f);f=$$("div",{"className":"UD_SYRMR"},b);e=$$("div",{"className":"UD_SYRMRS"},f);$$("div",{"className":"UD_SYRMRSL","innerHTML":a.UserNickName||a.UserName},e);$$("div",{"className":"UD_SYRMRSR","innerHTML":U.MT.getTDInterval(a.ArticleAddTime)},e);e=$$("div",{"className":"UD_SYRMRX","innerHTML":(c=a["ArticleContentBrief"])},f);e.innerText=(c=e.innerText).length>30?c.substr(0,50)+"...":c;};U.D.SY.SPAZFF=function(a,b){if(a.ArticleContent&&!a["JZ"]){U.D.SY.PAZFF(a,b);}else{U.A.Request("pb.ArticleContent",([a.ArticleID,"Blog"]),U.D.SY.AsynSPAZFF,(["",a,b]));}};U.D.SY.AsynSPAZFF=function(d){var c=d.context,b=c[1],a=c[2];_$(b).Add(d.value[0]);delete b["JZ"];U.D.SY.SPAZFF(b,a);};U.D.SY.PAZFF=function(b,c){var a,d=[],e=c.innerHTML;(e=="可添加内容...")&&(e="");U.A.Request("pb.ZFArticle",([US.userInfo.userid,US.PID,b.ArticleID,e]),U.D.SY.AsynPAZFF,(["",e,b]));$(c).Parent(2).style.display="none";U.Alert("转发中...");};U.D.SY.AsynPAZFF=function(b){var a,c=$("#UD_SYSXZLLRTA").Child()[2];_UID=US.userInfo.userid,_UGE=U.D.SY.ET["UL"]["HY"],context=b.context,_UTH=context[1],_UDE=context[2],_UDOD=$$("div",{"innerHTML":_UTH});b=b.value;a=U.D.SY.BLEI([b,0,0,U.MT.SetDT(new Date()),_UTH,_UDOD.innerText.substr(0,100),US.userInfo.userid,US.userInfo.UserNickName,US.userInfo.UserThumbnailImageHead,0]);_$(a).Add({"Forward":_UDE["ArticleID"],"ZF":_UDE});(_UGE=_UGE[_UID])&&(_UGE[1]=_UGE[1]||[],_UGE[1].unshift(a));if(c.className=="UD_SYSXZLLRTO"){U.D.SY.PGBL($("#UD_SYSXZLRSRD")[0],[a],null,0,true);}else{U.D.SY.HDSY(["none","block"]);c.onclick();}};U.D.SY.PBPGBL=function(l,g){var h,b=["block","none"],c=$($($(g).Child()[0]).Child()[0]).Child();if(!l&&l["KZ"]){b.reverse();}else{var h,f,e,a=$$("frag"),k=$("div",c[0]),m=U.M.SetElement(l.ArticleContent,"img","De"),d=m[1].innerText;c[0].scrollTop=0;k[16].innerText=k[2].innerText=k[8].innerText="";k[5].innerText=l.UserNickName||l.UserName;k[6].innerText=U.MT.getTDInterval(l.ArticleAddTime);k[7].innerText=d||"图片分享";k.addAttrArray({"innerText":(l.ArticleZFN===undefined?l.AricitleReadNumber:l.ArticleZFN),"onclick":[[U.M.StopBubble],[U.D.SY.PAZF,([l])]]},11);$$("img",{"onerror":U.M.ImgError,"onclick":[[U.D.SY.UIFZX,([l.UserID])]],"src":U.M.GetImgU(l.UserThumbnailImageHead),"title":"点击查看"},k[2]);if((f=m[0].length)){for(h=0;h<f;h++){$$("img",{"src":m[0][h].src,"onclick":[[U.M.StopBubble],[U.D.Img.Img,([l,[{"Thm":m[0][h].src,"Img":m[0][h].alt.indexOf(US.fs)>-1?m[0][h].alt:m[0][h].src}]])]]},a);}k[8].appendChild(a);}(e=k["UD_SYBNO"]).onclick=U.M.apply(null,[[U.D.SY.FBHFRGBL,([l,e])]]);}for(h=0;h<b.length;h++){c[h].style.display=b[h];}return k;};U.D.SY.GDHFRGBL=function(a,b){U.D.SY.HFRGBL(a,b,this.P+2);};U.D.SY.HFRGBL=function(b,c,e){var d,f=[undefined],a=U.D.T.FYGBL(b.Reply,e),g=$(".UD_SYBAOO",c)[0];if(a[0]){d=$("div",g);(e==1)&&(d["UD_SYBF"].innerText="",d[14].innerText=b["ArticleReplayNumber"]||0);if(a[0].length>0){(e==1)&&(U.D.SY.PHFRGBLPL(a[0],d[16]),f[0]=U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.GDHFRGBL,([b,c])]])}).SCH());U.D.SY.PHFRGBL(a[0],d["UD_SYBF"],null,b);}else{f[0]=null;}(f[0]!==undefined)&&(g.onscroll=f[0]);}else{U.A.Request("pb.Reply100List",([b.ArticleID,(a[1]-1)*100,a[1]*100]),U.D.SY.AsynHFRGBL,(["",b,c,e,a[1]]));}};U.D.SY.AsynHFRGBL=function(g){var e,d=g.context,c=d[1],a=d[2],f=d[3],b=d[4];g=g.value;(c.Reply==null)&&(c.Reply=[]);c.Reply[b]=[];for(e=0;e<g.length;e++){if(g[e].ReplyParentID==null){c.Reply[b].push(g[e]);g[e]["RR"]=_$(g).Select({"ReplyParentID":g[e].ReplyID});}}U.D.SY.HFRGBL(c,a,f);};U.D.SY.PHFRGBLPL=function(b,c){var d,a={},e=$$("frag");for(d=0;d<b.length;d++){if(!a[b[d].ReplyAddUserID]){$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(b[d].UserThumbnailImageHead),"title":b[d].UserNickName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([b[d].ReplyAddUserID])]]},e);a[b[d].ReplyAddUserID]="Yes";}}c.appendChild(e);};U.D.SY.PHFRGBL=function(l,k,h,m,g){var d,c,n,f,b,e,a=$$("frag");f=l.length==1?m["Reply"][1]:l;for(d=0;d<l.length;d++){b=U.D.SY.YSPHFRGBL(l[d],a,m,g||l[d],g?k:null,f);n=l[d]["RR"];for(c=0;(n&&c<n.length);c++){U.D.SY.YSPHFRGBL(n[c],b,m,l[d],b,n);}}if(h&&k.firstChild){k.insertBefore(a,k.firstChild);}else{k.appendChild(a);}};U.D.SY.YSPHFRGBL=function(m,b,o,h,n,l){var a,f,e,c,k,g,d=m.ReplyAddUserID==US.userInfo.userid;a=$$("div",{"className":"UD_SYBFO"},b);e=$$("div",{"className":"UD_SYBFOI"},a);$$("img",{"onerror":U.M.ImgError,"title":m.UserNickName,"src":U.M.GetImgU(m.UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([m.ReplyAddUserID])]]},e);c=$$("div",{"className":"UD_SYBFOZ"},a);k=$$("div",{"className":"UD_SYBFOZK"},c);$$("div",{"className":"UD_SYBFOZTN","innerHTML":m.UserNickName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([m.ReplyAddUserID])]]},k);(m.ParentUserNickName)&&($$("div",{"className":"UD_SYBFOZKT","innerHTML":"回复"},k),$$("div",{"className":"UD_SYBFOZKO","innerHTML":"@"+m.ParentUserNickName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([m.ParentUserId])]]},k));$$("div",{"className":"UD_SYBFOZC UC_TF","innerHTML":m.ReplyContent,"onselectstart":[[U.M.StopBubble],[U.M.apply(this,"return true")]]},c);g=$$("div",{"className":"UD_SYBFOZTO"},c);$$("div",{"className":"UD_SYBFOZT","innerHTML":U.MT.getTDInterval(m.ReplyAddTime)},g);e=$$("div",{"className":"UD_SYBFT"},a);$$("div",{"className":"UD_SYBFOZTK"+(d?" UD_SYBFOZTKO":""),"title":d?"删除":"回复","innerHTML":d?"删除":"回复","onclick":d?[[U.UI.Confirm,(["是否撤销评论",[U.D.SY.SCPHFRGBL,([l,m,o,a])]])]]:[[U.D.SY.TCPHFRGBL,([o,e,h,n])]]},g);return e;};U.D.SY.PLCKBL=function(a){if(!U.D.SY.DLTC(3)){U.MR.InputTip(a,["发表回复...",""]);}else{a=$($(a).Parent(6));U.D.SY.ET.DLHD=[U.M.apply(a,[[a.addAttrArray,([{"style":{"display":"block"}}])]])];}};U.D.SY.SCPHFRGBL=function(c,a,d,b){c.splice(c.inArray(a),1);$("#UD_SYBK&div")[4].innerText-=1+(a["RR"]?a["RR"].length:0);$(b).remove();U.A.Request("pb.DeleteOneReplyAndChildReply",([US.userInfo.userid,a.ReplyID,d.ArticleID]),U.M.apply,([""]));};U.D.SY.TCPHFRGBL=function(d,a,b,e){var c,f=$("#UD_SYBNK")[0];if(!f){f=$("#UD_SYBN")[0].parentNode.cloneNode(true);f.id="UD_SYBNK";$(f).Child()[0].onblur=U.D.SY.YCTCPHFRGBL;}$($(f).Child()[0]).addAttrArray({"id":"","innerHTML":""});f.style.display="block";c=$(f).Child();c[1].onclick=U.M.apply(this,[[U.D.SY.FBHFRGBL,([d,c[1],b,f,e])]]);a.insertBefore(f,a.firstChild);c[0].focus();};U.D.SY.YCTCPHFRGBL=function(){var a=$(this.parentNode);setTimeout(U.M.apply(a,[[a.addAttrArray,([{"style":{"display":"none"}}])]]),500);};U.D.SY.FBHFRGBL=function(f,c,d,a,g){var b=U.M.GTCN(c.parentNode.childNodes)[0],e=b.innerHTML;if(e!="发表回复..."&&e!=""){U.A.Request("pb.ReportReply",([f.ArticleID,b.innerHTML,d?(d.ReplyParentID||d.ReplyID):"",d?d.ReplyAddUserID:""]),U.D.SY.AsynFBHFRGBL,(["",f,b.innerHTML,d,a,g]));(a)&&(a.style.display="none");b.innerText="";U.Alert("正在发送中...");}};U.D.SY.AsynFBHFRGBL=function(a){var g,k,h,d,b,l,f,e=$("#UD_SYBF")[0],c=a.context;a=a.value;b=c[1];d=c[2];h=c[3];l=c[4];f=c[5];(g=(h?h["RR"]:b["Reply"][1])).unshift((k=new U.D.SY.FRGBLET([g[0]?(g[0].AllCount+1):1,h?h.UserNickName:"",U.MT.SetDT(new Date()),US.userInfo.userid,d,a,h?h.ReplyID:"",h?h.ReplyAddUserID:"",US.userInfo.UserNickName,US.userInfo.UserThumbnailImageHead])));(!h)&&(k["RR"]=[]);U.D.SY.PHFRGBL([k],(h?(f||l.parentNode):e),true,b,h);$("div",e.parentNode)[14].innerText=k.AllCount;};U.D.SY.FRGBLET=function(b){var c=b.length,a=["AllCount","ParentUserNickName","ReplyAddTime","ReplyAddUserID","ReplyContent","ReplyID","ReplyParentID","ReplyVerifyUserID","UserNickName","UserThumbnailImageHead"];while(c--){this[a[c]]=b[c];}};U.D.SY.SGBL=function(c,f){var b=c.parentNode,a=["block",{"width":"310px","height":"25px"},"none","UD_SYSXZLRSSV UD_SYI"],d=$(b).Child(),e=$("div",d[1]);c=$(c);(f)&&(a[0]="none",a[1]={"width":"100%","height":"100px"},a[2]="block",a[3]="UD_SYSXZLRSSVA");c.addAttrArray({"style":a[1]});d[1].className=a[3];e[0].style.display=a[2];};U.D.SY.BHFBGBL=function(b,h){if(!h||!U.D.SY.DLTC(3)){var d,c,g,f,e=h?"removeClass":"addClass",a=["UD_SYSXZLRSAAO","UD_SYSXZLRSAOO","UD_SYSXZLRSATO"];b=b.length?b:[b];for(d=0;d<b.length;d++){f=(g=$(b[d])).Child();g[e](a[0],0);for(c=1;c<f.length;c++){$(f[c])[e](a[c]);}(h)&&(f[1].focus());}}};U.D.SY.OKFBGBL=function(a){var b=a.innerText;if(!b.SubstrN(300)){U.M.StopDefault();U.Alert("文字输入无法大于150");}};U.D.SY.FBGBL=function(b){var d,c=true,e=$(b).Parent(3),g=$("div",e),k=g[g.length-2],a=$("div@contentEditable=true",e)[0],f=$("img",k),h=a.innerHTML;if(h=="点击发表动静..."){h="";if(!f.length){c=false;}else{h="图片分享";}}else{if(!a.innerText.SubstrN(300)){U.Alert("发表内容不能大于150个字");}}if(c){for(d=0;d<f.length;d++){h+=f[d].outerHTML;}U.Alert("正在发送中...");U.A.Request("pb.addArticle",([US.PID,"",h,"blog"]),U.D.SY.AsynFBGBL,(["",h]));a.innerText="点击发表动静...";k.innerText="";doc.body.onclick();}else{U.Alert("请输入内容~");}};U.D.SY.AsynFBGBL=function(f){var c,e,g,a=$("#UD_SYSXZLRSRD")[0],b=US.userInfo.userid,d=f.context;f=f.value;if(f){c=U.D.SY.BLEI([f,0,0,U.MT.SetDT(new Date()),d[1],d[1].substr(0,100),US.userInfo.userid,US.userInfo.UserName,US.userInfo.UserThumbnailImageHead,0]);if((g=$("#UD_SYSXZLLRTA").Child()[2]).className){e=U.D.SY.ET["UL"]["HY"][b][1];(e)&&((!e.length)&&(a.innerText=""),e.push(c));U.D.SY.PGBL(a,[c],null,0,true);U.Alert("发送成功");}else{g.onclick();}}};U.D.SY.CKPLXS=function(b,d){var e,a=$("#UD_SYPL"),c=a.childg();a.Center();a=a[0];c[0].innerText=d;U.D.CM.CMSS(b,1,(e=c.addAttrArray({"scrollTop":0,"style":{"height":a.offsetHeight-210+"px"}},1)[1]));$(".UD_SYPCLRCDO",c[2])[0].onclick=U.M.apply(this,[[U.D.SY.TJCKPLXS,([b,$("div",c[2])[3]])]]);e.onscroll=U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.GDCKPLXS,([b,e])]])}).SCH();};U.D.SY.GDCKPLXS=function(b,a){U.D.CM.CMSS(b,this.P+2,a);};U.D.SY.TJCKPLXS=function(b,a){U.D.CM.MR(b,a,1);};Namespace.register("U.D.Tb");U.D.Tb.WindowRestore=function(f,g,b,e,c){if($("#UD_BB_Restore"+f.id)[0]==null){g=g||'<div class="UD_NUB UD_NUB_iconimg" style="background-position: -286px -75px;"></div>';var d=$("#UD_BB_BAB_Content")[0];var a=$$("li",{"id":"UD_BB_Restore"+f.id,"className":"UD_BB_App","title":"移出框外关闭应用"},d);a.remove=U.M.apply(this,[[U.D.Tb.PopupWinClose,([f,c,e])]]);if(b){if(b.length>6){g+='<marquee class="UD_BB_marquee" behavior="alternate" scrollamount="3">'+b+"</marquee>",$(a).addAttrArray({"onmouseover":"$('marquee',this)[0].stop()","onmouseout":"$('marquee',this)[0].start()"});}else{g+="<div>"+b+"</div>";}}else{g+="<div>"+b+"</div>";}a.innerHTML=g;U.D.Tb.DragRestore(a,f);parent.$("#WinMinsCount")[0].innerHTML++;}};U.D.Tb.winmins=function(b){var a=$("#UD_BB_BAB");if(a[0].style.display=="block"){a[0].style.display="none";}else{U.D.SetDTop((a.addAttrArray({"style":{"left":b.offsetLeft-150+"px","display":"block"}}))[0]);}};U.D.Tb.AllClear=function(){var c=$("#UD_BB_BAB_Content")[0];var a=$("li",c);for(var b=0;b<a.length;b++){a[b].remove();}};U.D.Tb.PopupWinClose=function(c,a,b){U.D.Tb.TaskbarClose(c);U.D.CloseWindow(c,a);if(b){b();}};U.D.Tb.TaskbarClose=function(b){var a=$("#UD_BB_Restore"+b.id)[0];if(b!=null&&a!=null){a.parentNode.removeChild(a);$("#WinMinsCount")[0].innerHTML--;}};U.D.Tb.changeRestoreName=function(b,e){var c=$("#"+"UD_BB_Restore"+b)[0];if(c){var d=$("marquee",c)[0];var a=$("div",c)[1];if(e.length>6){if(d){d.innerHTML=e;}else{c.removeChild(a);$$("marquee",{"className":"UD_BB_marquee","behavior":"alternate","scrollamount":"3","innerHTML":e},c);c.addAttrArray({"onmouseover":"$('marquee',this)[0].stop()","onmouseout":"$('marquee',this)[0].start()"});}}else{if(d){c.removeChild(d);$$("div",{"innerHTML":e});}else{a.innerHTML=e;}}}};U.D.Tb.DragRestore=function(a,b){a.onmousedown=function(){var c=U.M.GetMousep();var f=U.M.GetElementInfo(a);var e=U.M.GetElementInfo(a.parentNode.parentNode);var d=a.cloneNode(true);d.className+=" UD_BB_CI";document.body.appendChild(d);d.setCapture();document.onmousemove=function(){var g=U.M.GetMousep();$(d).addAttrArray({"style":{"left":(g.X-(c.X-f["BCRL"]))+"px","top":(g.Y-(c.Y-f["BCRT"]))+"px"}});};document.onmouseup=function(){var g=U.M.GetMousep();if(c.X==g.X&&c.Y==g.Y){b.style.display="block";U.D.SetDTop(b);document.onclick();}else{if(g.X<e["BCRL"]||g.Y>e["BCRB"]||g.Y<e["BCRT"]||g.X>e["BCRR"]){a.remove();document.onclick();}}d.releaseCapture();document.onmouseup=document.onmousemove=null;document.body.removeChild(d);};U.M.StopBubble();};};Namespace.register("U.Dk.RE");_$(U.Dk.RE).Add({"CE":[],"TF":""});U.D.SY.QXWJPD=function(b,g){var f=US.userInfo.userid,e=U.Dk.DiskOperatingSwitch(b),d=U.D.SY.WPCZQXHQ(),a=d[2][0],c=a[a.length-1].UserDirectoryID;return(d[0]&&(g=="folder"||(c==US.FG||c==US.DG||a[a.length-1].GroupID)));};U.D.SY.WPXJWJ=function(c,b,a){if(U.D.SY.QXWJPD(a,c)){U.Dk.RE.CMB(c,null,b||$("#UD_SYW")[0],a);}else{U.Alert("无权限访问此文件夹");}};U.Dk.RE.CMB=function(g,h,d,b){var c,f,i,a=false,e="uw,ue,folder";if(e.indexOf(g)>-1){c=$$("div",{"className":"UDL U_UI_dlnoSR"});a=true;f=$$("div",{},c);i=$$("input",{"type":"text","style":{"cssText":"width: 248px; height: 18px; line-height:18px; border:0; outline:none; background:none;"}},f);U.Dk.RE.Prompt(g=="folder"?"新建文件夹":"新建"+g+"文件",140,350,c,U.M.apply(c,[[U.Dk.RE.AF,([g,i,h,b])]]),d).Create();}return a;};U.Dk.RE.AF=function(d,h,i,c){var a,g,j=9999,e=1,k=US.Disk.diskfileTree,f=k[1][1]||US.DG,b=U.D.SY.WPCZQXHQ(f);(typeof h!="string")&&(h=h.value||h.innerText||"");if(b[0]&&f&&U.Dk.RE.MBC(f,h,d,"Create")&&U.D.SY.QXWJPD(c)){a=_$(k[0]).RecurD(null,{"UserDirectoryID":f},"UserDirectoryParentID");g=U.Dk.RE.WPHQID(a,k);("folderencrypt".indexOf(d)>-1)&&(j=a[0].UserDirectoryDeep,e=0,k[1][0].FilesCount+=1);a=U.Dk.M.RUS(new U.Dk.M.Entity(([U.MS.produceGuid(),0,f,h.AP(20),h,d,null,U.MT.SetDT(new Date()),"",j,null,g,e,"",a[a.length-1].UserDirectoryID==US.VG?"true":null,"",c])));U.A.Request("UseStudioDisk.addDirectoryOrFile",([US.userInfo.userid,a["UserDirectoryParentID"],a["UserDirectoryID"],a["UserFilesServerName"],h.toHtml(),d,j,g,a["UserDirectoryEncrypt"]||""]),U.Dk.RE.AsynAF,(["",a,i,k,U.D.SY.ET["Disk"]["SY"]["DJ"],c]));U.Alert("与服务器同步中...");return true;}else{U.Alert("拒绝访问");}return false;};U.Dk.RE.AsynAF=function(f){var d=f.context,c=d[1],e=d[2],g=d[3],a=d[4],b=d[5],g=U.Dk.DiskOperatingSwitch(b),h=g[1][1];f=f.value;if(f!=null){(g[2]||g[1][2]!=US.userInfo.userid)&&(_$(c).Add({"UserId":US.userInfo.userid,"UserNickName":US.userInfo.UserNickName,"UserName":US.userInfo.UserName,"UserThumbnailImageHead":US.userInfo.UserThumbnailImageHead}));g[0].push(c);if(h==c.UserDirectoryParentID){U.D.SY.AsynWPXJWJ(a,b,c);}else{if(!h){$(g[2]?"#UD_SYWOC":"#UD_SYWLC").Child()[g[2]?1:3].onclick();}}(e)&&(e(d,f,g[1][1]==c));}};U.D.SY.AsynWPXJWJ=function(c,b,a){var d,g,f,e=U.Dk.DiskOperatingSwitch(b);if(!a["filetype"]&&c){g=$($(c).Parent()).Child()[1];(g)&&(U.D.SY.XWPDH([_UDE],g));}if(a["UserDirectoryParentID"]==e[1][1]||!e[1][1]){f=$("#"+(e[2]?(U.D.SY.LTWPDH(e[2],e),"UD_SYWOCRC"):(U.D.SY.CSHYHWP(e),"UD_SYWRZ")))[0];(_$(e[0]).Select({"UserDirectoryParentID":e[1][1]}).length==1)&&(f.innerText="");U.D.SY.XWPDY([a],f,g?[(d=$(g).Child())[d.length-1]]:null);}};U.D.SY.WPSCWJ=function(b,a){var c=U.Dk.DiskOperatingSwitch(a);U.Dk.RE.DMB(b,null,$("#UD_SYW"+(c[2]?"O":""))[0],a);};U.Dk.RE.DMB=function(c,h,g,b){b=b||(c.UserId||c.GroupID)||(c[0]&&(c[0].UserId||c[0].GroupID))||US.userInfo.userid;var f,e,a,d=US.userInfo.userid;c=c.length?c:[c];if(d==b||d==c[0].GroupID||(c=_$(c).Select({"UserId":d})).length){if(c.length>1){a=$$("div",{"style":{"cssText":"float:left;text-align:center;width:100%;padding:5% 0 5% 0;"}});$$("span",{"style":{"cssText":"font-weight:bold;"},"innerHTML":"你确定要删除这"+c.length+"项吗?"},a);}else{e=255;a=U.Dk.RE.ABYS(null,c[0]);}U.Dk.RE.Prompt("删除文件",e,350,a,U.M.apply(this,([[U.Dk.RE.DF,([c,h,b])]])),g).Create();}else{U.Alert("拒绝访问");}};U.Dk.RE.DF=function(c,e,b){c=c.length==null?[c]:c;var f,d=US.userInfo.userid,a=_$(c).pluck("UserDirectoryID").join(",");U.A.Request("UseStudioDisk.deleteDirectoryOrFile",([d,a,(c.length==_$(c).Select({"filetype":c[0].filetype}).length)?c[0].filetype:"",c[0].GroupID||""]),U.Dk.RE.AsynDF,(["",c,e,b]));};U.Dk.RE.AsynDF=function(d){var e,j,g,b=d.context,a=b[1],f=b[2],c=b[3],h=U.Dk.DiskOperatingSwitch(c);d=d.value;if(d){g=U.Dk.RE.DFWJJ(a,c);h[1][0].FileSize-=g[0];h[1][0].FilesCount-=g[1];U.D.SY.AsynWPSCWJ(a,c);}else{U.Alert("操作失败!");}};U.Dk.RE.DFWJJ=function(c,b){var e,d,f,a=[0,0],g=U.Dk.DiskOperatingSwitch(b)[0];for(e=0;e<c.length;e++){for(d=0;d<g.length;d++){if(g[d].UserDirectoryID==c[e].UserDirectoryID||(c[e].tf&&c[e].UserDirectoryParentID==g[d].UserDirectoryParentID)){f=g[d];(!f.filetype)&&(c.push({"UserDirectoryParentID":f.UserDirectoryID,"tf":true}));a[0]+=f.UserDirectorySize;a[1]++;g.splice(d,1);d--;}}}return a;};U.D.SY.AsynWPSCWJ=function(c,b){var f,e,d,a=["L","R"],g=U.Dk.DiskOperatingSwitch(b);for(f=0;f<c.length;f++){if(c[f].UserDirectoryID){for(e=0;e<a.length;e++){($("#"+a[e]+c[f]["UserDirectoryID"])).remove();}}}g[2]?(d="UD_SYWOCRC",U.D.SY.LTWPDH(g[2],g)):(d="UD_SYWRZ",U.D.SY.CSHYHWP(g));(!(d=$("#"+d)).Child()[0])&&(U.D.SY.XWPDYXK(d[0]));};U.D.SY.WPCMM=function(c,a){var d,b=US.userInfo.userid;if(a.UserId==b||b==US.Disk.diskfileTree[1][2]){c=$(c).Child();c=c[1].innerHTML==a.UserallDirectoryName?c[1]:c[2];c.innerText="";(d=$$("input",{"onblur":[[U.D.SY.TWPCMM,(["this",a,a.UserId||b])]],"ondblclick":U.M.StopBubble,"onclick":U.M.StopBubble,"className":"UD_SYSXZTST","value":a["UserallDirectoryName"].replace("."+a["UserDirectoryExtendType"],"")},c)).select();d.onkeyup=U.M.apply(d,[[U.M.returnkeylogin,([d,[[d.blur]]])]]);}};U.D.SY.TWPCMM=function(e,c,b){var d=$(e).Parent(),a=U.Dk.RE.MFN(c,e.value,null,b);if(a||a=="none"){d.innerText=c.UserallDirectoryName;d=$("#L"+c["UserDirectoryID"])[0];(d)&&($("div",d)[3].innerText=c.UserallDirectoryName);}};U.Dk.RE.MFN=function(b,d,c,a){a=a||US.userInfo.userid;var e=b.UserDirectoryExtendType,f=U.Dk.DiskOperatingSwitch(a);d=d.RemoveHTMLSign()+(b.filetype?"."+e:"");(e=="folderencrypt")&&(e="folder");if(d==b.UserallDirectoryName){_UTF="none";}else{if(U.Dk.RE.MBC((f[1][1]||b.UserDirectoryParentID),d,e,"Change")){_UTF=true;U.A.Request("UseStudioDisk.modifyDirectoryOrFile",([US.userInfo.userid,b.UserDirectoryID,d,e]),U.Dk.RE.AsynMRN,(["",b,d,c,a]));}}(_UTF)&&(_$(b).Add({"UserallDirectoryName":d,"UserDirectoryName":d.AP(20)}));return _UTF;};U.Dk.RE.AsynMRN=function(f){var d=f.context,b=d[1],e=d[2],c=d[3],a=d[4],g=U.Dk.DiskOperatingSwitch(a);f=f.value;if(f){U.D.SY.AsynWPCMM(b);(c)&&(c(d,f));}};U.D.SY.AsynWPCMM=function(b){var c,a=["L","R"];for(c=0;c<a.length;c++){_UDCD=$("#"+a[c]+b.UserDirectoryID)[0];(_UDCD)&&($(_UDCD).Child()[1].innerText=b.UserallDirectoryName);}};U.D.SY.WPFZ=function(a,b){a=a.length?a:[a];_$(U.Dk.RE).Add({"CE":a,"TF":b,"OR":US.Disk.diskfileTree,"UEI":U.D.SY.ZDQXWPHQ()});};U.D.SY.WPJQ=function(a){U.Dk.DiskOperatingSwitch(a);U.Dk.RE.UFStick(a);};U.Dk.RE.UFStick=function(b,d){var g,k,e,i=U.Dk.RE,l=i.TF,a=i.CE,h=i.UEI[0][i.UEI[0].length-1],c=h.UserDirectoryID,j=U.Dk.DiskOperatingSwitch(b),f=U.D.SY.WPCZQXHQ();if(f[0]){if(a.length&&((k=f[2][0][f[2][0].length-1].UserDirectoryID)==c||k==US.FG||k==US.SG)){g=U.Dk.RE.WPHQID(f[2][0],j);e=U.D.SY.MLWJSY(a);if(l=="Cut"||j[1][0].FileSize+e[1]<=U.UP.GetSfileS(j[1][0].UserDiskSpace+"M")){U.A.Request("UseStudioDisk."+l+(l=="Cut"?"File":(e[2].length?"Folder":"File")),([US.userInfo.userid,j[1][1],_$(a).pluck("UserDirectoryID").join(","),g,l=="Cut"?(a[0].GroupID||""):(e[2].length?i.UEI[0][0].UserDirectoryDeep:"")]),U.Dk.RE.AsynUFStick,(["",j[1][1],a,e[1],d,j[1][2],g,l,k]));}else{U.Alert("网盘已满");}}else{U.Alert("请保存目录文件类型相同");}}else{U.Alert("拒绝访问");}};U.Dk.RE.AsynUFStick=function(f){var k,g,o,b,d=US.userInfo,c=f.context,s=c[1],a=c[2],p=c[3],l=c[4],e=c[5],n=c[6],h=c[7],q=c[8],m=a[0].UserDirectoryParentID,r=U.Dk.DiskOperatingSwitch(e);f=f.value;if(f){if(h=="Cut"){_$(a).Change({"UserDirectoryParentID":s});U.D.SY.WPFZ(a,"Cut");if((b=U.Dk.RE.OR)!==r){o=true;for(k=0;k<a.length;k++){r[0].push((a[k]=_$(b[0]).Delete({"UserDirectoryID":a[k].UserDirectoryID})[0]));}}_$(a).Add({"UserDirectoryEncrypt":q==US.SG?"true":"","GroupID":n});}else{b=[];for(k=0;k<f.length;k++){_UCE=f[k];r[0].push((_UCE=new U.Dk.M.Entity([_UCE.UserFilesID,_UCE.UserFilesSize,_UCE.UserDirectoryID,_UCE.UserFilesName.AP(20),_UCE.UserFilesName,_UCE.UserFilesExtendName,_UCE.UserFilesServerName,_UCE.UserFilesAddTime,U.UP.FFT(_UCE.UserFilesExtendName)[1],_UCE.UserDirectoryDeep,U.MT.SetDT(),_UCE.UserDirectoryEncrypt,_UCE.UserFilesExtendName=="folder"?0:1,n,""])));for(g=0;g<a.length;g++){if(a[g].UserDirectoryID==f[k].PID||a[g].UserFilesID==f[k].PID){b.push(_UCE);a.splice(k,1);}}}a=b;}if(h=="Copy"||o){r[1][0].FileSize+=p;r[2]?U.D.SY.LTWPDH(r[2],r):U.D.SY.CSHYHWP(r);}U.D.SY.AsynWPJQ(e,a,m,h);U.Alert("文件粘贴成功");return a[a.length-1];}else{U.Alert("文件粘贴错误!");}};U.D.SY.AsynWPJQ=function(c,b,e,h){var a,d=US.Disk.diskfileTree,g=d[1][1],f=b[0].UserDirectoryParentID;if(c==d[1][2]){if((g==f||(g==""&&[US.MG,US.DG,US.PG,US.SG].inArray(f)))&&(h=="Copy"||e!=f)){a=$("#"+(d[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0];(_$(d[0]).Select({"UserDirectoryParentID":d[1][1]}).length==b.length)&&(a.innerText="");U.D.SY.XWPDY(b,a);}else{if((e&&g==e)){U.D.SY.AsynWPSCWJ(b,c);}}d[2]?U.D.SY.LTWPDH(d[2],d):U.D.SY.CSHYHWP(d);}};U.D.SY.WPXZWJZJ=function(b,a,c){U.UP.FileDL(b,a,c);};U.D.SY.WPCKSX=function(c,b,a){var d=U.Dk.DiskOperatingSwitch(a),e=U.Dk.RE.ABYS(b.UserDirectoryID,b,true);U.Dk.RE.Prompt(c.innerText,250,350,e,null,$("#UD_SYW"+(d[2]?"O":""))[0]).Create();};U.Dk.RE.ABYS=function(c,k,b){var g,e,l,a,h,j,d=US.userInfo.userid,f="文件"+(k.filetype?"":"夹"),m=US.Disk.diskfileTree;k=k||_$(m[0]).Select({"UserDirectoryID":c},null,1)[0];e=U.UP.IsDF(k.UserDirectoryExtendType)[0];l=$$("div",{"className":"UDK_SX"});$$("div",{"className":"UDK_SXT","innerHTML":f+"属性:"},l);a=$$("div",{"className":"UDK_SXC"},l);h=$$("div",{"className":"UDK_SXCO"},a);if(e=="P"){$$("img",{"onerror":[[U.M.ImgError,([1])]],"src":U.M.GetImgU(k.UserDirectoryUrl),"className":"UDK_RT_UDD_DV"},h);}else{$$("div",{"className":"UDK_L_DiskGE UDK_SXCOI","style":{"cssText":U.UP.FFT(k.UserDirectoryExtendType.toLowerCase())[1]}},h);}h=$$("div",{"className":"UDK_SXCT"},a);$$("div",{"className":"UDK_SXCTO","style":{"marginTop":"4px"},"innerHTML":"名称:"+k.UserallDirectoryName},h);if(k.filetype){$$("div",{"className":"UDK_SXCTT UC_TF","onselectstart":U.M.StopBubble,"spellcheck":"false","innerHTML":"链接:http://disk.1473.cn/#!/"+k["UserDirectoryID"]},h);}else{if(k.GroupID==d&&c!=US.FG&&d==m[1][2]&&b){j=$$("div",{"className":"UDK_SXCTO"},h);$$("div",{"innerHTML":"权限选择: ","className":"UDK_SXCTOQ"},j);j=$$("div",{"className":"UDK_SXCTOS"},j);j=$$("select",{"onchange":[[U.Dk.RE.GXSZQX,(["this",k])]]},j);j.options.length=3;e=["无限制","只允许上传","只允许下载"];for(g=0;g<3;g++){j.options[g].text=e[g];}e=k.UserDirectoryEncrypt;(e=="1"||e=="2")&&(j.selectedIndex=parseInt(e));}}$$("div",{"className":"UDK_SXCTO","innerHTML":"类型:"+f},h);$$("div",{"className":"UDK_SXCTO","innerHTML":"创建日期:"+U.MT.GetDT(k.UserDirectoryAddTime)},h);$$("div",{"className":"UDK_SXCTO","innerHTML":"文件大小:"+U.UP.FileSize(k.UserDirectorySize)},h);return l;};U.Dk.RE.GXSZQX=function(b,a){var c=b.selectedIndex;U.Dk.RE.SQX(a.UserDirectoryID,c?c:"");};U.Dk.RE.SQX=function(a,b){U.A.Request("UseStudioDisk.SetUserQX",([US.userInfo.userid,a,b]),U.Dk.RE.AsynETUE,(["","SZ",a,b]));U.Alert("和服务器同步中...");};U.D.SY.WPWJJM=function(a){U.Dk.RE.SHEW(a.UserDirectoryEncrypt?false:true,a.UserDirectoryID,$("#UD_SYW"+(US.Disk.diskfileTree[2]?"O":""))[0]);};U.Dk.RE.SHEW=function(g,b,d){var a,f,e=280,c=180;if(g){a=$$("div",{"className":"UDK_JM"});f=$$("div",{"className":"UDK_JMO"},a);}else{f=$$("div",{"className":"UDK_JMA"});c=125;}$$("span",{"className":"UDK_JMOS","innerHTML":"输入密码:"},f);$$("input",{"className":"UDK_JMOI","type":"password"},f);if(g){_UDSD=$$("div",{"className":"UDK_JMOT"},a);$$("span",{"className":"UDK_JMOS","innerHTML":"确认密码:"},_UDSD);$$("input",{"type":"password","className":"UDK_JMOI"},_UDSD);}U.Dk.RE.Prompt("文件夹"+(g?"加密":"解密"),c,e,a||f,U.M.apply(a||f,[[U.Dk.RE.ETUE,([g,b])]]),d||US.Disk.diskfileTree[1][3]).Create();};U.Dk.RE.ETUE=function(e,a){var d=$("input",this),c=d[0].value,b=e?d[1].value:c;if(c.IsGEdit()&&c==b){U.A.Request("UseStudioDisk."+(e?"encryptwindowButtonClick":"DeciphermentFile"),([US.userInfo.userid,a,c]),U.Dk.RE.AsynETUE,(["",e,a]));}else{U.Alert("输入的内容有误");}};U.Dk.RE.AsynETUE=function(e){var d=e.context,b=d[1],g=d[2],a=d[3],f=US.Disk.diskfileTree,c=_$(f[0]).Select({"UserDirectoryID":g})[0];a=e=e.value;a=a==true?"":a;if(e){(c)&&(_$(c).Add({"UserDirectoryEncrypt":a,"UserDirectoryExtendType":a?"folderencrypt":"folder"}));U.D.SY.AsynWPWJJM(c,a);}else{U.Alert("设置失败");}};U.D.SY.AsynWPWJJM=function(b,e){var c,a=["R","L"],d=b.UserDirectoryID;e=e?["UD_SYWRZOM","UD_SYWLCJ"]:["UD_SYWRZOW","UD_SYWLCW"];for(c=0;c<a.length;c++){(_UDCD=$("#"+a[c]+d)[0]);(_UDCD)&&($(_UDCD).Child()[c].className=(c?"UD_SYWLCOI UD_SYWLTXOST":"UD_SYWRZOS")+" UD_SYID "+e[c]);}};U.D.SY.GXWPCKXS=function(b,a){if(b!=US.userInfo.userid){var c=U.Dk.DiskOperatingSwitch(b),d=a?a.UserDirectoryID:c[1][1];_UME=_$(c[0]).RecurD(null,{"UserDirectoryID":d},"UserDirectoryParentID");a=_UME[0];if(_UME[_UME.length-1].UserDirectoryID==US.FG){_UCE=["GetGF",[US.userInfo.userid,b,US.NU]];}else{_UCE=["GetFiles",[b,d,US.NU]];}U.Alert("刷新中...");U.A.Request("UseStudioDisk."+_UCE[0],(_UCE[1]),U.D.SY.AsynGXWPCKXS,(["",b,a]));}else{U.D.SY.WPCKXS(b);}};U.D.SY.AsynGXWPCKXS=function(e){var d,c=e.context,b=c[1],a=c[2],f=U.Dk.DiskOperatingSwitch(b);e=e.value;for(d=0;d<e.length;d++){U.Dk.M.RUS(e[d]);}_$(f[0]).Delete({"UserDirectoryParentID":a.UserDirectoryID});f[0]=f[0].concat(e);(f[1][1]==a["UserDirectoryID"])&&(U.D.SY.WPCKXS(b));};U.D.SY.WPCKXS=function(b){var e=U.Dk.DiskOperatingSwitch(b),h=e[1][1],c=_$(e[0]).Select({"UserDirectoryParentID":h}),a=$("#"+(e[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0],g=$("#L"+h)[0],d=U.D.SY.ET["Disk"]["SY"]["DJ"],f=$(a).Child();if(d&&$(d).Parent()==g){f[1].innerText="";U.M.apply(a,g.clickon)();}else{a.innerText="";U.D.SY.XWPDY(c,a);}};U.D.SY.WPCKPL=function(a){U.D.SY.CKPLXS(a.UserDirectoryID,a.UserallDirectoryName);};U.Dk.RE.MBC=function(c,h,b,f){var g,e=false,d=US.userInfo.userid,i=US.Disk.diskfileTree,a=_$(i[0]).Select({"UserDirectoryParentID":c});if(!h.IsGEdit()){g="名字不能空";}else{if(!h.SubstrN(40)){g="文件名过长";}else{if(b=="folder"&&(_$(a).Select({"UserallDirectoryName":h,"UserDirectoryExtendType":b})[0])){g="目录已经包含了名为"+h+"的文件夹";}else{e=!e;}}}(g)&&(U.Alert(g));return e;};U.Dk.RE.WPHQID=function(b,c){var a=b[b.length-1]||"";return(c[2]||a.UserDirectoryID==US.FG)?c[1][2]:(a.GroupID||"");};U.Dk.RE.Prompt=function(e,f,d,c,a,b){return U.UI.Dialog(e,{"width":d?d+"px":"","height":f?(f+"px"):""},"",a,c,b);};Namespace.register("U.Dk.DI");U.D.SY.WPFF=function(){var b=US.NU,a=U.D.SY.ET["UL"]["WS"];if(!a){U.A.Request("UseStudioDisk.GetDaren",([b,b,b]),U.D.SY.AsynWPFF,([[$("#UD_SYSXN")[0],true]]));}else{$("#UD_SYSSTO").Child()[0].onclick();U.D.SY.ZMCSHWP(a[1][2][US.NU][1]);}};U.D.SY.AsynWPFF=function(b){var a={};b=b.value;a[US.NU]=[null,b[1]];b[1]=[,,a];U.D.SY.ET["UL"]["WS"]=b;U.D.SY.WPFF();};U.D.SY.ZMCSHWP=function(a){var b,c=$("#UD_HCDT").Child(),d=[["YH","UD_HCDPN"],["YY","UD_HCDYC"],["W","UD_HCDFC"]];for(b=0;b<d.length;b++){U.D.SY["ZMWPZX"+d[b][0]](a,$("#"+d[b][1])[0]);}c[1].onclick=U.M.apply(c[1],[[U.D.SY.SYDLHD,([U.M.apply(c[1],[[U.D.SY.SCXWPOP,([c[1],{"ID":"UD_SYWRTSO","DS":true}])]])])]]);c=$(c[0]).Child();for(b=0;b<c.length;b++){c[b].onclick=U.M.apply(c[b],[[U.M.StopBubble],[U.D.SY.SYDLHD,([U.M.apply(c[b],[[U.D.DT.YYDK,(["Disk",[null,b]])]])])]]);}};U.D.SY.ZMWPZXYH=function(o,d){d=$(d);var g,h,m,p,c,k,n,f=0,a=$$("frag"),r=U.UP.SFT("P"),l=d.Parent(),e=l.offsetWidth,q=l.offsetHeight,b=[q*0.03,q*0.12];for(g=0;g<b.length;g++){b[g]=Math.ceil(b[g]);}for(g=0;(g<o.length&&f<15);g++){if(r.indexOf(o[g]["UserFilesExtendName"])>-1){f++;p=$$("div",{"onclick":[[U.D.SY.ZMWPZXYHOC,(["this",o[g]])]]},a);c=$$("div",{"className":"UD_HCDPLOS"},p);k=$$("div",{"onclick":U.M.apply()},c);U.D.SY.JZTPJS(U.M.GetImgU(o[g].UseFilesServerThumbnailName),k,o[g]);c=$$("div",{"className":"UD_HCDPLOX"},p);k=$$("div",{"className":"UD_HCDPLOXL"},c);$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(o[g].UserThumbnailImageHead),"alt":o[g].UserName,"title":o[g].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([o[g].UserID])]]},k);c=$$("div",{"className":"UD_HCDPLOXR"},c);k=$$("div",{"className":"UD_HCDPLOXRS","innerHTML":"来自 "},c);$$("span",{"innerHTML":o[g].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[o[g].UserID,o[g].UserDirectoryID]])]])])]]},k);$$("text",{"data":" 的分享"},k);}}if(f){m=$(a).Child();d.addAttrArray({"style":{"width":((f/3)*100).toFixed(2)+"%"}}).append(a);b[2]=(108/f).toFixed(2);b[3]=(84/f).toFixed(2);b[4]=(6/f).toFixed(2);for(g=0;g<m.length;g++){h=g==1;$(m[g]).addAttrArray({"className":"UTransition UD_HCDPLO"+(h?" UD_HCDPLOO":""),"style":{"width":b[h?2:3]+"%","paddingTop":b[h?0:1]+"px","paddingLeft":b[4]+"%"}});}n=U.ME.LBTP({"e":d[0],"i":1,"af":U.D.SY.BHZX,"s":{"className":m[1].className,"style":{"cssText":m[1].style.cssText}},"h":{"className":"UTransition UD_HCDPLO","style":{"cssText":m[0].style.cssText}}});m=$(l).parentg().childg(0,0).Child();for(g=0;g<m.length;g++){m[g].onclick=U.M.apply(n,[[n.click,([g*2-1])]]);}}else{$(l).parentg().css("display","none");}};U.D.SY.ZMWPZXYHOC=function(b,a){if(b.className.indexOf("UD_HCDPLOO")>-1){U.D.Img.Img(a,{"Thm":a.UseFilesServerThumbnailName,"Img":a.UserFilesServerName});}};U.D.SY.BHZX=function(b){var e,a=$(this.e),f=this.a,c=this.p,g=b.a.length,d=$$("frag");if(this.i==g-1){e=g-2;while(e--){d.appendChild(f[e]);}this.a=a.append(d).Child();c.scrollLeft=0;this.i=1;}else{if(!this.i){this.a=a.append(this.a[this.a.length-1],null,this.a[0]).Child();this.i=1;}else{$(c).animate({"scrollLeft":this.a[this.i-1].offsetLeft-c.offsetLeft-c.clientLeft},100);}}};U.D.SY.ZMWPZXYY=function(h,d){var f,e=0,c,g,b,a=$$("frag"),k=U.UP.SFT("M");for(f=0;(f<h.length&&e<8);f++){if(k.indexOf(h[f]["UserFilesExtendName"])>-1){e++;c=$$("div",{"className":"UD_HCDYCO"},a);g=$$("div",{"className":"UD_HCDYCOL"},c);$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(h[f].UserThumbnailImageHead),"alt":h[f].UserName,"title":h[f].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([h[f].UserID])]]},g);$$("div",{"className":"UD_HCDYCOI UD_SYI","onclick":[[U.D.SY.ZMWPZXYYBF,(["retElement",h[f]])]]},c);g=$$("div",{"className":"UD_HCDYCOR"},c);g=$$("div",{"className":"UD_HCDYCORO"},g);$$("div",{"className":"UD_HCDYCORS UTDF","innerHTML":h[f].UserFilesName,"onclick":[[U.M.StopBubble],[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[h[f].UserID,h[f].UserDirectoryID]])]])])]]},g);$$("div",{"className":"UD_HCDYCORX UTDF","innerHTML":h[f].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([h[f].UserID])]]},g);}}if(!e){$(d).parentg().hide();}else{d.appendChild(a);}};U.D.SY.ZMWPZXYYBF=function(c,b){var d,a,f,g,e=$(c).parentg(2).Child();for(d=0;d<e.length;d++){f=$(e[d]).childg(0,1);(a!=null)&&(g=f[0],a=null);f[f[0]==c?(a=d,"addClass"):"removeClass"]("UD_HCDYCOIO");}};U.D.SY.ZMWPZXW=function(b,c){var f,d=0,h,g,e=$$("frag"),a=U.UP.SFT("CA");for(f=0;(f<b.length&&d<8);f++){if(a.indexOf(b[f]["UserFilesExtendName"])==-1){d++;h=$$("div",{"className":"UD_HCDFCO"},e);$$("div",{"className":"UD_HCDFCOL","innerHTML":d},h);g=$$("div",{"className":"UD_HCDFCOR"},h);g=$$("div",{"className":"UD_HCDFCORO"},g);$$("div",{"className":"UD_HCDFCORS UTDF","innerHTML":b[f].UserFilesName,"onclick":[[U.M.StopBubble],[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[b[f].UserID,b[f].UserDirectoryID]])]])])]]},g);$$("div",{"className":"UD_HCDFCORX UTDF","innerHTML":b[f].UserName,"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([b[f].UserID])]]},g);}}if(!d){$(c).parentg().hide();}else{c.appendChild(e);}};U.D.SY.SYWPQHFY=function(a){U.D.SY.SYWPQHJ(null,a,2,U.D.SY.ET["UL"]["WS"]["ID"]);};U.D.SY.SYWPQHJ=function(b,i,c,d){if(c==2||!U.D.SY.DLTC(3)){b=b||$("#UD_SYSXZBJO")[0];d=d||US.NU;var g=$("#UD_SYSXN")[0],e=c?US.NU:US.userInfo.userid,h=$($(b).Parent()).Child(),j=U.D.SY.ET["UL"]["WS"][1][c],f=U.D.T.FYGBL(j?j[d]:(j=U.D.SY.ET["UL"]["WS"][1][c]=[]),i,[30,300]),a=f[1]*300;(i==1)&&(b.innerText="");if(f[0]){if(f[0].length){U.D.SY.DiskSYN(b,f[0]);(g.offsetHeight>=g.scrollHeight)&&(U.D.SY.SYWPQHJ(b,i,c,d));}else{if(i==1){U.D.SY.XWPDYXK(b,{"className":"UD_SYWRZFO","onclick":[[U.D.DT.YYDK,(["Disk"])]]});}}}else{U.A.Request("UseStudioDisk.GetUserFNew",([e,d,a-300,a,e]),U.D.SY.AsynSYWPQHJ,([[i==1?b:h[h.length-1],true],j,d,i,c,f[1],b]));}}};U.D.SY.AsynSYWPQHJ=function(f){var d=f.context,g=d[1],h=d[2],e=d[3],b=d[4],c=d[5],a=d[6];(!g[h])&&(g[h]=[]);g[h][c]=f.value;U.D.SY.SYWPQHJ(a,e,b,h);};U.D.SY.DiskSYN=function(p,n){var r,q,e,b,a,o,m,t,u,f,s=["打开","云盘","评论","下载"],k=US.userInfo.userid,h=$(p).Child(),g=Math.floor(($(p).Parent().offsetWidth-100)/220)||1,l=h.length%g,d=$$("frag"),c={"UD_SYWRZOD":"65","UD_SYWRZOE":"65","UD_SYWRZOY":"62","UD_SYWRZON":"62"};if(n){for(r=0;r<n.length;r++){u=n[r].UserFilesExtendName||n[r].UserDirectoryExtendType;e=U.UP.IsDF(u||"");b=U.UP.XWPGYS("."+(u?u.toLowerCase():""));a=$$("div",{"className":"UD_SYSXZBMU","style":{"marginLeft":(r+l)%g?"":"0px"},"onclick":[[U.D.SY.DiskSYNDJ,([n[r],1])]]},d);o=$$("div",{"className":"UD_SYSXZBMUS"+(b[2]?" UD_SYID "+b[2]:""),"style":{"width":(c[b[2]]?c[b[2]]+"px":"")}},a);if(e[0]=="P"){u=n[r].UseFilesServerThumbnailName||n[r].UserDirectoryUrl;o.className="UD_SYSXZBMUS UD_SYSXZBMUSO";o.style.width="120px";m=$$("div",{"className":"UD_SYSXZBMUST","onclick":U.M.apply()},o);U.D.SY.JZTPJS(u,m,n[r]);}else{if(b[3]){$$("div",{"className":"UD_SYSXZBMUSN UTDF","innerHTML":u||b[3]||""},o);}}$$("div",{"className":"UD_SYSXZBMUN UTDF","innerHTML":n[r].UserFilesName||n[r].UserallDirectoryName||""},a);o=$$("div",{"className":"UD_SYSXZBMUT UTDF","innerHTML":b[1]},a);$$("span",{"innerHTML":U.MT.getTDInterval(n[r].UserFilesAddTime||n[r].UserDirectoryAddTime)},o);$$("div",{"className":"UD_SYSXZBMUR","innerHTML":"容量大小("+U.UP.FileSize(n[r].UserFilesSize||n[r].UserDirectorySize||0)+")"},a);o=$$("div",{"className":"UD_SYSXZBMUD"},a);m=$$("div",{"className":"UD_SYSXZBMUDL"},o);t=$$("div",{"className":"UD_SYSXZBMUDLL"},m);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([n[r].UserID||n[r].UserId])]],"src":U.M.GetImgU((n[r].UserId===null||n[r].UserId==k)?US.userInfo.UserThumbnailImageHead:n[r].UserThumbnailImageHead)},t);$$("div",{"className":"UD_SYSXZBMUDLR UTDF","innerHTML":n[r].UserName||US.userInfo.UserNickName||""},o);t=$$("div",{"className":"UD_SYSXZBMUL"},a);for(q=0;q<s.length;q++){$$("div",{"className":"UD_SYSXZBMULO","innerHTML":s[q],"onclick":[[U.D.SY.DiskSYNDJ,([n[r],q])]]},t);}}}else{for(r=0;r<h.length;r++){$(h[r]).addAttrArray({"style":{"marginLeft":r%g?"":"0px"}});}}(p.offsetWidth)&&(p.style.width=(g*220-25)+"px");p.appendChild(d);};U.D.SY.DiskSYNDJ=function(a,b){if(b==1||b==2){US.Disk.DiskDaren["SE"]=a;U.D.SY.SYDLHD(U.M.apply(this,[((b-1)?[U.D.SY.CKPLXS,([a.UserFilesID||a.UserDirectoryID,a.UserallDirectoryName||a.UserFilesName])]:[U.D.DT.YYDK,(["Disk",[a.UserID,a.UserDirectoryParentID||a.UserDirectoryID]])])]));}else{if((b==3||!b)&&!U.D.SY.DLTC(3)){a.filetype=1;b?U.D.SY.WPXZWJZJ(a.UserallDirectoryName||a.UserFilesName,a.UserFilesServerName):U.D.SY.DXWPDY(a);}}U.M.StopBubble();};U.D.SY.SYWPQH=function(a,b){return U.D.SY.SYDLHD(U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[null,b==1?1:2]])]]));};U.D.SY.GRWPQHJ=function(d,a){var c,b=US.userInfo.userid,e=U.Dk.DiskOperatingSwitch(b);(a==1)&&(d.innerText="");if(e){c=_$(e[0]).Select({"filetype":1});c=c.length?U.D.T.FYGBL([null,c],a,[30,c.length>30?c.length:30]):null;if(c){if(c[0].length){U.D.SY.DiskSYN(d,c[0]);return;}}else{if(a==1){U.D.SY.XWPDYXK(d,{"className":"UD_SYWRZFO","onclick":[[U.D.DT.YYDK,(["Disk"])],[U.D.SY.XWPOP,([US.userInfo.userid])]]});}}}else{U.D.SY.CSXWP(b,"",null,U.M.apply(this,[[U.D.SY.GRWPQHJ,([d,a])]]),[d,true]);}};U.D.SY.WPRMZL=function(b,a){var c=b*90;U.A.Request("UseStudioDisk.GetHM",([c-89,c]),U.D.SY.AsynWPRMZL,(["",a,b]));};U.D.SY.AsynWPRMZL=function(d){var c=d.context,b=c[1],e=c[2],a=$("#UD_SYWRZ")[0];d=d.value;if(d.length){U.D.SY.PWPRMZL(a,d,b,e);}else{a.onscroll=null;}};U.D.SY.PWPRMZL=function(b,a,d,e){var c=(d)?d.concat(a):a;U.D.SY.SCDXWPDH([{"UserallDirectoryName":"热门消息查看"}],$("#UD_SYWRYB")[0]);(!b.onscroll||e==1)&&(b.innerText="");U.D.SY.XWPDY(b.onscroll?a:c,b,null,d?d.length:0);b.onscroll=(U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.WPRMZLGD,([d])]])}).SCH());};Namespace.register("U.Dk.HP");U.D.SY.WPWJPX=function(d,e,c){var g,f,h,n=U.Dk.DiskOperatingSwitch(c),b=n[1][1]?_$(n[0]).Select({"UserDirectoryParentID":n[1][1]}):n[1][5],m=$("#"+(n[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0],l=$(m).Child(),k=l.length,a=$$("frag");if(l.length){for(g=0;g<k;g++){if(l[g].id.indexOf(b[g]["UserDirectoryID"])==-1){h=true;}}if(!h){if(d){U.M.Sequence(b,d,e);}else{b=e(b);}}for(g=0;g<k;g++){a.appendChild(l[(f=l.inArray("R"+b[g]["UserDirectoryID"],"id"))]);l.splice(f,1)[0];}m.appendChild(a);}};U.D.SY.UPF=function(a){var c,b=[[US.DG,[U.UP.SFT("A"),"文件","100MB","disk"]],[US.PG,[U.UP.SFT("P"),"图片","100MB","photo"]],[US.MG,[U.UP.SFT("M"),"音乐","100MB","music"]],[US.VG,[[U.UP.SFT("V"),"视频","100MB","vedio"]]]];for(c=0;c<b.length;c++){if(b[c][0]==a){return b[c][1];}}return["","友群","250MB"];};U.D.SY.WPWJPXLX=function(e,b){var c,a,d={};for(c=0;c<b.length;c++){a=b[c][e];(!d[a])&&(d[a]=[]);d[a].push(b[c]);}return _$(d).Merger();};U.D.SY.XWPDYQH=function(d,e,b,k){var f,g,l=U.Dk.DiskOperatingSwitch(b),c=U.D.SY.ET["Disk"]["SY"]["DJ"],j=$($(d).Parent()).Child(),h=$("#"+(l[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0],a=e?["UD_SYWRKZOP UD_SYWRKZOPI","UD_SYWRKZOS"]:["UD_SYWRKZOP","UD_SYWRKZOS UD_SYWRKZOSI"];if(l[1][1]||l[1][5]){for(f=0;f<a.length;f++){j[j.length-1-f].className="UD_SYWRKZOI UD_SYID "+a[f];}l[1][4]=e?"Details":"Normal";(g=$("#UD_SYWRM"+(l[2]?"O":"")))[0].style.display=e?"block":"none";h.style.height=$(h).Parent().offsetHeight-h.offsetTop-2+"px";if(!k){if(c&&$(c).Parent().id.indexOf(l[1][1])>-1){c.onclick();}else{U.D.SY.SDXWPDH([[U.D.SY.DXWPDY,([l[1][1]?_$(l[0]).Select({"UserDirectoryID":l[1][1]})[0]:l[1][5],h,null,b])]]);}}else{h.style.width="";}}else{U.Alert("本区域没有视图模式");}};U.D.SY.DXSTSY=function(c,m,q,d){var l,g,f,h,n,r=q[1][1],e=$(c).width(),o=$(c).Child(),p=[[c],$(m).Child()],a=$$("frag"),b=[0.1,0.2,0.1,0.15,0.15,0.15,0.14];d=d||(o[0].style.width?1:0);if(q[1][4]=="Details"&&(r||q[1][5])&&((d&&(r?_$(q[0]).Select({"UserDirectoryParentID":r}).length:q[1][5].length))||!d)){for(l=d||0;l<p.length;l++){for(g=0;g<p[l].length;g++){n=$(p[l][g]).Child();for(f=0;f<b.length;f++){n[f*(-(l-2))].style.width=d?o[f*2].style.width:(e*b[f]+(l-2)+"px");}}}m.style.width=c.style.width;m.style.minWidth=c.style.minWidth;}};U.D.SY.WPZTJD=function(b){var c,e=$("input",b),d=U.M.GetMousep(),a=b.componentFromPoint(d["MX"],d["MY"]);(a=="outside"||a.indexOf("scroll")>-1)&&(U.M.StopBubble());for(c=0;c<e.length;c++){e[c].blur();}};U.UP.XWPGYS=function(b){b=b.substr(1);var d,a=U.UP.IsDF(b),c={"folder,folderencrypt":["","文件夹","UD_SYWRZOW",null,"UD_SYWLCW"],"docx,doc,uw":["UD_SYVCOIW","文档","UD_SYWRZOD",null,"UD_SYWLCD"],"xls,ue":["UD_SYVCOIE","表格","UD_SYWRZOE",null,"UD_SYWLCE"],"A":["UD_SYVCOIN","文件","UD_SYWRZON",b,"UD_SYWLCB"],"P":["UD_SYVCOIT","图片"],"M":["UD_SYVCOIY","音乐","UD_SYWRZOY",null,"UD_SYWLCY"],"V":["UD_SYVCOIS","视频","UD_SYWRZON","video","UD_SYWLCP"]};for(d in c){if(d.split(",").inArray(b)>-1||a[0]==d){return c[d];}}};U.UP.IsDF=function(c){c=c.toLowerCase();var b,a=[["A",US.DG,U.UP.SFT("A")],["P",US.PG,U.UP.SFT("P")],["M",US.MG,U.UP.SFT("M")],["V",US.VG,U.UP.SFT("V")]];for(b=0;b<a.length;b++){if(a[b][2].indexOf(c)>-1){return a[b];}}return a[0];};U.UP.FFT=function(e){e=e.toLowerCase();var b,c,a=["folder","folderencrypt","png,jpg,bmp,gif","doc,docx,uw","xls,xlsx,ue","ppt,pptx","txt","wmv,video","mp3","rar,zip"],d=[["文件夹","-6px -41px","-169px -5px"],["文件夹","-659px -42px","-736px -77px"],["图片文件","-593px -402px","-61px -5px"],["Word文档","-155px -41px","-511px -198px","-477px -10px","-65px -420px"],["Excel文档","-297px -41px","-584px -198px;","-325px -10px","-290px -50px","-120px -420px"],["PPT幻灯片","-227px -41px","-548px -198px","-220px -420px"],["Txt文本文档","-84px -41px","-477px -198px","-170px -420px"],["视频文件","-503px -41px","-760px -42px"],["Mp3音乐文件","-438px -41px","-734px -43px","-15px -420px","-175px -10px"],["Rar压缩文件","-368px -41px","-619px -199px","-270px -420px"]];for(b=0;b<a.length;b++){if(a[b].split(",").inArray(e)>-1){c=d[b];break;}}(!c)&&(c=["系统文件","-575px -41px","-478px -230px","-320px -420px"]);for(b=1;b<c.length;b++){c[b]="background-position:"+c[b]+";";}return c;};U.D.SY.ZDQXWPHQ=function(b,f){var d,a,c,e=[];f=f||US.Disk.diskfileTree;b=b||f[1][1]||US.DG;c=b?_$(f[0]).RecurD(null,{"UserDirectoryID":b},"UserDirectoryParentID"):[];e.push(c);for(d=0;d<c.length;d++){if((a=c[d].UserDirectoryEncrypt)=="1"||a=="2"){e.push(a);break;}}return e;};U.D.SY.WPCZQXHQ=function(a,d){d=d||US.Disk.diskfileTree;var c=US.userInfo.userid,b=U.D.SY.ZDQXWPHQ(a,d);return[(c&&(d[2]||d[1][2]==c||(b[0].length&&b[0][b[0].length-1].UserDirectoryID==US.FG&&b[1]!="2"))),(c==d[1][2])||(b[1]!="1"),b,U.D.SY.LSWJCL(d)];};U.D.SY.MLWJSY=function(b,e){var d,c,f=[0],a=_$(b).Select({"filetype":1}),g=_$(b).Select({"filetype":0});e=e||US.Disk.diskfileTree[0];for(d=0;d<g.length;d++){for(c=0;c<e.length;c++){if(e[c].UserDirectoryParentID==g[d].UserDirectoryID){(e[c].filetype==1?(f[0]+=e[c].UserDirectorySize,a):g).push(e[c]);}}}f.unshift(a);f.push(g);return f;};U.D.SY.LSWJCL=function(b){b=b||US.Disk.diskfileTree;var a=b[1][0];return a.DHID+","+a.BHID+","+a.UserDiskND.join(",");};U.D.SY.WPTDSY=function(b,a){U.D.DragAb(b,{scb:a});};Namespace.register("U.Dk");U.D.SY.CSXWP=function(c,b,a,f,e){(c&&c.length!=36)&&(c=U.D.SY.WPYHMSS(c)["UserId"]||c);var g,h=b,d=U.Dk.DiskOperatingSwitch((c=c||US.userInfo.userid));b=b||US.DG;(a?U.D.SY.LTWPDHSZ:U.D.SY.WPDXTZ)();if(d==null){US.Disk.UserDisk[c]=[];U.A.Request("UseStudioDisk."+(a?"GetPbD":"Commonresource"),([US.userInfo.userid||US.NU,c]),U.D.SY.AsynCSXWP,([e||[$(a?"#UD_SYWOCRC":"#UD_SYWRZ")[0],true],c,b,a,f]));}else{if(d[0]){if(!a){_UDOD=$("#UD_SYWLTX")[0];_UDOD.innerText="";(U.D.SY.XWPDH(d[0].slice(0,6),null,["UD_SYWLCS","UD_SYWLCF","UD_SYWLCB","UD_SYWLCT","UD_SYWLCY","UD_SYWLCP"],_UDOD,c)).style.display="block";U.D.SY.CSHYHWP(d);_UDOD=$("#UD_SYWRZ")[0];}else{d[2]=a;U.D.SY.LTWPDH(a,d);U.D.SYWPBJYH(d[0].slice(5),$("#UD_SYWOCLDU")[0]);_UDOD=$("#UD_SYWOCRC")[0];}(b.length==36)&&(b=d[0].inArray(b,"UserDirectoryID")||b);if(b==-1||b>5){U.D.SY.SDXWPDH([[U.D.SY.DXWPDY,([_$(d[0]).Select({"UserDirectoryID":h},null,1)[0],_UDOD,null,c])]]);}else{g=d[2]?["UD_SYWOC",b-1]:["UD_SYWLC",b>1?b+1:b];$("#"+g[0]).Child()[g[1]].onclick();}(f)&&(f(a,d));}}};U.D.SY.AsynCSXWP=function(e){var c=e.context,b=c[1],f=c[2],a=c[3],d=c[4];e=e.value;if(e){b=a?b:e[1].UserId;U.D.SY.ET["Disk"]["SY"]=U.D.SY.ET["Disk"][b]={};(a)&&(e=[e,a]);U.Dk.GUserBL(b,f,null,e);U.Dk.M.refreshfile();U.D.SY.CSXWP(b,f,a,d);}else{U.Alert("帐号不存在...");}};U.D.SY.CSHYY=function(e,b){var a,d=e.UserId||e.UserID,c=U.Dk.DiskOperatingSwitch(d);if(c){if(d==U.D.SY.ET["FL"]["UID"]){U.D.SY.DKCSHYY();}else{U.D.SY.YYLoad(b,e);}}else{U.D.SY.CSXWP(d,b,null,U.M.apply(this,[[U.D.SY.CSHYY,([e,b])]]));}};U.Dk.GUserBL=function(c,b,d,a){var e,g=US.Friend[2],f=[["9639aba6-03eb-443c-be4e-f0c8d24767f5",0,"d8ae0266-481d-4064-86d2-fb52a4059793","私密","私密空间","folder",null,null,null,1,null,null,0,"",true],["f6d7a4b6-e34c-4964-beed-24187b2cb1ba",0,"d8ae0266-481d-4064-86d2-fb52a4059793","ftp","共享ftp","folder",null,null,null,1,null,null,0,"",c],["7aeaab56-485f-4150-b781-8ffd86d593ce",0,"d8ae0266-481d-4064-86d2-fb52a4059793","电脑","我的电脑","folder",null,null,null,1,null,null,0,""],["93553847-e299-464c-a0e2-c15872efb6ae",0,"d8ae0266-481d-4064-86d2-fb52a4059793","相册","我的相册","folder",null,null,null,1,null,null,0,""],["8a2135ff-746a-43a8-97b8-552d228a00bb",0,"d8ae0266-481d-4064-86d2-fb52a4059793","音乐","我的音乐","folder",null,null,null,1,null,null,0,""],["bf21bf7a-1e95-4194-8e4a-e9334d7d998d",0,"d8ae0266-481d-4064-86d2-fb52a4059793","视频","我的视频","folder",null,null,null,1,null,null,0,""]];for(e=0;e<f.length;e++){f[e]=new U.Dk.M.Entity(f[e]);}a[0]=f.concat(a[0]);if(c==US.userInfo.userid){for(e=0;e<g.length;e++){a[0].splice(6,0,new U.Dk.M.Entity([g[e].GroupManageID,0,c,g[e].GroupManageName,g[e].GroupManageName,"folder",null,U.MT.GetDT(new Date()),U.UP.FFT("folder")[1],1,null,null,0,"",g[e].GroupManageID]));}}return(US.Disk.UserDisk[c]=US.Disk.diskfileTree=[a[0],[((!a[1].UserDirectoryID&&a[1].UserId==US.userInfo.userid)?US.userInfo:a[1]),b,c,d,"Normal"]]);};U.D.SY.WPYHMSS=function(b){var c,a,d=US.Disk.UserDisk;for(c in d){if((a=d[c][1])&&(a=a[0]).UserName==b){return a;}}return{};};U.D.SY.CSHYHWP=function(j){var f,b,g,c,d=j[1][0],e=$("#UD_SYWLTS").Child(),h=$("#UD_SYWLO").Child(),a=$("div",h[0]);a[0].innerText=e[0].innerText="";$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(d.UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([j[1][2]])]]},[a[0],e[0]]);e[1].innerText=a[2].innerText=d.UserNickName||d.UserName;a[3].innerText=d.UserIndividualitysignature||"暂无个人简介";if(d.UserId!=US.userInfo.userid){a.addAttrArray({"onclick":[[U.D.SY.YAddFriend,([d])]],"style":{"display":"block"}},4);}else{a[4].style.display="none";}a=$("div",h[1]);b=[_$(j[0]).Select({"UserDirectoryEncrypt":"true"}).length,_$(j[0]).Select({"UserDirectoryEncrypt":j[1][2]}).length+_$(j[0]).Select({"GroupID":j[1][2]}).length-1,d.FilesCount,0,_$(j[0]).Like({"UserDirectoryExtendType":U.UP.SFT("P")}).length,_$(j[0]).Select({"UserDirectoryExtendType":"mp3"}).length,_$(j[0]).Select({"UserDirectoryExtendType":"video"}).length];b[3]=b[2]-b[4]-b[5]-b[6];for(f=0;f<7;f++){c=a[(f+1)*4-1];c.innerText=b[f]>-1?b[f]:0;c=$(c).Parent();c.onclick=U.M.apply(c,[[U.D.SY.MRHYHWP,([c,(f-2?(f>1?f-1:f):6),j[1][2]])]]);}a=$("div",h[2]);b=[d.UserDiskSpace+"M",d.FileSize+"B"];b[2]=U.UP.GetSfileS(b[0])-U.UP.GetSfileS(b[1]);for(f=0;f<b.length;f++){b[f]=U.UP.FileSize(b[f]);}a[4].innerText=b[2];a[7].innerText=b[1];a[9].innerText="所有文件:"+b[1];a[10].innerText="总大小:"+b[0];b=[[(j[1][2]==US.userInfo.userid?"":("回到"))+"我的分享",d.FilesCount],["好友查看",US.Friend[1]?US.Friend[1].length:"请登录查看"],["群/讨论组",US.Friend[2]?US.Friend[2].length:"请登录查看"]];a=$("#UD_SYWRTC").Child();for(f=0;f<a.length-2;f++){a[f].innerText=b[f][0];$$("span",{"innerHTML":"("+(b[f][1]<0?0:b[f][1])+")"},a[f]);}a=$("div",$("#UD_SYWRT")[0]);b=["folder","uw","ue"];for(f=1;f<a.length;f++){a[f].onclick=U.M.apply(a[f],[[U.D.SY.WPXJWJ,([b[f-1],null,j[1][2]])]]);}U.D.SY.SCXWPOP(a[0],{"DS":true,"ID":"UD_SYWRTS"});a=$("div",$("#UD_SYWRY")[0]);b=[[U.AFB.DrawBack,(["Disk"+j[1][2]])],[U.AFB.GoForward,(["Disk"+j[1][2]])],[U.D.SY.GXWPCKXS,([j[1][2]])]];for(f=0;f<b.length;f++){a[f].onclick=U.M.apply(a[f],[b[f]]);}h=$("#UD_SYWRKZ").Child();for(f=0;f<h.length;f++){h[f].onclick=U.M.apply(h[f],[[f?U.D.SY.XWPDYQH:U.D.SY.WPWJPX,(f?[h[f],f-1,j[1][2]]:["UserDirectoryAddTime",U.MT.comptime,j[1][2]])]]);}(h=$("#UD_SYSXZTSIO")[0]).onclick=U.M.apply(h,[[U.D.SY.SSWPBD,([$("input",$(h).Parent())[0],$("#UD_SYWRZ")[0],j[1][2]])]]);U.D.SY.CSHYHWPXS($("#UD_SYWRM")[0],j);$("#UD_SYWM")[0].style.display="none";(h=$("#UD_SYWRZ")).addAttrArray({"onmouseup":[(b=[U.D.SY.WPYJCD,([h[0],null,null,null,j[1][2]])])],"onmousedown":[[U.M.StopBubble],b]});$("#UD_SYW")[0].onclick=U.M.apply(h,[[U.D.SY.WPYJCD,([null,null,null,null,j[1][2]])]]);};U.D.SY.CSHYHWPXS=function(b,a){var e=$(b),c=e.childg(),d=["",[null,null,a[1][2]],"",[null,U.M.apply(this,[[U.D.SY.WPWJPXLX,(["UserName"])]]),a[1][2]],[null,U.M.apply(this,[[U.D.SY.WPWJPXLX,(["UserDirectoryExtendType"])]]),a[1][2]],["UserDirectorySize",U.UP.IsSizeS,a[1][2]],["UserDirectoryAddTime",U.MT.comptime,a[1][2]]];_UCB=U.M.apply(this,[[U.D.SY.DXSTSY,([e[0],e.next()[0],a,1])]]);for(i=0;i<d.length;i++){(e=c[i*2]).onclick=d[i]?U.M.apply(e,[[U.D.SY.WPWJPX,d[i]]]):null;(e=c[i*2+1]);(e)&&(e.onmousedown=U.M.apply(this,[[U.D.DragAb,([e,{tf:true,upcb:_UCB}])]]));}};U.D.SY.WPDXTZ=function(){var c=US.Disk.diskfileTree,a=$("#UD_SYW"),e=$("#UD_SYWRM"),b=a.Child(),d=a[0].offsetWidth;if(d){(a=b[2]).style.width=d-b[0].offsetWidth-6+"px";b=$(a).Child();b[b.length-1].style.height=a.offsetHeight-b[b.length-1].offsetTop-2+"px";(c)&&(U.D.SY.DXSTSY(e[0],e.next()[0],US.Disk.diskfileTree));}};U.Dk.DiskOperatingSwitch=function(a){return(US.Disk.diskfileTree=US.Disk.UserDisk[a||US.userInfo.userid]);};U.D.SY.LTWP=function(b,a){U.D.SY.CSXWP(a["UserDirectoryID"],b,a);};U.D.SY.LTWPDH=function(b,e){var c,f=$("#UD_SYWOC"),a=$("div",f[0]),d=[b.FilesCount,0,_$(e[0]).Like({"UserDirectoryExtendType":U.UP.SFT("P")}).length,_$(e[0]).Select({"UserDirectoryExtendType":"mp3"}).length,_$(e[0]).Select({"UserDirectoryExtendType":"video"}).length];d[1]=d[0]-d[2]-d[3]-d[4];for(c=0;c<5;c++){f=a[c*4+3];f.innerText=d[c]<0?0:d[c];(f=$(f).Parent()).onclick=U.M.apply(f,[[U.D.SY.MRHYHWP,([f,(c?c+1:6),e[1][2]])]]);}a=$("#UD_SYWOM").Child();_UDCD=$("div",a[1]);_UDCD[1].innerText=b["UserDirectoryName"];_UDCD[5].innerText="分类:"+((b.Parent||"").UserDirectoryName||"学习系统");_UDCD=$("div",_UDCD[6]);d=[b.ACF,e[1][0].FilesCount,b.DCF];for(c=0;c<3;c++){_UDCD[c*3+2].innerHTML=d[c];}(_UDAD=$("#UD_SYWOMCSI")[0]).onclick=U.M.apply(_UDAD,[[U.D.SY.SSWPBD,([$("input",$(_UDAD).Parent())[0],$("#UD_SYWOCRC")[0],e[1][2]])]]);_UDCD=$("div",$(a[2]).Child()[1]);d=[[U.D.SY.WPXJWJ,["folder",(f=$("#UD_SYWO")[0]),e[1][2]]],[U.D.SY.WPXJWJ,["uw",f,e[1][2]]],[U.D.SY.WPXJWJ,["ue",f,e[1][2]]],[U.M.StopBubble],[U.D.SY.XWPDYQH,([_UDCD[5],0,e[1][2]])],[U.D.SY.XWPDYQH,([_UDCD[6],1,e[1][2]])]];U.D.SY.CSHYHWPXS($("#UD_SYWRMO")[0],e);U.D.SY.SCXWPOP(_UDCD[0],{"ID":"UD_SYWRTSO","DS":true});for(c=1;c<_UDCD.length;c++){_UDCD[c].onclick=U.M.apply(_UDCD[c],[d[c-1]]);}(_UDCD=$("#UD_SYWOCRC")[0]).onmousedown=_UDCD.onmouseup=U.M.apply(_UDCD,[[U.D.SY.WPYJCD,([_UDCD,null,null,null,e[1][2]])]]);$("#UD_SYWMO")[0].onclick=f.onclick=U.M.apply(f,[[U.D.SY.WPYJCD,([null,null,null,null,e[1][2]])]]);U.AFB.RGoL("Disk"+e[1][2]);};U.D.SY.LTWPDHSZ=function(){var d=US.Disk.diskfileTree,a=$("#UD_SYWO"),b=a[0].offsetHeight,e=a[0].offsetWidth,c=a.Child();if(e&&b){c[2].style.height=b-157+"px";c=$(c[2]).Child();c[2].style.width=e-c[0].offsetWidth-6+"px";c=$(c[2]).Child();(d)&&(U.D.SY.DXSTSY(c[1],c[2],d));c[2].style.height=b-c[2].offsetTop-157+"px";}};U.D.SYWPBJYH=function(a,b){var e,c=0,f={},d=$$("frag");b.innerText="";for(e=0;(e<a.length&&c<8);e++){if(a[e]["UserId"]&&!f[a[e]["UserId"]]){$$("img",{"onerror":U.M.ImgError,"title":a[e]["UserNickName"]||a[e]["UserName"],"src":U.M.GetImgU(a[e].UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a[e].UserId])]]},d);f[a[e]["UserId"]]=true;c++;}}b.appendChild(d);};Namespace.register("U.Dk.LE");U.D.SY.DXWPDY=function(d,f,g,c){var a,b,e=c||US.userInfo.userid,h=U.Dk.DiskOperatingSwitch(e);if(d.filetype){U.M.StopBubble();a=U.UP.IsDF((b=(d["UserFilesExtendName"]||d["UserDirectoryExtendType"])));switch(a[0]){case"M":_$(h[0]).Select({"UserDirectoryID":d.UserDirectoryID})[0]?(U.D.SY.ET["FL"]["Entity"]=d,U.D.SY.YYLoad(d["UserDirectoryParentID"],h[1][0])):U.D.SY.TYY(d);break;case"P":a=d["UseFilesServerThumbnailName"]?[{"Time":d["UserDirectoryModifyTime"],"Thm":US.fs+d["UseFilesServerThumbnailName"],"Img":US.fs+d["UserFilesServerName"]}]:U.Dk.LE.OIMG(d["UserDirectoryID"],d);U.D.Img.Img(d,a[0],a[1],{"TF":2});break;case"V":U.Dk.LE.OV(d);break;default:if(e=US.userInfo.userid){if(b=="ue"){if(d.UserId!=e){window.open("http://disk.1473.cn/?ID="+d.UserDirectoryID+"&TF=Word");}else{U.D.DT.YYDK("Excel",d);}}else{if(b=="uw"){if(d.UserId!=e){window.open("http://disk.1473.cn/?ID="+d.UserDirectoryID+"&TF=Word");}else{U.D.DT.YYDK("Word",d);}}else{U.Dk.LE.OFT(d.UserFilesServerName,d.UserallDirectoryName,e,d.UserDirectoryID);}}}else{U.Alert("请登录查看文件");}break;}}else{h[1][1]=(g?g["UserDirectoryID"]:d["UserDirectoryID"])||d["GroupManageID"]||"";U.D.SY.SCDXWPDH(g||(d.GroupManageID?(d=_$(h[0]).Select({"GroupID":d.GroupManageID})[0]):d),$("#UD_SYWRYB")[0],null,c);f.onscroll=f.innerText="";U.D.SY.XWPDY(d.length?d:(d["UserDirectoryID"]?_$(h[0]).Select({"UserDirectoryParentID":d["UserDirectoryID"]}):[]),f);f=$("div",$("#UD_SYWRT")[0]);U.D.SY.SCXWPOP(f[0],{"DS":true,"ID":"UD_SYWRTS"});}};U.Dk.LE.OV=function(a){};U.D.SY.DXWPDYQT=function(a,b){var c,d=US.Disk.UserDisk;(!d[US.NU])&&(d[US.NU]=[[]]);d=d[US.NU][0];if(a.filetype){U.D.SY.DXWPDY(a,b,null,US.NU);}else{c=_$(d).Select({"UserDirectoryID":a.UserDirectoryID})[0];if(c){U.D.SY.SDXWPDH([[U.D.SY.DXWPDY,([_$(d).Select({"UserDirectoryParentID":a.UserDirectoryID}),b,_$(d).RecurD(a,{"UserDirectoryID":""},"UserDirectoryParentID"),US.NU])]]);}else{d.push(a);U.A.Request("UseStudioDisk.GetFiles",([a.UserId,a.UserDirectoryID,US.NU]),U.D.SY.AsynDXWPDYQT,(["",a,b]));}}};U.D.SY.AsynDXWPDYQT=function(d){var c=d.context,b=c[1],a=c[2];d=d.value;_$(d).Add({"UserId":b.UserId,"UserThumbnailImageHead":b.UserThumbnailImageHead,"UserNickName":b.UserNickName});a.innerText="";US.Disk.UserDisk[US.NU][0]=US.Disk.UserDisk[US.NU][0].concat(d);U.D.SY.DXWPDYQT(b,a);};U.Dk.LE.OIMG=function(b,a){var c,d=[[]],g=US.Disk.diskfileTree,e=a.UserDirectoryParentID||g[1][1],f=_$(g[0]).Like({"UserDirectoryExtendType":U.UP.SFT("P"),"UserDirectoryParentID":e,"filetype":1});for(c=0;c<f.length;c++){(f[c]["UserDirectoryID"]==b)&&(d[1]=c);d[0].push({"Time":f[c]["UserDirectoryModifyTime"],"Thm":U.M.GetImgU(f[c].UserDirectoryUrl),"Img":U.M.GetImgU(f[c].UserFilesServerName)});}return d;};U.Dk.LE.OFT=function(b,e,d,f){var c=U.UP.SFT("Office"),a=US.userInfo.userid==d,g=b.split(".")[1];if(g&&c.indexOf(g)>-1){U.Alert("正在努力的打开中,请稍后");window.open("http://disk.1473.cn/#!/"+f);}else{U.D.SY.WPXZWJZJ(e,b);}};U.Dk.LE.USOS=function(d,b,f,g,c,h){if(!U.D.SY.DLTC(3)){var a,i=US.Disk.diskfileTree,e=US.userInfo.userid;if(U.MS.Guid.test(d)){a=_$(i[0]).Select({"UserDirectoryID":d},null,1)[0];if(e==i[1][0].UserId){if(a.UsOffice!=b){U.Alert("保存中...");parent.U.A.Request("UseStudioDisk.OffMDF",([d,b]),parent.U.Dk.LE.AsynUSOS,(["",d,b]));}else{parent.U.Alert("保存成功");}}else{U.Alert("拒绝访问");}(g)&&(U.M.apply(this,[g])());}else{if((b!=""||c)){U.Alert("请新建一个文件再保存");U.M.divdoubleClick("UseStudioUserDiskDiv",h||US["DG"],e);(g==null)&&(g=[]);g.push([parent.U.Dk.LE.NUSOS,([b,f,""])]);parent.U.Dk.RE.CMB(f,U.M.apply(this,g));}else{U.Alert("拒绝访问");}}}};U.Dk.LE.NUSOS=function(d,b,f,e,a){f=f||window.frames["US_ExcelFrame"].U.Excel.SY;var c=e[1]["UserDirectoryID"];f["ID"]=c;U.Dk.LE.USOS(c,d);};U.Dk.LE.AsynUSOS=function(e){var b,c=e.context,a=c[1],d=c[2];e=e.value;if(e){b=_$(US.Disk.diskfileTree[0]).Select({"UserDirectoryID":a})[0];_$(b).Change({"UsOffice":d,"UserDirectoryModifyTime":U.MT.SetDT()});parent.U.Alert("保存成功");}else{U.Alert("磁盘空间已满,无法修改内容");}};U.Dk.LE.GM=function(b){var c,d,a,f=[],e=US.Disk.diskfileTree[0];(!b.UserDirectoryID)&&(b=_$(e).Select({"UserDirectoryID":b})[0]);b=[b];for(c=0;c<b.length;c++){a=_$(e).Select({"UserDirectoryParentID":b[c]["UserDirectoryID"]});d=[_$(a).Select({"filetype":0}),_$(a).Select({"filetype":1})];b=b.concat(d[0]);f.push([b[c],d[0],d[1]]);}return f;};Namespace.register("U.Dk.LL");U.D.SY.SXWPDH=function(a,d){var b,c=$($(a).Parent(3)).Child();for(b=0;b<c.length;b++){c[b].style.display=d[b];}};U.D.SY.MRHYHWP=function(c,d,a){var b=U.Dk.DiskOperatingSwitch(a)[1][0];if(!d&&US.userInfo.userid!=b.UserId){U.Alert("他人的私密空间无法查看");return;}U.D.SY.SDXWPDH([[U.D.SY.ZMRHYHWP,([c,d,a])]]);};U.D.SY.ZMRHYHWP=function(e,g,c){var f=g,j=[],b=[],a=US.Disk.diskfileTree,d=$("#"+(a[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0],h=$(e.parentNode).Child();if(g==6){f=2;}for(;(f<=g&&f<6);f++){b=b.concat(_$(a[0]).Select({"UserDirectoryParentID":a[0][f]["UserDirectoryID"]}));j.push(a[0][f]);}for(f=0;f<h.length;f++){h[f].className="UD_SYWLCO"+(h[f]==e?" UD_SYWLCOA":"");$(h[f]).Child()[1].className="UD_SYWLCN"+(h[f]==e?" UD_SYWLCNA":"");}U.D.SY.DXWPDY((a[1][5]=b),d,j.length>1?{"UserDirectoryID":"","UserallDirectoryName":"所有分享"}:j[0],c);d.onscroll=null;};U.D.SY.XWPDH=function(k,d,e,j,b){d=d||$$("div",{"className":"UD_SYWLTXO"},j);var g,f,c,h,a=$$("frag"),l=parseInt(($((j||$(d).Parent())).Child()[0].style.paddingLeft||17))+5;for(g=0;g<k.length;g++){f=((e||"").length?(e[g]||e[0]):((k[g]["UserDirectoryEncrypt"]&&k[g]["UserDirectoryEncrypt"]!=b)?"UD_SYWLCJ":"UD_SYWLCW"));c=$$("div",{"id":"L"+k[g]["UserDirectoryID"],"className":"UD_SYWLTXOA"},a);c.clickon=[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDH,([k[g],c,[null,null,"none"],b])]]])]];h=$$("div",{"className":"UD_SYWLTXOS","style":{"paddingLeft":l+"px"},"onmousedown":[[U.M.StopBubble],[U.D.SY.WPYJCD,(["this",k[g],null,null,b])]],"onclick":[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDH,([k[g],c,null,b])]]])]]},c);$$("div",{"className":"UD_SYWLTXOSI UD_SYID","onclick":[[U.D.SY.SDXWPDH,([[[U.M.StopBubble],[U.D.SY.DXWPDH,([k[g],c,[null,true],b])]]])]]},h);$$("div",{"className":"UD_SYWLCOI UD_SYWLTXOST UD_SYID "+f},h);$$("div",{"className":"UD_SYWLTXOSN UTDF","innerHTML":k[g].UserallDirectoryName,"ondblclick":[[U.D.SY.WPCMM,([h,k[g]])]]},h);}d.appendChild(a);return d;};U.D.SY.SDXWPDH=function(b,a){if(a&&a.filetype){U.M.apply(null,b)();}else{var c=US.Disk.diskfileTree[1][2];U.AFB.RGoL("Disk"+c);U.AFB.AddEvent(b,"Disk"+c);}};U.D.SY.DXWPDH=function(o,e,f,c){var j,p,h,a=U.Dk.DiskOperatingSwitch((c=c||US.userInfo.userid)),n=U.D.SY.ET["Disk"]["SY"],l=$("#UD_SYWRZ")[0],m=$(e).Child(),g=[[n["DJ"],""],[m[0],"#DBFFEA"]],d=m[1],b=_$(a[0]).Select({"UserDirectoryParentID":o["UserDirectoryID"]}),h=" UD_SYWLTXOSIO",k=$("div",m[0])[0];for(j=0;j<g.length;j++){(g[j][0])&&(g[j][0].style.backgroundColor=g[j][1]);}l.onscroll=null;n["DJ"]=m[0];if(!f||!f[0]){(d&&!$(d).Child().length)&&($(d).remove(),d=null);(!d)&&(p=_$(b).Select({"filetype":0}),d=U.D.SY.XWPDH(p,d,null,e,c));h=(d.style.display=="block"||(f&&f[3]=="none"))?["none",""]:["block",h];d.style.display=h[0];h=h[1];k.className="UD_SYWLTXOSI UD_SYID"+h;}if(!f||!f[1]){a[1][1]=o["UserDirectoryID"];U.D.SY.SCDXWPDH(o,$("#UD_SYWRYB")[0],d,c);l.innerText="";U.D.SY.XWPDY(b,l,$(d).Child());}};U.D.SY.SCDXWPDH=function(j,d,f,c){var e,g,b,k=U.Dk.DiskOperatingSwitch(c||US.userInfo.userid)[0],h=$("#UD_SYWRZ")[0],a=$$("frag");d.innerText="";b=j.length?j:j["UserDirectoryID"]?_$(k).RecurD(j,{"UserDirectoryID":""},"UserDirectoryParentID"):[j];for(e=0;e<b.length;e++){(f)&&(f=f.parentNode);a.insertBefore($$("div",{"className":"UD_SYWRYBO","innerHTML":b[e]["UserallDirectoryName"],"onclick":b[e].UserDirectoryID?f?f.clickon:[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDY,([b[e],h,null,c])]]])]]:null},a),a.firstChild);(f)&&(f=f.parentNode);}d.appendChild(a);g=$(d).Child();e=0;while(d.scrollHeight>30){g[e].style.display="none";e++;}};Namespace.register("U.Dk.M");_$(US.Disk).Add({"DiskDaren":{},"UserDisk":{},"diskfileTree":null});U.Dk.M.Entity=function(b){var c,a=["UserDirectoryID","UserDirectorySize","UserDirectoryParentID","UserDirectoryName","UserallDirectoryName","UserDirectoryExtendType","UserFilesServerName","UserDirectoryAddTime","UserDirectoryUrl","UserDirectoryDeep","UserDirectoryModifyTime","UserDirectoryEncrypt","filetype","Descript","GroupID","UsOffice","UserId","UserNickName","UserName","UserThumbnailImageHead"];for(c=0;c<a.length;c++){this[a[c]]=b[c]==null?null:b[c];}};U.Dk.M.refreshfile=function(){var d,f,g,h,c=0,e=0,j=US.Disk.diskfileTree,a=j[0],b={"LID":[]};for(d=0;d<a.length;d++){U.Dk.M.RUS(a[d]);g=a[d].UserDirectoryParentID;c+=a[d].filetype;e+=a[d].UserDirectorySize;f=a[d].UserallDirectoryName;h=a[d].UserDirectoryID;_UTP="";if(g==US.PG){switch(f){case"用户头像":_UTP="HID";break;case"背景图片":_UTP="BID";break;case"临时图片":_UTP="LID";break;}if(_UTP){if(_UTP=="LID"){b[_UTP].push(h);}else{b[_UTP]=h;}}}else{if(g==US.DG&&f=="临时目录"){b["LID"].push(h);}}}_$(j[1][0]).Change({"FileSize":e,"FilesCount":c,"DHID":b["HID"],"BHID":b["BID"],"UserDiskND":b["LID"],"DiskHeadImg":(b["BE"]=_$(j).Select({"UserDirectoryParentID":b["HID"]})),"UserBImage":(b["UE"]=_$(j).Select({"UserDirectoryParentID":b["BID"]}))});(US.userInfo.userid==j[1][2])&&(_$(US.userInfo).Add({"DHID":b["HID"],"BHID":b["BID"],"DiskHeadImg":b["BE"],"UserBImage":b["UE"]}));};U.Dk.M.RUS=function(a){_$(a).Change({"UserId":a.UserId||US.userInfo.userid,"UserDirectoryExtendType":a.UserDirectoryExtendType.toLowerCase(),"UserDirectoryName":a.UserallDirectoryName.AP(20),"UserDirectoryModifyTime":a.UserDirectoryModifyTime||a.UserDirectoryAddTime,"UserDirectoryUrl":a.UserDirectoryUrl?US.fs+a.UserDirectoryUrl:U.UP.FFT(a.UserDirectoryExtendType.toLowerCase())[1]});return a;};U.Dk.M.AddUserHBImage=function(c,b){var e,a,f=US.userInfo,d={"DHID":"DiskHeadImg","BHID":"UserBImage"};for(e in d){if(f[e]==c){a=d[e];break;}}(a)&&(f[a].push(b));};U.Dk.M.GDBFM=function(c){var a,b=US.Disk.diskfileTree;if(b&&(b=b[0])){a=_$(b).Select({"UserDirectoryExtendType":c});U.M.Sequence(a,"UserDirectoryModifyTime",U.MT.comptime);return a;}};Namespace.register("U.Dk.RM");U.D.SY.WPYJCDX=function(d,g,c,e,b){if(event.button==2){var f,a,h=$(g).checked();if(h.length>1){for(f=0;f<h.length;f++){h[f]=$(h[f]).Parent(2);(!a&&h[f]==d)&&(a=true);}}U.D.SY.WPYJCD(d,c,e,a?h:"",b);}};U.D.SY.WPYJCD=function(o,m,l,c,g){var q,p,f,e,d,t,r,b=event.type,k=US.userInfo.userid,s=!g?US.Disk.diskfileTree:U.Dk.DiskOperatingSwitch(g),a=$("#"+(s[2]?"UD_SYWMO":"UD_SYWM")),n=$("#"+(s[2]?"UD_SYWOCRC":"UD_SYWRZ"))[0],h=a.Child();if(o&&event.button==2&&(f=(m?m["UserDirectoryParentID"]:(s[1][1]||(s[1][5]?US.DG:null))))){if(b=="mouseup"){U.M.StopBubble();e=U.D.SY.WPCZQXHQ(f);d=e[2][0];f=d[d.length-1].UserDirectoryID;if(c||((t=U.D.DragE)&&!t.Event())){r=U.Dk.RM.MFDRC(c||t.TC,(l&&l.length>1)?l:s[0]);t=[[2,3,4,6],[[[U.D.SY.WPSCWJ,([r,g])]],[[U.D.SY.WPFZ,([r,"Copy",g])]],[[U.D.SY.WPFZ,([r,"Cut",g])]],[[U.Dk.RM.DWJXZ,([r])]]]];}else{t=m?(m["filetype"]?[[0,1,2,3,4,6,10,16],[o.onclick,[[U.D.SY.WPCMM,([o,m,g])]],[[U.D.SY.WPSCWJ,([m,g])]],[[U.D.SY.WPFZ,([m,"Copy",g])]],[[U.D.SY.WPFZ,([m,"Cut",g])]],[[U.D.SY.WPXZWJZJ,([(m.filetype?m["UserallDirectoryName"]:m.UserDirectoryID),m["UserFilesServerName"],m["UserDirectoryExtendType"]])]],[[U.D.SY.WPCKPL,([m,g])]],[[U.D.SY.WPCKSX,(["this",m,s[1][2]])]]]]:[[0,1,2,3,4,5,6,16],[o.onclick,[[U.D.SY.WPCMM,([o,m,g])]],[[U.D.SY.WPSCWJ,([m,g])]],[[U.D.SY.WPFZ,([m,"Copy",g])]],[[U.D.SY.WPFZ,([m,"Cut",g])]],[[U.D.SY.WPWJJM,([m,g])]],[[U.D.SY.WPXZWJZJ,([(m.filetype?m["UserallDirectoryName"]:m.UserDirectoryID),m["UserFilesServerName"]])]],[[U.D.SY.WPCKSX,(["this",m,g])]]]]):[[7,8,9,11,12,13,14,15,16],[[[U.D.SY.WPXJWJ,(["folder",n,s[1][2]])]],[[U.D.SY.WPXJWJ,(["uw",n,s[1][2]])]],[[U.D.SY.WPXJWJ,(["ue",n,s[1][2]])]],[[U.D.SY.WPJQ,([s[1][2]])]],[[U.D.SY.GXWPCKXS,([g,d[0]])]],[U.D.SY.XWPOP,([g])],null,null,[[U.D.SY.WPCKSX,(["this",_$(s[0]).Select({"UserDirectoryID":s[1][1]})[0],g])]]]];}if(m){if(!e[0]||k!=s[1][2]){for(q=0;q<t.length;q++){if(r&&r.length){t[q].splice(0,1);t[q].splice(1,1);}else{if(m["filetype"]){t[q].splice(1,2);t[q].splice(2,1);}else{t[q].splice(1,3);}}}}if(!e[1]&&m["filetype"]){t[0].splice(1,2);t[1].splice(1,2);}if(!(r&&r.length)&&f==US.FG&&!m["filetype"]){t[0].splice(5,1);t[1].splice(5,1);}}else{h[11].style.color=U.Dk.RE.CE.length?"#000":"#b2b2b2";if(!e[0]){for(q=0;q<t.length;q++){t[q].splice(0,4);t[q].splice(1,1);}}else{if(!(f==US.DG||f==US.FG||d[0].GroupID)){t[0].splice(1,2);t[1].splice(1,2);}}}if(m&&((r&&(r=_$(r).Like({"UserDirectoryID":e[3]})).length)||e[3].indexOf(m.UserDirectoryID)>-1)){if(r&&r.length){a[0].style.display="none";U.Alert("初始化的目录无法选择");return;}else{t=[[0,6,16],[o.onclick,[[U.D.SY.WPXZWJZJ,([(m.filetype?m["UserallDirectoryName"]:m.UserDirectoryID),m["UserFilesServerName"]])]],[[U.D.SY.WPCKSX,(["this",m,s[1][2]])]]]];}}for(q=0;q<h.length;q++){if(q==5){h[q].innerText=(m&&m["UserDsirectoryEncrypt"])?"解密":"加密";}$(h[q]).addAttrArray({"style":{"display":(((p=t[0].inArray(q))>-1)?(t[0].splice(p,1),(p=t[1].splice(p,1)[0]),"block"):"none")},"onmouseup":p!=-1?(p||h[q].onmouseup):h[q].onmouseup});}a[0].style.display="block";U.M.RLocate(a[0]);U.M.StopBubble();return;}}else{if(b=="mousedown"&&!m&&o&&(s[1][1]||s[1][5])&&s[1][4]=="Normal"){U.D.DragSelectE({"SO":o,"CS":"UD_SYWRZOI"});}}a[0].style.display="none";};U.Dk.RM.DWJXZ=function(b){var c,a="",d="";for(c=0;c<b.length;c++){a+=(b[c]["UserFilesServerName"]+(c!=b.length-1?",":""));d+=((b[c].filetype?b[c]["UserallDirectoryName"]:b[c]["UserDirectoryID"])+(c!=b.length-1?",":""));}U.D.SY.WPXZWJZJ(d,a,"MFileD");};U.Dk.RM.MFDRC=function(d,c){var b,a=[];for(b=0;b<d.length;b++){a.push(d[b].id);}return _$(c).Like({"UserDirectoryID":a.join(",")});};Namespace.register("U.Dk.S");U.D.SY.SSWPBD=function(e,c,b){var a=e.value,f=U.Dk.DiskOperatingSwitch(b),d=_$(f[0]).Like({"UserallDirectoryName":a});f[1][1]=="";f[1][5]=d;U.D.SY.DXWPDY(d,c,{"UserallDirectoryName":'关键字"'+a+'"搜索结果'},b);};U.D.SY.SSWPBDWD=function(b,d){var c=b.value,a=$("#UD_SYWRZ")[0];U.Dk.S.P=a.innerText="";if(c.IsGEdit()&&c!=b.defaultValue){U.D.SY.SSWPBDW(c,1,d);}};U.D.SY.SSWPBDWGD=function(b,c,a){U.D.SY.SSWPBDW(b,this.P+2,c,a);};U.D.SY.SSWPBDW=function(e,c,f,b){var d=c*100,a=U.Dk.S.P;if(a==""||a>(_USE-99)){U.A.Request("UseStudioDisk.UWSS",([e,d-99,d]),U.D.SY.AsynSSWPBDW,(["",e,f,b]));}};U.D.SY.AsynSSWPBDW=function(e){var d=e.context,f=d[1],b=d[2],c=d[3],a=$("#UD_SYWRZ")[0];e=e.value;if(e.length){U.Dk.S.P=e[0]["AllF"];if(c){U.D.SY.PSSWPBDW(e,f,a,b,c);}else{U.D.SY.SDXWPDH([[U.D.SY.PSSWPBDW,([e,f,a,b,c])]]);}}else{U.Dk.S.P="";(!c.length)&&(U.Alert("无搜索结果!"));}};U.D.SY.PSSWPBDW=function(a,e,b,f,d){var c=d?d.concat(a):a;U.D.SY.SCDXWPDH([{"UserallDirectoryName":'关键字"'+e+'"搜索结果'}],$("#UD_SYWRYB")[0]);if(a.length){(!d)&&(b.innerText="");U.D.SY.XWPDY(a,b,null,d?d.length:0);b.onscroll=(U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.SSWPBDWGD,([e,f,c])]])}).SCH());}};U.D.SY.WPRMZLGD=function(a){U.D.SY.WPRMZL(this.P+2,a);};Namespace.register("U.Dk.UP");U.Dk.UP.FTF={"FL":[],"DID":"","ID":"","JD":[],"F":[],"ITF":[],"FUN":{"URL":"","EX":"","ADD":"","ACP":"","CP":"","JDT":"","FCP":"","AFCP":""}};U.D.SY.SCXWPOP=function(d,e){if(US.userInfo.userid){var b,g,a=U.Dk.UP.FTF,f=US.Disk.diskfileTree,c=f[1]?U.D.SY.WPCZQXHQ(f[1][1]):"";if(!c){U.Alert("等待数据加载..");return false;}else{if(c[0]){_$(e).Add({"width":e["width"]||d.offsetWidth,"height":e["height"]||d.offsetHeight});a["FUN"]=e;U.UP.AddFAN(d,e["ID"],e);b=U.UP.FAFZ(_$(e).GZDL(["width","height"]),{"EX":"U.D.SY.XWPOPC","ADD":"U.D.SY.XSSCXWPOP","ACP":"U.D.SY.XWPSCWB","CP":"U.D.SY.XWPCB","JDT":"U.D.SY.XWPJDT","FCP":"U.D.SY.XWPCBC","FUP":"U.D.SY.XWPOPL"},e?e["GS"]:null);}if(!b){if(b==null){(g=($("object",d)||$("embed",d)));(g[0])&&(g.remove());U.M.StopBubble();}return false;}return true;}}};U.D.SY.XSSCXWPOP=function(c){var d=U.Dk.UP.FTF,b=d["FUN"],a=U.UP.FTF["EL"];d["ID"]="";(b["DS"])&&(U.D.SY.XWPOP(US.Disk.diskfileTree[1][2],null));U.UP.FTF["EL"]=a;U.D.SY.UAXWP(c);};U.D.SY.XWPOP=function(b,e){var a=$("#UD_SYVDRT"),f=U.Dk.DiskOperatingSwitch(b),c=U.D.SY.WPCZQXHQ(f[1][1]),d={"width":113,"height":30};if(c[0]){e=e||{};U.Dk.UP.FTF["FUN"]=e;U.UP.AddFAN(a[0],e["ID"]||"UD_SYVDRO",d);a[0].onmousedown=U.M.apply(a[0],[[U.D.SY.SCXWPOP,([a[0],e])]]);U.D.PopupWindow(a.Parent("UD_SYV"));U.UP.FAFZ(d,{"EX":"U.D.SY.XWPOPC","ADD":"U.D.SY.UAXWP","ACP":"U.D.SY.XWPSCWB","CP":"U.D.SY.XWPCB","JDT":"U.D.SY.XWPJDT","FCP":"U.D.SY.XWPCBC","FUP":"U.D.SY.XWPOPL"},e?e["GS"]:null);}};U.D.SY.UAXWP=function(f){if(f.length){var d,j,b,e,l,c=U.Dk.UP.FTF,g=U.D.SY.ET["Disk"]["UP"],k=US.Disk.diskfileTree,l=k[1][1],h=$("#UD_SYVC"),a=$$("frag");_$(f).Add({"UGE":k,"UFN":c["FUN"],"UID":k[1][2],"ID":l,"URL":c["FUN"]["URL"],"SO":U.UP.FTF["EL"]});g.push(f);for(d=0;d<f.length;d++){f[d]["type"]=f[d]["type"]||"";j=U.UP.XWPGYS(f[d]["type"]||"");f[d].FID=U.MS.produceGuid();f[d]["UDOD"]=b=$$("div",{"className":"UD_SYVCO"},a);e=$$("div",{"className":"UD_SYVCOO"},b);l=$$("div",{"className":"UD_SYVCOI UD_SYID "+j[0]},e);(j[3])&&($$("div",{"className":"UD_SYVCOION","innerHTML":j[3]},l));l=$$("div",{"className":"UD_SYVCOT"},e);$$("div",{"className":"UD_SYVCOTS UTDF","innerHTML":f[d].name},l);$$("div",{"className":"UD_SYVCOTC","innerHTML":"分类:"+j[1]},l);$$("div",{"className":"UD_SYVCOTX","innerHTML":"容量大小:"+U.UP.FileSize(f[d]["size"])},l);l=$$("div",{"className":"UD_SYVCOF"},e);_UDLD=$$("div",{"className":"UD_SYVCOFL"},l);$$("img",{"title":"点击查看","onerror":U.M.ImgError,"src":U.M.GetImgU(US.userInfo.UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([US.userInfo.userid])]]},_UDLD);$$("div",{"className":"UD_SYVCOFR","innerHTML":US.userInfo.UserNickName},l);l=$$("div",{"className":"UD_SYVCOS UTDF"},e);$$("div",{"className":"UD_SYVCOSN","innerHTML":"准备上传"},l);$$("div",{"className":"UD_SYVCOSI UD_SYID"},l);_UDLD=$$("div",{"className":"UD_SYVCOC UD_SYVCOX","title":"等待响应..."},l);$$("img",{"src":US.ms+"img/ULG.gif"},_UDLD);$$("div",{"className":"UD_SYVCOX","titlle":"点击撤销删除上传","innerHTML":"撤销","onclick":[[U.D.SY.XWPSCWJ,([b,f[d]])]]},e);f[d]["JD"]=$$("div",{"className":"UD_SYVCOU"},b);}h.append(a);(g.length==1)&&(U.D.SY.XWPOPX(0,0,f[0]));}else{U.Alert("上传文件格式不符合要求!");}};U.D.SY.XWPOPX=function(a,d,b){try{if(U.Dk.UP.ISFLUP(b)===true){b.LO="yes";b["SO"].UpLoad(a,d,b.FID);}else{UDOD=$(b["UDOD"]).childg(0,0).Child();UDOD[UDOD.length-1].onclick();}}catch(c){U.Alert(c);}};U.Dk.UP.ISFLUP=function(b){var c,a=true,d=b.UGE;if(b["size"]>U.UP.GetSfileS("100M")){c="最大上传文件不可以超过100M";a=1;}else{if((U.UP.GetSfileS(US.userInfo.FileSize+"B")+b.size)>=U.UP.GetSfileS(US.userInfo.UserDiskSpace+"M")){c="你的网盘已满,请用积分兑换网盘空间";a=2;}}(c)&&(U.Alert(c));return a;};U.D.SY.XWPOPL=function(c,g){var e,b,j,d,a=U.D.SY.XWPSCWZC(g)[2],k=a.UGE,h=U.D.SY.WPCZQXHQ(a.ID,k),f=U.UP.IsDF(a.type.substr(1));if(!a["UFN"]["URL"]){d=U.Dk.RE.WPHQID((h=h[2][0]),k);a.DID=f[1];d=d||((h[h.length-1]||"").UserDirectoryID==US.SG?"true":"");if(!a.ID||(!d&&a.DID!=h[h.length-1].UserDirectoryID)){a.ID=a.DID;}a.URL="http://disk.1473.cn/USupfile.ashx?iframename=UploadFlashfile&DirectoryId="+a.ID+"&Encrypt="+d;}else{b=k[1][0]["UserDiskND"];d=f[1]==US.PG?"临时图片":"临时文件";if(b&&b.length){for(e=0;e<b.length;e++){if((h=_$(k[0]).Select({"UserDirectoryID":b[e],"UserallDirectoryName":d})[0])){break;}}}d="";a.ID=a.DID=j=h?h.UserDirectoryID:f[1];}U.A.Request("UseStudioDisk.IsFUp",([a.ID,d,a.size,c,a.type.substr(1),a.name]),U.D.SY.AsynXWPOPL,(["",a]));};U.D.SY.AsynXWPOPL=function(request){var _UID=US.userInfo.userid,context=request.context,_UDE=context[1],_UCE=U.D.SY.XWPSCWZC(_UDE.FID);request=request.value;try{request=eval(request)[0];}catch(e){}if(request){U.D.SY.XWPTJ(request,_UDE);}else{_UDE["SO"].URRUP(_UDE["URL"]+"&UserId="+_UID+"&IsF=true",_UDE.FID,_UCE[0],_UCE[1]);}};U.D.SY.XWPJDT=function(h,f,b){var d,a=U.D.SY.XWPSCWZC(f)[2],j=a["JD"],g=$($($($(j).Parent()).Child()[0]).Child()[3]).Child(),e=Math.floor((h["Loaded"]/h["Total"])*100),c=[b?"正在上传":"服务器响应..","block","none","0"];(e!=100)&&(c[0]=(b?"解析中":"正在上传"));c[1]="none";c[2]="block";c[3]=e;if(e!=200){}j.style.width=c[3]+"%";for(d=0;d<g.length;d++){if(d){g[d].style.display=c[d];}else{g[d].innerText=c[d];}}};U.D.SY.XWPCB=function(a){U.Alert("文件已传输,等待服务器响应...");};U.D.SY.XWPCBC=function(UDE,UFID){var _UCE=UDE.data,_UFE=U.D.SY.XWPSCWZC(UFID);try{_UCE=eval("0,"+_UCE);}catch(e){}if(_UCE){U.D.SY.XWPTJ({"UserFilesServerName":_UCE[0],"UserFilesID":_UCE[1],"UseFilesServerThumbnailName":_UCE[2],"size":_UCE[3],"UserDirectoryEncrypt":_UCE[4]},_UFE[2]);}};U.D.SY.XWPTJ=function(c,d){var b=US.userInfo,g=d.UGE,h=US.Disk.diskfileTree,f=d.type.substr(1),e=c.UseFilesServerThumbnailName,a=new U.Dk.M.Entity([c.UserFilesID,d.size,d.ID,d.name.AP(20),d.name,f,c.UserFilesServerName,U.MT.SetDT(new Date()),e?e:U.UP.FFT(f)[1],9999,null,c.UserDirectoryEncrypt,1,"","","",b.UserId,b.UserNickName,b.UserName,b.UserThumbnailImageHead]);g[0].push(a);g[1][0].FilesCount+=1;g[1][0].FileSize+=d.size;(g==h)&&(U.D.SY.AsynWPJQ(g[1][2],[a]));U.D.SY.XWPJDT({"Loaded":2,"Total":1},d.FID);U.D.SY.XWPSCWJ(d["UDOD"],d);(g=d["UFN"]["FCP"])&&(g(a.UserDirectoryUrl,a.UserFilesServerName,d["UFN"].UDOD,a));};U.D.SY.XWPSCWJ=function(b,a){};U.D.SY.XWPSCWB=function(a){var b=U.Dk.DiskOperatingSwitch(a);b[2]?U.D.SY.LTWPDH(b[2],b):U.D.SY.CSHYHWP(b);U.D.SY.XWPGBSC();U.Alert("所有文件上传完毕");};U.D.SY.XWPGBSC=function(){var a=U.D.SY.ET["Disk"]["UP"];if(a.length&&a[0][0]){$("#UD_SYVC")[0].innerText="";a[0][0]["SO"].DAF();}};U.D.SY.XWPOPC=function(a){(a.message)&&(U.Alert(a.errorID==1502?"cpu运算超时":a.message),U.M.Console(a));};U.D.SY.XWPSCWZC=function(d){var c,b,a=U.D.SY.ET["Disk"]["UP"];for(c=0;c<a.length;c++){if((b=a[c].inArray(d,"FID"))>-1){return[b,c,a[c][b]];}}return[-1,-1,null];};Namespace.register("U.Dk.VW");U.D.SY.XWPDY=function(c,d,b,f){var e=US.Disk.diskfileTree,a=e[1][4]=="Normal";if(c.length||f){(a?U.D.SY.XWPDYX:U.D.SY.XWPDYL)(c,d,b,e[1][2]);}else{U.D.SY.XWPDYXK(d);}if(!a){U.D.SY.DXSTSY($(d).prev()[0],d,e);}else{d.style.width="";}};U.D.SY.XWPDYXK=function(b,a){var d,f,c,e=$$("div",{"className":"UD_SYWRZF"+((a&&a.className)?(" "+a.className):"")},b);d=$$("div",{"className":"UD_SYWRZFS"},e);$$("div",{"className":"UD_SYWRZTSL UD_SYWRZFSL","innerHTML":"!"},d);f=$$("div",{"className":"UD_SYWRZFSR"},d);c=$$("div",{"className":"UD_SYWRZFSRS"},f);$$("div",{"className":"UD_SYWRZFSRS","innerHTML":"这地方暂时"},c);$$("div",{"className":"UD_SYWRZFSRS","innerHTML":" 没有资源哦。"},c);$$("div",{"className":"UD_SYWRZTSRX UD_SYWRZFSRX","innerHTML":"Nothing!!"},f);(U.D.SY.WPCZQXHQ()[0])&&($$("div",{"className":"UD_SYWRZFX","innerHTML":"点击上传文件","onclick":(a&&a["onclick"])?a["onclick"]:[[U.D.SY.XWPOP,([US.Disk.diskfileTree[1][2]])]]},e));};U.D.SY.XWPDYX=function(p,r,k,h){var t,s=0,e,b,u,o,a,q,g,n,w,l=US.Disk.DiskDaren["SE"],f=$$("frag"),v=US.Disk.diskfileTree,c=U.D.SY.WPCZQXHQ()[1],m=v[1][0],d={"UD_SYWRZOD":"65","UD_SYWRZOE":"65","UD_SYWRZOY":"62","UD_SYWRZON":"62"};for(t=0;t<p.length;t++){e=(p[t]["UserDirectoryEncrypt"]&&p[t]["UserDirectoryEncrypt"]!=h);b=U.MT.getTimeStr(p[t]["UserDirectoryAddTime"],"Array");u=U.UP.XWPGYS("."+(p[t].UserDirectoryExtendType==null?p[t].UserFilesExtendName:p[t].UserDirectoryExtendType));a=$$("div",{"className":"UD_SYWRZO"+(!w&&(w=(l&&(l.UserFilesID==p[t].UserDirectoryID||l.UserDirectoryID==p[t].UserDirectoryID)))?" UD_SYWRZOI":""),"id":"R"+(p[t].UserDirectoryID),"onmousedown":U.M.StopBubble,"onmouseup":[[U.D.SY.WPYJCD,(["this",p[t],p,null,h])]],"onclick":p[t].AllF?[[U.D.SY.DXWPDYQT,([p[t],r])]]:(!p[t].filetype&&k)?k[s].clickon:[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDY,([p[t],r,null,h])]],p[t]])]]},f);(w===true)&&(w=a);q=$$("div",{"className":"UD_SYWRZOS"+(((u[2]!=null||(p[t].filetype!=1&&e)))?(" UD_SYID "+((e&&!p[t]["filetype"])?"UD_SYWRZOM":(u[2]||""))):""),"style":u[2]?{"width":d[u[2]]?d[u[2]]+"px":""}:{}},a);if(u[2]==null){q.style.width="102px";$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"title":"点击查看","src":U.M.GetImgU(p[t].UserDirectoryUrl||(US.fs+p[t].UseFilesServerThumbnailName))},q);}else{if(u[3]){$$("div",{"className":"UD_SYWRZOSZ","innerHTML":u[3]||""},q);}}$$("div",{"className":"UD_SYWRZOZ UTDF","innerHTML":p[t]["UserallDirectoryName"],"onclick":[[U.M.StopBubble],[U.D.SY.DBCK,(["this"])]],"ondblclick":(!p[t].UserId||p[t].UserId==US.userInfo.userid)?[[U.D.SY.DBCK,(["this",true])],[U.D.SY.WPCMM,([a,p[t]])]]:""},a);q=$$("div",{"className":"UD_SYWRZOF"},a);g=$$("div",{"className":"UD_SYWRZOFX"},q);n=$$("div",{"className":"UD_SYWRZOFXJ"},g);$$("span",{"innerHTML":"时间 "+b[1]+"-"+b[2]+" "+b[3]+":"+b[4]+":"+b[5]},n);n=$$("div",{"className":"UD_SYWRZOFXR","innerHTML":"容量大小"},g);$$("span",{"innerHTML":U.UP.FileSize(p[t]["UserDirectorySize"])},n);g=$$("div",{"className":"UD_SYWRZOFD"},q);n=$$("div",{"className":"UD_SYWRZOFDI"},g);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU((!p[t].UserId||p[t].UserId==m.UserId)?m.UserThumbnailImageHead:p[t].UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([p[t].UserId||m.UserId])]]},n);$$("div",{"className":"UD_SYWRZOFDN UTDF","innerHTML":p[t].UserNickName||m.UserNickName},g);(c)&&($$("div",{"className":"UD_SYWRZOFDX","innerHTML":"下载","onclick":[[U.M.StopBubble],[U.D.SY.WPXZWJZJ,([p[t]["filetype"]?p[t]["UserallDirectoryName"]:p[t]["UserDirectoryID"],p[t]["UserFilesServerName"]])]]},g));(!p[t].filetype)&&(s++);}r.appendChild(f);US.Disk.DiskDaren["SE"]=null;(w)&&(w.scrollIntoView(false));};U.D.SY.DBCK=function(a,b){if(b){delete a.KID;}else{a.KID=1;setTimeout(function(){if(a.KID){$(a).Parent().onclick();}},200);}};U.D.SY.XWPDYL=function(p,f,r,d){var n,l=0,b,c,a,o,q,m,h=f.offsetWidth,k=US.Disk.DiskDaren["SE"],g=US.Disk.diskfileTree[1][0],e=$$("frag");for(n=0;n<p.length;n++){c=U.MT.getTimeStr(p[n]["UserDirectoryAddTime"],"Array");b=U.UP.XWPGYS("."+p[n].UserDirectoryExtendType);o=$$("div",{"className":"UD_SYWRZS UD_SYWRZXO","id":"R"+p[n].UserDirectoryID,"onmousedown":U.M.StopBubble,"onmouseup":[[U.D.SY.WPYJCDX,(["this",f,p[n],p,d])]],"onclick":(!p[n].filetype&&r)?r[l].clickon:[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDY,([p[n],f,null,d])]],p[n]])]]},e);q=$$("div",{"className":"UD_SYWRZSO","style":{"marginLeft":"0px"}},o);$$("input",{"className":"UD_SYWRZSOI","checked":(!m&&(m=(k&&(k.UserFilesID==p[n].UserDirectoryID||k.UserDirectoryID==p[n].UserDirectoryID)))),"type":"checkbox","onclick":[[U.M.StopBubble],[U.D.SY.XWPDYLXZ]]},q);q=$$("div",{"className":"UD_SYWRZSM UTDF"},o);if(b[4]){$$("span",{"className":b[4]+" UD_SYWRZSMI UD_SYID UTDF","innerHTML":" &nbsp; &nbsp; &nbsp;"},q);}else{$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"title":"点击查看","src":U.M.GetImgU(p[n].UserDirectoryUrl||(US.fs+p[n].UseFilesServerThumbnailName))},q);}$$("span",{"className":"UD_SYWRZSMN","innerHTML":p[n]["UserallDirectoryName"]},q);$$("div",{"className":"UD_SYWRZSF UD_SYWRZSFO UTDF","innerHTML":0},o);$$("div",{"className":"UD_SYWRZSL UTDF","innerHTML":p[n]["UserNickName"]||p[n]["UserName"]||g["UserNickName"]},o);$$("div",{"className":"UD_SYWRZSX UTDF","innerHTML":b[1]},o);$$("div",{"className":"UD_SYWRZSD UTDF","innerHTML":U.UP.FileSize(p[n]["UserDirectorySize"])},o);$$("div",{"className":"UD_SYWRZST UTDF","innerHTML":c[1]+"-"+c[2]+" "+c[3]+":"+c[4]+":"+c[5]},o);(!p[n].filetype)&&(l++);}f.appendChild(e);US.Disk.DiskDaren["SE"]=null;(m)&&(m.scrollIntoView(false));};U.D.SY.XWPDYLXZ=function(b,c){if(c){var d=$("input",c),a=b.checked;for(i=0;i<d.length;i++){d[i].checked=a;}}};U.D.SY.XWPDYH=function(j,d){var e,h,b,g,c,f,l,k=U.Dk.DiskOperatingSwitch(US.userInfo.userid),a=$$("frag");d.innerText="";d.onscroll=null;(k[1][4]=="Details")&&(U.D.SY.XWPDYQH($("#UD_SYWRKZ").Child()[0],0,k[1][2],true));if(j.length){for(e=0;e<j.length;e++){h=j[e].GroupManageID;(h&&j[e].DDC==null)&&(j[e].DDC=_$(US.Disk.diskfileTree[0]).Select({"UserDirectoryParentID":h}).length);c=$$("div",{"className":"UD_SYWRZO "+(h?"UD_SYWRZOKO":"UD_SYWRZOK"),"onclick":h?[[U.D.SY.SDXWPDH,([[[U.D.SY.DXWPDY,([j[e],d,null,US.userInfo.userid])]]])]]:[[U.D.SY.CSXWP,([j[e].UserId,1,null,null])]]},a);f=$$("div",{"className":h?"UD_SYWRZOQI":"UD_SYWRZOKI"},c);if(h){b=U.D.SY.XWPDYHTX(f,h);}else{$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(j[e].UserThumbnailImageHead)},f);}$$("div",{"className":"UD_SYWRZOKN UTDF","innerHTML":j[e].UserNickName||j[e].GroupManageDescript||j[e].GroupManageName},c);$$("div",{"className":"UD_SYWRZOKQ UTDF","innerHTML":h?j[e].GroupManageRemark||"暂无群简介":j[e].UserIndividualitysignature||"暂无个人简介"},c);f=$$("div",{"className":"UD_SYWRZOKX"},c);l=$$("div",{"className":"UD_SYWRZOKXF","innerHTML":"全部分享"},f);$$("span",{"className":"UD_SYWRZOKXFO","innerHTML":j[e].DDC||0},l);l=$$("div",{"className":"UD_SYWRZOKXC"},f);if(h){l.innerHTML="目前参与的人数:"+b.length;}}}else{var l,f,c=$$("div",{"className":"UD_SYWRZT"},d);f=$$("div",{"className":"UD_SYWRZTS"},c);$$("div",{"className":"UD_SYWRZTSL","innerHTML":"!"},f);l=$$("div",{"className":"UD_SYWRZTSR"},f);$$("div",{"className":"UD_SYWRZTSRS","innerHTML":"这里暂时没有内容哦!!"},l);$$("div",{"className":"UD_SYWRZTSRX","innerHTML":"Nothing!!"},l);$$("div",{"className":"UD_SYWRZTX","innerHTML":"返回一步"},c);}k[1][5]=k[1][1]="";U.D.SY.SCDXWPDH([{"UserallDirectoryName":h?"群好友查看":"好友查看"}],$("#UD_SYWRYB")[0]);d.appendChild(a);};U.D.SY.XWPDYHTX=function(c,a){var e,f,b=_$(US.Friend[3]).Select({"GroupManageID":a}).slice(0,9),d=$$("frag"),h=b.length,g=[1,4,9];for(e=0;e<g.length;e++){if(h<=g[e]){f=Math.ceil(g[e]/3);f=[(124-(e*5))/f,5,f];break;}}for(e=0;e<h;e++){$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(b[e].UserThumbnailImageHead),"style":{"width":f[0]+"px","height":f[0]+"px","marginLeft":e%f[2]?f[1]+"px":"","marginTop":e<f[2]?"":f[1]+"px"}},d);}h=Math.ceil(h/f[2]);f=((124-(f[0]*h+(f[1]*(h-1))))/2);$(c).addAttrArray({"style":{"marginTop":f+"px","height":(125-f)+"px"}});c.appendChild(d);return b;};Namespace.register("U.F.FM");U.D.SY.LTJLFM=function(d,c,b,e){d=$(d);var a=d[0].style.display=="block"?"none":"block";(a=="block")&&(U.D.SY.SLTJLFM(d[0],c,b,e));d[0].style.display=a;U.D.SY.TZOPM(d.Parent(3),d.Parent());$($("#UD_SYH").Child()[0]).Center();};U.D.SY.SLTJLFM=function(c,e,a,g){var f=a*50,d=f-50,b=g?["GetGroupMessage",[e.GroupManageID]]:["allrecord",[US.userInfo.userid,e.UserId]];b[0]="UseStudioManage."+b[0];b[1]=b[1].concat([d,f]);U.A.Request(b[0],(b[1]),U.D.SY.AsynLTJLFM,(["",c,e,a,g]));};U.D.SY.AsynLTJLFM=function(g){var c=g.context,b=c[1],f=c[2],e=c[3],a=c[4],d=$(b).Child();g=g.value;d[1].innerText=d[0].innerText="";if(g.length){U.D.SY.PLTJLFM(d[0],g,f);d[0].scrollTop=d[0].scrollHeight;U.PG.PPage(d[1],g[0].AllC,e,50,{"fun":[[U.D.SY.SLTJLFM,([b,f,e,a])]],"page":[2]});}else{}};U.D.SY.PLTJLFM=function(b,a,e){var d=a.length,h,f,g,c=$$("frag");while(d--){h=$$("div",{"className":"UD_SYFLO"},c);f=$$("div",{"className":"UD_SYFLOT"},h);$$("div",{"className":"UD_SYFLOTN","innerHTML":a[d].MessageDescript||a[d].GroupMessageSendUsername||e.FriendsDescript||e.GroupManageName},f);$$("div",{"className":"UD_SYFLOTT","innerHTML":U.MT.getTDInterval(a[d].MessageSendTime||a[d].GroupMessageSendTime)},f);$$("div",{"className":"UD_SYFLOD","innerHTML":a[d].MessageContent||a[d].GroupMessageContent},h);}b.appendChild(c);};U.F.FM.SMT=function(c,d,b,e){var a=US.userInfo;if(d.length){U.A.Request("UseStudioManage.add"+(e?"group":"")+"message",([a.UserId,a.UserNickName,c,d]),U.M.apply(),([""]));(!e)&&(U.F.FM.SLF(c));}else{U.A.Request("UseStudioManage.Get"+(e?"Group":"")+"MessageServiceStatus",([a.UserId,c]),b,(["",c,e]));}};U.D.SY.FSOFM=function(e,c,d,g,a){var b=g?U.D.SY.PFSOGM:U.D.SY.FGOFM,f=c.innerHTML;if(f.IsGEdit()){U.F.FM.SMT(e.UserId||e.GroupManageID,f,null,g);b(d,[{"UserId":US.userInfo.userid,"Time":null,"Content":f,"IMG":US.userInfo.UserThumbnailImageHead,"Name":US.userInfo.UserNickName}],true);(!a)&&(c.innerText="");}};U.F.FM.SLF=function(a){var c,b,d=US.Friend;for(c=0;c<d.length;c++){if((b=_$(d[c*3+1]).Select({"UserId":a})[0])){break;}}U.F.FM.ALMG(b);};U.F.FM.ALMG=function(c){if(c){var b=US.Friend[4],a=b.inArray(c.UserId,"UserId");b.unshift(a>-1?b.splice(a,1)[0]:new U.F.T.LFE(([c.UserId,c.UserName,c.UserImageHead,c.UserNickName,c.UserThumbnailImageHead,c.maxMessageSendTime||U.MT.GetDT(),c.FriendsDescript,c.UserIndividualitysignature,c.IsLogin])));}};U.D.SY.SCTP=function(c,b,a){U.D.SY.ET["UL"]["FUP"].push(c);};U.D.SY.ASCTP=function(c,b,f,e,d){var a=$$("div",{});e=U.M.GetImgU(e);d=U.M.GetImgU(d);$$("img",{"className":"UD_SYFCI","src":e,"title":d},a).onclick="U.M.StopBubble();U.D.Img.Img(US.userInfo,{ 'Thm': '"+d+"', 'Img': '"+d+"'})";U.D.SY.FSOFM(c,a,b,f,true);};Namespace.register("U.F.J");U.D.SY.NewQZ=function(h){var e,c,d=[],b=U.D.SY.ET["UL"]["AD"],j=$("#UD_SYA"),f=$("#UD_SYTC")[0],a=j.Child(),k=$("input",a[0]),g=$(a[1]).Child();for(e=0;e<g.length-1;e++){a[1].removeChild(g[e]);}b.splice(0,g.length);if(h.GroupManageID){d[0]=h.GroupManageName;d[1]=h.GroupManageDescript;d[2]=h.GroupManageID;h=_$(US.Friend[3]).Select({"GroupManageID":h.GroupManageID});}else{for(e=0;e<2;e++){d.push(k[e].defaultValue);}h=[h];}for(e=0;e<2;e++){k[e].value=d[e];}U.D.SY.ET["UL"]["AD"]=b.concat(h);(c=$(a[2]).Child()[0]).onclick=U.M.apply(c,[[U.D.SY.QANewQZ,([a[0],d[2]])]]);(c=g[g.length-1]).onclick=U.M.apply(c,[[U.D.SY.ANewQZ,([f])]]);U.D.SY.PNewQZ(a[1],h);U.D.PopupWindow(j);(f.style.display=="block")&&(c.onclick());};U.D.SY.PNewQZ=function(b,a){var d,g,e,c=$$("frag"),f=$(b).Child();for(d=0;d<a.length;d++){e=a[d].FriendsDescript||a[d].GroupUsersDescript;g=$$("div",{"className":"UD_SYACO","alt":e},c);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.D.SY.UIFZX,([a[d].UserId])]],"src":U.M.GetImgU(a[d].UserThumbnailImageHead)},g);$$("div",{"className":"UD_SYACOM UTDF","innerHTML":e},g);}b.insertBefore(c,f[f.length-1]);};U.D.SY.ANewQZ=function(b,a){var c,d=_$(US.Friend[1].concat([])),e=U.D.SY.ET["UL"]["AD"];for(c=0;c<e.length;c++){d.Delete({"UserId":e[c].UserId});}U.D.SY.NewLXR(b,d.Value);$($(b).Parent()).Center();};U.D.SY.NewLXR=function(b,a){var d,f,e,c=$$("frag");for(d=0;d<a.length;d++){f=$$("div",{"className":"UD_SYTCO","FID":a[d].UserId,"onclick":[[U.D.SY.XZPNewQZ,(["this",a[d]])]]},c);$$("div",{"className":"UD_SYTCOI UD_SYI"},f);e=$$("div",{"className":"UD_SYTCOC"},f);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a[d].UserId])]],"src":U.M.GetImgU(a[d].UserThumbnailImageHead),"alt":a[d].FriendsDescript},e);$$("div",{"className":"UD_SYTCOCN","innerHTML":a[d].FriendsDescript},e);}b.innerHTML="";b.appendChild(c);};U.D.SY.SSR=function(b){var a=$("#UD_SYTC")[0],c=$("div@FID="+b.UserId)[0];if(c){c.onclick();U.M.SCT(c);}else{U.Alert("好友已经添加到群组里~");}};U.D.SY.XZPNewQZ=function(d,b){var e=$("div",d)[0],a=U.D.SY.ET["UL"]["XAD"],c=e.className;if(c=="UD_SYTCOI UD_SYI"){e.className+=" UD_SYTCOIO";a.push(b);}else{e.className="UD_SYTCOI UD_SYI";_$(a).Delete({"UserId":b.UserId});}};U.D.SY.ADNewLXR=function(b){var a=U.D.SY.ET["UL"],c=a["XAD"];U.D.SY.PNewQZ($("#UD_SYAC")[0],c);a["AD"]=a["AD"].concat(c);c.splice(0,c.length);U.D.CloseWindow(b);};U.D.SY.QANewQZ=function(b,h){var e,k,f=h!=null,d=US.userInfo.userid,g=[],a=U.D.SY.ET["UL"]["AD"],c=_$(a).pluck("UserId").join(","),j=$("input",b);for(e=0;e<j.length;e++){if(!((g[e]=j[e].value).IsGEdit()&&g[e]!=j[e].defaultValue)){U.Alert((e?"描述":"群名")+"无效");j[e].focus();return;}}if(!h){k=new U.F.T.GE(([(h=U.MS.produceGuid()),g[0],U.MT.GetDT(),d,d,g[1],null]));c=d+","+c;}U.D.CloseWindow(b.parentNode);U.A.Request("UseStudioManage.AddMessageG",([d,g[0],g[1],h,c,f]),U.D.SY.AsynQANewQZ,(["",k,a.splice(0,a.length),h,g[0],g[1]]));};U.D.SY.AsynQANewQZ=function(f){var g,d=US.userInfo,c=f.context,k=c[1],b=c[2],j=c[3],h=c[4],a=c[4],e=US.Friend;f=f.value;if(f){if(k){e[2].unshift(k);b.unshift(d);}else{_$(_$(e[2]).Select({"GroupManageID":j})).Change({"GroupManageName":h,"GroupManageDescript":a});}for(g=0;g<b.length;g++){e[3].push(new U.F.T.GFE([b[g].UserId,b[g].UserImageHead,b[g].UserNickName,b[g].UserName,b[g].UserThumbnailImageHead,b[g].UserNickName,j,1]));}$("#UD_SYHZLTA").Child()[2].onclick();U.Alert("邀请好友请入群成功~");}else{U.Alert("服务器繁忙,请从新创建!!");}};Namespace.register("U.F");U.D.SY.CSHFG=function(){var b=$("#UD_SYH").addAttrArray({"style":{"display":"block"}})[0],a=$(".UD_SYHZLTI",U.D.SY.QHFG(b,[{"display":"none","left":"auto"},{"display":"block","top":(US.Height-530)/2,"right":($("#UD_SYK")[0].style.display=="none"?0:U.D.SY.ET["GDTW"]+1)+"px"}],true)[0])[0];$($("img",a)[0]||$$("img")).addAttrArray({"onerror":U.M.ImgError,"src":U.M.GetImgU(US.userInfo.UserThumbnailImageHead)}).appendTo(a);U.D.SY.RPFG(US.Friend[4].length?US.Friend[4]:US.Friend[1],$("div#UD_SYHRC",b)[0]);U.D.SY.PUF($("div#UD_SYHZLZ",b)[0],US.Friend[1]);};U.D.SY.RPFG=function(a,b){var d,c=$$("frag"),e=$(b).Child();for(d=1;d<e.length;d++){b.removeChild(e[d]);}if(a.length){for(d=0;(d<a.length&&d<11);d++){$$("img",{"onerror":U.M.ImgError,"title":a[d]["FriendsDescript"],"className":"UD_SYHRCI","src":U.M.GetImgU(a[d].UserThumbnailImageHead),"alt":a[d].FriendsDescript||a[d].UserNickName,"onclick":[[U.M.StopBubble],[U.D.SY.QXXHFXT,([null,b,a[d].UserId])],[U.D.SY.HTOFM,([a[d],true])]]},c);}}else{_UDTD=$$("div",{"className":"UD_SYHRCT"},c);_UDSD=$$("div",{"className":"UD_SYHRCTS"},_UDTD);$$("img",{"src":"/img/YSUN.png"},_UDSD);$$("div",{"className":"UD_SYHRCTZ UD_SYI"},_UDTD);$$("div",{"className":"UD_SYHRCTX","innerHTML":"暂时无追随"},_UDTD);}b.appendChild(c);};U.D.SY.PUF=function(b){var d,f,g,c,a=US.Friend[0],e=$$("frag");b.innerText="";for(d=0;d<a.length;d++){c=_$(US.Friend[1]).Select({"FriendsGroupID":a[d].FriendsGroupID});f=$$("div",{"TID":a[d].FriendsGroupID,"className":"UD_SYHZLZO"},e);$$("div",{"className":"UD_SYHZLZOT","innerHTML":a[d].FriendsGroupName+"("+c.length+")","onclick":[[U.D.SY.ZKPUF,([f])]]},f);g=$$("div",{"className":"UD_SYHZLZOC"},f);if(US.Friend[1].length){U.D.SY.TYDYF(g,c);}else{U.D.SY.TYDYFK(g);}}b.appendChild(e);};U.D.SY.TYDYF=function(c,j,d){var e,f,b,g,h,a=$($$("frag"));for(e=0;e<j.length;e++){b=$$("div",{"className":"UD_SYHZLZOCO","onclick":[[U.D.SY.HTOFM,([j[e]])]],"TID":j[e].GroupManageID||j[e].UserId});g=$$("div",{"className":"UD_SYHZLZOCOI"},b);if(j[e].GroupManageID){U.D.SY.GQTX(j[e],g);}else{$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([j[e].UserId])]],"src":U.M.GetImgU(j[e].UserThumbnailImageHead)},g);}h=$$("div",{"className":"UD_SYHZLZOCOR UTDF"},b);$$("div",{"className":"UD_SYHZLZOCORN","innerHTML":j[e].FriendsDescript||j[e].UserNickName||j[e].GroupManageName},h);$$("div",{"className":"UD_SYHZLZOCORT UTDF","innerHTML":j[e].UserIndividualitysignature||j[e].GroupManageRemark||""},h);a.append(b,0,j[e].IsLogin==1?(f=true,a.firstChild):null);}$(c).append(a,0,f?c.firstChild:null);};U.D.SY.TYDYFK=function(a){_UDTD=$$("div",{"className":"UD_SYHZLZT"},a);_UDSD=$$("div",{"className":"UD_SYHZLZTS"},_UDTD);$$("img",{"src":"/img/YSUN.png"},_UDSD);$$("div",{"className":"UD_SYHZLZTZ UD_SYI"},_UDTD);$$("div",{"className":"UD_SYHZLZTX","innerHTML":"暂时没有添加追随!!"},_UDTD);};U.D.SY.SPUF=function(g,b,e){var c,f=$("#UD_SYHZLZ")[0],d=$($(b).Parent()).Child(),a=[["UD_SYHZLTO UD_SYI"],["UD_SYHZLTT UD_SYI"],["UD_SYHZLTS UD_SYI"],["UD_SYHZLTF UD_SYI"]];for(c=0;c<d.length;c++){d[c].className=a[c]+(b==d[c]?e:"");}if(g=="A"){U.D.SY.CJHYFZ();}else{f.innerText="";if(g=="F"){U.D.SY.PUF(f);}else{U.D.SY.TYDYF(f,US.Friend[g=="H"?4:2]);}}};U.D.SY.ZKPUF=function(a){var b=$(a).Child()[1],c=b.style;if(c.display=="none"){c.display="block";}else{c.display="none";}};U.D.SY.GQTX=function(l,b,g,h){var e,d,a,f,c=_$(US.Friend[3]).Select({"GroupManageID":l.GroupManageID},null,(g||9)),m=c.length<3?c.length:(c.length>4?3:2),k=(c.length>4)?3:(c.length>1)?2:1;h=h||[b.offsetHeight||40,b.offsetWidth||40];a=$$("div",{"className":"UD_SYSSZFZAIO","title":l.GroupManageName});for(e=0;e<m;e++){f=$$("div",{"style":{"width":"100%","height":Math.floor(h[0]/m)+"px"}},a);for(d=e*k;d<e*k+k&&d<c.length;d++){$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(c[d].UserThumbnailImageHead),"style":{"width":Math.floor(h[1]/k)+"px","height":Math.floor(h[0]/k)+"px"}},f);}}b.appendChild(a);};Namespace.register("U.F.M");U.D.SY.CJHYFZ=function(){var a,c,b;a=$$("div",{"className":"UD_SYSSZS UD_SYATNL UD_SYSOU"});c=$$("div",{},a);b=$$("input",{"value":"请输入你要创建的群名","onfocus":[[U.MR.InputTip,(["this",["请输入你要创建的群名",""]])]],"onblur":[[U.MR.InputTip,(["this","","请输入你要创建的群名"])]]},c);U.UI.Dialog("创建好友分组",{"width":"300px","height":"140px"},null,U.M.apply(null,[[U.D.SY.ACJHYFZ,([b])]]),a,$("#UD_SY")[0]).Create();};U.D.SY.ACJHYFZ=function(b){var c=b.value,a=U.MS.produceGuid();if(c.length>20){U.Alert("分组名不可超过20个字符");}else{if(c.IsGEdit()&&c!=b.defaultValue){U.A.Request("UseStudioManage.AddToFriendsGroup",([US.userInfo.userid,c,a]),U.D.SY.AsynACJHYFZ,(["",c,a]));}else{U.Alert("请输入正确的群名");}}};U.D.SY.AsynACJHYFZ=function(b){var a=b.context;b=b.value;US.Friend[0].unshift(new U.F.T.UFET(["",a[2],a[1]]));$("#UD_SYHZLTA").Child()[0].onclick();U.Alert("创建"+a[1]+"分组成功");};U.D.SY.DFriend=function(c){var b,a=$("div@TID="+c.UserId,$("#UD_SYHZLZ")[0])[0];(c.FriendsID==null)&&(c=_$(US.Friend[1]).Select({"UserId":c.UserId},null,1)[0]);U.A.Request("UseStudioManage.USFreindsDeleteFriendAjax",([US.userInfo.userid,c.FriendsID,c.UserId]),U.M.apply(),([""]));_$(US.Friend[1]).Delete({"FriendsID":c.FriendsID});(a)&&(b=a.parentNode,b.removeChild(a),$("div",b.parentNode)[0].innerHTML=_$(US.Friend[0]).Select({"FriendsGroupID":c.FriendsGroupID})[0]["FriendsGroupName"]+"("+(_$(US.Friend[1]).Select({"FriendsGroupID":c.FriendsGroupID}).length)+")");U.D.SY.BHZSXX([1,US.Friend[1].length]);};U.D.SY.AddFriend=function(c,b){if(!U.D.SY.DLTC(3)){c.UserId=c.UserId||c.UserID;if(c.UserId!=US.userInfo.userid&&!_$(US.Friend[1]).Select({"UserId":c.UserId})[0]){var a=$$("div",{"className":"UD_SYUIAOT","innerHTML":"添加"+c.UserName+"为好友"});U.UI.Dialog("是否添加好友",{"width":"300px","height":"120px"},null,U.M.apply(this,[[U.D.SY.YAddFriend,([c,b])]]),a,$("#UD_SY")[0]).Create();}else{U.Alert("好友列表已存在");}}else{U.Alert("快速登录关注他(她)吧");}};U.D.SY.YAddFriend=function(c,b){if(!U.D.SY.DLTC(3)){U.D.SY.TYAddFriend(c,b);}else{var a=$("#UD_SYU");U.D.SY.ET.DLHD=[U.M.apply(a,[[a.addAttrArray,([{"style":{"display":"block"}}])]])];}};U.D.SY.TYAddFriend=function(g,d){g.UserId=g.UserId||g.UserID;if(g.UserId){var e=US.Friend,c=_$(e[0]).Select({"FriendsGroupDescript":"自动创建"})[0],f=c.FriendsGroupID,b=U.MS.produceGuid(),a=new U.F.T.FE([g.UserIndividualitysignature,g.UserId,g.UserImageHead,g.UserThumbnailImageHead,g.UserNickName||g.UserName,g.UserName,b,g.UserNickName||g.UserName,f,0]);e[1].unshift(a);U.Alert("正在添加中...");U.A.Request("UseStudioManage.AddFrinedsAjax",([US.userInfo.userid,g.UserId,b,f,(g.UserNickName||g.UserName)]),U.D.SY.AsynYAddFriend,(["",f,g,c,d,a]));}};U.D.SY.AsynYAddFriend=function(e){var b,j=US.Friend,c=e.context,f=c[1],d=c[2],a=c[3],i=c[4],g=c[5],h=$("div@TID="+f,$("#UD_SYSSZF")[0]);e=e.value;(e[0][0])&&(_$(g).Add(e[0][0]));g["IsLogin"]=e[1]=="True"?1:0;(h[0])&&(b=h.Child(),(US.Friend[1].length==1)&&(b[1].innerText=$("#UD_SYHZR")[0].innerText=""),U.D.SY.TYDYF(b[1],[g],true),b[0].innerText=a["FriendsGroupName"]+"("+(_$(US.Friend[1]).Select({"FriendsGroupID":f}).length)+")");U.D.SY.HTOFM(g,true);(!j[4].length)&&(U.D.SY.RPFG(US.Friend[1],$("#UD_SYHRC")[0]));U.D.SY.BHZSXX([1,US.Friend[1].length]);(i)&&(i());};Namespace.register("U.F.N");U.F.N.UXFN=[];U.F.N.GNM=function(a){U.A.Request("UseStudioManage.GetNewMessageService",([a,US.userInfo.OnUserId,"","","",US["ITID"]]),U.F.N.AsynGNM,([""]));};U.F.N.AsynGNM=function(e){if((e=e.value)){var d,a=US.userInfo,c=e[0],b=e[1];if(typeof b=="string"){U.F.N.DL(b);}else{U.F.N.ST(b.slice(0,2));if(b[2]){}for(d=0;d<U.F.N.UXFN.length;d++){U.F.N.UXFN[d](e);}}}};U.D.SY.CKJSXX=function(a){U.D.SY.CKHFXT(a[0]);U.D.SY.CKHFXTPB(a[1]);U.D.SY.ZMTS(a);};U.D.SY.ZMTS=function(m){try{var f,c,b,l,a=window.external,g=[],d=[[],[]];for(f=0;f<m.length;f++){if(f){_USE=m[f][4];for(c=0;c<_USE.length;c++){g[0]=true;l=_USE[c];d[1].push({"UsImag":l.UserThumbnailImageHead!=null?U.M.GetImgU(l.UserThumbnailImageHead):US.ms+"img/getface.jpg","UsSYSUN":"","UsSYScontent":l["NEWC"]||l["ET"],"UsName":l.UserName,"UsType":l["NEWTYPE"]});}}else{for(c=0;c<m[f].length;c++){_USE=m[f][c];for(b=0;b<_USE.length;b++){g[1]=true;l=_USE[b];d[0].push({"UsImag":l.UserThumbnailImageHead!=null?U.M.GetImgU(l.UserThumbnailImageHead):US.ms+"img/getface.jpg","UsSYSUN":"","UsSYScontent":l,"UsName":l.FriendsDescript||l.UserNickName||l.GroupManageName,"UsType":l.MessageIsVerify||0});}}g[1]=!g[0];}try{if(g[0]){a.news(U.MS.SerializeJsonToStr(d[1]));}if(!g[1]){a.QXftpshow();}else{a.ftpshow(U.MS.SerializeJsonToStr(d[0]));}}catch(h){}}}catch(h){alert(h.Message);}};U.D.SY.CKHFXT=function(h){var e,c,d,f,g,k,b,a=[];for(c=0;c<h.length;c++){k=h[c];for(e=0;e<k.length;e++){g=k[e];d=g.UserId==null;b=g.MessageIsVerify;switch(b){case 0:case undefined:f=U.D.SY.IFOFM(g.UserId||g.GroupManageID);if(f[1]){U.F.FM.SMT(g.UserId||g.GroupManageID,"",U.M.apply(this,[[U.D.SY.JKXOFM,([d?"GM":"FM",[g,f[1][1]]])]]),d);}else{(!a[0])&&(a[0]=[]);g.MessageSendTime=g.MessageSendTime||g.GroupMessageSendTime;a[0].push(g);}break;case 1:(!a[b])&&(a[b]=[]);a[b].push(g);break;case 3:g.MessageContent=g.MessageContent.toLocaleLowerCase();U.D.SY.CKHFXTQX(g);break;}}}U.D.SY.ZSHFXT(a[1]);(a[0])&&(U.M.Sequence(a[0],"MessageSendTime",U.MT.comptime),U.D.SY.XXHFXT(a[0]));};U.D.SY.CKHFXTQX=function(b){var a=_$(US.Friend[2]).Select({"GroupManageID":b.MessageContent})[0];if(!a){U.Alert("您给"+b.UserNickName+"加入讨论组");U.D.SY.LYHJQCL(b);}else{U.A.Request("UseStudioManage.canceluseraddtogrouprequest",([US.userInfo.userid,b.MessageID]),U.M.apply(),[""]);}};U.D.SY.ZSHFXT=function(j){var c,b,a,g,d=$$("frag"),k=$("#UD_SYSSRXOA")[0],e=k.parentNode,f=$(e).Parent(2),h=$(e).Child();(k.innerText)&&(k.innerText="");if(j&&j.length){for(c=0;c<j.length;c++){g=j[c].UserNickName;b=$$("div",{"className":"UD_SYSSRXOO"},d);b.onclick=U.M.apply(b,[[U.UI.Confirm,([g+"添加您为好友",[U.D.SY.TJZSHFXT,([j,j[c],b])]])]]);a=$$("div",{"className":"UD_SYSSRXOOI"},b);$$("img",{"onerror":U.M.ImgError,"alt":g,"src":U.M.GetImgU(j[c].UserThumbnailImageHead)},a);$$("div",{"className":"UD_SYSSRXOON","innerHTML":g},b);$$("div",{"className":"UD_SYSSRXOOC","style":{"cssText":"float:right"},"innerHTML":"查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([j[c].UserId])],[U.D.SY.QZSHFXT,([j[c].MessageID,j,b])]]},b);}f.onclick=null;h[0].onclick=U.M.apply(h[0],[[U.D.SY.QZSHFXT,([null,j,k])]]);h[2].innerText="有"+j.length+"个新追随者";k.appendChild(d);$("div",e.parentNode).addAttrArray({"style":{"display":e.parentNode.style.display=e.style.display="block"},"innerHTML":j.length},0);}else{$($(f).Child()).addAttrArray({"style":{"display":"none"}});f.onclick=U.M.apply(this,[[U.Alert,(["暂无好友信息"])]]);}};U.D.SY.TJZSHFXT=function(d,a,b){var c=_$(US.Friend[1]).Select({"UserId":a.UserId},null,1)[0];if(!c){U.D.SY.YAddFriend(a);}else{U.Alert("已添加在好友列表上");}U.D.SY.QZSHFXT(a.MessageID,d,b);};U.D.SY.QZSHFXT=function(d,a,c){var b=$(c).Parent();if(d){_$(a).Delete({"MessageID":d});if(b){$(c).remove();b=$(b).Parent();$(b).Child()[2].innerText="有"+a.length+"个新追随者";}}if(b&&(!a.length||!d)){$($(b).Parent()).Child()[0].style.display=b.style.display="none";}U.A.Request("UseStudioManage.canceluseraddtogrouprequest",([US.userInfo.userid,d||_$(a).pluck("MessageID").join(",")]),U.M.apply(),([""]));};U.D.SY.XXHFXT=function(b){var d,e,f,a=$("#UD_SYHRC")[0],g=$("div",a)[0],c=$$("frag");g.innerText="";if(b&&b.length){for(d=0;d<b.length;d++){e=$$("div",{"title":b[d].FriendsDescript||b[d].UserNickName||b[d].GroupManageName,"className":"UD_SYHRCOO","TID":b[d].GroupManageID||b[d].UserId,"onclick":[[U.M.StopBubble],[U.D.SY.HTOFM,([b[d],true])],[U.D.SY.QXXHFXT,(["this"])]]},c);$$("div",{"className":"UD_SYHRCOI","innerHTML":b[d].UCN},e);f=$$("div",{"className":"UD_SYHRCOON"},e);if(b[d].GroupManageID){U.D.SY.GQTX(b[d],f,4,[35,35]);}else{$$("img",{"onerror":U.M.ImgError,"className":"UD_SYHRCOONI","src":U.M.GetImgU(b[d].UserThumbnailImageHead)},f);}}g.appendChild(c);}};U.D.SY.QXXHFXT=function(b,c,a){(b==null)&&(b=$("div@TID="+a,c)[0]);$(b).remove();};U.D.SY.JKXOFM=function(c){switch(c){case"FM":case"GM":var a=arguments[1],b=arguments[2].value;(c=="GM"?U.D.SY.PFSOGM:U.D.SY.FGOFM)($("div.UD_SYFC",a[1])[0],b);break;case"AD":U.D.SY.BHZSXX([13,US.userInfo.UIF["FDC"]++]);break;}};U.D.SY.LYHJQCL=function(a){U.A.Request("UseStudioManage.LYHJRQ",([US.userInfo.userid,a.MessageID,a.MessageContent]),U.D.SY.AsynLYHJQCL,["",a]);};U.D.SY.AsynLYHJQCL=function(f){var d,e,b=US.userInfo.userid,c=f.context,a=c[1];f=f.value;e=f[0];US.Disk.UserDisk[b]=US.Disk.UserDisk[b].concat(f[1]);US.Friend[2].unshift(new U.F.T.GE(([a.MessageContent.toLocaleLowerCase(),a.MessageDescript,U.MT.SetDT(new Date()),a.UserId,US.NU,"",null])));for(d=0;d<e.length;d++){if(!_$(US.Friend[3]).Select({"GroupManageID":e[d].GroupManageID||e[d].MessageContent,"UserId":e[d].UserId||e[d].UserId})[0]){US.Friend[3].push(new U.F.T.GFE(([e[d].UserId||e[d].MessageSendUserID,U.M.GetImgU(e[d].UserImageHead),e[d].UserNickName||e[d].UserName,e[d].UserName,U.M.GetImgU(e[d].UserThumbnailImageHead),e[d].GroupUsersDescript||e[d].UserNickName,e[d].GroupManageID||e[d].MessageContent,1])));}}$("#UD_SYHZLTA").Child()[2].onclick();};U.D.SY.CKHFXTPB=function(UDE){var i,j,_UTF,_UCE,_UKE,_UME,_UNE;if((UDE=UDE[4])){for(i=0;i<UDE.length;i++){_UCE=UDE[i];switch(_UCE["NEWTYPE"]){case"UPBR":if(_UCE.UserId!=US.userInfo.userid){eval("0,_UKE ="+_UCE["ET"]);_UNE=US.PB.News[0];_UME=(_UCE["ET"]=_$(_UNE).Select({"ArticleID":_UKE["ArticleID"],"ReplyAddUserID":_UCE["UserId"]})[0]);if(_UME){_UME.UCN++;}else{_UTF=_UKE.NewsType==2;_UNE.push((_UCE["ET"]={"PublishedDirectoryID":_UTF?null:_UKE["PublishedDirectoryID"],"ReplyAddUserID":_UTF?_UKE["ReplyAddUserID"]:_UCE["UserId"],"NF":_UTF?US.NU:(_UKE["PublishedDirectoryID"]==US.PID?null:US.PID),"ArticleContentBrief":_UTF?_UKE["UserDirectoryName"]:_UKE["ArticleContentBrief"],"ReplyContent":_UCE["NEWC"],"UserName":_UCE["UserName"],"ArticleID":_UKE["ArticleID"],"UserThumbnailImageHead":_UCE["UserThumbnailImageHead"],"ArticleTitle":_UTF?_UKE.ReplyContentBrief:_UKE.ArticleTitle,"UCN":_UCE["NEWT"]||0}));}U.D.SY.PNXX();}break;case"UD_DiskCon":case"DDisk":_UKE=US.Disk.diskfileTree;if(_UCE["NEWTYPE"]=="UD_DiskCon"){eval("0,_UNE ="+_UCE["NEWC"]);_UCE["NEWC"]=(_UNE=_UNE.length==null?[_UNE]:_UNE);_UME=_UNE[0].UserDirectoryParentID||_UNE[0].UserDirectoryID;for(j=0;j<_UNE.length;j++){_UKE[0].push(U.Dk.M.RUS(new U.Dk.M.Entity(([_UNE[j].UserFilesID||_UNE[j].UserDirectoryID,_UNE[j].UserFilesSize||0,_UNE[j].UserDirectoryParentID||_UNE[j].UserDirectoryID,_UNE[j].UserDirectoryName||_UNE[j].UserFilesName,_UNE[j].UserDirectoryName||_UNE[j].UserFilesName,_UNE[j].UserDirectoryExtendType||_UNE[j].UserFilesExtendName,_UNE[j].UserFilesServerName,new Date(),_UNE[j].UseFilesServerThumbnailName?_UNE[j].UseFilesServerThumbnailName:U.UP.FFT(_UNE[j].UserDirectoryExtendType||_UNE[j].UserFilesExtendName)[1],_UNE[j].UserDirectoryDeep||"9999.00",null,null,_UNE[j].UserDirectoryExtendType?0:1,_UNE[j].UserDirectoryDescript||_UNE[j].UserFilesDescript,_UNE[j].GroupID||_UNE[j].UserDirectoryEncrypt,"",_UCE.UserId,_UCE.UserName,_UCE.UserName,_UCE.UserThumbnailImageHead]))));}}else{_UNE=_UCE["NEWC"].split(",");_UME=_UCE["NEWT"];for(j=0;j<_UNE.length;j++){_$(_UKE[0]).Delete({"UserDirectoryID":_UNE[i]});}}(US.userInfo.userid==_UKE[1][2]&&_UME==_UKE[1][1])&&(U.D.SY.WPCKXS());break;}}}};U.F.N.DL=function(b){var a=US.userInfo;b=b=="upline"?["您好,您的账号在别处有登录,点击确定从新登录","lineUser",[a.UserId,a.UserName,a.OnUserId],U.M.apply()]:["登录超时!。是否从新登陆","UserStateLogin",[a.UserName,a.UserPassword,a.OnUserId,0],U.F.N.AsynLogin];if(confirm(b[0])){U.A.Request("UseStudioManage."+b[1],(b[2]),b[3],([]));}else{U.U.L.TCUL();}};U.F.N.ST=function(h,b){var g,f,e,a,k=$("#UD_SYHZLZ")[0],d=US.userInfo.userid,c=US.Friend;for(g=0;g<h.length;g++){if(h[g].length){e=h[g].join(",");for(f=0;f<3;f++){_$(_$(c[(f?f+2:1)]).Like({"UserId":e})).Change({"IsLogin":g});}for(f=0;f<h[g].length;f++){e=$("@TID='"+h[g][f]+"'",k);(e[0])&&(a=$(e.Parent())).append(e,null,g?a[0].firstChild:null);}}}for(f=0;f<3;f++){_$(US.Friend[(f?f+2:1)]).Reset({"IsLogin":1});}};Namespace.register("U.F.S");U.D.SY.TYFTX=function(c,b){var e=event?event.keyCode:0,d=$(c).Child(),g=b.value,f=U.D.SY.ET["SXXZ"],a=d[f];if(g==""||g==b.defaultValue){c.style.display="none";}else{if(f>-1&&e==13||e==10&&d[f].onclick){d[f].onclick();}else{if(e!=38&&e!=40){U.D.SY.ET["SXXZ"]=-1;return true;}}}return false;};U.D.SY.SBFXT=function(a,c,d){var b,e=a.value;if(U.D.SY.TYFTX(c,a)){b=_$(US.Friend[1]).Like({"FriendsDescript":e,"UserNickName":e,"UserName":e}).concat(_$(US.Friend[2]).Like({"GroupManageName":e}));c.innerText="";U.D.SY.PSBFXT(b,c,d);}};U.D.SY.SSHY=function(){var c,b,a=["UD_SYSSZSJ"];for(c=0;c<a.length;c++){(b=$("#"+a[c])[0]).onscroll=U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.GDJZ,([$("input",b.parentNode)[0]])]])}).SCH();}};U.D.SY.SFXT=function(d,b){var f=$($(b).Parent(3)).Child()[1],c=d*20,a=c-20,e=b.value;if(U.D.SY.TYFTX(f,b)){U.A.Request("UseStudioManage.SelectUserByKeyWord",([US.userInfo.userid||US.NU,e,a,c]),U.D.SY.AsynSFXT,(["",d,e,f]));}};U.D.SY.GDJZ=function(a){if(U.D.SY.SFXT(this.P+2,a)){this.P--;}};U.D.SY.AsynSFXT=function(b){var a=b.context;b=b.value;(a[1]==1)&&(a[3].innerText="");(b)&&(U.D.SY.PSBFXT(b,a[3],U.D.SY.UIFZX));};U.D.SY.XXFXT=function(c,a){var g=U.D.SY.ET,e=event.keyCode,d=$(c).Child(),b=e==38?-1:e==40?1:null,f=g["SXXZ"];if(b||(a!=null&&a!=f)){if(a!=null){g["SXXZ"]=a;}else{a=(g["SXXZ"]+=b);}if((_UDTD=d[a])){_UT=_UDTD.offsetTop;_UST=c.scrollTop;(_UT>c.offsetHeight+_UST-40)&&(c.scrollTop=_UT+_UDTD.offsetHeight-c.offsetHeight);(_UT<c.scrollTop)&&(c.scrollTop=_UT);(d[f])&&(d[f].className="UD_SYSSZJD UTDF");_UDTD.className="UD_SYSSZJD UTDF UD_SYSSZJDO";}(a>d.length-1)&&(g["SXXZ"]=d.length-1);(a<0)&&(g["SXXZ"]=-1);}};U.D.SY.PSBFXT=function(l,d,j){var e,g,c,h,f,b,a=$$("frag"),k=$(d).Child();for(e=0;e<l.length;e++){g=(l[e].GroupManageName||l[e].FriendsDescript||l[e].UserNickName||l[e].UserName);c=$$("div",{"title":"点击查看","className":"UD_SYSSZJD UTDF","onmousemove":[[U.D.SY.XXFXT,([d,e+k.length])]],"onclick":[[(j||U.D.SY.HTOFM),([l[e]])],[U.D.SY.YCFXT,([d])]]},a);h=$$("div",{"className":"UD_SYSSZJDZ"},c);f=$$("div",{"className":"UD_SYSSZJDA","title":g},h);if(l[e].GroupManageID){U.D.SY.GQTX(l[e],f);}else{$$("img",{"onerror":U.M.ImgError,"className":"UD_SYSSZJDAO","src":U.M.GetImgU(l[e].UserThumbnailImageHead)},f);}b=$$("div",{"className":"UD_SYSSZJDN","innerHTML":g},h);}$(d).addAttrArray({"style":{"display":"block"}});d.appendChild(a);U.D.SY.ET["SXXZ"]=-1;return k;};U.D.SY.YCFXT=function(a){$("body")[0].focus();a.style.display="none";};Namespace.register("U.F.T");U.F.T.FE=function(a){_$(this).Add({"UserIndividualitysignature":a[0],"UserId":a[1],"UserImageHead":a[2],"UserThumbnailImageHead":a[3],"UserNickName":a[4],"UserName":a[5],"FriendsID":a[6],"FriendsDescript":a[7],"FriendsGroupID":a[8],"IsLogin":a[9]});};U.F.T.LFE=function(a){_$(this).Add({"UserId":a[0],"UserName":a[1],"UserImageHead":a[2],"UserNickName":a[3],"UserThumbnailImageHead":a[4],"maxMessageSendTime":a[5],"FriendsDescript":a[6],"UserIndividualitysignature":a[7],"IsLogin":a[8]});};U.F.T.UFET=function(a){_$(this).Add({"FriendsGroupDescript":a[0],"FriendsGroupID":a[1],"FriendsGroupName":a[2]});};U.F.T.GE=function(a){_$(this).Add({"GroupManageID":a[0],"GroupManageName":a[1],"GroupManageCreateDate":a[2],"GroupManageCreateUserID":a[3],"GroupManageUserID":a[4],"GroupManageDescript":a[5],"GroupManageRemark":a[6]});};U.F.T.GFE=function(a){_$(this).Add({"UserId":a[0],"UserImageHead":a[1],"UserNickName":a[2],"UserName":a[3],"UserThumbnailImageHead":a[4],"GroupUsersDescript":a[5],"GroupManageID":a[6],"IsLogin":a[7]});};U.F.T.RFF=function(){var d,c,f,e,b=[US.Friend[1],US.Friend[3],US.Friend[4]],a=US.Friend[5];for(d=0;d<b.length;d++){e=b[d];for(c=0;c<e.length;c++){(a.inArray(e[c].UserId)>-1)&&(e[c].IsLogin=1);f=e[c]["UserNickName"]||e[c]["UserName"];if(d!=1){_$(e[c]).Change({"UserIndividualitysignature":e[c]["UserIndividualitysignature"]||"","UserNickName":f,"FriendsDescript":e[c]["FriendsDescript"]||f});}else{_$(e[c]).Change({"UserNickName":f,"GroupUsersDescript":e[c]["GroupUsersDescript"]||f});}}(d!=2)&&(_$(e).Reset({"IsLogin":1}));}};Namespace.register("U.F.W");U.D.SY.SLHCK=function(c,b){if(!U.D.SY.DLTC(3)){if(b){U.D.SY.HTOFM(b,true);}else{var a=$("#UD_SYHRCO").Child();b=(US.Friend[4][0]||US.Friend[1][0]);if(a.length){a[0].onclick();}else{if(b){U.D.SY.HTOFM(b,true);}else{U.D.SY.SLHCKKHY(c);}}}}else{U.Alert("登录查看自己的好友吧!");}};U.D.SY.SLHCKKHY=function(a){U.D.SY.TYOFMK(US.userInfo.TJF.slice(0,4),$("#UD_SYHZR")[0],1);U.D.PopupWindow(U.D.SY.QHFG(a,[{"display":"block"},{"display":"none"}],true)[0]);};U.D.SY.TYOFMK=function(h,d,b){var c,g,a,e,j,f;d.innerText="";c=$$("div",{"className":"UD_SYHZRO","onmousedown":U.M.StopBubble});$$("div",{"className":"UD_SYFTAC UD_SYI","style":{"marginTop":"11px"},"title":"关闭","onmousedown":U.M.StopBubble,"onclick":[[U.D.SY.QHFG,([d.parentNode.parentNode,[{"display":"none"},{"display":"block","right":U.D.SY.ET["GDTW"]+"px"}]])]]},c);$$("div",{"className":"UD_SYFTI UD_SYI","title":"创建讨论组","onmousedown":U.M.StopBubble,"onclick":[[U.Alert,(["暂无好友选择"])]]},c);g=$$("div",{"className":"UD_SYHZROS"},c);$$("div",{"className":"UD_SYHZROSS","innerHTML":"这里暂时没有任何内容哦"},g);$$("div",{"className":"UD_SYHZROSZ","innerHTML":"Nothing!!"},g);a=$$("div",{"className":"UD_SYHZROSX"},g);$$("div",{"className":"UD_SYHZROSXL","innerHTML":"可尝试点击左边的头像,或追随一下的用户!"},a);$$("div",{"className":"UD_SYHZROSXR UD_SYI"},a);g=$$("div",{"className":"UD_SYHZROX"},c);a=$$("div",{"className":"UD_SYHZROXT"},g);$$("div",{"className":"UD_SYSXLTTO UD_SYSXROHTO","innerHTML":"推荐追随"},a);$$("div",{"className":"UD_SYSXLTTI UD_SYI","onclick":[[U.D.SY.GXOFMK,([d,b])]]},a);a=$$("div",{"className":"UD_SYHZROXX"},g);for(i=0;i<h.length;i++){e=$$("div",{"className":"UD_SYHZROXXO","style":i%2?{"marginLeft":"65px"}:{}},a);j=$$("div",{"className":"UD_SYHZROXXOS"},e);f=$$("div",{"className":"UD_SYHZROXXOSL"},j);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([h[i].UserID])]],"src":U.M.GetImgU(h[i].UserThumbnailImageHead),"alt":h[i].UserName},f);$$("div",{"className":"UD_SYHZROXXOSN UTDF","innerHTML":h[i].UserName},j);$$("div",{"className":"UD_SYHZROXXOSR","title":"点击追随该用户","innerHTML":"追随","onclick":[[U.D.SY.YAddFriend,([h[i]])]]},j);j=$$("div",{"className":"UD_SYHZROXXOX UD_SYSXZLLZOOX"},e);$$("div",{"className":"UD_SYSXRATOCS","innerHTML":"▲"},j);$$("div",{"className":"UD_SYSXRATOCX","innerHTML":(h[i].UserIndividualitysignature?h[i].UserIndividualitysignature.substring(0,15):"添加我为好友吧,分享我们的信息,让我们距离更近一步").Trim()},j);}d.appendChild(c);};U.D.SY.GXOFMK=function(d,b){var a=US.userInfo,e=b*4,f=(b+1)*4,c=a.TJF.slice(e,f);if(c.length>3){U.D.SY.TYOFMK(c,d,b+1);}else{U.A.Request("UseStudioManage.GUAF",([a.UserId||US.NU,a.length,a.length+11]),U.D.SY.AsynSYTJ,([[d,true],d,b]));}};U.D.SY.AsynGXOFMK=function(c){var a=US.userInfo,b=c.context;c=c.value;a=a.concat(c);U.D.SY.GXOFMK(b[1],b[2]);};U.D.SY.HTOFM=function(b,e){if(!U.D.SY.DLTC(3)){var c,d,a=$("#UD_SYH")[0];c=e?U.D.SY.QHFG(a,[{"display":a.style.display="block"},{"display":"none"}]):$(a).Child();d=$(c[0]).Child()[1];U.D.SY.OFM(b,d);(e)&&(U.D.PopupWindow(c[0]),U.D.SY.CSHFGS());}};U.D.SY.QHFG=function(b,a,e){var c,d=$(b).Child();for(c=0;c<d.length;c++){$(d[c]).addAttrArray({"style":a[c]});}return d;};U.D.SY.CSHFGS=function(){var a=$("#UD_SYHZLT").Parent(),b=a.offsetHeight;(b)&&($("#UD_SYHZLZ")[0].style.height=b-115+"px");};U.D.SY.OFM=function(b,f){(b.UserId==US.userInfo.userid)&&(b=US.Friend[4][0]||US.Friend[1][0]);if(b){var a,e=b.GroupManageID,d=e||b.UserId,g=U.D.SY.ET["UL"]["FG"],h=U.D.SY.IFOFM(d),c=h[0]||$("#UD_SYF")[0].cloneNode(true);f=f||$("#UD_SYHZR")[0];if(!h[0]){g.push(c);a=true;}else{if($(c).Parent()!=f){c=$("#UD_SYF")[0].cloneNode(true);g[h[1]]=c;a=true;}}(a)&&(f.innerHTML=c.id="",f.appendChild(c));(a||!h[1])&&(h[1]=U.D.SY.TYOFM(b,c));U.F.FM.SMT(d,"",U.M.apply(this,[[U.D.SY.JKXOFM,([e?"GM":"FM",[b,h[1][1]]])]]),e!=null);c.style.display="block";U.D.SY.SWOFM(h[1],b);}};U.D.SY.IFOFM=function(d){var c,b,e,f,a=U.D.SY.ET["UL"]["FG"];for(c=0;c<a.length;c++){e=a[c].CW;if(d=="GFG"){return a[c];}else{if(d){for(b=0;b<e.length;b++){if(e[b]["FID"]==d){f=[a[c],e[b]["ET"],c,b];break;}}}}}(f==null&&d!="GFG")&&(f=[U.D.SY.IFOFM("GFG")]);return f;};U.D.SY.TYOFM=function(l,s){var w,c,A,r,q,z,a,g,j,b,p,t,k,x,e,u,y,m,f,h,o=(l.GroupManageID||l.UserId),v=(l.GroupManageName||l.FriendsDescript||l.UserNickName),n=U.M.GTCN(s.childNodes),d=U.M.GTCN(n[0].childNodes);c=$$("div",{"className":"UD_SYFTO","onmousedown":U.M.StopBubble});d[0].insertBefore(c,d[0].firstChild);A=$$("div",{"className":"UD_SYFTOI"},c);if(l.UserId){$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(l.UserThumbnailImageHead),"alt":l.UserNickName},A);}else{U.D.SY.GQTX(l,A,4,[25,25]);}$$("div",{"className":"UD_SYFTON UTDF","innerHTML":v},c);$$("div",{"className":"UD_SYFTOC UD_SYI","onclick":[[U.D.SY.CDOFM,([o,s,l])]]},c);r=$$("div",{"className":"UD_SYFNA"});n[1].insertBefore(r,n[1].firstChild);q=$$("div",{"className":"UD_SYFN"},r);z=$$("div",{"className":"UD_SYFH"},q);a=$$("div",{"className":"UD_SYFHH"},z);if(l.GroupManageID){U.D.SY.GQTX(l,a);}else{$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([o])]],"src":U.M.GetImgU(l.UserThumbnailImageHead),"alt":l.UserNickName},a);}g=$$("div",{"className":"UD_SYFHT UTDF"},z);j=$$("div",{"className":"UD_SYFHTN","innerHTML":v},g);b=$$("div",{"className":"UD_SYFHTC","innerHTML":(l.GroupManageDescript||l.UserIndividualitysignature||"暂时没有填写介绍..")},g);p=$$("div",{"className":"UD_SYFG"},q);$$("div",{"className":"UD_SYFGI UD_SYI"},p);$$("div",{"className":"UD_SYFGC","innerHTML":"交谈中请勿轻信汇款、中奖信息、陌生电话..."},p);t=$$("div",{"className":"UD_SYFCA"},q);k=$$("div",{"className":"UD_SYFC"},t);x=$$("div",{"className":"UD_SYFD"},q);e=$$("div",{"className":"UD_SYFDA"},x);u=$$("div",{"className":"UD_SYFDT"},e);y=$$("div",{"className":"UD_SYFDC","contentEditable":"true","onpaste":[[U.D.SY.CPTATGBL,(["this"])]]},e);$$("div",{"className":"UD_SYFDJ UD_SYI"},e);m=$$("div",{"className":"UD_SYFX"},q);f=$$("div",{"className":"UD_SYFXE","innerHTML":"发送(Enter)","style":{"marginRight":"15px"},"onclick":[[U.D.SY.FSOFM,([l,y,k,(l.UserId==null)])]]},m);$$("div",{"className":"UD_SYFXC","innerHTML":"关闭(n)","onclick":[[U.D.SY.COFM,([s])]]},m);h=$$("div",{"className":"UD_SYFL"},r);$$("div",{"className":"UD_SYFLA"},h);$$("div",{"className":"UD_SYFLB"},h);(s.CW==null)&&(s.CW=[]);s.CW.unshift((w={"FID":o,"ET":[c,r,l]}));a=$$("div",{"className":"UD_SYFDTZ UD_SYI","title":"上传图片"},u);(s.CW.length>4)&&(d[1].style.visibility="visible");$$("div",{"className":"UD_SYFDTJ UD_SYI","title":"聊天记录","onclick":[[U.D.SY.LTJLFM,([h,l,1,(l.UserId==null)])]]},u);a.onmousedown=U.M.apply(a,[[U.D.SY.SCXWPOP,([a,{"GS":"M","width":30,"height":30,"FCP":U.M.apply(this,[[U.D.SY.ASCTP,([l,k,false])]]),"URL":"http://disk.1473.cn/USupfile.ashx?iframename=UseStudioEditor","ID":"O"+o}])]]);a.onmousedown();y.onkeydown=U.M.apply(y,[[U.M.returnkeylogin,[([{"obj":f,"event":"onclick"}])]]]);c.onclick=U.M.apply(this,[[U.D.SY.SWOFM,([w["ET"],l])]]);return w["ET"];};U.D.SY.SWOFM=function(c,b){var g,h,f=$($(c[0]).Parent(2)).Child()[3],j=$(c[1]).Parent(2),a=j.CW,d=$(".UD_SYFDC",c[1])[0];for(g=0;g<a.length;g++){a[g].ET[1].style.display=((a[g].ET==c)?(h="addClass","block"):(h="removeClass","none"));$(a[g].ET[0])[h]("UD_SYFTOT");}U.D.SY.TZOPM(j,c[1]);f.onclick=U.M.apply(f,[[U.D.SY.NewQZ,([b])]]);try{d.focus();}catch(k){}};U.D.SY.TZOPM=function(d,g){var f=2,c=[100,336],a,h=$(g).Child(),b=$(d).Child(),j=d.offsetHeight,e=h[0].offsetWidth+(h[1].offsetWidth?h[1].offsetWidth+10:0);a=$(".UD_SYFCA,.UD_SYFLA",g);a=Array.prototype.slice.call(a);c[2]=a.length/2;while(f--){$(a.splice(0,c[2])).addAttrArray({"style":{"height":j-c[f]+"px"}});}d.style.width=g.style.width=b[0].style.width=e+"px";$(d).Parent(2).style.width=e+280+"px";};U.D.SY.CDOFM=function(f,c,g){var e,d,a,h,b=c.CW;if(b.length==1){U.D.SY.COFM(c);}else{for(e=0;e<b.length;e++){if(b[e].FID==f){a=b[e]["ET"];for(d=0;d<a.length;d++){((h=$(a[d])).Parent())&&(h.remove());}b.splice(e,1);(a[0].className.indexOf("UD_SYFTOT")>-1)&&(a=(b[e]||b[e-1])["ET"],U.D.SY.SWOFM(a,a[2]));break;}}(b.length<5)&&($($(c).Child()[0]).Child()[1].style.visibility="hidden");}};U.D.SY.COFM=function(b){var c,a=U.D.SY.ET["UL"]["FG"];for(c=0;c<a.length;c++){if(a[c]===b){a.splice(c,1);break;}}U.D.SY.QHFG($(b).Parent(3),[{"display":"none"},{"display":"block"}],{"left":"auto","right":U.D.SY.ET["GDTW"]+"px"});U.D.CloseWindow(b,"remove");};U.D.SY.FGOFM=function(d,l,e){var g,c,h,k,f,m,j=d.parentNode,a=$$("frag"),b=e?["UD_SYFCT","UD_SYFCTL"," UD_SYFCTT"," UD_SYFCTO"]:["UD_SYFCO","UD_SYFCOL","",""];for(g=0;g<l.length;g++){m=U.MT.getTimeStr(l[g]["Time"]||l[g]["MessageSendTime"],"Array");c=$$("div",{"className":b[0]},a);h=$$("div",{"className":b[1]},c);if(e){k=$$("div",{"className":"UD_SYFCOLC UD_SYFCTLC","innerHTML":l[g]["Content"]},h);$$("div",{"className":"UD_SYFCOLT UD_SYFCTLT UD_SYI"},h);}else{$$("div",{"className":"UD_SYFCOLT UD_SYI"},h);$$("div",{"className":"UD_SYFCOLC","innerHTML":l[g]["MessageContent"]},h);}f=$$("div",{"className":"UD_SYFCOT"+b[2]},c);$$("div",{"className":"UD_SYFCOTO"+b[3],"innerHTML":(m[3]+":"+m[4]+":"+m[5])},f);}d.appendChild(a);j.scrollTop=j.scrollHeight-j.offsetHeight;};U.D.SY.QHFM=function(b,e){var d=$("div",b)[0],c=U.D.SY.IFOFM("GFG"),a=c["CW"];(e=="block")&&(U.D.SY.DYQHFM(d,a.slice(4),c));d.style.display=e;};U.D.SY.DYQHFM=function(b,a,e){var d,f,h,g,c=$$("frag");b.innerText="";for(d=0;d<a.length;d++){f=a[d]["ET"][2];h=$$("div",{"className":"UD_SYFTGOO","onclick":[[U.D.SY.LDYQHFM,([a[d],e["CW"],b])]]},c);g=$$("div",{"className":"UD_SYFTGOOI"},h);if(f.UserId){$$("img",{"onerror":U.M.ImgError,"title":"点击查看","src":U.M.GetImgU(f.UserThumbnailImageHead),"alt":f.UserNickName},g);}else{U.D.SY.GQTX(f,g,4,[20,20]);}$$("div",{"className":"UD_SYFTGOON UTDF","innerHTML":f.GroupManageName||f.FriendsDescript||f.UserNickName},h);$$("div",{"className":"UD_SYFTOC UD_SYI","onclick":[[U.D.SY.CDOFM,([(f.GroupManageID||f.UserId),e,f])],[b.removeChild,([h])]]},h);}b.appendChild(c);};U.D.SY.LDYQHFM=function(d,f,e){var g,c,a=d["ET"],b=f.inArray(d);for(g=0;g<2;g++){$(c=a[g].parentNode).append(a[g],0,c.firstChild);}f.unshift(f.splice(b,1)[0]);U.D.SY.SWOFM(a,d[2]);U.D.SY.QHFM($(e).Parent(),"block");};U.D.SY.PFSOGM=function(d,k,h){var e,c,f,g,n,m,l,j=d.parentNode,a=$$("frag"),b=h?["UD_SYFCT"," UD_SYFCTLC UD_SYGCTLC"," UD_SYFCTO"]:["UD_SYFCO","",""];for(e=0;e<k.length;e++){l=U.MT.getTimeStr(k[e]["Time"]||k[e]["GroupMessageSendTime"],"Array");c=$$("div",{"className":b[0],"title":k[e].GroupMessageSendUsername||k[e].Name},a);f=$$("div",{"className":"UD_SYFCOLC"+b[1]},c);n=$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.D.SY.UIFZX,([k[e].GroupMessageSendUser||k[e].UserId])]],"src":U.M.GetImgU((k[e].IMG||k[e].UserThumbnailImageHead)),"className":"UD_SYFCOLCI"},f);g=$$("div",{"className":"UD_SYFCOLCO","innerHTML":k[e]["Content"]||k[e]["GroupMessageContent"]},f);(h)&&(f.insertBefore(g,n));m=$$("div",{"className":"UD_SYFCOT UD_SYFCTT"},c);$$("div",{"className":"UD_SYFCOTOK","innerHTML":k[e].GroupMessageSendUsername||k[e].Name},m);$$("div",{"className":"UD_SYFCOTO UD_SYFCTO","style":{"bottom":k[e].UserId?"8px":"0px"},"innerHTML":(l[3]+":"+l[4]+":"+l[5])},m);}d.appendChild(a);j.scrollTop=j.scrollHeight-j.clientHeight;};Namespace.register("U.U.R");U.D.SY.SDLZC=function(a){var b=$(a).parentg().find("input");if(b[3].checked){if(U.D.SY.ZCPDSZ(b,a,U.M.apply(this,[[U.D.SY.AsynSDLD,([a,"注册"])]]),[$("#UD_SYSXN")[0],true])){a.innerText="注册中...";}else{U.Alert("请正确的填写信息");}}else{U.Alert("请阅读云端协议");}};U.D.SY.ZCPDSZ=function(g,d,c,f){var e,a=true,b=U.U.R.RC();if(b==-1){U.U.R.UR(g[0].value,g[1].value,"",c,f);g.addAttrArray({"value":""});for(e=0;e<3;e++){g[e].onblur();}}else{if(b==4){U.U.R.CAC(g[2],[{"textAlign":"center","marginRight":"0px"},{"textAlign":"right","marginRight":"15px","color":"red"}],U.M.apply(this,[[U.D.SY.ZCPDSZ,([g,d,c,f])]]));}else{a=!a;}}return a;};U.U.R.UR=function(e,c,b,d,a){var f,g=US.NLInfo.LogAddr||"";U.U.R.TBA=[false,false,false,false,false,true];U.A.Request("UseStudioManage.userregisterAjax",([e,c,b,g,US.LoginID,""]),U.U.R.AsynUR,([a,g,d]));};U.U.R.AsynUR=function(a,c){var b=a.value;U.D.SY.DKGEZL();if(b=="notregister"){U.Alert("账号无法使用!");}else{if(b=="false"){U.Alert("服务器繁忙,请稍后。");}else{U.U.L.AsynUlL(a,c);U.U.GZ.TGR();return true;}}};U.D.SY.AsynSDLZC=function(a,b){a.innerText="立即注册";};U.U.R.TBA=[false,false,false,false,false,true];U.U.R.RUN=function(c,b,a){var d=c.value,e=$("i",$(c).Parent());U.U.R.TBA[0]=false;b=b||[{},{}];_$(b).Add({"display":"block"});b[1].color="red";if(c.value==""){b[0].color="";U.U.R.UET(c,[b[0],"云端账号/邮箱/手机号"]);}else{if(!U.MS.UserName.test(d)){U.U.R.UET(c,[b[1],"2-7汉字或4-14字符"]);}else{if(!a){U.U.R.UET(c,[b[1],"等待认证,请稍后..."]);U.A.Request("UseStudioManage.CheckUserName",([d]),U.U.R.IRUN,(["",c]));return true;}}}return false;};U.U.R.IRUN=function(c){var b=c.context,a=b[1];c=c.value;if(c=="True"){U.U.R.UET(a,"已被注册!");}else{U.U.R.UET(a,"success");U.U.R.TBA[0]=true;}};U.U.R.IRP=function(d,c,b){var a=false;_UP=d.value,_UDTD=$("i",$(d).Parent());c=c||[{},{}];_$(c).Add({"display":"block"});if(_UP==""){c[0].color="";U.U.R.UET(d,[c[0],typeof b=="string"?b:"6-20位字符或数字"]);}else{if(!U.MS.PassWord.test(_UP)){c[1].color="red";U.U.R.UET(d,[c[1],"6-20位字符或数字"]);}else{if(!b){U.U.R.UET(d,"pass");_UDTD.addAttrArray({"style":c[1]});a=!a;}}}(!b)&&(U.U.R.TBA[1]=a);return a;};U.U.R.RCFP=function(e,d,c,b){var a=false;_UP=e.value,_UDTD=$("i",$(e).Parent());c=c||[{},{}];_$(c).Add({"display":"block"});if(e.value==""){c[0].color="";U.U.R.UET(e,[c[0],"6-20位字符或数字"]);}else{if(e.value!=d.value){c[1].color="red";U.U.R.UET(e,[c[1],"密码不一致"]);}else{a=true;}}(!b)&&(U.U.R.TBA[2]=a);return a;};U.U.R.GVCI=function(a){$(a).parentg().find("img")[0].src="http://main.1473.cn/Mian.ashx?functionname=UseStudioManage.Verification&n="+Math.random();};U.U.R.SRYZM=function(b){var c=b.value,a=!c?[{"textAlign":"center","marginRight":"0px","color":"#000"},"验证码"]:U.MS.Number.test(c)?"":[{"textAlign":"right","marginRight":"10px","color":"red"},"格式错误"];if(a){U.U.R.UET(b,a);}else{if(!U.U.R.TBA[4]){U.U.R.CAC(b,[{"textAlign":"center","marginRight":"0px","color":"#00aa99"},{"textAlign":"right","marginRight":"15px","color":"red"}]);}}};U.U.R.CAC=function(d,b,c){var e,f=d.value,a=U.MS.Number.test(f);b=b||[{},{}];_$(b).Add({"display":"block"});if(a){U.A.Request("UseStudioManage.GetCheckCodeAjax",([f]),U.U.R.AsynAC,(["",d,b,c]));e=[b[1],"验证中..."];}else{if(!a&&!f){e=b[0];e=[b[1],"格式错误"];}}U.U.R.UET(d,e||[b[0],"验证码"]);};U.U.R.AsynAC=function(g){var b=false,f=g.context,a=f[1],d=f[2],e=f[3],c=$(a).Parent(3);g=g.value;if(g=="True"){d[0].display="none";U.U.R.UET(a,[d[0],"成功"]);b=true;}else{a.value="";a.blur();U.U.R.UET(a,[d[0],"验证码"]);$("img",c)[0].src="http://main.1473.cn/Mian.ashx?functionname=UseStudioManage.Verification&n="+Math.random();a.focus();U.Alert("验证码错误或者服务器繁忙");}U.U.R.TBA[4]=b;if(e&&b){e(c);}else{U.D.SY.AsynSDLZC($("#UD_SYCOD")[0]);}};U.U.R.RUE=function(a){var b=a.value;U.U.R.TBA[3]=false;if(b==""){$("i",a.parentNode)[0].style.display="block";}else{if(!U.MS.Email.test(b)){U.U.R.UET(a,"邮箱格式错误");}else{U.A.Request("UseStudioManage.CheckEmail",([US.NU,b]),U.U.R.AsynRUE,(["",a]));}}};U.U.R.AsynRUE=function(c){var b=c.context,a=b[0];c=c.value;if(c){U.U.R.TBA[3]=true;U.U.R.UET(a,"success");}else{U.U.R.UET(a,"已经有人有过该邮箱");}};U.U.R.DTT=function(b){var a=$(b).Parent(),c=$("input",a)[0];c.focus();$("i",a)[0].style.display="none";};U.U.R.BTT=function(a){$("i",a).addAttrArray({"style":{"display":"block"}});};U.U.R.UET=function(c,b){var f="",d=0,a=c.value,e=[["弱","#e64141"],["中","#0a8cd2"],["强","#4bb900"]],a=c.value,g=$("i",$(c).Parent());if(b=="success"){g.addAttrArray({"style":{"display":"none"},"innerHTML":""},0);}else{if(b=="pass"){(a.length>10)&&(f+=">10位",d++);(a.match(/[0-9]/ig))&&(f+=((d?",":"")+"含数字"),d++);(a.match(/[a-z]/ig))&&(f+=((d?",":"")+"含字符"),d++);d=d-1>-1?d-1:d;g.addAttrArray({"style":{"display":"block","color":e[d][1]},"innerHTML":e[d][0]+":"+(f?f:"密码安全性不高")},0);}else{(!(b instanceof Array))&&([b=[null,b]]);b[0]=b[0]||{};b[0].display="block";return g.addAttrArray({"style":b[0]||{},"innerHTML":b[1]||""},0)[0];}}};U.U.R.RC=function(){return U.U.R.TBA.inArray(false);};Namespace.register("U.U.F");U.D.SY.CKMB=function(c,f,a){var d,e=$(c).Child(),b=[[U.D.SY.SDLMB,(a)],[U.D.SY.SDLMBMM,(a)]];a.push(e[f]);for(d=0;d<e.length;d++){e[d].style.display=d==f?"block":"none";}e=$("input",e[f]);d=e.length;while(d--){e[d].value="";e[d].focus();(d)&&(e[d].blur());}(_UDCD=$($(c).Parent()).Child()[2]).onclick=U.M.apply(_UDCD,[b[f]]);return e;};U.D.SY.SDLMB=function(a){var d=$("input",a),b=d[0].value,c=d[1].value;U.A.Request("UseStudioManage.SecurityCodefindPassword",([b,c]),U.D.SY.AsynSDLMB,(["",a,b,c,d]));};U.D.SY.AsynSDLMB=function(d){var c=["",{"color":"","textAlign":"","marginRight":"","display":""}],b=d.context,a=b[1].parentNode,e=b[2],f=b[3],h=b[4],g=$(h[1]).Parent();d=d.value;if(d){a=U.D.SY.CKMB(a,1,[d,e,f]);}else{c[0]="输入密保错误";_$(c[1]).Add({"color":"red","textAlign":"right","marginRight":"15px","display":"block"});}U.U.R.UET(g,[c[1],c[0]]);};U.D.SY.SDLMBMM=function(c,a,b,d){var f,g=this,j=$("input",d),e=j[1].value,h=$(d).Parent(2);for(f=0;f<j.length;f++){(j[f].value=="")&&(j[f].focus());}if(j[0].value!=e||!U.MS.PassWord.test(e)){j[1].onblur();}else{g.innerText="等待审核...";U.A.Request("UseStudioManage.ModifyUserPassword",([e,c,a,b,""]),U.D.SY.AsynSDLMBMM,(["",h,g]));}};U.D.SY.AsynSDLMBMM=function(b){var a=b.context,c=a[2];b=b.value;c.innerText="确定提交";(b)&&(U.D.SY.SDL(3),U.Alert("设置成功,请登录"));};Namespace.register("U.U.GZ");U.U.GZ.GN={"2d9c5d2d-e6e5-4a40-8064-f93a98d0e647":{"Url":"http://pay.1473.cn/?f=hbt&=hbt","TT":["UP_TGXI UP_TGXIH","","好笔头","云笔记产品","好笔头业务云笔记专为企业团队量身打造,致力为企业团队提供最好、最适合的云笔记产品,记客户,记工作,记知识,重要工作备忘提醒,专为改善企业团队工作效率而生,同时团队围绕笔记交流协作,提高团队执行和分享效率。","UP_TGXWCB UP_TGXWCBB"]},"7bc6d08c-7db3-4ef4-8a39-595a4967a189":{"Url":"http://pay.1473.cn/?f=zh&zh=","TT":["UP_TGXI UP_TGXIZ","","中恒科技","兼容生产CD","深圳市中恒科技实业有限公司坐落于具有中国光盘生产基地之誉称的广东省深圳市,是一家兼容生产CD-R,DVD-R可录入式空白光盘的中外合资企业,总投资3千万美元。第一期拥有10条具有国际先进水平的生产线,年产量可达6千万元。","UP_TGXWCB UP_TGXWCBD"]},"ea0efe2e-9167-4698-b9b5-31c27ad5eb73":{"Url":"http://pay.1473.cn/?f=sp&sp=","TT":["UP_TGXI UP_TGXIB","","声博配音公司","各个语种的深圳配音","声博配音公司拥有全新数字专业录音棚,资深音频工程师、录音师、音乐制作人等。 成立以来,公司在一直致力于中文及各个语种的深圳配音业务、音乐制作等。 为国内外客户录制了大量影视动画、广告、专题等。在深圳配音行业内树立了良好的口碑。","UP_TGXWCB UP_TGXWCBB"]},"fd01dd1b-9c87-4e4f-a3fb-af1b91bf56f8":{"Url":"/#!/tg/","TT":["UP_TGXI UP_TGXIY","","云端桌面","体验崭新的云服务","云端桌面远离单机,基于互联网。提供免费存储,让你远离U盘,排除U盘丢失和携带的麻烦。云端的资源都是共享的,你可以随时获取好友共享的资源。","UP_TGXWCB UP_TGXWCBY"]},"ea0efe2e-9167-4698-b9b5-31c27ad5eb73":{"Url":"http://pay.1473.cn/?f=sp&sp=","TT":["UP_TGXI UP_TGXIB","","声博配音公司","各个语种的深圳配音","声博配音公司拥有全新数字专业录音棚,资深音频工程师、录音师、音乐制作人等。 成立以来,公司在一直致力于中文及各个语种的深圳配音业务、音乐制作等。 为国内外客户录制了大量影视动画、广告、专题等。在深圳配音行业内树立了良好的口碑。","UP_TGXWCB UP_TGXWCBB"]},"90f7c5ca-f7ab-4f31-8869-7275b8e8955c":{"Url":"http://pay.1473.cn/?f=bz&bz=","TT":["UP_TGXI UP_TGXID","","北京邮电大学","高新技术产业发展","北京邮电大学深圳研究院(简称深圳研究院)是依照国家有关法律、行政法规和深圳市人民政府深府办[2000]39号文件以及关于进一步扶持高新技术产业发展的若干规定成立的北京邮电大学全资事业法人机构。","UP_TGXWCB UP_TGXWCBD"]}};U.U.GZ.TF;U.U.GZ.DTG=function(){var a=$("#UP_TG")[0];U.D.PopupWindow(a);U.D.Tb.WindowRestore(a,null,"推广");};U.U.GZ.DTGOD=function(a){var e=$("#UP_TGXW")[0],c=$("div",e),d=U.U.GZ.GN[a]["TT"];for(var b=0;b<d.length;b++){if(b==1){continue;}if(b>0&&b<d.length-1){c[b].innerHTML=d[b];}else{c[b].className=d[b]+" UP_TGI";}}c[c.length-2].onclick=U.M.apply(this,[[U.U.GZ.GTGURL,([a])]]);};U.U.GZ.NTG=function(a){if(!U.U.L.LARG()){if(US.userInfo.TGD&&US.userInfo.TGD["NTG"]&&a==null){U.U.GZ.PLTG(US.userInfo.TGD["NTG"]);U.U.GZ.LTTG(US.userInfo.TGD["YXT"]);$("#UP_TGDPI")[0].innerText="";U.U.GZ.GTGFW(0);}else{U.A.Request("UseStudioPay.GetUserAllTG",([US.userInfo.userid]),U.U.GZ.AsynNTG,([$("#UP_TGA")[0]]));$("#UP_TGA")[0].onscroll=U.M.SSCH({"AF":U.U.GZ.GFWTG}).SCH();}}};U.U.GZ.AsynNTG=function(b){var a=b.context;b=b.value;(US.userInfo.TGD==null)&&(US.userInfo.TGD={});US.userInfo.TGD["NTG"]=b[0];US.userInfo.TGD["YXT"]=U.U.GZ.DT(b[1]);US.userInfo.TGD["YXD"]=[b[2]];U.U.GZ.NTG();};U.U.GZ.DT=function(d){var c,b,a=[];for(c=0;c<d.length;c++){a[c]=[];a[c].push(d[c]);for(b=c+1;b<d.length;b++){if(d[b]["TGUserInfoID"]==d[c]["TGUserInfoID"]){a[c].push(d[b]);d.splice(b,1);}}}return a;};U.U.GZ.PLTG=function(n){var g,e,c,h=$("#UP_TGDTD")[0],m,b,l,a=$$("frag"),d=[],f=["disk","photo","music","video","blog"];h.innerText="";if(n.length>0){$("#UP_TGDUN")[0].innerHTML=US.userInfo.TrueName||US.userInfo.UserNickName;for(g=0;g<n.length;g++){d.push(n[g]["TY"]+n[g]["TGUserInfoID"]);if(n[g]["TGID"]=="fd01dd1b-9c87-4e4f-a3fb-af1b91bf56f8"){for(e=0;e<f.length;e++){d.push(US.ms+"#!/"+f[e]+"/"+US.userInfo.UserName);}}m=$$("div",{"className":"UP_TGDTDD"},a);$$("div",{"className":"UP_TGDTDDN","innerHTML":U.U.GZ.GN[n[g]["TGID"]]["TT"][2]+":"},m);for(c=0;c<d.length;c++){b=$$("div",{"className":"UP_TGDTDDA"},m);l=$$("input",{"className":"UP_TGDTDDS","readOnly":"true","value":d[c],"oncopy":[[U.M.StopBubble],[U.M.UrlCopy,(["retElement.value"])]]},b);$$("div",{"innerHTML":"复制","className":"UP_TGDTDDF","style":{"cssText":"float:right"},"onclick":[[U.M.StopBubble],[U.M.UrlCopy,([l.value])]]},b);}d.splice(0,d.length);}h.appendChild(a);}else{h.innerText="没有推广分类文类";}};U.U.GZ.LTTG=function(e){var b=$("#UP_TGDWP")[0],a,g,f,d=$$("frag");b.innerText="";for(var c=0;c<e.length;c++){a=$$("div",{"className":"UP_TGDWP"},d);g=$$("div",{"className":"UP_TGDWY"},a);$$("div",{"className":"UP_TGDWYN","innerHTML":U.U.GZ.GN[e[c][0]["TGID"]]["TT"][2]+"点击次数"},g);$$("div",{"className":"UP_TGDWYS","innerHTML":e[c][0]["C"]},g);f=$$("div",{"className":"UP_TGDWY"},a);$$("div",{"className":"UP_TGDWYN","innerHTML":U.U.GZ.GN[e[c][0]["TGID"]]["TT"][2]+"成功注册"},f);$$("div",{"className":"UP_TGDWYS","innerHTML":e[c][1]?e[c][1]["C"]:"0"},f);}b.appendChild(d);};U.U.GZ.GFWTG=function(){if(U.U.GZ.GTGFW.call(this,(this.P+1)).length==0){this.P-=1;this.TF=false;return false;}};U.U.GZ.GTGFW=function(b){var a=U.U.GZ.GYXFW(b);if(a){U.U.GZ.FWTG(a);}else{var c=Math.floor(b/5);U.A.Request("UseStudioPay.GetTGYXSL",([US.userInfo.userid,c*50,(c+1)*50-1]),U.U.GZ.AsynGTGFW,(["",b,this]));return[];}return a;};U.U.GZ.AsynGTGFW=function(b){var a=b.context;b=b.value;US.userInfo.TGD["YXD"].push(b);U.U.GZ.GTGFW(a[1]);a[2].TF=true;};U.U.GZ.GYXFW=function(c){if(US.userInfo.TGD){var b=US.userInfo.TGD["YXD"],d=Math.floor(c/5),a=(c-d*5);if(b[d]){return b[d].slice(a*10,(a+1)*10);}}};U.U.GZ.FWTG=function(UTL){if(UTL.length>0){var _UDPD=$("#UP_TGDPI")[0],_UDOD,_UTD,_UDFD=$$("frag");for(var i=0;i<UTL.length;i++){eval("0,_UTD ="+UTL[i]["TGAdress"]);_UDOD=$$("div",{"className":"UP_TGDPH UP_TGDPIF","style":{"backgroundColor":"White"}},_UDPD);$$("div",{"className":"UTDF","style":{"marginLeft":"0px"},"innerHTML":UTL[i]["UserIp"]},_UDOD);$$("div",{"className":"UTDF","innerHTML":_UTD["province"]+" "+_UTD["city"]},_UDOD);$$("div",{"className":"UTDF","innerHTML":U.MT.getTimeStr(UTL[i]["Time"],"String")},_UDOD);$$("div",{"className":"UTDF","innerHTML":U.U.GZ.GN[UTL[i]["TGID"]]["TT"][2]},_UDOD);$$("div",{"className":"UTDF","innerHTML":UTL[i]["IsRegistration"]?"成功":"失败","style":{"color":UTL[i]["IsRegistration"]?"Red":""}},_UDOD);}_UDPD.appendChild(_UDFD);}};U.U.GZ.GPMTG=function(a){if(US.userInfo.TGD&&US.userInfo.TGD["TGP"]&&a==null){U.U.GZ.PMTG(US.userInfo.TGD["TGP"]);}else{U.A.Request("UseStudioPay.GetTGPM",([]),U.U.GZ.AsynGPMTG,([$("#UP_TGA")[0]]));}};U.U.GZ.AsynGPMTG=function(a){a=a.value;(US.userInfo.TGD==null)&&(US.userInfo.TGD={});US.userInfo.TGD["TGP"]=a;U.U.GZ.GPMTG();};U.U.GZ.PMTG=function(e){var b=$("#UP_TGPG")[0],a,f,d=$$("frag");b.innerText="";for(var c=0;c<e.length;c++){a=$$("div",{"className":"UP_TGPH"+(c<3?"":" UP_TGPHV")},d);$$("div",{"className":"UP_TGPHM","innerHTML":(c+1<10?"0":"")+(c+1)+".","style":{"color":c==0?"#e06767":""}},a);f=$$("div",{"className":(c<3?"UP_TGPHH":"UP_TGPHHM")},a);$$("img",{"className":(c<3?"UP_TGPHHI":"UP_TGPHHIO"),"alt":e[c]["TrueName"]||e[c]["UserName"],"src":U.M.GetImgU(e[c].UserThumbnailImageHead),"onclick":[U.U.I.POUW,([e[c]["UserID"]])]},f);$$("div",{"className":"UP_TGPHHS UTDF"+(c<3?"":" UP_TGPHHSM"),"innerHTML":e[c]["TrueName"]||e[c]["UserName"]},f);$$("div",{"className":"UP_TGPHHS UTDF"+(c<3?"":" UP_TGPHHSM"),"innerHTML":U.U.GZ.GN[e[c]["TGID"]]["TT"][2]},f);}b.appendChild(d);};U.U.GZ.AddUr=function(a){U.A.Request("UseStudioPay.SetYXTG",([a,U.MS.SerializeJsonToStr(US.NLInfo)]),U.U.GZ.AsynAddUr,([""]));};U.U.GZ.AddUrID=function(a){U.A.Request("UseStudioPay.SetYXTGBYUID",([a,U.MS.SerializeJsonToStr(US.NLInfo)]),U.U.GZ.AsynAddUr,([""]));};U.U.GZ.AsynAddUr=function(a){a=a.value;U.U.GZ.TF=a;U.U.GZ.TGR();};U.U.GZ.GTGURL=function(a){if(!U.U.L.LARG()){if(US.userInfo.TGD&&US.userInfo.TGD["NTG"]&&U.U.GZ.GISTGURL(a)){U.U.GZ.STG(1,$("#UP_TGA")[0]);return false;}U.Alert("正在获取中...");U.A.Request("UseStudioPay.SetUserTG",([US.userInfo.userid,a]),U.U.GZ.AsynGTGURL,(["",a]));}};U.U.GZ.AsynGTGURL=function(b){context=b.context;b=b.value;if(b){if(US.userInfo.TGD&&US.userInfo.TGD["NTG"]){b=b.toLocaleLowerCase();var a=new U.U.GZ.TGE([context[1],b,U.U.GZ.GN[context[1]]["Url"]]);}US.userInfo.TGD["NTG"].push(a);}U.U.GZ.STG(1,$("#UP_TGA")[0]);};U.U.GZ.GISTGURL=function(b){var a=US.userInfo.TGD["NTG"];for(var c=0;c<a.length;c++){if(a[c]["TGID"]==b){return a[c];}}return false;};U.U.GZ.TGR=function(){if(U.U.GZ.TF&&US.userInfo.userid){U.A.Request("UseStudioPay.UpAddR",([U.U.GZ.TF]),U.M.apply(),([]));U.U.GZ.TF=false;}};U.U.GZ.STG=function(d,c){d=d+1;var b=U.M.GTCN(c.childNodes);for(var a=1;a<b.length;a++){if(d==2&&US.userInfo.userid==null){break;}if(d==a){b[a].style.display="block";}else{b[a].style.display="none";}}if(d==3){U.U.GZ.GPMTG();}else{if(d>1){if(!U.U.L.LARG()){U.U.GZ.NTG();}}}};U.U.GZ.TGE=function(a){this.TGID=a[0];this.TGUserInfoID=a[1];this.TY=a[2];};Namespace.register("U.U.I");U.D.SY.UIFZX=function(a){if(a=a.UserId||a){var h,e,c,g=$("#UD_SYU"),f=$(g[0]).Child(),i=U.D.SY.ET["UIF"][a],b=f[0],d=$(f[1]).addAttrArray({"display":"block"});U.D.SY.JBXS(g);h=Math.max(f[0].offsetHeight,f[1].offsetHeight);c=(US.Height-h)/2;e=(US.Width-1000)/2;d.Child()[1].style.height=d[0].offsetHeight-50+"px";d.addAttrArray({"style":{"display":"block","left":(e+445)+"px","top":c+"px"}});d=d[0];$(b).addAttrArray({"style":{"display":"block","left":e+"px","top":c+"px"}});U.D.SY.CKYHXX(b,i?i[0]:"",a);U.D.SY.CKYHDT(d,i?i[1]:"",a,1,true);$("div#UD_SYUPC",g[0])[0].onscroll=U.M.SSCH({"AF":U.M.apply(null,[[U.D.SY.GDCKYHDT,([d,a])]])}).SCH();}};U.D.SY.CKYHXX=function(b,c,a){if(c){U.D.SY.PCKYHXXO(b,c);}else{U.A.Request("UseStudioManage.UFIF",([a]),U.D.SY.AsynCKYHXX,([[b,true],b,a]));}};U.D.SY.AsynCKYHXX=function(c){var a=c.context,b=U.D.SY.ET["UIF"][a[2]];(b==null)&&(b=U.D.SY.ET["UIF"][a[2]]=[]);U.D.SY.CKYHXX(a[1],(b[0]=c.value),a[2]);};U.D.SY.PCKYHXXO=function(r,k){var u,t,b,q,A,y,s,l=k[0],h=k[1][0],d=k[2],a=k[3],w={"FGC":["正在追随"],"DTC":["动静"],"DDC":["云分享",[[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.DT.YYDK,(["Disk",[l.UserId,1]])]])])]],"查看云分享"],"FDC":["追随者"]},m=$(r).Child(),e=$("div",m[3])[1],p=$("div",m[4]),o=$("div",m[5]),c=$("div",m[2]),f=$$("frag"),g=$$("frag"),x=$$("frag"),z=$$("frag"),v=_$(US.Friend[1]).Select({"UserId":l.UserId},null,1)[0],n=[{"className":"UD_SYUIAO","innerHTML":"追随(+)","title":"点击添加","onmouseover":null,"onmouseout":null},{"onclick":[[U.D.SY.DFriend,([v||l])]],"className":"UD_SYUIAO UD_SYUIAOO","innerHTML":"已添加(+)","title":"点击取消","onmouseover":U.M.apply(c,[[c.addAttrArray,([{"innerHTML":"取消追随(-)"},0])]]),"onmouseout":U.M.apply(c,[[c.addAttrArray,([{"innerHTML":"已添加(+)"},0])]])}];m[1].innerText=e.innerText=o[1].innerText=p[1].innerText="";n[0].onclick=[[U.D.SY.YAddFriend,([l,U.M.apply(c,[[c.addAttrArray,([n[1],0])]])])]];n[1].onclick.push([c.addAttrArray,([n[0],0])]);n[1].onclick=U.M.apply(c,n[1].onclick);c.addAttrArray(v?n[1]:n[0],0);c[1].onclick=U.M.apply(c[1],w.DDC[1]);c[2].onclick=U.M.apply(c[2],[[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.SY.HTOFM,([l,true])]])])]]);b=$$("div",{"className":"UD_SYUINT"},f);$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.Img.Img,([l,[{"Thm":U.M.GetImgU(l.UserThumbnailImageHead),"Img":U.M.GetImgU(l.UserThumbnailImageHead)}]])]],"src":U.M.GetImgU(l.UserThumbnailImageHead)},b);q=$$("div",{"className":"UD_SYUINN"},f);A=$$("div",{"className":"UD_SYUINNNO"},q);$$("div",{"className":"UD_SYUINNN","innerHTML":l.UserNickName||l.UserName},A);$$("div",{"className":"UD_SYUINNNT","innerHTML":l.Province?l.Province.replace(/省|市/g,"")+l.City:""},A);$$("div",{"className":"UD_SYUINNQ UTDF","innerHTML":l.UserIndividualitysignature||"什么都没有留下"},q);A=$$("div",{"className":"UD_SYUINNT"},q);for(u in w){y=$$("div",{"onclick":w[u][1]||"","title":w[u][2]||"","className":"UD_SYUINNTO UTDF","style":(u=="FGC"?{"marginLeft":"0px"}:{})},A);$$("div",{"className":"UD_SYUINNTOS","innerHTML":h[u]},y);$$("div",{"className":"UD_SYUINNTOX","innerHTML":w[u][0]},y);}for(u=0;u<a.length;u++){$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([a[u].UserId])]],"src":U.M.GetImgU(a[u].UserThumbnailImageHead)},g);}w=[_$(d).Select({"TF":2}),_$(d).Select({"TF":1},null,4)];for(u=0;u<w.length;u++){if(w[u].length){for(t=0;(t<w[u].length&&t<4);t++){if(u){_$(w[u][t]).Add({"Thm":US.fs+w[u][t]["UseFilesServerThumbnailName"],"Img":US.fs+w[u][t]["UserFilesServerName"]});$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"title":"点击查看原图","onclick":[[U.M.StopBubble],[U.D.Img.Img,([l,w[u],t])]],"src":US.fs+w[u][t]["UseFilesServerThumbnailName"]},x);}else{s=$$("div",{"className":"UD_SYUIYCO","onclick":[[U.D.DT.YYDK,(["Disk",[l.UserId,w[u][t].UserDirectoryID]])]]},z);$$("div",{"className":"UD_SYUIYCOI UD_SYI","onclick":[[U.D.SY.TYY,([w[u][t]])]]},s);$$("div",{"className":"UD_SYUIYCON","innerHTML":w[u][t]["UserFilesName"]},s);}}}else{if(u){b=$$("div",{"className":"UD_SYSXZBELXCT UD_SYSXZBELXCTB"},x);$$("div",{"className":"UD_SYSXZBELXCTS UD_SYI UD_SYSXZBELXCTSO"},b);q=$$("div",{"className":"UD_SYSXZBELXCTR"},b);$$("div",{"className":"UD_SYSXZBELXCTZ UD_SYSXZBELXCTZO","innerHTML":"暂时没有图片,这里可以分享感兴趣的图片!!"},q);$$("div",{"className":"UD_SYSXZBELXCTX UD_SYSXZBELXCTXO","innerHTML":"点击我的图片","onclick":[[U.D.DT.YYDK,(["Disk",[US.userInfo.userid,US.PG]])]]},q);}else{b=$$("div",{"className":"UD_SYSXZBELXCT UD_SYSXZBELXCTA"},z);$$("div",{"className":"UD_SYSXZBELXCTS UD_SYSXZBELCCTS UD_SYI UD_SYSXZBELXCTSO"},b);q=$$("div",{"className":"UD_SYUIYCC"},b);$$("div",{"className":"UD_SYSXZBELXCTZ UD_SYSXZBELXCTZT","innerHTML":"当前还没有添加任何歌曲"},q);A=$$("div",{"className":"UD_SYSXZBELCCTX UD_SYSXZBELCCTXT"},q);y=$$("div",{"className":"UD_SYSXZBELCCTXO UD_SYSXZBELCCTXOA","innerHTML":"你可以 "},A);$$("span",{"onclick":[[U.D.DT.YYDK,(["Disk",[US.userInfo.userid,US.MG]])]],"innerHTML":"我的音乐"},y);A=$$("div",{"className":"UD_SYSXZBELCCTX UD_SYSXZBELCCTXT"},q);y=$$("div",{"className":"UD_SYSXZBELCCTXO UD_SYSXZBELCCTXOA","innerHTML":"或者 "},A);$$("span",{"onclick":U.D.SY.DKCSHYY,"innerHTML":"打开音乐播放器"},y);}}}w=[[p,US.PG],[o,US.MG]];for(u=0;u<2;u++){w[u][0].addAttrArray({"onclick":[[U.D.DT.YYDK,(["Disk",[l.UserId,w[u][1]]])]]},0);}m[1].appendChild(f);e.appendChild(g);p[1].appendChild(x);o[1].appendChild(z);};U.D.SY.GDCKYHDT=function(b,a){_UDFE=U.D.SY.ET["UIF"][a][1];U.D.SY.CKYHDT(b,_UDFE,a,this.P+2);};U.D.SY.CKYHDT=function(b,c,a,d,e){var f=$(b).Child();c=U.D.T.FYGBL(c,d);if(c[0]){if(e){f[1].innerText="";}if(c[0].length){U.D.SY.PGBL(f[1],c[0],true);}else{if(d===1){U.D.SY.PCKYHDT(f[1]);}}}else{U.A.Request("Blog.GFA",([US.NU,(c[1]-1)*100,c[1]*100,a,US.NU]),U.D.SY.AsynCKYHDT,([(d==1?[f[1],true]:[$("#UD_SYUPL")[0],1]),b,a,d,c[1],f]));}};U.D.SY.AsynCKYHDT=function(c){var a=c.context,b=U.D.SY.ET["UIF"][a[2]];c=c.value;(!b)&&(b=U.D.SY.ET["UIF"][a[2]]=[],b[1]=[]);b[1]=b[1]||[];b[1][a[4]]=U.D.SY.ZFSGBL(c);a[5][1].innerText="";a[5][0].innerText="动静..("+(c[0]?c[0].SumNumber:0)+")";U.D.SY.CKYHDT(a[1],b[1],a[2],a[3]);};U.D.SY.PCKYHDT=function(a){var b=$$("div",{"className":"UD_SYUT"},a);$$("div",{"className":"UD_SYUTS","innerHTML":"他暂时没有相关的消息呢!!稍后再来试试吧~"},b);$$("div",{"className":"UD_SYUTX","innerHTML":"Noting!!"},b);};Namespace.register("U.U");U.D.SY.DKGEZL=function(){if(US.userInfo.userid){var b,a=$("#UD_SYZ")[0];U.D.SY.DKSRDQ(a);U.D.SY.SDKGEZL(a,["block","none"]);U.D.PopupWindow(a);}};U.D.SY.DKSRDQ=function(c){var d,a=US.userInfo,f=$($(c).Child()[0]).Child(),e=$("input",f[0]),b=["TrueName","","UserNickName","UserIndividualitysignature",{"checked":!a.UserSex},{"checked":a.UserSex},"UserEmail","UserTelephoneNumber"];for(d=0;d<b.length;d++){typeof b[d]=="string"?e[d+1].value=(a[b[d]]||""):e.addAttrArray(b[d],d+1);}$($("img",f[0])[0]||$$("img")).addAttrArray({"title":$("div#UD_SYZOVTCNR",f[1])[0].innerText=a.UserName,"onerror":U.M.ImgError,"src":U.M.GetImgU(a.UserThumbnailImageHead)}).appendTo($("div",f[0])[5]);$("div#UD_SYZCRZ",f[0])[0].innerText="账号登陆:"+a.UserName;U.U.LMBD($("#UD_SYZCLRU",f[0])[0],a.Birthday);U.MD.DynamicLoad("/js/UU/U.U.C.js","js",[[U.U.LCJ,([$("#UD_SYZCLRUO",f[0])[0],a])]]);};U.D.SY.SDKGEZL=function(c,b){var e,d,a=b[0]=="block",f=$(c).Child(),g=$(f[1]).Child();$(g[1]).addAttrArray({"onclick":[a?[U.D.CloseWindow,([c])]:[U.D.SY.SDKGEZL,([c,["block","none"]])]],"innerText":(a?"退出":"返回")+"设置"});g[0].onclick=U.M.apply(g[0],[[a?U.D.SY.MDKXXBC:U.D.SY.MDKMMSZ,([g[1].onclick,f[0]])]]);for(e=0;e<f.length-1;e++){if(e!==1){g=$(f[e]).Child();for(d=0;d<b.length;d++){g[d].style.display=b[d];}}}};U.U.LCJ=function(c,g){var d,a,f=$("select",c),e=U.U.C.J["citylist"],b=[[null,"co","Country"],["cp","p","Province"],["c","n","City"]];for(d=0;d<b.length;d++){a=U.U.SZST(f[d],e,b[d][1],g[b[d][2]]||"其它");e=e[a][b[d+1][0]];}};U.U.XGSZST=function(e,d,g){var c,a=e[0].selectedIndex,b=g?[U.U.C.J["citylist"],["cp","p"],["c","n"]]:["",[12,0],[U.MT.getDateOfMonth([e[0].options[e[0].selectedIndex].value,e[1].options[e[1].selectedIndex].value]),0]],f=b[0];for(c=0;c<e.length;c++){if(c>=d[0]||c<=d[d.length]){U.U.SZST(e[c],f,b[c][1],a);}if(c!=e.length-1){if(g){f=f[e[c].selectedIndex][b[c+1][0]];}else{f=b[c+1][0];}a=Math.floor((f.length||f)/2);}}};U.U.LMBD=function(b,f){var c,e=$("select",b),d=U.MT.getTimeStr(f),a=[[(new Date()).getFullYear()-1939,1939],[12,0],[U.MT.getDateOfMonth([d[0],d[1]]),0]];for(c=0;c<e.length;c++){U.U.SZST(e[c],a[c][0],a[c][1],d[c]);}};U.U.SZST=function(d,b,h,j){var g,e,c,k,f=b.length==null,a=d.options.length=f?b:b.length;for(g=0;g<a;g++){c=d.options[g];e=c.text=c.value=f?h+g+1:b[g][h];(e==j)&&(d.selectedIndex=g,k=true);}(!k&&typeof j=="string")&&(d.selectedIndex=j);return d.selectedIndex;};U.D.SY.MDKGEZL=function(b){var d,a=$("#UD_SYZOV"),e=$("div",a[0]),g=$("input",a[0]),f=["当前","新","确认"],c=[["密码","定期更换密码可以让你的账号更加安全。建议密码采用字母和数字混合, 避免与账号名、生日、手机号等部分或者完全相同避免使用有规律的数字或者字母, 并且不短于6位。"],["密保","设置账号密保识别身份, 方便找回账号、设置和使用安全服务等。"]][b];U.D.SY.ET["SZ"]=b;g.addAttrArray({"value":""});for(d=0;d<g.length;d++){g[d].onchange();}e[1].innerText="修改账号"+c[0];e[4].innerText=e[4].title=c[0]+"设置";e[7].innerText=c[1];e=$($(a[0]).Child()[2]).Child();for(d=1;d<e.length;d++){(d!=3)&&($(e[d]).Child()[1].innerText=f[d>3?d-2:d-1]+"账号"+c[0]);}};U.D.SY.MDKXXBC=function(e,c){var g,f=0,d=US.userInfo,a=U.D.SY.ET["ZL"],h=$("select",c),k=$("input",c),b={"TrueName":k[1].value,"UserNickName":k[3].value,"UserTelephoneNumber":k[8].value,"UserIndividualitysignature":k[4].value,"UserEmail":k[7].value,"UserRemarks":k[4].value,"UserSex":k[6].checked,"Country":h[3].value,"Province":h[4].value,"City":h[5].value,"Birthday":U.MT.SetDT(U.MT.SetDT(h[0].value+"-"+h[1].value+"-"+h[2].value,"-"))};for(g in a){if(!a[g]){U.Alert("请修改红线的错误");return false;}f++;}if(k[0].value){U.U.ULIMG(k[0],U.D.SY.MDKXTX);$(k[0]).Parent().innerHTML+="";}if(f&&!_$(US.userInfo).IsTF(b)){U.A.Request("UseStudioManage.MUIFA",([d.UserId,k[1].value,k[3].value,k[8].value,d["UserIDCard"],k[4].value,k[7].value,k[4].value,k[5].checked?0:1,h[3].value,h[4].value,h[5].value,h[0].value+"-"+h[1].value+"-"+h[2].value]),U.D.SY.AsynMDKXXBC,(["",b,k]));}U.Alert("设置同步中");(e)&&(e());};U.D.SY.AsynMDKXXBC=function(f){var e,b={},a=US.userInfo,g=[["UserNickName","Name"],["UserIndividualitysignature","IT"]],d=f.context,c=d[1],h=d[2];f=f.value;(f)&&(h[7].value=c["UserEmail"]=US.userInfo["UserEmail"]);U.D.SY.ET["ZL"]={};for(e=0;e<g.length;e++){(c[g[e][0]]!=a[g[e][0]])&&(b[g[e][1]]=c[g[e][0]],U.D.SY.TYSZTX(b));}_$(a).Change(c);};U.D.SY.MDKXZNN=function(a){var b,c=$("input",$(a).Parent(2));U.D.SY.ET["ZL"]["Sex"]=true;for(b=0;b<c.length;b++){c[b].checked=(c[b]==a);}};U.U.GLUI=function(b,a){var c=$(b).Parent();U.UP.uploading([b],a[0],a[1],"http://disk.1473.cn/USupfile.ashx?iframename="+a[2]);c.appendChild(b);};U.U.DI=function(d){var e=d.UpObj[0],c=d.context,a=c[0],b=c[1];d=d.value;if(d&&isNaN(d[0])){if(a!="headimg"){U.D.Img.Img(US.userInfo,{"Thm":d[0],"Img":d[0]});}(b)&&(b(c,d));}else{if(document.selection){e.select();document.selection.clear();}else{e.outerHTML+="";e.value="";}U.Alert("文件格式或者文件大小不符合要求。");}};U.D.SY.MDKSCTX=function(b,a){$("img",$(b[2]).Parent(2))[0].src=a[0];};U.U.ULIMG=function(b,a){if(b.value){U.U.GLUI(b,[U.U.AsynULIMG,[a],"UploadHeadImage"]);}};U.U.AsynULIMG=function(e){var b,a=US.userInfo,d=e.context,c=d[0],f=e=e.value;if(e){_$(a).Change({"UserImageHead":f.UserFilesServerName,"UserThumbnailImageHead":f.UseFilesServerThumbnailName});US.Disk.diskfileTree[0].push(b=new U.Dk.M.Entity([f.UserFilesID,f.UserFilesSize,f.UserDirectoryID,f.UserFilesName.AP(10),f.UserFilesName,f.UserFilesExtendName,f.UserFilesServerName,U.MT.GetDT(),US.fs+f.UseFilesServerThumbnailName,99999,null,null,1,"","",null,a.UserId,a.UserNickName,a.UserName,a.UserThumbnailImageHead]));a.DiskHeadImg.push(b);(c)&&(c(d,e));U.Alert("保存头像成功");}};U.D.SY.MDKXTX=function(b,a){U.D.SY.TYSZTX({"Img":a.UseFilesServerThumbnailName});};U.D.SY.MDKCWTS=function(c,e,a){var d="red",b=false;(c.value==""||e.test(c.value))&&(d="#ababab",b=true);U.D.SY.ET["ZL"][a]=b;$(c).Parent(2).style.borderColor=d;};U.D.SY.MDKMMYS=function(a){if(!a.value){U.D.SY.AsynMDKMMYS([null,a],true,null);}else{U.U.CNP(a,U.D.SY.ET["SZ"],U.D.SY.AsynMDKMMYS);}};U.U.CNP=function(b,c,a){U.A.Request("UseStudioManage.ModifyCheck"+(c?"SecurityCode":"Password"),([US.userInfo.userid,b.value]),U.U.AsynCNP,(["",b,c,a]));};U.U.AsynCNP=function(e){var d=e.context,b=d[1],a=d[2],c=d[3];e=e.value;(c)&&(c(d,e));};U.D.SY.MDKPDYW=function(b){var a,c=$("input",$(b).Parent(4));(a=(c[1].value!=c[2].value))&&(U.Alert("两次密码不统一"));U.D.SY.AsynMDKMMYS([null,c[2]],!a,"UNPW");};U.D.SY.MDKMMSZ=function(d){var e,f=["PN","UPN","UNPW"],c=U.D.SY.ET["ZL"],b=U.D.SY.ET["SZ"],a=$("#UD_SYZOVTC")[0],g=$("input",a);for(e=0;e<f.length;e++){if(!c[f[e]]){U.Alert("填写资料或者修改红线区");return;}else{delete c[f[e]];}}(d)&&(d());if(g[0].value==g[1].value){U.D.SY.AsynMDKMMSZMM({"context":["",g[2],a,(b=b?"SecurityAnswer":"UserPassword")],"request":US.userInfo[b]});}else{if(b){U.D.SY.MDKMMSZMB(g[2],a);}else{U.D.SY.MDKMMSZMM(g[2],a);}U.Alert("与服务器同步中...");}};U.D.SY.MDKMMSZMM=function(b,c){var a=US.userInfo;U.A.Request("UseStudioManage.ModifyUserPassword",([b.value,a.UserId,a.UserName,a.SecurityAnswer,a["OnUserId"]]),U.D.SY.AsynMDKMMSZMM,(["",b,c,"UserPassword"]));};U.D.SY.MDKMMSZMB=function(a,b){U.A.Request("UseStudioManage.EditSecurityCode",([US.userInfo.userid,a.value]),U.D.SY.AsynMDKMMSZMM,(["",a,b,"SecurityAnswer"]));};U.D.SY.AsynMDKMMSZMM=function(e){var d=e.context,b=d[1],c=d[2],a=d[3];e=e.value;U.Alert("成功设置");US.userInfo[a]=e;U.D.SY.SDKGEZL($(c).Parent("UD_SYZ"),["block","none"]);};U.D.SY.AsynMDKMMYS=function(e,c,d){var b="red",a=e[1];(c)&&(b="#ababab");$(a).Parent(2).style.borderColor=b;return(U.D.SY.ET["ZL"][d||"PN"]=(c?true:false));};U.U.CUD=function(){if(US.userInfo.userid){var c,b=0,a=["UserNickName","UserEmail","UserTelephoneNumber","TrueName","UserIDCard","Country","Province","City","Birthday","SecurityAnswer"];for(c=0;c<a.length;c++){if(US.userInfo[a[c]]){b++;}}return Math.round(b/a.length*100);}};Namespace.register("U.U.L");_$(U.U.L).Add({"LFN":[],"ULF":[]});U.U.L.CookieL=function(){var a=U.U.L.GLID(),b=US.NLInfo.LogAddr||"";if(a&&a.userid&&a.userid.length==36){U.A.Request("UseStudioManage.LoginByCookie",([a.userid,a.username,a.Loginid,b,US.LoginID]),U.U.L.AsynCookieL,(["",b]));}};U.U.L.AsynCookieL=function(b){var a=b.value;if(a){U.U.L.AsynUlL(b);}};U.U.L.GLID=function(b){var c,d,a=U.M.GetCookie("usestudiosso");if(a&&(a=a.split("&"))){d=a.length/3;for(c=0;c<a.length;c++){a[c]=a[c].split("=");}if(b){for(c=0;c<d;c++){if(a[c][1]==b){return{"userid":b,"username":a[(c+1)*2-1][1],"Loginid":a[((c+1)*3)-1][1]};}}}else{return{"userid":a[d-1][1],"username":a[d*2-1][1],"Loginid":a[d*3-1][1]};}}};U.D.SY.DLTC=function(b){if(!US.userInfo.userid){var a=$("#UD_SYC")[0];U.D.PopupWindow(a);U.D.PopupWindow($(a).Child()[0]);U.D.SY.SDL(b);return true;}return false;};U.D.SY.ENDL=function(d,b){var e,a=true,c=$(d).Parent(3),f=$("input",c);for(e=0;e<f.length;e++){if(!f[e].value&&f[e].clientWidth){f[e].focus();a=!a;break;}}if(a&&b){b.onclick();}};U.D.SY.SDLD=function(a,e){var d=$("input",$(a).Parent()),c=d[0].value,b=d[1].value;(!e)&&(U.U.L.UlL(c,b,[$("#UD_SYSXN")[0],true],U.M.apply(this,[[U.D.SY.AsynSDLD,([a,""])]])));a.innerText="登录...";d[1].value="";};U.D.SY.SYDLHD=function(a){if(U.D.SY.DLTC(3)){U.D.SY.ET.DLHD=[a];}else{a();return true;}};U.D.SY.DLHD=function(){var b,a=U.D.SY.ET["DLHD"];while(a.length){(a.splice(0,1)[0])();}};U.D.SY.AsynSDLD=function(a,b,c){if(c&&c[0].IsShielding==null){$(a).Parent(3).style.display="none";U.D.SY.DLHD();}a.innerText=b||"登录";};U.D.SY.SDL=function(d){var b,g=U.M.GetCookie("usestudiosso","username"),e=false,j=$("#UD_SYC"),h=$(j.Child()[0]).Child(),c=h[d||2],f=[225,"none"],a=[{"innerHTML":"Sign in...","className":"UD_SYCOT","style":{"display":"none"}},{"innerHTML":"Log in...","className":"UD_SYCOT","style":{"display":"none"}},{"innerHTML":"Retrieve password...","className":"UD_SYCOT UD_SYCOTO","style":{"display":"none"}}];for(i=2;i<5;i++){(c==h[i])&&(a[i-2].style.display="block",f[2]=a[i-2].innerHTML,f[3]=a[i-2].className);$(h[i]).addAttrArray({"style":a[i-2].style});}(d==4)&&((b=U.D.SY.CKMB($(h[4]).Child()[1],0,[])),f[0]=285,f[1]="block");h[1].style.width=f[0]+"px";$(h[0]).addAttrArray({"className":f[3],"innerHTML":f[2]});$(h[1]).Child()[2].style.display=f[1];if(!b){b=$("input",c);if(d==3&&g[0]){b[0].focus();b[0].value=g[0];b=b[1];}else{b=b[0];}b.focus();}};U.D.SY.QWDL=function(a,c){var b=$("a",a)[0];if(b){b.click();}else{U.Alert("等待"+(c?"qq":"微博")+"加载...");U.U.OT.LNL([[{btnId:"UD_SYCOSLWL",size:"C_S"}],[{show_head:false,show_name:false,show_cancel:false,id:"UD_SYCOSLQL",type:"3,2",callback:{login:U.U.OT.WBCB}}]]);}};U.U.L.UInfo=function(){U.CI.GCUInfo(U.D.BC.GetMessage);};U.U.L.UlL=function(d,b,a,c){var e=US.NLInfo.LogAddr||"";if(d.SubN()&&b.SubN()){U.A.Request("UseStudioManage.uploadUserinfo",([d,b,US.NLInfo.LogAddr||"",US.LoginID]),U.U.L.AsynUlL,([a,e,c]));}};U.U.L.AsynUlL=function(e,g){var d,a=false,c=e.context,f=c[1],b=c[2];e=e.value;switch(e){case null:d="系统繁忙!请重试";break;case 0:d="帐号不存在!";break;case 1:d="密码错误!";break;case 2:d="该用户不允许被访问!请联系管理员";break;default:if(US.userInfo.userid!==e[0][0].UserId){U.U.L.UL(true);(!f)&&(U.CI.GCUInfo(U.U.L.TJYHXX));US.userInfo=e[0][0];_$(US.userInfo).Add({"OnUserId":U.U.L.GLID(US.userInfo.userid).Loginid,"UIF":e[5][0],"TJF":e[6],"icon":e[1]});(US.Friend=e[2])[5]=e[0][1];US.PB.News=[e[3],e[4]];U.F.T.RFF();a=!a;U.U.L.SLF(US.userInfo);}break;}(d)&&(U.Alert(d));(b)&&(b(e));return a;};U.U.L.SLF=function(b){var a=b.UserId;U.D.SY.DLTP();};U.U.L.TJYHXX=function(){(US.NLInfo.LogAddr)&&(U.A.Request("UseStudioManage.AddToLoginLog",([US.NLInfo.LogAddr]),U.M.apply(),([])));};U.D.SY.DLTP=function(){var d,c=[],a,b=["","E"];$("#UD_SYSSTO").Child()[3].onclick();U.D.SY.ET["UL"]["HY"]["UID"]=US.userInfo.userid;U.D.SY.SDLZX();U.D.SY.DLGRXX(["UD_SYSXKTY"]);U.U.L.GRXX();U.D.SY.PNXX();U.D.SY.CSHFG();U.D.SY.XWPGBSC();U.D.SY.HDDB(0);for(d=0;d<b.length;d++){c.push([U.D.Office.AsynOffice,([(a=$("#UD_SYQ"+b[d])[0]),$("div#UD_SYQZOCCL",a)[0]])]);}};U.U.L.ZXDLTP=function(){if(US.userInfo.userid&&confirm("是否退出"+US.userInfo.UserName+"账号")){U.U.L.QDZXDLTP();}};U.U.L.QDZXDLTP=function(b){(!b)&&(U.U.L.TCUL());var a=$("#UD_SYSSR").Child();$(a[3]).addAttrArray({"innerText":(a[4].innerText=""),"onclick":[[U.D.SY.DLTC,([3])]],"className":"UD_SYSSRF UD_SYI"});$($("#UD_SY").Child()).addAttrArray({"style":{"display":"none"}});U.D.SY.SDLZX(true);$("#UD_SYSSTO").Child()[0].onclick();};U.U.L.TCUL=function(){if(US.userInfo.userid){U.A.Request("UseStudioManage.DUser",([US.userInfo.userid,US.userInfo["OnUserId"]]),U.M.apply(),([]));U.U.L.UL();}};U.U.L.UL=function(b){U.Dk.DiskOperatingSwitch(US.userInfo.userid);US.userInfo=US.Friend={};if(!b){for(i=0;i<U.U.L.ULF.length;i++){U.U.L.ULF[i]();}}try{(window["QC"]&&window["WB2"])&&(U.U.OT.Logout());}catch(a){}};Namespace.register("U.U.Money");U.U.Money.GQY=function(){var a=$("#U_MYContent")[0];(a==null)&&(a=$("div#U_MYContent",U.M.Window_Create([1,"0","0","85%","85%","U_MY","购物","","","no",false,true,false,""]))[0])&&(U.D.Tb.WindowRestore(a.parentNode.parentNode,null,"云购中心"));return a;};U.U.Money.ET=function(){var b,a=["BuyMoney","BuyNum","BuyTime","BuyUser","CargoID","CargoName","IFExist","ShopID","CargoImg"];for(b=0;b<arguments.length;b++){this[a[b]]=arguments[b];}};U.U.Money.CSCT=function(){var a=U.U.Money.GQY(),b=US.userInfo.GWC;(b==null)&&(b=US.userInfo.GWC={"ET":null});b=b["ET"];if(b){a.innerHTML="";U.U.Money.PCSCT(a,b);}else{U.A.Request("Money.SelectShopCartInfo",(["SelectShopCartInfo",US.userInfo.userid]),U.U.Money.AsynCSCT,([""]));U.D.PopupWindow(a.parentNode.parentNode);}};U.U.Money.AsynCSCT=function(a){US.userInfo.GWC["ET"]=a.value[0];U.U.Money.CSCT();};U.U.Money.PCSCT=function(d,n){if(n.length!=0){var g,l,o,c,a,h,b,f,m,j,k=0,e=n[0]["Inventory"]!=null;l=$$("div",{"className":"U_MY_A"});o=$$("div",{"className":"U_MY_AT"},l);$$("div",{"className":"U_MY_ATO","innerHTML":"商品"},o);$$("div",{"className":"U_MY_ATT","innerHTML":"单价(元)"},o);$$("div",{"className":"U_MY_ATS","innerHTML":e?"库存":"数量"},o);$$("div",{"className":"U_MY_ATS","innerHTML":e?"上架时间":"统计(元)"},o);$$("div",{"className":"U_MY_ATS","innerHTML":"操作"},o);c=$$("div",{"className":"U_MY_AC"},l);for(g=0;g<n.length;g++){a=$$("div",{"className":"U_MY_ACA"},c);b=$$("div",{"className":"U_MY_ATO U_MY_ACAO"},a);h=$$("div",{"className":"U_MY_ACI","title":"查看详情","onclick":[[U.U.Money.MGC,([n[g]["CargoID"]||n[g]["CargoId"]])]]},b);$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"src":n[g]["CargoImg"]},h);$$("div",{"className":"U_MY_ACW","innerHTML":(n[g]["CargoDescribe"]||n[g]["CargoName"])},b);$$("div",{"className":"U_MY_ATT","innerHTML":n[g]["BuyMoney"]||n[g]["SingleMoney"],"style":{"marginLeft":"0px"}},a);$$("div",{"className":"U_MY_ATS","innerHTML":n[g]["BuyNum"]||n[g]["Inventory"]},a);$$("div",{"className":"U_MY_ATS","style":{"color":e?"":"red"},"innerHTML":e?n[g]["Time"].split("T")[0]:(n[g]["BuyMoney"]*n[g]["BuyNum"])},a);k+=n[g]["BuyMoney"]*n[g]["BuyNum"];$$("div",{"title":e?"加入购物车":"移除","className":"U_MY_ATS","innerHTML":e?"添加":"移除","style":{"color":"#7e7e7e"},"onclick":e?[[U.U.Money.AddGC,([n[g],1])]]:[[U.U.Money.SCGC,([n[g]["ShopID"],a])]]},a);}if(!e){m=$$("div",{"className":"U_MY_AD"},l);j=$$("div",{"className":"U_MY_ADT"},m);$$("div",{"className":"U_MY_ADTL","innerHTML":"合计(不含运费):"},j);$$("div",{"id":"MoneyUM","className":"U_MY_ADTR","innerHTML":"¥"+k},j);$$("div",{"className":"U_MY_ADD UD_Radius","innerHTML":"提交订单","onclick":U.M.apply(null,"alert('服务暂不开放');")},m);}}else{l=$$("div",{"className":"U_MY_AO","innerHTML":"暂无物品在购物车"});}d.appendChild(l);};U.U.Money.AddGC=function(a,b){b=b.innerHTML||b;if(U.MS.Number.test(b)&&b>0&&a["Inventory"]>0&&a["Inventory"]-b>0){U.A.Request("Money.InsertShopCart",(["InsertShopCart",a["CargoId"],US.userInfo.userid,"0",b]),U.U.Money.AsynAddGC,(["",a,b]));}else{U.Alert("库存不足或输入的非法数据");}};U.U.Money.AsynAddGC=function(c){var b=c.context,a=b[1];c=c.value;if(c){if(US.userInfo.GWC){a=U.U.Money.GetGC(a["CargoId"])||new U.U.Money.ET(a["SingleMoney"],b[2],U.MT.getTimeStr(null,"String"),US.userInfo.userid,a["CargoId"],a["CargoName"],0,c[0][0]["SID"],a["CargoImg"]);US.userInfo.GWC["ET"].push(a);}U.Alert("已添加到购物车");}};U.U.Money.SCGC=function(b,a){U.A.Request("Money.DeleteShopCartInfo",(["DeleteShopCartInfo",b]),U.U.Money.AsynSCGC,(["",b,a]));U.Alert("正在移除商品");};U.U.Money.AsynSCGC=function(c){var a,b=c.context;c=c.value;if(c){a=U.U.Money.GetGC(b[1],"D");U.U.Money.SetMoneyUM(a["BuyNum"]*a["BuyMoney"]);b[2].parentNode.removeChild(b[2]);U.Alert("商品移除成功");}};U.U.Money.GetGC=function(d,e){var c,a,b=US.userInfo.GWC["ET"];for(c=0;c<b.length;c++){if(b[c]["ShopID"]==d){a=b[c];(e=="D")&&(a=b.splice(c,1)[0]);return a;}}};U.U.Money.SetMoneyUM=function(c){var a=$("#MoneyUM")[0],b=a.innerHTML.replace("¥","");a.innerHTML=b-c;};U.U.Money.CP={"ET":null,"P":0,"MS":{}};U.U.Money.GC=function(c){var a=U.U.Money.GQY(),b=U.U.Money.GPGC(c);if(b[0]){a.innerHTML="";U.U.Money.PGC(a,b[0],c);}else{U.A.Request("Money.SelectCargoInfo",(["SelectCargoInfo",(b[1])*60,(b[1]+1)*60-1]),U.U.Money.AsynGC,([a,c,b[1]]));}if(b){U.D.PopupWindow(a.parentNode.parentNode);}};U.U.Money.AsynGC=function(b){var a=b.context;b=b.value;(U.U.Money.CP["ET"]==null)&&(U.U.Money.CP["ET"]=[]);U.U.Money.CP["ET"][a[2]]=b[0];U.U.Money.CP["P"]=b[1][0]["AC"];U.U.Money.GC(a[1]);};U.U.Money.PGC=function(b,a,c){if(a.length>0){U.U.Money.PCSCT(b,a);U.PG.PPage(b,U.U.Money.CP["P"],c,20,{"fun":[[U.U.Money.GC,([c])]],"page":[0]});}};U.U.Money.GPGC=function(e){var a=U.U.Money.CP["ET"],b=parseInt(e/3),c,d;e=e%3;d=e*20;c=d-20;if(a&&(a=a[b])){a=a.slice(c,d);}return[a,b];};U.U.Money.MGC=function(c){var a=U.U.Money.GQY(),b=U.U.Money.CP["MS"][c];if(b){a.innerHTML="";U.U.Money.PMGC(a,b);}else{U.A.Request("Money.SelectOCargoInfo",(["SelectOCargoInfo",c]),U.U.Money.AsynMGC,([a,c]));}if(b){U.D.PopupWindow(a.parentNode.parentNode);}};U.U.Money.AsynMGC=function(b){var a=b.context;U.U.Money.CP["MS"][a[1]]=b.value[0][0];U.U.Money.MGC(a[1]);};U.U.Money.PMGC=function(b,j){var l,a,e,i,c,h,f,g,d,k;l=$$("div",{"className":"U_MY_S"},b);a=$$("div",{"className":"U_MY_SM"},l);e=$$("div",{"className":"U_MY_SML"},a);i=$$("div",{"className":"U_MY_SMLI"},e);$$("img",{"src":j["CargoImg"]},i);c=$$("div",{"className":"U_MY_SMR"},a);$$("div",{"className":"U_MY_SMRT","innerHTML":j["CargoName"]},c);$$("div",{"className":"U_MY_SMRC","innerHTML":j["CargoDescribe"]},c);h=$$("div",{"className":"U_MY_SMRB U_MY_R"},c);$$("div",{"className":"U_MY_SMRBS","innerHTML":"零售价"},h);$$("div",{"className":"U_MY_SMRBL","innerHTML":"¥"+j["SingleMoney"]},h);$$("div",{});f=$$("div",{"className":"U_MY_SMRS"},c);$$("div",{"className":"U_MY_SMRSS","innerHTML":"数量"},f);g=$$("div",{"className":"U_MY_SMRSI","contentEditable":"true","innerHTML":1},f);d=$$("div",{"className":"U_MY_SMRSZ"},f);$$("div",{"className":"U_MY_SMRSZS","onclick":[[U.U.Money.APSL,([g,true])]]},d);$$("div",{"className":"U_MY_SMRSZX","onclick":[[U.U.Money.APSL,([g])]]},d);$$("div",{"className":"U_MY_SMRSC","innerHTML":"库存"+j["Inventory"]+"件"},f);k=$$("div",{"className":"U_MY_SMRD"},c);$$("div",{"className":"U_MY_ADD","innerHTML":"立刻购买","onclick":[[U.U.Money.AddGC,([j,g])]]},k);$$("div",{"className":"U_MY_ADD U_MY_SMRDR","innerHTML":"加入购物车","onclick":[[U.U.Money.AddGC,([j,g])]]},k);$$("div",{"className":"U_MY_SW","innerHTML":"商品描述"},l);};U.U.Money.APSL=function(a,c){var b=(U.MS.Number.test(a.innerHTML)&&a.innerHTML>0&&UDE["Inventory"]>0&&UDE["Inventory"]-a.innerHTML>0)?a.innerHTML:0;if(c){b++;}else{b--;}a.innerHTML=b;};Namespace.register("U.OU");U.OU.TF={"ISR":"","UV":"","TF":"Excel","UAE":[],"D":true,"FTF":true};U.OU.Onload=function(c,a,b){U.OU.CreatTool(a);U.AFB.RGoL(c);U.AFB.RGoL(c+"L");U.OU.TF["UAE"]=b;};U.OU.CreatTool=function(d){var g,f,k,c,h=$$("frag"),b=$$("frag"),e=$$("frag"),a=[["Calibri","宋体","黑体","隶书","幼圆","楷体","Arial","仿宋体",0],["6","8","9","10","11","12","14","16","18","20","22","24","26","28","36","48","72",5],["#ffffff","#ffccc9","#ffce93","#fffc9e","#ffffc7","#9aff99","#96fffb","#cdffff","#cbcefb","#cfcfcf","#fd6864","#fe996b","#fffe65","#fcff2f","#67fd9a","#38fff8","#68fdff","#9698ed","#c0c0c0","#fe0000","#f8a102","#ffcc67","#f8ff00","#34ff34","#68cbd0","#34cdf9","#6665cd","#9b9b9b","#cb0000","#f56b00","#ffcb2f","#ffc702","#32cb00","#00d2cb","#3166ff","#6434fc","#656565","#9a0000","#ce6301","#cd9934","#999903","#009901","#329a9d","#3531ff","#6200c9","#343434","#680100","#963400","#986536","#646809","#036400","#34696d","#00009b","#303498","#000000","#330001","#643403","#663234","#343300","#013300","#003532","#010066","#340096"]];for(g=0;g<a.length;g++){k=a[g].length;(g<2&&(k=a[g].length-1)&&d[g].options)&&(d[g].options.length=k,d[g].selectedIndex=a[g][a[g].length-1]);h=$$("frag");for(f=0;f<k;f++){if(g<2){if(d[g].options){(c=d[g].options[f]).value=c.text=a[g][f];}else{$$("div",{"unselectable":"on","innerHTML":a[g][f],"onmousedown":U.M.StopBubble,"style":{"fontFamily":a[g][f]}},h);}}else{$$("div",{"style":{"backgroundColor":a[g][f]}},b);$$("div",{"style":{"backgroundColor":a[g][f]}},e);}}if(g<2){(h)&&(d[g].appendChild(h));}else{d[g].appendChild(b);d[g+1].appendChild(e);}}};U.OU.SGN=function(){var a=U.OU.TF["TF"]=="Excel";(a)&&($("#U_E_ASL")[0].className="U_E_ICO U_E_ASL U_E_ASV");$("#U_E_AXB")[0].onclick=U.M.apply(this,[[U.M.StopBubble],[a?U.Excel.Save:U.Word.Save,([[[U.Word.YBKWJ]],true])]]);$("#U_E_AXU")[0].onclick=a?U.Excel.NewTZB:U.Word.NWWJ;};U.OU.SCJD=function(c,d,e,b){var a=U.OU.R;a=U.OU.R=(a?(a.SO=c,a.CreateR()):U.D.E.GetSelectionRange(window,c,{"TF":e?"E":"W","CB":b}));a.Replace(d,a.R);return a;};U.OU.JDCL=function(b){try{(U.OU.R)&&(U.OU.R=U.OU.R.CreateR(b));}catch(a){}};U.OU.JDCR=function(){var b=U.OU.R,a=!document.selection;if(b){if(!b.GetSelectedHtml()){(a)&&(b.CW.focus());b.Replace("");}else{if(a){b.CW.focus();b.QX(null,null,true);}}}};U.OU.OUIG=function(f,e,d,j){var g,l,c,h,k=US.Disk.diskfileTree,b=$$("frag"),a=k?_$(k[0]).Select({"UserDirectoryParentID":f}):"";for(g=0;g<a.length;g++){l=parent.U.UP.IsDF(a[g].UserDirectoryExtendType)[0];c=$$("div",{"className":"UDK_RT_application","onmousedown":U.OU.AImgCL,"onclick":[[U.OU.OUALJ,([j||U.OU.R,e,a[g],d])]]},b);h=$$("div",{"className":"UDK_RT_UDD Radius5"},c);if(l=="P"){$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"className":"UDK_RT_UDD_DV","src":a[g].UserDirectoryUrl},h);}else{$$("div",{"className":"UDK_L_DiskGE UDK_RT_UDD_DV","style":{"cssText":a[g].UserDirectoryUrl+";"}},h);}$$("span",{"className":"UTDF","innerHTML":a[g].UserDirectoryName},h);}d.innerText="";d.appendChild(b);};U.OU.OUALJ=function(d,c,a,b){if(a.filetype){U.M.StopBubble();if(!d){U.Alert("请选择编辑区!");}else{switch(c){case"img":(U.M.apply(d,[[U.OU.AImgCL],[U.OU.SDYC],[d.Replace,(["<img style='max-width:480px;' alt='"+(a.Descript||a.UserallDirectoryName)+"' src='"+(US.fs+a.UserFilesServerName)+"' />&nbsp; "])]]))();break;case"LJ":U.OU.OULJ(d,a,"http://disk.1473.cn/#!/"+a["UserDirectoryID"]);break;}}}else{U.AFB.AddEvent([[U.OU.OUIG,([a.UserDirectoryID,c,b,d])]],c=="img"?"Word":"WordL");U.OU.JDCR();}};U.OU.AImgCL=function(a,c){if(U.OU.TF["TF"]=="Excel"){var b=$("div",(U.Excel.SY["UAE"]["FE"]||$("#U_E_EditFrame")[0]))[0];if(b.contentEditable!="true"||U.OU.R.SO!==b){U.Excel.EditFrameDoubleClick((U.Excel.SY["UAE"]["FE"]||$("#U_E_EditFrame")[0]));U.OU.R=U.D.E.GetSelectionRange(window,b,{"TF":"E"});}}U.OU.TF.D=true;};U.OU.TJIMG=function(e,d,b,a){var f=U.D.E.AddUPWJ(a),c=U.OU.R;c.Replace("&nbsp;"+f.outerHTML+"&nbsp;");U.D.E.AddUPWJ({"URL":d},$("img#"+f.id,c.SO)[0]);};U.OU.CIDX=function(a){a.style.maxWidth="480px";};U.OU.OULJ=function(d,b,a){var c=d.GetSelectedHtml();if(c){d.Replace("<a href='"+a+"' style='color:#3B639F;text-decoration:none;' target='_blank' title='"+(b.Descript||b.UserallDirectoryName)+"'>"+c+"</a>");}else{parent.U.Alert("请选择链接文字");}};U.OU.OUWLJ=function(b,g){var a,f,e=U.OU.R,d=e.GetSelectedHtml(),c=b?$("input",b.parentNode):"";if(g=="S"){if(d||e.SO.tagName.toLocaleLowerCase()=="img"){e.Replace(e.SetStyle(d,{"color":["White","White"],"backgroundColor":["#3398ff","#3398ff"]}),null,true);U.OU.TF.ISR=1;}else{parent.U.Alert("请选择链接文字");}}else{if(g=="E"){if(U.MS.Url.test(a=c[0].value)){f=e.Parent();$(f).Parent().replaceChild($$("a",{"href":a,"target":"_blank","style":{"color":"#3B639F","textDecoration":"none"},"title":f.innerText,"innerHTML":f.innerHTML}),f);c[0].value="http://";U.OU.TF.ISR=2;}else{parent.U.Alert("无效连接地址");}}else{if(U.OU.TF.ISR==1){f=e.Parent();f.outerHTML=f.innerHTML;U.OU.TF.ISR=null;U.OU.SDYC();}}}return true;};U.OU.ColorLiOnClick=function(c,b){var d,a=c.style.backgroundColor;for(d in b[1]){b[1][d]=a;}U.OU.ChangeStyle(b[1]);};U.OU.ChangeStyle=function(b){var d,f,a=U.OU.TF["TF"]=="Excel";if(a&&(U.Excel.SY["UAE"]["FE"]||$("#U_E_EditFrame")[0]).ondblclick){d=U.Excel.SY;f=d["SEO"][0];U.D.E.FontSizeType(f,b,null,"E");d["CE"]["Cell"][d["SEO"][1]].style.cssText=f.style.cssText;return;}var e=U.OU.R||U.D.E.GetSelectionRange(window,null,{"TF":a?"E":"W"}),c=e.Parent();U.D.E.FontSizeType(c,b,e,"W");};U.OU.DSZS=function(b,a,c){if(b[0].style.display=="block"){b[0].style.display="none";}else{(b[0].addAttrArray({"style":{"zIndex":"99999","display":"block","left":(a.offsetLeft+(c||0))+"px"}}))[0];}};U.OU.OUDLJ=function(b){U.OU.TF.D=false;var a=$("#U_E_AZUXUB")[0];if(!parent.U.D.SY.DLTC(3)){$("#U_E_AZUXUT")[0].innerHTML="http://";a.onclick=U.M.apply(a,[[U.OU.OUWLJ,([a,"E"])]]);U.OU.DSZS(b,$("#U_E_AZLJ"),-182);}else{U.M.StopBubble();}};U.OU.InsertNowTime=function(){var a=U.MT.getTimeStr(new Date(),"String");if(U.OU.TF["TF"]=="Excel"){U.Excel.SetWZ(a);}else{U.D.E.GetSelectionRange(window,$$("span"),{"TF":"W"}).Replace(a);}};U.OU.MCWJM=function(b){var a;if((a=(U.Word?U.Word.TF["ET"]:U.Excel.SY["ET"]))){parent.U.Dk.RE.MFN(a,b.innerText);}else{b.innerText="未命名文档";}};U.OU.OUSCJ=function(){var a=U.OU.TF["TF"]=="Excel",c=(U.Excel||U.Word),b=a?c.SY["ID"]:c.TF["ID"];if(b&&b.length==36){window.open("http://disk.1473.cn?ID="+b+"&TF="+(a?"Excel":"Word"));}else{parent.U.Alert("请保存文件后执行");c.Save();}};U.OU.HDOUSCJ=function(){return($("#UD_SYQXR")[0]||document.documentElement).innerHTML;};U.OU.Copy=function(){var a=U.OU.R;if(U.OU.TF["TF"]=="Excel"){if(!a.SO.contentEditable){return;}}(a)&&(U.OU.TF["UV"]=U.OU.R.GetSelectedHtml());};U.OU.ZT=function(b){var a=U.OU.R;if(U.OU.TF["TF"]=="Excel"&&a.SO.contentEditable=="false"){U.Excel.SY["SEO"][0].innerHTML=U.OU.TF["UV"];return;}(a)&&(a.Replace(b||U.OU.TF["UV"]));};U.OU.CX=function(){if(U.OU.TF["TF"]=="Excel"){U.Alert("Excel暂不支持");}else{(U.OU.R)&&(U.OU.R.CZ());}};U.OU.SYDH=function(){if(U.OU.TF["TF"]=="Word"){var a=$("#U_ONO")[0],g,e,b,d,c,f;if(a){g=$("div#U_ONOT")[0],e=$("div#U_ONOC")[0];f=U.M.GTCN(g.childNodes).length,_GUID=U.MS.produceGuid();c=$$("div",{"className":"U_ONOTI","ITF":_GUID,"onmouseup":"U.OFD.SW(this);$('div',this)[0].focus();"});$$("div",{"className":"U_ONOTIB","innerHTML":("菜单"+f)},c);$$("div",{"className":"UF_FW_os UF_FW_CloseButton U_ONOTIC","onmouseup":"U.Word.TYDT(this.parentNode);"},c);b=$$("div",{"className":"U_ONOCC","ITF":_GUID});d=$$("div",{"className":"U_ONOCCA"},b);$$("div",{"className":"U_ONOCCB","innerHTML":"点击编辑中间的内容","onmouseup":"if(U.OU){ U.OU.DJBJ(false,this.parentNode); }"},d);$$("div",{"className":"U_ONOCCB U_ONOCCS","innerHTML":"点击选择连接网站","onmouseup":"if(U.OU){ U.OU.DJBJ(true,this.parentNode); }"},d);g.innerHTML+=c.outerHTML;e.innerHTML+=b.outerHTML;c=U.M.GTCN(g.childNodes);c[c.length-1].onmouseup();}else{a=$$("div",{"className":"U_ONO","id":"U_ONO"});g=$$("div",{"className":"U_ONOT","id":"U_ONOT"},a);c=$$("div",{"className":"U_ONOTI","ITF":0,"onmouseup":"U.OFD.SW(this);$('div',this)[0].focus();"},g);$$("div",{"className":"U_ONOTIB","innerHTML":"首页"},c);$$("div",{"className":"UF_FW_os UF_FW_CloseButton U_ONOTIC","onmouseup":"U.Word.TYDT(this.parentNode);"},c);e=$$("div",{"className":"U_ONOC","id":"U_ONOC","contentEditable":"false"},a);b=$$("div",{"className":"U_ONOCC","ITF":0},e);d=$$("div",{"className":"U_ONOCCA"},b);$$("div",{"className":"U_ONOCCB","innerHTML":"点击编辑中间的内容","onmouseup":"if(U.OU){ U.OU.DJBJ(false,this.parentNode); }"},d);$$("div",{"className":"U_ONOCCB U_ONOCCS","innerHTML":"点击选择连接网站","onmouseup":"if(U.OU){ U.OU.DJBJ(true,this.parentNode); }"},d);$$("div",{"className":"UF_FW_os UF_FW_CloseButton U_ONOTIC","onmouseup":"U.Word.TYDT(this.parentNode);"},a);U.OU.R.Replace(a);}}else{parent.U.Alert("Excel无法使用此功能");}};U.OU.DJBJ=function(c,b){if(c){parent.U.Alert("请在左边的文件中选择文件链接",2000);b=b.parentNode;var a=b.getAttribute("ITF");b=$("div@ITF="+a,b.parentNode.parentNode)[0];b.focus();U.OU.R.SO=b;U.OU.R.CreateR(false);}else{b=b.parentNode;b.contentEditable="true";b.innerHTML="&nbsp;";U.OU.R.SO=b;U.OU.R.Replace("<div></div>",U.OU.R.QX(0,1,b));}};U.OU.SDYC=function(a){if(U.OU.TF.D){}U.OU.TF.D=true;};Namespace.register("U.U.P");U.U.P.TF={"Contribute":"找出漏洞","Introduce":"推广本网站","Upload":"上传文件","PostArticle":"发表文章","Online":"在线时间","Reply":"回复文章","SignIn":"登陆签到","Download":"下载文件","DiskAddition":"硬盘增加","IllegalImage":"发布违规图片"};U.U.P.FTF={"Upload":"UseStudioUserDiskDiv","Download":"UseStudioUserDiskDiv","PostArticle":"UseStudioStudyControlDiv","Reply":"UseStudioStudyControlDiv"};U.U.P.E={};U.U.P.LoginIC=function(){var a=$("#UU_IC")[0],b=$("#UU_ICBG_GG")[0];U.D.PopupWindow(a);U.U.P.GetIC($("div#UU_IC_Pay",a)[0]);U.D.Tb.WindowRestore(a,"","积分中心");};U.U.P.SIC=function(a){U.U.P.YXICD(["none","block"]);if(a==1){U.U.P.GetIC($("#UU_IC_Pay")[0]);}else{U.U.P.ICSS(1);}};U.U.P.YXICD=function(a){$("#UU_IC_HB")[0].style.display=a[0];$("#UU_IC_Info")[0].style.display=a[1];};U.U.P.SUIC=function(b){var c,e=0,d=$("#UU_IC_Avatar",b)[0],a=U.U.P.E[US.userInfo.userid]["ICCSV"][0];d.innerHTML="";for(c=0;c<a.length;c++){e+=a[c].VCSumValue;}$$("img",{"onerror":[[U.M.ImgError,(["this"])]],"id":"UU_IC_Avatar_img","src":U.M.GetImgU(US.userInfo.UserThumbnailImageHead)},d);$("#UU_IC_VCSum",b)[0].innerHTML=e;};U.U.P.ICSS=function(e){var f=Math.ceil(e*7/70),g=f*70,d=g-69,a=U.U.P.E[US.userInfo.userid];if(a&&(a=a["Page"])&&(a=a[f])){var c=e%10;c=c==0?10:c;g=c*7;d=g-7;var b=a.slice(d,g);U.U.P.SetICSS(b,e);}else{U.A.Request("UseStudioPay.UserGetSomeVC",([d,g]),U.U.P.AsynICSS,(["",e,f,US.userInfo.userid]));}};U.U.P.AsynICSS=function(b){var a=b.context;b=b.value;if(U.U.P.E[a[3]]==null){U.U.P.E[a[3]]={"Page":[]};}else{if(U.U.P.E[a[3]]["Page"]==null){U.U.P.E[a[3]]["Page"]=[];}}U.U.P.E[a[3]]["Page"][a[2]]=b[0];U.U.P.ICTT(b[1],$("#UU_ICM_UU_IC_Heroes")[0]);U.U.P.ICSS(a[1]);};U.U.P.SetICSS=function(a,b){if(a.length>0){U.U.P.ICPL(a,["时间","来源","来源","积分"],$("#UU_IC_Info")[0]);U.PG.PPage($("#UU_IC_Pag")[0],a[0].AllCount,b,7,{"fun":[[U.U.P.ICSS,([b])]],"page":[0]});}};U.U.P.GetIC=function(a){if(U.U.P.E[US.userInfo.userid]&&U.U.P.E[US.userInfo.userid]["ICCSV"]){U.U.P.SetIC(U.U.P.E[US.userInfo.userid]["ICCSV"],a);}else{U.A.Request("UseStudioPay.UserCountVC",([]),U.U.P.AsynGetIC,([a,1,US.userInfo.userid]));}};U.U.P.AsynGetIC=function(b){var a=b.context;b=b.value;if(U.U.P.E[a[2]]==null){U.U.P.E[a[2]]={};}U.U.P.E[a[2]]["ICCSV"]=b;U.U.P.GetIC(a[0],b);};U.U.P.SetIC=function(b,a){U.U.P.ICTT(b[1],$("div#UU_ICM_UU_IC_Heroes",a)[0]);U.U.P.ICPL(b[0],["时间","来源","积分","次数"],$("div#UU_IC_Info",a)[0]);U.U.P.SUIC(a);};U.U.P.ICTT=function(f,b){var e,d,a,g,c=$$("frag");b.innerText="";for(e=0;e<f.length;e++){d=f[e];a=$$("div",{"style":{"marginTop":"8px"},"onclick":[[U.M.StopBubble],[U.U.I.POUW,([d.UserId])]]},c);$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(d.UserThumbnailImageHead),"className":"UU_IC_Heroes_img"},a);$$("div",{"className":"UU_IC_HSOne","innerHTML":d.UserNickName},a);g=$$("div",{"className":"UU_IC_HSTwo"},a);$$("span",{"innerHTML":"积分:"},g);$$("span",{"style":{"color":"#3081fe"},"innerHTML":d.VCSumValue},g);}b.appendChild(c);};U.U.P.ICPL=function(b,e,a){a.innerText=$("#UU_IC_Pag")[0].innerText="";var g,f,d,h,k=$$("div",{"className":"UU_IC_Values"}),c=$$("div",{"className":"UU_IC_VP"});for(g=0;g<e.length;g++){$$("div",{"innerHTML":e[g],"style":{"width":(g==3?"50px ":(g==1?"100px":g==2?"200px":""))}},k);}for(f=0;f<b.length;f++){d=b[f];h=$$("div",{"className":"UU_IC_SG"},c);$$("div",{"innerHTML":U.MT.getTDInterval(d.VCDateTime)},h);$$("div",{"innerHTML":U.U.P.TF[d.VCType],"style":{"width":"100px"}},h);$$("div",{"onclick":d.VCCountValue?"":U.U.P.FTF[d.VCType]?[[U.M.StopBubble],[U.M.divdoubleClick,([U.U.P.FTF[d.VCType],d.VCDetailsDataID,null,null,"ART"+d.VCDetailsDataID])]]:"","className":("UTDF"+(d.VCCountValue?"":" UU_IC_FS")),"style":{"color":d.VCCountValue?"":"#3081fe","width":"200px"},"innerHTML":d.VCCountValue?d.VCSumValue:d.VCDetailsDataValue},h);$$("div",{"innerHTML":d.VCCountValue||d.VCValue,"style":{"width":"50px"}},h);}a.appendChild(k);a.appendChild(c);};U.U.P.ICEXC=function(b){var a=$("#UU_IC_EXC")[0];if(b=="block"){U.D.SetDTop(a);}a.style.display=b;};U.U.P.ICGK=function(a){var c,b=0,d=U.U.P.E[US.userInfo.userid]["ICCSV"][0];UICV=a.value;for(c=0;c<d.length;c++){b+=d[c].VCSumValue;}if(parseFloat(UICV)<0){U.Alert("请输入正整数");}else{if(!U.MS.Number.test(UICV)){U.Alert("您的输入有误,请输入数字!");}else{if(UICV>b){U.Alert("您的积分不足");}else{if(confirm("确定确定要兑换"+UICV+"M的空间吗?")){U.A.Request("UseStudioManage.UserDiskAddition",([UICV]),U.U.P.AsynICGK,(["",a,UICV]));a.parentNode.parentNode.parentNode.style.display="none";a.value="";}}}}};U.U.P.AsynICGK=function(e){var d=e.context;e=e.value;if(e){var c,a=true,f=U.U.P.E[US.userInfo.userid]["ICCSV"][0];for(c=0;c<f.length;c++){if(f[c]["VCType"]=="DiskAddition"){a=false;f[c].VCSumValue-=d[2];f[c].VCCountValue+=1;}}if(a){var h=new U.U.P.PICE([1,new Date(),-d[2],"DiskAddition"]),g=U.U.P.E[US.userInfo.userid]["Page"];f.push(h);if(g&&g.length>0){var b=U.U.P.ICE(g[1][0].AllCount,"0",US.userInfo.userid,new Date(),U.MS.produceGuid(),"硬盘增加",U.MS.produceGuid(),"DiskAddition",-d[2]);g[1].unshift(b);}}U.U.P.SUIC();U.U.P.ICPL(f,["时间","来源","积分","次数"],$("#UU_IC_Info")[0]);US.userInfo.UserDiskSpace+=1;}};U.U.P.PICE=function(a){this.VCCountValue=a[0];this.VCDateTime=a[1];this.VCSumValue=a[2];this.VCType=a[3];};U.U.P.ICE=function(a){this.AllCount=a[0];this.PageNum=a[1];this.UserID=a[2];this.VCDateTime=a[3];this.VCDetailsDataID=a[4];this.VCDetailsDataValue=a[5];this.VCID=a[6];this.VCType=a[7];this.VCValue=a[8];};Namespace.register("U.D.SY");U.D.SY.ET={"hash":"","OR":"","DLHD":[],"WE":[],"PB":{"SQ":false},"ZXH":"","SZ":"","ZL":{},"Disk":{"SY":"","UP":[]},"KBJ":false,"FT":false,"FL":{"UID":"","IP":true,"PT":true,"TF":"S","MO":"","PF":{},"SY":[]},"GDBH":true,"TJ":"","UB":"","SXXZ":-1,"GDTW":0,"GDE":null,"GD":null,"UIF":{},"NT":{"WP":{"TF":"","TP":1},"PB":{"IS":false,"BK":null,"TBK":null,"DBK":"","DWZ":"","TJ":"","RM":null,"IP":1,"P":1,"ZT":null}},"UL":{"WS":null,"HY":{"UID":US.NU},"FG":[],"GG":{},"FUP":[],"AD":[],"XAD":[],"WP":{"TF":""}}};U.D.SY.SYTJ=function(a){if(a){U.D.SY.PSYTJN($("#UD_SYSXSSXOC")[0],a);}else{U.A.Request("UseStudioManage.GUAF",([US.userInfo.userid||US.NU,0,11]),U.D.SY.AsynSYTJ,([""]));}};U.D.SY.AsynSYTJ=function(a){U.D.SY.ET["TJ"]=a=a.value;U.D.SY.SYTJ(a);};U.D.SY.PSYTJN=function(c,b,f,a){var d,e=$$("frag");c.innerText="";for(d=0;d<b.length;d++){$$("img",{"onerror":U.M.ImgError,"title":b[d].UserName,"alt":b[d].UserName,"onclick":[[U.D.SY.UIFZX,([b[d].UserID])]],"src":U.M.GetImgU(b[d].UserThumbnailImageHead)},e);}(f)&&($$("div",{"className":"UD_SYSXLTTI UD_SYSXLTTIO UD_SYI","title":"点击刷新","onclick":[[U.D.SY.SXZX,([a||2,"this",28,U.M.apply(this,[[U.D.SY.PSYTJNSX,([f])]])])]]},e));c.appendChild(e);};U.U.L.GRXX=function(){var a=US.userInfo,c=U.M.GetImgU(a.UserThumbnailImageHead),b=$("#UD_SYSSR").Child();$(b[4]).addAttrArray({"innerText":a.UserNickName,"onclick":[[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.SY.HDSY,([["none","block"],[false,["block","none",false]]])]])])]]});$(b[5]).addAttrArray({"innerHTML":"退出","title":"注销用户"});$([$("#UD_SYXT&img")[0],$("#UD_SYSXZBEOI&img")[0],$("img",b[3])[0]||$$("img",{},b[3])]).addAttrArray({"onerror":U.M.ImgError,"alt":a.UserNickName,"title":a.UserNickName,"src":c,"onclick":[[U.D.SY.SYDLHD,([U.M.apply(this,[[U.D.SY.HDSY,([["none","block"],[false,["block","none",false]]])]])])]]});};U.D.SY.DLGRXX=function(h){var f,e,c,g,a,k,d=US.userInfo,b=[[US.Friend[1].length,"正在追随","您添加的好友",[[U.D.SY.SLHCK,([a])]]],[d.UIF["DTC"],"动静..","发表的动静",[[U.D.SY.UIFZX,([d.UserId])]]],[d.UIF["DDC"],"云分享","云盘分享的文件",[[U.D.DT.YYDK,(["Disk",[d.UserId,1]])]]],[d.UIF["PDC"],"版块爱好","学习系统收藏",[[]]],[d.UIF["FDC"],"追随者","他人添加您",[[U.D.SY.SLHCK,([a])]]]];for(f=0;f<h.length;f++){a=$$("frag");g=$("#"+h[f]).Child();c=$(g[1]).Child();c[1].innerText=d.UserIndividualitysignature||"暂时没有填写个人介绍...";$($("img",g[0])[0]||$$("img",{},g[0])).addAttrArray({"onerror":U.M.ImgError,"alt":(c[0].innerText=(d.UserNickName||d.UserName)),"title":"点击查看","src":U.M.GetImgU(d.UserThumbnailImageHead)});for(e=0;e<b.length;e++){k=$$("div",{"className":"UD_SYSXKTBO","style":!e?{"marginLeft":"15px"}:{},"onclick":b[e][3]},a);$$("div",{"className":"UD_SYSXKTBOL","style":{"fontSize":"17px","verticalAlign":"sub"},"innerHTML":b[e][0].SPL()},k);$$("div",{"className":"UD_SYSXKTBOR","innerHTML":b[e][1],"style":{"verticalAlign":"baseline"}},k);}g[2].innerHTML="";g[2].appendChild(a);}};U.D.SY.BHZSXX=function(c){var b,a=[$("#UD_SYSXKTB&div")];for(b=0;b<a.length;b++){a[b][c[0]].innerText=c[1];}};U.D.SY.SYQHL=function(b,e){var c=U.D.SY.ET["NT"]["PB"],d=$("#UD_SYSXZBOO"),a=U.D.SY.SWTBQH(b,d);d[0].UH=0;c["DBK"]=c["USID"]="";U.D.SY.HDSY(["block","none"],[false,["block","none",false]]);(!e)&&(U.D.SY.SYQHLF(a));};U.D.SY.SWTBQH=function(c,g){var f,h,e,d,a=["T","S","O","D"],j=$($(c).Parent()).Child(),b=g?g.Child():null;for(f=0;f<j.length;f++){d=$(j[f]).Child();(h=(j[f]==c))&&(e=f);(f!=3&&g)&&(b[f].style.display=h?"block":"none");j[f].className="UD_SYSSTOO"+(h?" UD_SYSSTOOO":"");d[0].className=("UD_SYSSTOOI UD_SYI UD_SYSSTOOI"+a[f])+(h?(" UD_SYSSTOOI"+a[f]+"O"):"");d[1].className="UD_SYSSTOON"+(h?" UD_SYSSTOONO":"");}return e;};U.D.SY.SYQHLF=function(b){var a=[U.D.SY.SYWPQHFY,U.D.PB.RMZXSX,U.D.SY.PFY];(b==2)&&(U.D.SYDJBH($("#UD_SYSXSSXOC").Parent(2),0,true));(a[b])&&(a[b](1));};U.D.SY.HDSYH=function(a){var b,c=$("#UD_SYSXN").Child();for(b=0;b<c.length;b++){c[b].style.display=(b==a)?"block":"none";}};U.D.SY.HDSYHGN=function(b){var c=$("#UD_SYST").Child(),a=[["UD_SYSTLY","游戏中心(Game Center)"],["UD_SYSTLG","购物中心(Super mall)"],["UD_SYSTLR","支付中心(PayCenter)"],["UD_SYSTLW","站外应用(Application)"]][b];c[0].className="UD_SYSTL UD_SYI "+a[0];$(c[1]).Child()[0].innerHTML="衷心感谢大家的支持! !<br />"+a[1]+"我们正在尝试努力建设中......请耐心等待。";};U.D.SY.HDSY=function(e,a){var c=$("#UD_SYSX").Child(),b=$("#UD_SYSS")[0],d=$("#UD_SYSSR")[0];if(e[1]=="none"||!U.D.SY.DLTC(3)){for(i=0;i<c.length;i++){c[i].style.display=e[i];}(($("#UD_SYH")[0].style.display=e[1])=="block"&&US.userInfo.userid)&&($(b).Child()[0].appendChild(d),U.D.SY.SWDLTP());U.D.SY.HDDB(0);U.D.SY.HDSYH(0);return true;}};U.D.SY.SWDLTP=function(){$("#UD_SYSXZLLRTA").Child()[0].onclick(true);};U.D.SY.SDLZX=function(d){var b,c=$("#UD_SYSSTM")[0],a=d?["block","none"]:["none","block"];c.style.display=a[0];$("#UD_SYSSR")[0].style.display=a[1];a=["UD_SYXTXO","UD_SYSSRXOA"];if(d){c=$("#UD_SY").Child();for(b=0;b<c.length;b++){c[b].style.display="none";}for(b=0;b<a.length;b++){$("#"+a[b]).Parent(b+1).style.display="none";}}};U.D.SY.DLXXCKQH=function(c){var d,f=$("#UD_SYSXZLRSG").Child(),e=[$("#UD_SYSXZBYPO"),$("#UD_SYSXZBYP")],g=$($(c).Parent()).Child(),b=$("#UD_SYSXZLRSRD")[0],a=[[U.D.SY.GRWPQHJ,([b,1])],[U.D.SY.DLCKWDFB,([c])],[U.D.SY.SXGBL,([b,US.userInfo.userid,c,!(!event||event.srcElement==c)])]];for(d=0;d<a.length;d++){a[d]=U.M.apply(c,[a[d]]);(g[d]==c)&&(_ITF=d);}$($(c).Parent(4)).addAttrArray({"UH":(b.UH=""),"UPL":""});(_ITF!=2)&&(b.style.height="");b.style.width="";for(d=0;d<f.length;d++){f[d].style.display=(_ITF==d)?"block":"none";}(_ITF!=1&&e[0].Parent()!=e[1][0])&&(e[1].append(e[0][0]));a[_ITF]();U.MR.DHQH(c,"UD_SYSXZLLRTO");};U.D.DT.YYDK=function(f,c){var b,e,d,a;switch(f){case"Friend":if(!(U.D.SY.DLTC(3))){U.D.SY.SLHCK(c[0]);}break;case"Music":c=c||[];if(!(U.D.SY.DLTC(3))){U.D.SY.CSHYY(c[0]||US.userInfo,c[1]);}break;case"PB":$("#UD_SYSSTO").Child()[1].onclick();U.D.PB.DJPBCKMU(c[0]);break;case"Disk":if(!(U.D.SY.DLTC(3))){c=c||[];b=$("#UD_SYW")[0];U.D.SetDTop($(b).Parent());U.D.PopupWindow(b);U.D.SY.CSXWP.apply(this,c);}break;case"PDisk":if(!(U.D.SY.DLTC(3))){U.D.PopupWindow($("#UD_SYWO")[0]);U.D.SY.LTWP(c[0],U.D.SY.ET["NT"]["PB"]["DBK"]||c[1]);}break;case"Word":U.D.Office.Word(US.userInfo,c);break;case"Excel":U.D.Office.Excel(US.userInfo,c);break;}return b;};U.D.SY.CKBDBL=function(c,b,d){if(US.userInfo.userid){var a=$("div",$(b).Parent(2));a=a[8];b.parentNode.style.display="none";a.parentNode.style.display="block";U.D.SY.ZBPWPTP(c,a,d);}else{U.Alert("请先登录~");}};U.D.SY.ZBPWPTP=function(b,c,e,a){if(!U.D.SY.DLTC(3)){var d;(a)&&(d=$("div",$(a.parentNode).Child()[1]));c=c||d[d.length-3];U.AFB.RGoL("SWP");U.AFB.AddEvent([[U.D.SY.PWPTP,([b,c,e])]],"SWP");}};U.D.SY.PWPTP=function(b,a,c){a.innerText="";U.D.SY.PCKBDBL(_$(U.Dk.DiskOperatingSwitch(US.userInfo.userid)||US.Disk.diskfileTree[0]).Select({"UserDirectoryParentID":b}),a,c);};U.D.SY.PCKBDBL=function(j,c,h){var d,b,f,e,a=$$("frag"),g=$(c).Parent(4);for(d=0;d<j.length;d++){e=U.UP.IsDF(j[d].UserDirectoryExtendType)[0];b=$$("div",{"className":"UD_SYSXZLRSITO","onclick":e=="P"?[[h||U.D.SY.FSGBL,([j[d].UserDirectoryUrl,j[d].UserFilesServerName?US.fs+j[d].UserFilesServerName:j[d].UserDirectoryUrl,g,h])]]:[[U.AFB.AddEvent,[[[U.D.SY.PWPTP,([j[d].UserDirectoryID,c,h])]],"SWP"]]]},a);f=$$("div",{"className":"UD_SYSXZLRSITOT"},b);if(e=="P"){$$("img",{"onerror":[[U.M.ImgError,(["this",1])]],"src":j[d].UserDirectoryUrl},f);}else{$(f).addAttrArray({"style":{"cssText":j[d].UserDirectoryUrl+";"},"className":"UDK_L_DiskGE "+f.className});}$$("div",{"className":"UD_SYSXZLRSITOS UTDF","innerHTML":j[d].UserDirectoryName},b);}c.appendChild(a);};U.D.SY.FSGBL=function(d,h,a){var g,e,f=$("div",a),c=f[f.length-2],b=$(c).Child();(b[8])&&($(b[8]).remove());d=U.M.GetImgU(d);h=U.M.GetImgU(h||d);$$("img",{"onerror":[[U.M.ImgError,(["this",2])]],"className":"UD_SYSXZLRSSVOYO","src":d,"alt":h,"title":"右键删除","oncontextmenu":[[U.D.SY.SCFSGBL,(["this"])]],"onclick":[[U.M.StopBubble],[U.D.Img.Img,([US.userInfo,{"Thm":d,"Img":h}])]]},c);};U.D.SY.SCFSGBL=function(a){$(a).remove();};U.D.SY.KBJJQ=function(b,a){if(!U.D.SY.DLTC(3)){b.focus();U.MR.InputTip(b,[a[0],a[1]||""]);U.D.SY.SCXWPOP(a[2],a[3]);U.D.SY.ET["KBJ"]=b;return true;}};U.D.SY.KBJZTJQ=function(a){(U.D.SY.ET["KBJ"]==a)&&(U.D.SY.WZTJQ(""));};U.D.SY.GBZYSZ=function(){var a,b;if(a=U.D.SY.ET["KBJ"]){if(a!=(b=event.srcElement)){U.D.SY.ET["KBJ"]=false;b.focus();}}};U.D.SY.BCWZTJQ=function(a){var b=U.D.E.SORange["OE"]["SY"];if(b&&(b&&b.SO==a)){b=b.CreateR();}else{(a)&&(a.onfocus());}};U.D.SY.WZTJQ=function(c,a){a=a==false?a:a||event.srcElement;var b=U.D.E.SORange["OE"]["SY"];((!b&&a)||(b&&b.PSO!=a))&&(b=U.D.E.GetSelectionRange(window,a,{"TF":"SY"}));if(c!=null){(b)&&(b.Replace(c));}};U.D.SY.ATGBL=function(c,d){var b,a=$$("div",{});b=$$("img",{"onerror":[[U.M.ImgError,(["this",2])]],"src":U.M.GetImgU(c),"title":"点击查看原图","onclick":"U.M.StopBubble();U.D.Img.Img(US.userInfo,{ 'Thm': '"+c+"', 'Img': '"+(d||c)+"'})"},a);U.D.SY.WZTJQ("&nbsp;"+a.innerHTML+"&nbsp;",false);};U.D.SY.CPTATGBL=function(a){setTimeout(U.M.apply(a,[[U.D.SY.AsynCPTATGBL,([a])]]),0);};U.D.SY.AsynCPTATGBL=function(b){var c,a=[],e=b.innerText,d=U.M.SetElement(b,"img");if(e.length>150){e=e.substr(0,150);U.Alert("内容最大只允许为150个字");}for(c=0;(c<d.length&&c<9);c++){a.push(d[c].src);}b.innerHTML=e;(a.length)&&(U.D.SY.CPTPCL(a,$(b).Parent()));};U.D.SY.CPTPCL=function(a,b){U.A.Request("UseStudioDisk.UTPSCCL",([US.userInfo.userid,a.join(",")]),U.D.SY.AsynCPTPCL,(["",b]));};U.D.SY.AsynCPTPCL=function(e){var d,b,c,f=US.Disk.UserDisk[US.userInfo.userid],a=e.context[1];e=e.value;for(d=0;d<e.length;d++){b=e[d];c=new U.Dk.M.Entity(([b.UserFilesID,b.UserFilesSize,b.UserDirectoryID,b.UserFilesName.AP(10),b.UserFilesName,b.UserFilesExtendName,b.UserFilesServerName,b.UserFilesAddTime,b.UseFilesServerThumbnailName,9999,null,"",1,""]));(f&&f[0])&&(f[0].push(c));U.D.SY.FSGBL(b.UseFilesServerThumbnailName,b.UserFilesServerName,a);}};U.D.Img.Img=function(b,j,f,d){f=f||0;var g,e=b.UserID||b.UserId,k=$("#UD_SYJ"),h=k.Child(),c=$("div",h[1]),a=U.Img.Create(j,f,d,U.M.apply(a,[[U.D.Img.CImg,([h[2],k[0]])]]));c[1].innerText="";$$("img",{"onerror":U.M.ImgError,"title":"点击查看","onclick":[[U.D.SY.UIFZX,([e||US.userInfo.userid])]],"src":U.M.GetImgU(e?b.UserThumbnailImageHead:US.userInfo.UserThumbnailImageHead)},c[1]);c[4].innerText=b.UserNickName||b.UserName||US.userInfo.UserNickName||"暂无法查看";c[5].innerText=U.MT.getTDInterval(j["Time"]);c[6].innerText=((e==US.userInfo.userid)?US.userInfo.UserIndividualitysignature:b.UserIndividualitysignature)||"暂时没有填写个人签名";c[c.length-1].onclick=U.M.apply(a,[[a.Close,([k[0],a])],[U.M.StopBubble]]);k.addAttrArray({"onmousedown":U.M.StopBubble,"onclick":[[a.XSI,([k[0],a])]],"onmousewheel":[[U.M.StopBubble],[a.Wheel,([a])]],"style":{"maxWidth":US.Width-17+"px","maxHeight":US.Height-37+"px"}});$(h[2]).addAttrArray({"style":{"maxHeight":US.Height-153+"px"},"onmousedown":[[U.M.StopBubble],[a.MoveScroll,(["this",a])]]});c=$("div",h[3]);c[0].innerText=(j[f]?j[f]:j)["Img"];c=$(c[2]).Child();if(j.length>1){g=[-1,1];for(i=0;i<g.length;i++){$(h[i*4]).addAttrArray({"style":{"display":"block"},"onclick":[[U.M.StopBubble],[a.Change,([g[i],a])]]});}}else{h[0].style.display=h[4].style.display="none";}g=["In","Out"];for(i=0;i<g.length;i++){c[i].onclick=U.M.apply(a,[[a.Zoom,([g[i],a.UIOD,a])]]);}g=[-1,1];for(i=0;i<g.length;i++){c[i+2].onclick=U.M.apply(a,[[a.Rotate,([g[i],a.UIOD,a])]]);}k.Center();};U.D.Img.CImg=function(c,d,a){var e,b=$("img",c);this.UIOD=d;if(b[0]){this.UIMG=b.addAttrArray({"src":U.M.GetImgU(a["Thm"])})[0];}else{e=$$("div",{},c);this.UIMG=$$("img",{"onerror":U.M.apply(this,([[U.M.ImgError,(["this",1])]])),"onselectstart":U.M.apply(),"ondragstart":U.M.apply(),"src":U.M.GetImgU(a["Thm"])},e);}return[d,this.UIMG];};U.D.Office.Word=function(b,a){U.D.Office.Office($("#UD_SYQ")[0],b,a,"Word",U.D.Office.AsynWord);};U.D.Office.AsynWord=function(e,a,b,c){var d=c.contentWindow;d.U.Word.OPBW(a?(a.UserFilesID||a.UserDirectoryID):"",a,e.UserId,{"OL":U.M.apply(this,[[U.D.Office.OLWord,([e,a,b,c])]]),"BC":U.M.apply(this,[[U.D.Office.WBCWJ,([a,"Word"])]]),"UEOD":$("body",d.doc).Child()[1]});};U.D.Office.OLWord=function(a,j,c,e){var d=e.contentWindow,f=$(c).Parent(),h=$("body",d.document).childg(0,0).Child(),g=h[1],b=U.Dk.M.GDBFM("uw");g.innerText="";U.MD.uploading(c);U.D.Office.WETZ(f,(d.U.OU.TF["TF"]="Word"));if(!j||(!j.UserFilesID&&(j.UserId==a.UserId||!j.UserId))){g.contentEditable=true;if(!j){g.appendChild((g=$$("div",{"innerHTML":"&nbsp;"})));}d.U.OU.SCJD(g,j?j["UsOffice"]:"","");U.D.Office.PWord(b.slice(0,6),h[0],a);}else{$(h[1]).addAttrArray({"contentEditable":"false","innerHTML":j["UsOffice"]||""});}};U.D.Office.PWord=function(a,b,h){var d,g,e,f,c=$$("frag");b.innerText="";if(a.length){for(d=0;d<a.length;d++){g=$$("div",{"className":"UD_SYQXLXO","title":a[d].UserallDirectoryName||a[d].UserFilesName,"onclick":[[U.D.Office.Word,([h||a[d],a[d]])]]},c);e=$$("div",{"className":"UD_SYQXLXOS"},g);f=$$("div",{"className":"UD_SYQXLXOSI"},e);$$("div",{"className":"UD_SYVCOIW UD_SYQXLXOSIO UD_SYID"},f);f=$$("div",{"className":"UD_SYQXLXOSN UTDF"},e);$$("div",{"className":"UD_SYQXLXOSNS UTDF","innerHTML":a[d].UserallDirectoryName||a[d].UserFilesName},f);$$("div",{"className":"UD_SYQXLXOSNX","innerHTML":U.MT.getTDInterval(a[d].UserDirectoryAddTime||a[d].UserFilesAddTime)},f);}b.appendChild(c);}else{}};U.D.Office.SSWDBG=function(a){var d=$("input",$(a).Parent())[0],b=d.value,c=U.D.Office.WI(a);if(c.U.OU.TF["TF"]=="Word"){(b&&b!=d.defaultValue)&&(U.A.Request("UseStudioDisk.Managequery",([b,"uw",0,100]),U.D.Office.AsynSSWDBG,(["",a])));}else{parent.U.Alert("Excel暂无搜索");}};U.D.Office.AsynSSWDBG=function(c){var b=c.context,a=b[1],d=U.D.Office.WI(a);c=c.value;U.D.Office.PWord(c,$($(d.doc.body).Child()[0]).Child()[1],US.userInfo);};U.D.Office.Excel=function(b,a){U.D.Office.Office($("#UD_SYQE")[0],b,a,"Excel",U.D.Office.AsynExcel);};U.D.Office.AsynExcel=function(h,a,c,e){var d,g=e.contentWindow,b={"UFN":{"Onload":U.M.apply(this,[[U.D.Office.OLExcel,([h,a,c,e])]]),"Save":U.M.apply(this,[[U.D.Office.WBCWJ,([a,"Excel",null])]])}},f=["H","L","T","XR","D","R","F","E","CE","FE"];for(d=0;d<f.length;d++){b[f[d]]=g.$("#UD_SYQE"+f[d])[0];}g.U.Excel.OPBE(a?a.UserDirectoryID:"",a,h.UserId,b);};U.D.Office.OLExcel=function(f,a,c,d){var e=d.contentWindow,b=$(c).Parent();U.MD.uploading(c);U.D.Office.WETZ(b,(e.U.OU.TF["TF"]="Excel"));e.U.Excel.SetWH();e.U.Excel.CNO();};U.D.Office.Office=function(c,h,a,g,b){var e,f=$(c).Child()[0],d=$("iframe",c)[0];U.D.PopupWindow(c);if(!d){U.D.Office.GN(h,g,a).appendTo(c,0,f);e=$("div#UD_SYQZOCCL",c)[0];U.D.Office.WETZ(c,g);d=$$("iframe",{"id":c.id+"K","frameBorder":"0","scrolling":"no","style":{"border":"0"},"name":c.id+"K","src":"/usercontrols/"+(g=="Word"?"Word.htm":"Excel.htm"),"width":"100%","height":"100%"},f);U.MD.loading(f,true);U.MD.IframeLoad(d,U.M.apply(d,[[U.D.Office.AsynOffice,([c,e])],[b,([h,a,f,d])]]));}else{U.D.Office.WUIF(h,$("div",c)[1],a);U.D.Office.AsynOffice(c,$("div#UD_SYQZOCCL",c)[0]);b(h,a,f,d);}};U.D.Office.GN=function(a,e,k){var g,f,d,c,b=[],l=$("#UD_SYQG").clone(true),h=l.Child();l.addAttrArray({"id":"","style":{"display":"block"}});$("&*",l[0]).addAttrArray({"unselectable":"on"});(e=="Excel")&&($(h[0]).Child()[2].className+=" UD_SYQSTO");U.D.Office.WUIF(a,h[0],k);h=$(h[1]).Child();d=[[2,[2]],[5,[2]],[6,[2]],[7,[2]]];for(g=0;g<d.length;g++){c=$(h[d[g][0]]).Child();for(f=0;f<d[g][1].length;f++){b.push(c[d[g][1][f]]);}}h=$("select",l[0]);U.OU.Onload(e,[h[0],h[1],b[1],b[2]],b);$("input",l[0]).addAttrArray({"unselectable":"off"});return l;};U.D.Office.WUIF=function(e,b,a){var d,c=$("div",b);c[2].innerText=e.UserNickName||"";c[3].innerText=e.FilesCount?"所有云文件:"+e.FilesCount:"请登录";(d=$(c[5]).Child()[0]).value=a?(a["UserallDirectoryName"]||a["UserFilesName"]):"未命名文档(点击编辑)...";c[0].innerText="";$$("img",{"onerror":U.M.ImgError,"src":U.M.GetImgU(e.UserThumbnailImageHead),"onclick":[[U.M.StopBubble],[U.D.SY.UIFZX,([e.UserId])]]},c[0]);};U.D.Office.WETZ=function(a,g){var c,f,b,e={"width":"Width","height":"Height"},d=$(a).Child();for(c in e){if(US[e[c]]-2<a["offset"+e[c]]){e[c]=US[e[c]]-2+"px";}else{delete e[c];}}(e["width"]||e["height"])&&($(a).addAttrArray({"style":e}));f=a.offsetWidth;d[1].style.height=(_UTH=(b=a.offsetHeight)-d[1].offsetTop)+"px";((g=g||($(a).Parent().id=="UD_SYQ"?"Excel":"Word"))=="Word"&&(a=$(d[1]).Child()[0]))&&(d=$("body",a.contentWindow.doc).childg(0,0).Child(),$(d).addAttrArray({"style":{"width":(f-d[0].clientWidth-120)+"px","minHeight":_UTH-32+"px"}},1));};U.D.Office.AsynOffice=function(d,a){var c,f,e=US.Disk.diskfileTree,g=$("iframe",d)[0],b=US.userInfo.userid;if(b&&g&&e){g=g.contentWindow;e=e[1][2];c=[["","img"],["O","LJ"]];U.Dk.DiskOperatingSwitch(b);for(i=0;i<c.length;i++){U.D.Office.CGNT((UDCD=$("div#UD_SYQZOCQC"+c[i][0],d)[0]),c[i][1]);UDCD.tf=true;}a.onmousedown=U.M.apply(a,[[U.D.SY.SCXWPOP,([a,{"GS":"UP","FCP":U.M.apply(this,[[g.U.OU.TJIMG]]),"URL":"http://disk.1473.cn/USupfile.ashx?iframename=UseStudioEditor","ID":d.id+"M"}])]]);a.onmousedown();U.Dk.DiskOperatingSwitch(e);}};U.D.Office.CGNT=function(c,b){var a=b=="img",d=U.D.Office.WI(c);d.U.AFB.AddEvent([[d.U.OU.OUIG,([a?US.PG:US.DG,b,c,d.U.OU.R])]],a?"Word":"WordL");};U.D.Office.WI=function(a){a=a||event.srcElement;return $("iframe",$(a).Parent("UD_SYQE")||$(a).Parent("UD_SYQ"))[0].contentWindow;};U.D.Office.WBCWJ=function(j,b,h,g){var k,a=$("#UD_SYQ"+(b=="Excel"?"E":""))[0],c=US.userInfo.userid,l=U.Dk.DiskOperatingSwitch(c),f=U.D.Office.WI(a),d=b=="Word"?h:f.U.Excel.SY,e=b=="Word"?[d["UAE"]["UEOD"].innerHTML,"uw"]:[U.MS.SerializeJsonToStr(f.U.Excel.TF[d["ID"]]),"ue"];d["UID"]=d["UID"]||c;j=b=="Excel"?(d.ID!="ID"?f.U.Excel.TF[d.ID]:""):d["ET"];if(c&&c==d["UID"]){if(j){U.Dk.LE.USOS(d["ID"],e[0],null,g);}else{k=U.D.DT.YYDK("Disk",[c,l[1][1]]);U.Dk.RE.CMB(e[1],U.M.apply(this,[[U.D.SY.AsynWPXJWJ,([U.D.SY.ET["Disk"]["SY"]["DJ"],c])],[U.Dk.LE.NUSOS,([e[0],e[1],d])],[f.U[b].YBKWJ,([U.M.apply(this,[[U.D.Office.BCAWJMXG,([$("input",a)[0]])]])])],[U.D.CloseWindow,([k.parentNode])],g]),k);}}else{c?U.Alert("拒绝访问"):U.D.SY.DLTC(3);}};U.D.Office.GNT=function(b,a){var c,d=$(b).Child();for(c=0;c<a.length;c++){d[c+2].style.display=a[c];}};U.D.Office.CKBDGN=function(a,c){if(!U.M.onmouseout(a)&&!U.D.SY.DLTC(3)){var b=$(a).Child();(b=b[2]).style.display=c?"block":"none";if(!(b=$(b).Child()[3]).tf){U.D.Office.CGNT(b,b.id=="UD_SYQZOCQC"?"img":"LJ");b.tf=true;}}};U.D.Office.WBH=function(b,d,e){var a=U.D.Office.WI(),c=a.U.Word?!a.U.Word.TF["ET"].UserFilesID:true;if(c){if(e=="BL"){a.U.OU.TF[d]=b;}else{b=b instanceof Array?b:[b];if(a){(e?(a.U.Word||a.U.Excel):a.U.OU)[d].apply(this,b);}else{return false;}}return true;}};U.D.Office.WBYSXG=function(b,d){var c=U.D.Office.WI(b),e=event.srcElement,a={};a[d?"color":"backgroundColor"]="";if(e!=b&&c){c.U.OU.ColorLiOnClick(e,[b.parentNode,a]);}};U.D.Office.WBJ=function(a){var b=$(a).Child()[2];b.style.display=b.style.display=="block"?"none":"block";};U.D.Office.WJMXG=function(c){var a,b=U.D.Office.WI(c).U;b=(b.Word||b.Excel);a=(b["SY"]||b["TF"])["ET"];if(!U.D.SY.DLTC(3)&&(a||b.Save(U.M.apply(this,[[U.D.Office.BCAWJMXG,([c])]])))){U.MR.InputTip(this,["未命名文档(点击编辑)...",""]);$(c).addAttrArray({"readonly":"","onblur":[[U.MR.InputTip,([c,["","未命名文档(点击编辑)..."]])],[U.D.Office.AWJMXG,([c])]]});}};U.D.Office.BCAWJMXG=function(b,a){b.value=a[1].UserallDirectoryName;};U.D.Office.AWJMXG=function(a){var b=a.value,c=a.defaultValue;if(!b&&b!=c){parent.U.Dk.RE.MFN(_UET,b);}$(a).addAttrArray({"value":b||c,"onblur":null});};U.D.SY.GYWM=function(){var a=$("#UD_SYO")[0];U.D.PopupWindow(a);};U.D.SY.ZTGD=function(b){var a=U.D.SY.ET;(a["GD"])&&(clearTimeout(a["GD"]));U.D.SY.ET["GD"]=setTimeout(U.M.apply($(this).Parent(),[[U.D.SY.ZXZTGD,([b])]]),0);};U.D.SY.ZXZTGD=function(b){var e,g,d,c=[b.scrollTop+b.offsetHeight,b.scrollHeight],a=$(b).Child()[0],h=$(a).Child()[1],f=$(h).Child();for(e=0;e<f.length;e++){g=$(f[e]).Child()[e];d=g.scrollHeight;if(!g.offsetWidth){continue;}if(g.getAttribute("gd")||(d&&(g.UH!=d&&c[0]>=c[1]-2))){g.UH=d;g.onscroll(g,d);}}};U.D.SY.SYTGBH=function(a){var b,c=$(a).Child();for(b=0;b<c.length;b++){if(c[b].offsetHeight){c[b].UPL=c[b].UPL||1;c[b].UPL++;c[b].onscroll();}else{c[b].UPL=1;}}};U.D.SY.JZTPJS=function(c,b,a){setTimeout(U.M.apply(this,[[U.M.imgReady,([U.M.GetImgU(c),null,U.M.apply(null,[[U.D.SY.DYWPTP,([b,null,a])]]),U.M.apply(null,[[U.M.ImgError,(["this",1])],[U.D.SY.DYWPTP,([b,null,a])]])])]]));};U.D.SY.DYWPTP=function(d,h,b,a){if(this!==window){d.appendChild(this);var g,f=[this.offsetWidth,this.offsetHeight],c=$(d).Parent(),e=c.clientHeight-(h||0);a=a||{};if(f[0]){d.style.height=f[1]+"px";f[1]=d.clientHeight;$(d).addAttrArray({"style":{"height":f[1]+"px","marginTop":(f[2]=f[1]-e)>0?-(f[2]/2)+"px":"","paddingTop":a["paddingTop"]||(e>f[1]?((e-f[1])/2)+"px":"")},"onclick":d.onclick||[[U.M.StopBubble],[U.D.Img.Img,([b||US.userInfo,{"Time":b.ArticleAddTime||b.UserFilesAddTime,"Thm":this.src,"Img":this.src}])]]});}}};U.D.SY.TYYS=function(b,h,j,a,g){var c,f,e,d;c=$$("div",{"className":h});f=$$("div",{"className":"UD_SYSXZZXLCOT"},c);e=$$("div",{"className":"UD_SYSXZZXLCOTI"},f);$$("img",{"onerror":U.M.ImgError,"onclick":[[U.D.SY.UIFZX,([b])]],"src":j},e);d=$$("div",{"className":"UD_SYSXZZXLCOTO"},f);$$("div",{"className":"UD_SYSXZZXLCOTN UTDF","innerHTML":a},d);$$("div",{"className":"UD_SYSXZTSI","innerHTML":g},d);return c;};U.D.T.FYGBL=function(b,e,g){g=g||[10,300];var d,a=g[1]/g[0],c=Math.ceil(e/a),f=e%a;e=!f?a:f;if(b&&(b=b[c])){d=b.slice((e-1)*g[0],(e*g[0]));}return[d,c];};U.D.SY.WPMHBK=function(a,b,e){e=e||[];var c,d=$$("div",{"className":"UD_SYSXZBFLT","style":e[0]||{}},a);c=$$("div",{"className":"UD_SYSXZBFLTW"},d);$$("div",{"className":"UD_SYSXZBFLTWO","innerHTML":"?","style":e[1]||{}},c);$$("div",{"className":"UD_SYSXZBFLTWT","innerHTML":"?","style":e[2]||{}},c);$$("div",{"className":"UD_SYSXZBFLTC","innerHTML":b,"style":e[3]||{}},d);};U.D.SY.JBXS=function(a){U.D.SetDTop(a.addAttrArray({"style":{"-moz-opacity":"0","opacity":"0","display":"block"}}).animate({"-moz-opacity":"1","opacity":"1"},300)[0]);};U.D.SY.TYSZTX=function(h){var g,e,d,f,b,m=US.Disk.diskfileTree,c=US.userInfo.userid,l={"Name":"innerText","IT":"innerText","Img":"src"},a={"Name":[[],["UD_SYSXZLRTCTN","UD_SYSXRTN","UD_SYSXKTN","UD_SYWLIRN"]],"IT":[[],["UD_SYSXKTC","UD_SYWLIRZ"]],"Img":[["UD_SYSSRF","UD_SYSXRTI","UD_SYSXKTY","UD_SYHZLTI","UD_SYSXZBEOI","UD_SYXT"],["UD_SYWLIL"]]};for(g in h){for(e=0;e<(a[g]&&a[g].length);e++){f=a[g][e];for(d=0;d<f.length;d++){if(e<2||m[1][2]==c){(b=$("#"+f[d]+((!e)?"&img":""))[0]);(b)&&(b[l[g]]=((l[g]=="src")?U.M.GetImgU(h[g]):h[g]));}}}}};U.D.SY.HDDB=function(a){U.M.SCT(a||0,$("#UD_SYSXN")[0]);};