1 |
- document.domain="1473.cn";var Namespace={register:function(d){var c,b=window,e=d.split("."),a=_SN="";for(c=0;c<e.length;c++){if(b[e[c]]==null){b[e[c]]=new function(){};}b=b[e[c]];}},Add:function(b,c){for(var a in c){if(c.hasOwnProperty(a)){b[a]=c[a];}}}};var US={userinfo:{},Disk:{},Blog:{},PB:{},Friend:{},NLInfo:{},G:{}};Namespace.Add(US,{"ITID":"","fs":"http://fs.1473.cn/","afs":"http://appfs.1473.cn/","PID":"1e0742d8-737e-46e2-b03b-2f23ca8c1f17","ms":"/","DG":"7aeaab56-485f-4150-b781-8ffd86d593ce","PG":"93553847-e299-464c-a0e2-c15872efb6ae","MG":"8a2135ff-746a-43a8-97b8-552d228a00bb","VG":"bf21bf7a-1e95-4194-8e4a-e9334d7d998d","ER":"/img/error.png","Height":window.screen.availHeight,"Width":window.screen.availWidth,"NU":"00000000-0000-0000-0000-000000000000","ZV":1});Namespace.Add(US.PB,{"TZGG":{},"cp":"28d8089d-ee85-4f9b-b1b6-8c1d8ccff719","ns":"8b19f836-b2b6-4551-9ca5-72cdfce78364","pe":"e1c047a7-6896-474c-8424-de64a24fcd78","ie":"ceec8965-79bf-4670-b80b-27de1eba6288","li":"1346e7d2-afee-4f40-a17f-1abd86e3d77f","tr":"72f1cec4-cea5-49f5-bd62-2afac391f586","sc":"15d04a6c-ab10-44cd-ac8a-850624244a1b","zh":""});US.PB.Category=[US.PB.cp,US.PB.ns,US.PB.pe,US.PB.ie,US.PB.tr,US.PB.sc];Namespace.Add(US.PB.TZGG,{"all":"099a06fe-073b-4426-aa20-7703aa94322e","oper":"37590de6-e3df-4272-bff6-39414f7141d8","deve":"57dac622-1570-4269-89ed-d4e7b9d9ca4a"});US.PB.News=null;Namespace.register("U.Extend");var win=window,doc=document;var $$=function(d,b,c){var a=(c==null?doc:(c.ownerDocument==null?c:c.ownerDocument)).createElement(d);(b)&&($(a).addAttrArray(b));(c)&&(c.appendChild(a));return a;};var $=U.Extend=function(b,a){return new U.Extend.fn.init(b,a);};U.Extend.fn=U.Extend.prototype={constructor:U.Extend,Screenwidth:function(){return US.Width;},Screenheight:function(){return US.Height;},init:function(k,g){k=k||doc;g=g||doc;if(typeof k==="string"){var f,e,a,d,l=/[~#.&:>@*=]/g,b=/[^~#.&:>@*=]+/g,c=(k.match(l)||[]),h=k.match(b)||[k];(h.length>c.length)&&(c.unshift(""));for(f=0;f<h.length;f++){switch(c[f]){case"~":a=g.getElementsByName(h[f]);break;case"#":a=a==null?doc.getElementById(h[f]):a[h[f]];break;case".":a=a||g.getElementsByTagName("*");d=[];for(e=0;e<a.length;e++){if(a[e].className==h[f]){d.push(a[e]);}}a=d;break;case"":case"&":a=(a||g).getElementsByTagName(h[f]);break;case":":a=g.getElementsByTagName("tr");d=[];if(a.length){for(e=0;e<a.length;e++){if(h[f]=="even"&&e%2==0){d.push(a[e]);}else{if(e%2!=1){d.push(a[e]);}}}a=d;}break;case"@":a=a||g.getElementsByTagName("*");d=[];for(e=0;e<a.length;e++){if(c[f+1]=="="){if(a[e].getAttribute(h[f])==h[f+1]){d.push(a[e]);f++;}}else{if(a[e].getAttribute(h[f])!=null){d.push(a[e]);}}}a=d;break;case"*":if(window.document[h[f]]){a=window.document[h[f]];}else{if(navigator.appName.indexOf("Microsoft")==-1){a=document.embeds[h[f]];}else{a=doc.getElementById(h[f]);}}break;default:break;}}}else{a=k;}if(a&&!(a instanceof Array&&a[0]==null)){if(a.length==null||a.id!=null){a=[a];}for(f=0;f<a.length;f++){this[f]=a[f];(a[f].id!="")&&(this[a[f].id]=a[f]);}this.context=g;this.length=a.length;}return this;}};U.Extend.fn.init.prototype=U.Extend.fn;U.Extend.extend=U.Extend.fn.extend=function(b){for(var a in b){this[a]=b[a];}return this;};U.Extend.fn.extend({Child:function(a){a=a||0;return U.M.GTCN(this[a].children);},remove:function(b){var a,c=b=b||0,d=(b||this.length-1)+1;for(c=0;c<d;c++){a=this[c];a.parentNode.removeChild(a);}},animate:function(o,l,a){var g,d,h,s=U.CI.getBrowser().ver,n=!((s=="7.0"||s=="8.0")&&l!=2222),c,q=0,f={},m=/[0-9]/;for(g=0;g<this.length;g++){for(d in o){if(o.hasOwnProperty(d)){if(m.test(o[d])&&n){h=this.css(d,null,g);c=true;f[d]=parseFloat((h=="auto"||h==null)?0:h);}else{this.css(d,o[d]);delete o[d];}}}}if(c){var b,r,p,e,k=this;n=setInterval(function(){q+=10;for(g=0;g<k.length;g++){for(d in o){if(o.hasOwnProperty(d)){b=f[d];r=parseFloat(o[d]);p=(r-b)/l,e=o[d].replace(/[^a-z]/ig,"");k.css(d,(b+(p*q))+e,g);}}}if(q>=l){window.clearInterval(n);(a)&&(a());}},10);}else{(a)&&(a());}return this;},css:function(f,e,b){if(f){var d,a,c=false;if(e){a=b+1||this.length;d=b||0;c=e;for(;d<a;d++){this[d].style[f]=e;}}else{b=b||0;c=U.M.GetStyle(this[b],f);}}return c;},addAttrArray:function(a,g){if(this.length>0){var d,c,e,b,f=g||0,h=g+1||this.length,l=U.CI.getBrowser().ver;for(;f<h;f++){for(d in a){if(a.hasOwnProperty(d)){e=a[d];if(typeof e!="object"){if(this[f][d]===undefined){this[f].setAttribute(d,e);}else{this[f][d]=e;}}else{if(e!=null){if(U.M.GetType(e)=="Array"){if(typeof e[0]=="function"){e=[e];}this[f][d]=U.M.apply(this[f],e);}else{for(c in e){if(e.hasOwnProperty(c)){this[f][d][c]=e[c];}}}}else{this[f][d]=e;}}}}}return this;}},GetElementInfo:function(a){return U.M.GetElementInfo(this[a||0]);}});Namespace.register("U.CI");U.CI.ua=navigator.userAgent.toLowerCase();var browser={};browser.msie=/(;|\()(\s+|)(ms|)ie(\s+|)(\d+)\.(\d+)/gi.test(U.CI.ua);browser.ver=U.CI.ua.match(/(msie|firefox|chrome|opera|version|rv).*?([\d.]+)/)[0];browser.firefox=(/firefox\/([\d.]+)/).test(U.CI.ua);browser.chrome=(/chrome\/([\d.]+)/).test(U.CI.ua);browser.lb=U.CI.ua.indexOf("lbbrowser")>-1;U.CI.GCInfo=function(){U.CI.IEedition();};U.CI.GCUInfo=function(a){if(US.NLInfo["country"]){a();}else{U.MD.DynamicLoad("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js","js",[[U.CI.AsyGCUInfo,([a])]]);}};U.CI.AsyGCUInfo=function(a){try{_$(US.NLInfo).Add(remote_ip_info);US.NLInfo.LogAddr=remote_ip_info["country"]+remote_ip_info["province"]+remote_ip_info["city"]+remote_ip_info["district"]+remote_ip_info["isp"]+remote_ip_info["type"];}catch(b){return;}a&&a();};U.CI.getBrowser=function(){var a=U.CI.ua.match(/(msie|firefox|chrome|ipad|iphone|opera|version|rv).*?([\d.]+)/);return{"browser":a[1],"ver":a[2]};};U.CI.IEedition=function(){var b=U.CI.getBrowser();var a=U.CI.getSystem();if(b.browser=="msie"&&b.ver=="6.0"){$("#UD_CI_getBrowser")[0].style.display="block";}if(a.indexOf("win")>-1){U.CI.Win(b,a);}if(b.browser=="ipad"){U.CI.Ipad();}if(b.browser=="iphone"){}if(b.browser=="firefox"){$("#UD_CI_getBrowser")[0].style.display="block";}};U.CI.Win=function(d,c){if(!browser.lb&&d.browser=="msie"&&d.ver!="10.0"){var b="http://j.union.ijinshan.com/jump.php?u_key=25975",a="猎豹";if(c=="win7"){if(d.ver=="8.0"||d.ver=="7.0"){b="http://download.microsoft.com/download/4/C/A/4CA9248C-C09D-43D3-B627-76B0F6EBCD5E/IE9-Windows7-x86-chs.exe";a="IE9";}}else{if(c=="winxp"){if(d.ver=="6.0"||d.ver=="7.0"){b="http://download.microsoft.com/download/1/6/1/16174D37-73C1-4F76-A305-902E9D32BAC9/IE8-WindowsXP-x86-CHS.exe";a="IE8";}}}U.CI.WinDIs(b,a);}};U.CI.WinDIs=function(d,c){var a,b=document.createDocumentFragment();a=$$("div",{"id":"UD_CI_BAlert","className":"UD_CI_BAlert"},b);$$("div",{"className":"UD_CI_Warn"},a);$$("div",{"className":"UD_CI_Text","innerHTML":"您使用的浏览器版本过低建议您下载"},a);$$("a",{"className":"UD_CI_DL","href":d,"innerHTML":c},a);$$("a",{"className":"UD_CI_Text_Click","href":"javascript:void(0);","onclick":U.M.apply(a,"retElement.style.display = 'none';"),"innerHTML":"我知道了"},a);document.body.appendChild(a);setTimeout(U.M.apply(a,[[U.CI.SetUserD,(["retElement"])]]),10000);};U.CI.SetUserD=function(a){$(a).addAttrArray({"style":{"display":"block"}}).animate({"top":"80px","left":US.Width/1.7+"px"},400);};U.CI.Ipad=function(){document.ontouchmove=U.M.StopDefault;};U.CI.getSystem=function(){var d="未知",e,c;var a=navigator.platform;var f={"Windows NT 5.1":"WinXP","Windows NT 6.1":"Win7","Windows NT 6.0":"Windows Server 2008","Windows NT 6.2":"Win8","Windows NT 5.2":"Windows Server 2003","Windows NT 5.0":"Win2000","Win 9x 4.90":"WinME"};var b={"Apple series":"Mac68K,MacPPC,Macintosh","Unix series":"X11"};for(e in f){if(U.CI.ua.indexOf(e.toLowerCase())>-1){return f[e].toLowerCase();}}for(c in b){if(a.indexOf(b[c])>-1){return c;}}return d;};U.CI.IsHF=function(){var a=false;if(!(a=navigator.plugins["Shockwave Flash"])){if(ActiveXObject){a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}}return a;};U.CI.IsHFF=function(){if(typeof(Worker)!=="undefined"){return true;}return false;};Namespace.register("U.M");Namespace.register("U.MC");U.M.HEPropert=function(c,f,d,a){var b=function(){return d.apply(this,[]);};var e=function(g){return a.apply(this,[g,f]);};if(Object.defineProperty){Object.defineProperty(c,f,{get:b,set:e});}else{if(c.__defineGetter__){c.__defineSetter__(f,e);c.__defineGetter__(f,b);}else{c[f]=b;c[f].toString=b;c.attachEvent("onpropertychange",function(){if(event.propertyName==f){c.detachEvent("onpropertychange",arguments.caller);e(c[f]);c[f]=b;c[f].toString=b;c.attachEvent("onpropertychange",arguments.caller);}});}}};U.M.Setprototype=function(a,d,c){if(typeof d=="object"){for(var b in d){a.prototype[b]=d[b];}}else{a.prototype[d]=c;}};U.M.GetMousep=function(a){var b={"scrollLeft":0,"offsetLeft":0,"scrollTop":0,"offsetTop":0};(a)&&(b=U.M.TOSP(a));return{"X":event.clientX+(document.documentElement.scrollLeft)+b.scrollLeft-b.offsetLeft,"Y":event.clientY+(document.documentElement.scrollTop)+b.scrollTop-b.offsetTop};};U.M.pageXY=function(c){var a,b=[0,0];while(c){a=U.M.GetStyle(c,"position");if(a!="static"){b[0]+=c.offsetTop;b[1]+=c.offsetLeft;}c=c.offsetParent;}return b;};U.M.TOSP=function(c){var a,c=c.offsetParent,b=document.body;while(c&&c!=b){a=U.M.GetStyle(c,"position");if(a!="static"){break;}c=c.offsetParent;}return c||b;};U.M.GetElementInfo=function(d){if(d){var b=d.getBoundingClientRect(),c=U.M.TOSP(d),a=U.M.pageXY(d);return{"CH":d.clientHeight,"CW":d.clientWidth,"OH":d.offsetHeight,"OW":d.offsetWidth,"OL":d.offsetLeft,"OT":d.offsetTop,"SL":d.scrollLeft,"ST":d.scrollTop,"PXT":(document.documentElement.scrollTop)+c.scrollTop,"PXL":(document.documentElement.scrollLeft)+c.scrollLeft,"TX":a[1],"TY":a[0],"BCRH":b.bottom-b.top,"BCRW":b.right-b.left,"BCRT":b.top,"BCRL":b.left,"BCRB":b.bottom,"BCRR":b.right};}return{};};U.M.EISE=function(b,a){if(b&&a){if(b.contains){if(b.contains(a)){return true;}}else{if(b.compareDocumentPosition){if(!(!!(b.compareDocumentPosition(a)))){return true;}}}}return false;};U.M.GetStyle=function(b,a){if(b.style[a]){return b.style[a];}else{if(b.currentStyle){return b.currentStyle[a];}}return"";};U.M.GetCById=function(d,a){var b,c=U.M.GTCN(d.childNodes);for(b=0;b<c.length;b++){if(c[b].id==a){return c[b];}}};U.M.IndexOfParent=function(d){var c=d.parentNode,a,b;if(!c){return -1;}b=c.childNodes;for(a=0;a<b.length;a++){if(b[a]==d){return a;}}return -1;};U.M.GTPN=function(a,b){while(a&&a.id!=b){a=a.parentNode;}return a;};U.M.GTCN=function(c){var b,a=[];for(b=0;b<c.length;b++){if(c[b].nodeType==1){a.push(c[b]);}}return a;};U.M.GetDE=function(c){var a,b=document.body;while(c&&c!=b){if(c.tagName){a=c.tagName.toLocaleLowerCase();if(a=="textarea"||a=="input"||(c.contentEditable=="true")){break;}}c=c.parentNode;}return c;};U.M.SetElement=function(k,c,l,h){if(k){(typeof(k)=="string")&&(k=$$("div",{"innerHTML":k}));k=k||document;var g,f,b,a=[],e=true,d=k.getElementsByTagName(c);if(h!=false){for(g=0;g<d.length;g++){b=d[g];if(h){for(f in (h||{})){if(h.hasOwnProperty(f)){if(h[f]!=d[g][f]&&d[g].getAttribute(f)!=h[f]){e==false;}}}}if(e){if(l=="De"){a.push(d[g].parentNode.removeChild(d[g]));g--;}else{$(b).addAttrArray(l);}}}}(l=="De")&&(d=[a.length>0?a:d,k]);return d;}return[];};U.M.RLocate=function(b){var c=U.M.GetMousep(),a=U.M.GetElementInfo(b);if(c["X"]+a["CW"]>US.Width){c["X"]-=UTL["CW"];}else{if(c["Y"]+a["CH"]>US.Hieght){_EV["Y"]-=_TL["CH"];}}$(b).addAttrArray({"style":{"left":c["X"]+"px","top":c["Y"]+"px","display":"block"}});};U.M.GetEvent=function(){var b,d=window.event,c,a=["UseStudioBlogSystemIframe","UseStudioStudyControlDivIframe","US_Manage_Out_AppIframe"];if(!d){for(b=0;b<a.length;b++){c=window.frames[a[b]];if(c){try{d=c.event;if(d){break;}}catch(f){continue;}}}}return d;};U.M.StopBubble=function(){var a=U.M.GetEvent();if(a){if(a.stopPropagation){a.stopPropagation();}else{a.cancelBubble=true;}return false;}};U.M.onmouseout=function(b){if(event&&"mouseover,mouseout".indexOf(event.type)>-1){var a=(event.type=="mouseover"?event.fromElement:event.toElement)||event.relatedTarget;return U.M.EISE(b,a);}return false;};U.M.StopDefault=function(){var a=a||window.event;if(document.all){a.returnValue=false;}else{a.preventDefault();}return false;};U.M.ImgError=function(a,b){a=a||(window.event.srcElement)||this;a=a==event?(window.event.srcElement):a;if(b==1){$(a).addAttrArray({"src":"/img/error.png","width":"111px","height":"111px"});}else{if(b==2){a.src=a.src.substr(0,(a.src.lastIndexOf("?&n")==-1?a.src.length:a.src.lastIndexOf("?&n")))+"?&n="+Math.random();}else{a.src="/img/UserHead/UseHead.jpg";}}};U.M.GetImgU=function(a){return(a==null?"/img/UserHead/UseHead.jpg":a.indexOf("http")>-1?a:((a.indexOf("www.1473.cn")>-1?a:US.fs+a.replace(new RegExp(US.fs,"gm"),""))));};U.M.ImageZoom=function(d,a){var c,b,e;d=d||this;if(d.height!=0&&d.width!=0){if(a["height"]){if(a["height"]<d.height){c=a["height"]/d.height;b=a["height"];}else{c=1;b=d.height;}e=d.width*c;}else{if(a["width"]){if(a["width"]<d.width){c=a["width"]/d.width;e=a["width"];}else{c=1;e=d.width;}b=d.height*c;}}$(d).addAttrArray({"style":{"width":e+"px","height":b+"px"}});}};U.M.imgReady=(function(){var c,d=[],a=function(){clearInterval(c);c=null;},b=function(){for(var e=0;e<d.length;e++){d[e].end?d.splice(e--,1):d[e]();}!d.length&&a();};return function(i,n,e,h){var f,m,l,g,j=new Image(),k=function(){j=j||this;l=j.width,g=j.height;if((l!==f||g!==m)||g!==0){(n)&&(n.call(j));k.end=true;}};$(j).addAttrArray({"onload":function(){!k.end&&k();e&&e.call(j);j&&(j=j.onload=j.onerror=null);},"onerror":function(){h&&h.call(j);},"src":i});if(j){if(j.complete==true){j.onload();return;}f=j.width,m=j.height;k();}if(!k.end){d.push(k);if(c==null){c=setInterval(b,40);}}};})();U.M.returnkeylogin=function(c,b){if(event.keyCode==13||event.keyCode==10){if(b){U.M.apply(c,b)();}else{if(c){for(var a=0;a<c.length;a++){c[a]["obj"][c[a]["event"]]();}}}U.M.StopDefault();}};U.M.IEVENT=function(b,d){if(b.fireEvent){b.fireEvent("on"+d);}else{if(document.createEvent){var a=document.createEvent("MouseEvents"),c=window.event;a.initMouseEvent(d,true,true,window,c.detail,c.screenX,c.screenY,c.clientX,c.clientY,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,c.button,c.relatedTarget);b.dispatchEvent(a);}}};U.M.AddEvent=function(c,b,a){if(b.addEventListener){b.addEventListener(c,a,false);}else{if(b.attachEvent){b.attachEvent("on"+c,a);}else{b["on"+c]=U.M.apply(b,[[b["on"+c]],[a]]);}}};U.M.ReEvent=function(c,b,a){if(b.removeEventListener){b.removeEventListener(c,a,false);}else{if(b.detachEvent){b.detachEvent("on"+c,a);}else{b["on"+c]=null;}}};U.M.SSCH=function(a){return new U.M.SCH(a);};U.M.SCH=function(a){this.Y;this.AF=a["AF"];this.P=0;this.TF=true;};U.M.SCH.prototype={init:function(){},SCH:function(){var b=this,a;return function(){b.Y=this;(a)&&(clearTimeout(a),a=null);a=setTimeout(function(){b.ZSCH();},0);};},ZSCH:function(b){var a,c;if(this.Y.scrollTop!=0){a=this.Y.scrollTop;}else{a=document.documentElement.scrollTop;}a+=this.Y.clientHeight;c=this.Y.scrollHeight;if((c-2<a)&&this.TF){this.AF.call(this);this.P++;}}};U.M.apply=function(retElement,UDE){if(UDE){if(typeof UDE=="string"){return function(){eval(UDE);};}else{if(typeof UDE=="function"){return UDE;}else{return function(){var i,j,_UV,_UR,T=(retElement)||this,_UAR=Array.prototype.slice.apply(arguments);for(i=0;i<UDE.length;i++){_UR=UDE[i][1];(!_UR)&&(_UR=[]);((_UAR[0]&&_UAR[0]!=event)||_UAR.length>1)&&(_UR=_UR.concat(_UAR));for(j=0;j<_UR.length;j++){if(typeof _UR[j]=="string"){try{if(_UR[j].indexOf("this")>-1||_UR[j].indexOf("retElement")>-1||_UR[j].indexOf("event")>-1){_UR[j]=eval(_UR[j]);}else{if(/^[0-9]+.?[0-9]*$/.test(_UR[j])&&_UR[j].indexOf("-")==-1&&!(_UR[j].indexOf("0")==0&&_UR[j].length>2)){_UR[j]=Number(_UR[j]);}}}catch(e){}}}try{if(typeof UDE[i][0]=="string"){eval(UDE[i][0]).apply(T,_UR);}else{_UV=UDE[i][0].apply(T,_UR);}}catch(e){U.M.Console(null,e);}}if(_UV!=null){return _UV;}};}}}else{return function(){return false;};}};U.M.Console=function(b,a){if(window.console){window.console[b||"log"](a);}};U.M.QueryString=function(f){var d,b,a,c="",g=window.document.location.search.substr(1),e=g.split("&");for(d=0;d<e.length;d++){a=e[d].split("=");if(a[0].toUpperCase()==f.toUpperCase()){for(b=1;b<a.length;b++){c+=a[b]+(b==a.length-1?"":"=");}break;}}return c;};U.M.GetUF=function(){var a=document.location.hash;return(a)&&(a.split("/"));};U.M.GetCookie=function(f,e){var b,a,d="",c=document.cookie.split("; ");for(b=0;b<c.length;b++){a=c[b].split("=");if(a[0]==f){for(b=1;b<a.length;b++){d+=a[b]+"=";}d;break;}}if(e){c=d.split("&");for(b=0;b<c.length;b++){a=c[b].split("=");if(a[0]==e){return a[1];}}return d;}};U.M.IFO=function(d,b){var a,c=$(d).addAttrArray({"src":"javascript:void((function(){document.open();document.domain='1473.cn';document.close()})())"}).contentWindow;(b)&&(a=c.document.open(),a.write(b),a.close());return d;};U.M.WOP=function(b){var a,c=window.open("javascript:void((function(){document.open();document.domain='1473.cn';document.close()})())");(b)&&(a=c.document.open(),a.write(b),a.close());return c;};U.M.Copy=function(a){if(window.clipboardData){window.clipboardData.setData("text",a);U.Alert("复制地址成功");}else{U.Alert("请手动选择复制");}};U.M.Sequence=function(e,f,a){var d,b,c;for(d=0;d<e.length;d++){for(b=0;b<e.length-d-1;b++){if(a(e[b][f],e[b+1][f])){c=e[b];e[b]=e[b+1];e[b+1]=c;}}}return e;};U.M.SplitArray=function(c){var a,b="";for(a=0;a<c.length;a++){b+=a==c.length-1?encodeURIComponent(encodeURIComponent(c[a]+"")):encodeURIComponent(encodeURIComponent(c[a]+""))+",";}return b;};U.M.JTPL=function(e,d){var b,c=["{","}"],e=e.cloneNode(true),a=e.innerHTML;for(b in d){if(d.hasOwnProperty(b)){a=a.replace(new RegExp(c[0]+b+c[1],"g"),function(){return d[b];});}}a=a.replace(/<script.*?>.*?<\/script>/ig,"").replace(/<script/g,"<script");e.style.display="block";e.innerHTML=a;return e;};U.M.GetType=function(b){try{if(b&&b.constructor&&b.constructor.toString){var a=b.constructor.toString().match(/function\s*(\w+)/);if(a&&a.length==2){return a[1];}}}catch(c){}};U.M.asyncInnerHTML=function(d,b){var c=$$("div",{}),a=document.createDocumentFragment();c.innerHTML=H;(function(){if(c.firstChild){a.appendChild(c.firstChild);setTimeout(arguments.callee,0);}else{b([a]);}})();};if(window.print){(function(){document.oncontextmenu=U.M.StopDefault;document.onselectstart=function(){U.M.StopBubble();var b=U.M.GetDE(event.srcElement),c=b.tagName.toLocaleLowerCase();if(b.nodeType==3||("textarea,input".indexOf(c)>-1||(c=="div"&&b.contentEditable=="true"))){return true;}else{return false;}};var a=function(){if(event.keyCode==8){if(U.M.GetDE((event.srcElement))==document.body&&!document.body.isContentEditable){U.M.StopDefault();}}};U.M.AddEvent("keydown",document,a);U.M.AddEvent("keypress",document,a);})();}Namespace.register("U.M");U.M.ODE=[];U.M.onresize=function(){};U.M.onresize.prototype={init:function(){window.setInterval(this.onresize,100);return this;},get:function(){try{return this.onresize;}catch(a){return null;}},set:function(b){var a,d=U.M.ODE,c=U.M.GetElementInfo(this);for(a=0;a<d.length;a++){if(d[a]["UEL"]===this){if(b==null){d.splice(a,1);}else{d[a]["CF"]=b;}return;}}U.M.ODE.push({"E":c,"UEL":this,"CF":b,"UW":c["CW"],"UH":c["CH"]});},onresize:function(){var b,d=U.M.ODE,a,c;for(b=0;b<d.length;b++){a=d[b];(a["CF"]==null)&&(d.splice(b,1));c=U.M.GetElementInfo(a["UEL"]);(a["UW"]!=c["CW"]||a["UH"]!=c["CH"])&&(a["CF"](),a["UW"]=c["CW"],a["UH"]=c["CH"]);}}};U.M.innerText=function(){};U.M.innerText.prototype={get:function(){return this.textContent;},set:function(a){this.textContent=a;}};U.M.outerHTML=function(){};U.M.outerHTML.prototype={get:function(){var b=this.cloneNode(true),a=$$("div",{});a.appendChild(b);return a.innerHTML;},set:function(){}};U.M.outerText=function(){};U.M.outerText.prototype={get:function(){var b=this.cloneNode(true),a=$$("div",{});a.appendChild(b);return a.textContent;},set:function(){}};U.M.currentStyle=function(){};U.M.currentStyle.prototype={get:function(){return getComputedStyle(this,false);},set:function(){}};U.M.onreadystatechange=function(){};U.M.onreadystatechange.prototype={get:function(){return this.onload;},set:function(a){this.onload=a;}};U.M.setCapture=function(){};U.M.setCapture.prototype={get:function(){return function(){window.captureEvents(Event.MOUSEMOVE);};},set:function(){}};U.M.releaseCapture=function(){};U.M.releaseCapture.prototype={get:function(){return function(){window.releaseEvents(Event.MOUSEMOVE);};},set:function(){}};U.M.event=function(){};U.M.event.prototype={get:function(a){var b=arguments.callee.caller;while(b.caller){b=b.caller;}return b.arguments[0];},set:function(){}};U.M.srcElement=function(){};U.M.srcElement.prototype={get:function(){return event.target;},set:function(){}};U.M.keyCode=function(){};U.M.keyCode.prototype={get:function(){return event.which;},set:function(){}};U.M.componentFromPoint=function(){};U.M.componentFromPoint.prototype={get:function(){return function(){var a=U.M.GetMousep(),b=U.M.GetElementInfo(this);if((a["X"]>b["CW"]+b["TX"]+b["OL"])||(a["Y"]>b["CH"]+b["TY"]+b["OT"])){return"outside";}return"";};},set:function(){}};U.M.onmousewheel=function(){};window.JSON=function(a){for(var b in a){if(a.hasOwnProperty(b)){this[b]=a[b];}}};window.JSON.prototype={};if(!browser.msie||browser.ver.indexOf("msie")<0){(function(){var a;if(!("innerText" in HTMLElement.prototype)){a=new U.M.innerText();U.M.HEPropert(HTMLElement.prototype,"innerText",a.get,a.set);}if(!("outerHTML" in HTMLElement.prototype)){a=new U.M.outerHTML();U.M.HEPropert(HTMLElement.prototype,"outerHTML",a.get,a.set);}if(!("outerText" in HTMLElement.prototype)){a=new U.M.outerText();U.M.HEPropert(HTMLElement.prototype,"outerText",a.get,a.set);}if(!("currentStyle" in HTMLElement.prototype)){a=new U.M.currentStyle();U.M.HEPropert(HTMLElement.prototype,"currentStyle",a.get,a.set);}if(!("onreadystatechange" in HTMLElement.prototype)){a=new U.M.onreadystatechange();U.M.HEPropert(HTMLElement.prototype,"onreadystatechange",a.get,a.set);}if(!("setCapture" in HTMLElement.prototype)){a=new U.M.setCapture();U.M.HEPropert(HTMLElement.prototype,"setCapture",a.get,a.set);}if(!("releaseCapture" in HTMLElement.prototype)){a=new U.M.releaseCapture();U.M.HEPropert(HTMLElement.prototype,"releaseCapture",a.get,a.set);}if(!("onresize" in HTMLElement.prototype)){a=(new U.M.onresize()).init();U.M.HEPropert(HTMLElement.prototype,"onresize",a.get,a.set);}if(!("event" in window.constructor.prototype)){a=new U.M.event();U.M.HEPropert(window.constructor.prototype,"event",a.get,a.set);}if(!("srcElement" in Event.prototype)){a=new U.M.srcElement();U.M.HEPropert(Event.prototype,"srcElement",a.get,a.set);}if(!("componentFromPoint" in HTMLElement.prototype)){a=new U.M.componentFromPoint();U.M.HEPropert(HTMLElement.prototype,"componentFromPoint",a.get,a.set);}})();}if(browser.firefox){(function(){addEventListener("DOMMouseScroll",function(e){var _UEL=e.target,_OMWL=(_UEL.getAttribute("onmousewheel")||e.target.onmousewheel);while(_OMWL==null&&_UEL){_UEL=_UEL.parentNode;_OMWL=(_UEL.getAttribute("onmousewheel")||_UEL.onmousewheel);}if(_OMWL){U.M.StopDefault();_UEL.onmousewheel=_OMWL;if(typeof _OMWL!="function"){eval("_UEL.onmousewheel = "+_OMWL);}setTimeout(function(){_UEL.onmousewheel(e);},1);}},false);})();if(!("keyCode" in Event.prototype)){var _TF=new U.M.keyCode();U.M.HEPropert(Event.prototype,"keyCode",_TF.get,_TF.set);}}var _$=function(b,a){return new Json(b,a);};window.Json=function(b,a){this.init();this.Value=b||{};this.CTI=null;this.Parent=a||window;};window.Json.prototype={init:function(){},NL:function(a,b){for(i=0;i<a.length;i++){this.Value[a[i]]=b[i];}return this.Value;},List:function(){var b,a=0,d={},e=arguments,c=this.Value;for(b in c){if(c.hasOwnProperty(b)){d[b]=e[a];a++;}}return d;},Add:function(c){var a,b=this.Value;for(a in c){if(c.hasOwnProperty(a)){b[a]=c[a];}}},FineOne:function(b,a){return(this.Select(b,a,1))[0];},Select:function(g,e,f,b){var d,a,a=this.Value,c=U.M.GetType(a);b=b||[];if(c=="Object"||c===undefined){if(this.IsTF(g)){b.push(this.Value);}if(e===true){for(d in a){if(b.length==f){break;}_$(a[d],this).Select(g,e,f,b);}}else{if(e){if(b.length==f){return b;}(a[e])&&(_$(a[e],this).Select(g,e,f,b));}}}else{if(c=="Array"){for(d=0;d<a.length;d++){if(b.length==f){break;}_$(a[d],this.Parent).Select(g,e,f,b);}}}return b;},indexOf:function(a){},Change:function(e,d){var c,a=this.Value,b=U.M.GetType(a);if(b=="Object"){if(d){if(e[d]!==a[d]){return;}}for(c in e){if(e.hasOwnProperty(c)){a[c]=e[c];}}}else{if(b=="Array"){for(c=0;c<a.length;c++){_$(a[c],this).Change(e);}}}},Delete:function(h,f,d){var e,g,a=this.Value,c=U.M.GetType(a),b=[];if(c=="Object"||c===undefined){if(this.IsTF(h)){if(d!=null){this.Parent.Value.splice(d,1);}else{delete a;}b.push(a);}else{if(f===true){for(e in a){b=b.concat(_$(a[e],this).Delete(h,f));}}else{if(f){(a[f])&&(b=b.concat(_$(a[f],this).Delete(h,f)));}}}}else{if(c=="Array"){for(e=0;e<a.length;e++){g=_$(a[e],this).Delete(h,f,e);b=b.concat(g);(g&&g.length)&&(e--);}}}return b;},Reset:function(d){var b,a=this.Value,c;for(b=0;b<a.length;b++){if(_$(a[b]).IsTF(d)){a.unshift(a.splice(b,1)[0]);}}return a;},Like:function(e){var c,a=this.Value,b=U.M.GetType(a),d=[];if(b=="Object"||b===undefined){for(c in e){if(a[c].indexOf(e[c])>-1){return a;}}}else{for(c=0;c<a.length;c++){_UZ=_$(a[c],this).Like(e);(_UZ)&&(d=d.concat(_UZ));}return d;}},PSS:function(a){},DeleteBV:function(c){var b,a=this.Value;for(b in a){if(a[b]==c){delete a[b];}}},IsTF:function(d){var c,b,a=this.Value;for(c in d){if(d.hasOwnProperty(c)){if(d[c]===a[c]){b=true;}else{b=false;break;}}}return b;},FSL:function(c){var d,a=this.Value,b=[];for(d=0;d<a.length;d++){b.push(a[d][c]);}return b;},CIndex:function(a){},ToString:function(){return U.MS.SerializeJsonToStr(this.Value);}};Namespace.register("U.A");U.A.requests=[];U.A.Request=function(c,d,a,b){return new U.A.AjaxR(c,d,a,b).init();};U.A.AjaxR=function(c,d,a,b){this.FN=c;this.context=b;this.callback=a;this.SP=d;this.Time=new Date();};U.A.FE=U.A.AjaxR.prototype={init:function(){var d,c="POST",a="",b=this.JF()+this.FN,e=typeof(this.callback)=="function";if(this.FN.substr(0,4)=="http"){b=this.FN;this.FN="mode";}d=this.FN+"="+this.SA()+"&UserId="+((top.US)&&(top.US.userInfo)&&(top.US.userInfo.userid))||a;this.request=this.CA();this.request.TO.open(c,b,e);this.request.TO.setRequestHeader("Cache-Control","no-cache");this.request.TO.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded;charset=UTF-8");this.request.TO.send(d);if(e){this.AC();}else{return this.AR();}},CA:function(){var a,b=U.A.requests.length;for(a=0;a<b;a++){if(U.A.requests[a].TO.readyState==4){U.A.requests[a].TO.onreadystatechange=U.M.apply();U.A.requests[a].TO.abort();U.A.requests[a].context=this.context;return U.A.requests[a];}}return(U.A.requests[b]={"TO":(window["XMLHttpRequest"]?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP")),"context":this.context});},SA:function(){return U.M.SplitArray(this.SP);},JF:function(){var a=this.FN.split(".");if(a[0]=="Upload"){return"http://disk.1473.cn/USupfile.ashx?functionname=";}else{return"http://main.1473.cn/Mian.ashx?functionname=";}},LD:function(){U.MD.loading(this.context[0]);},SLD:function(a){(a)&&(U.MD.uploading(a));},AC:function(){var a=this.context;(a)&&(a[0])&&(this.LD(a[0]));this.request.TO.onreadystatechange=U.M.apply(this,([[this.AE,(["retElement"])]]));},AE:function(){if(this.request.TO.readyState==4){var a;this.SLD(this.context[0]);(this.AR)&&(a=this.AR());U.M.Console(null,{"T":(new Date()).getTime()-this.Time.getTime(),"N":this.FN,"V":a.error});(a)&&(this.callback(a));}},AR:function(){var b,a={"request":this.request.TO,"error":null,"value":null,"context":this.context};try{a["value"]=this.JO();a.error=b=new U.A.Error();(b.ISError(a["value"]))&&(b.SetE(a["value"]),b.ErrorS());}catch(c){}return a;},JO:function(){var i,_UDTO=this.request.TO,_UR=_UDTO.responseXML;(_UR)&&(_UR=_UDTO.responseXML.xml);if(!_UR){try{_UR=(eval(_UDTO.responseText));(_UR==null||typeof _UR=="function")&&(_UR=_UDTO.responseText);try{for(i=0;i<_UR.length;i++){_UR[i]=eval(_UR[i]);}}catch(e){}}catch(e){_UR=_UDTO.responseText;}}return _UR;}};U.A.Error=function(){this.State=this.LogID=this.Value=this.Dt=this.Type=null;};U.A.Error.prototype={"SetE":function(b){for(var a in b){if(b.hasOwnProperty(a)){this[a]=b[a];}}},"ISError":function(b){for(var a in this){if(b.hasOwnProperty(a)){if(b[a]===undefined){return false;}}}return true;},"ErrorS":function(){}};Namespace.register("U.AFB");U.AFB.GoList={};U.AFB.RGoL=function(a){(U.AFB.GoList[a]==null)&&(U.AFB.GoList[a]={"OF":[],"OL":0});};U.AFB.AddEvent=function(a,b){a=U.M.apply(this,a);U.AFB.AddDrawBack(a,b);a();};U.AFB.AddDrawBack=function(a,b){U.AFB.GoList[b]["OF"].splice(U.AFB.GoList[b]["OL"],0,a);U.AFB.GoList[b]["OL"]++;};U.AFB.DrawBack=function(a){U.AFB.GQH(a);};U.AFB.GoForward=function(a){U.AFB.GQH(a,true);};U.AFB.GQH=function(e,a){var d=U.AFB.GoList[e],b,c=d["OL"];c-=a?0:2,UCV=a?1:-1;if((b=d["OF"][c])!=null){b();d["OL"]+=UCV;}};Namespace.register("U.D");U.D.RCDG=function(e,d,c){d=d.toUpperCase();var a=new U.D.RCDG(e,d,c);var b=a.init();if(b){document.onmousemove=U.M.apply(a,[[a[d]]]);document.onmouseup=U.M.apply(a,[[a.MouseUp]]);}};U.D.RCDG=function(d,a,c){this.SO=d;this.T=a;this.AF=c;this.E=U.M.GetElementInfo(d);this.DE;this.X=this.Y=this.W=this.H=0;var b;this.P=["Top","Left","Bottom","Right"];for(b=0;b<this.P.length;b++){this.P[b]=parseInt(U.M.GetStyle(this.SO,"padding"+this.P[b])||0);}};U.D.RCDG.prototype={MaxWidth:$.fn.Screenwidth(),MinWidth:150,MaxHeight:$.fn.Screenheight(),MinHeight:50,init:function(){if(document.body.clientWidth!=this.SO.clientWidth&&document.body.clientHeight!=this.SO.clientHeight){this.IsMinAndMax();this.VDB=U.D.foundVirtualBox(this.SO);this.DE=U.M.GetElementInfo(this.VDB);this.VDB.setCapture();U.D.SetDTop(this.SO);return true;}else{return false;}},IsMinAndMax:function(){this.MaxWidth=(parseInt(U.M.GetStyle(this.SO,"maxWidth"))-this.P[1]-this.P[3])||document.body.clientWidth;this.MinWidth=(parseInt(U.M.GetStyle(this.SO,"minWidth"))+this.P[1]+this.P[3])||this.MinWidth;this.MaxHeight=(parseInt(U.M.GetStyle(this.SO,"maxHeight"))-this.P[0]-this.P[2])||document.body.clientHeight;this.MinHeight=(parseInt(U.M.GetStyle(this.SO,"minHeight"))+this.P[0]+this.P[2])||this.MinHeight;},UP:function(){var c=U.M.GetMousep();c["Y"]=c["Y"]<0?0:c["Y"];var a=c["Y"]-this.DE["OT"];var b=Math.max(Math.min(this.E["OH"]-a,this.MaxHeight),this.MinHeight);this.H=b-this.E["OH"];this.Y=-this.H;$(this.VDB).addAttrArray({"style":{"top":(this.DE["OT"]+this.Y)+"px","height":(this.DE["CH"]+this.H)+"px"}});},DOWN:function(){var c=U.M.GetMousep();var a=c["Y"]-this.E["OT"]-this.DE["OH"];var b=Math.max(Math.min(this.E["OH"]+a,this.MaxHeight),this.MinHeight);this.H=b-this.E["OH"];this.VDB.style.height=(this.H+this.DE["OH"])+"px";},LEFT:function(){var c=U.M.GetMousep();c["X"]=c["X"]<0?0:c["X"];var b=c["X"]-this.E["OL"];var a=Math.max(Math.min(this.E["CW"]-b,this.MaxWidth),this.MinWidth);this.W=a-this.E["CW"];this.X=-this.W;$(this.VDB).addAttrArray({"style":{"left":(this.DE["OL"]+this.X)+"px","width":(this.DE["CW"]+this.W)+"px"}});},RIGHT:function(){var c=U.M.GetMousep();var b=c["X"]-this.E["OL"]-this.DE["OW"];var a=Math.max(Math.min(this.E["OW"]+b,this.MaxWidth),this.MinWidth);this.W=a-this.E["OW"];this.VDB.style.width=(this.W+this.DE["OW"])+"px";},TOPLEFT:function(){this.LEFT();this.UP();},TOPRIGHT:function(){this.UP();this.RIGHT();},BOTTOMLEFT:function(){this.DOWN();this.LEFT();},BOTTOMRIGHT:function(){this.DOWN();this.RIGHT();},MouseUp:function(){document.onmousemove=document.onmouseup=null;$(this.SO).addAttrArray({"style":{"left":(this.E["OL"]+this.X)+"px","top":(this.E["OT"]+this.Y)+"px","width":(this.E["CW"]+this.W-this.P[1]-this.P[3])+"px","height":(this.E["CH"]+this.H-this.P[0]-this.P[2])+"px"}});this.VDB.releaseCapture();this.VDB.parentNode.removeChild(this.VDB);U.D.withf(this["AF"],[this.E["OW"]+this.W,this.E["OH"]+this.H]);}};U.D.foundVirtualBox=function(b){var c=U.M.GetElementInfo(b);var a=$$("div",{"style":{"border":"2px solid Gray","position":"absolute","top":c["OT"]+"px","left":c["OL"]+"px","width":c["OW"]-4+"px","height":c["OH"]-4+"px","zIndex":US.ZV+1}},b.parentNode);return a;};U.D.withf=function(a,o){var d,b,k,l,g;if(a!=null){for(d in a){if(a.hasOwnProperty(d)){if(d=="with"){for(b=0;b<a[d].length;b++){g=a[d][b]["Element"];if(g.length==null){g=[g];}for(var m=0;m<g.length;m++){l=g[m];if(a[d][b]["hdiffer"]){l.style.height=parseInt(o[1])+a[d][b]["hdiffer"]+"px";}if(a[d][b]["wdiffer"]){l.style.width=parseInt(o[0])+a[d][b]["wdiffer"]+"px";}}}}else{k=a[d];if(typeof(k)=="function"){k();return;}for(b=0;b<k.length;b++){if(k[b][1]){k[b][0].apply(this,k[b][1]);}else{k[b][0]();}}}}}}};Namespace.register("U.D");U.D.DragMouseDown=function(d,b,c){if(event.button!=2){var a=new U.D.Drag(d,b);a.init(c);(c)&&(a.IsMinAndMax(c));document.onmousemove=U.M.apply(a,[[a.Drag]]);document.onmouseup=U.M.apply(a,[[a.DragUp]]);}};U.D.Drag=function(b,a){this.SO=b;this.XY=U.M.GetMousep();this.E=U.M.GetElementInfo(b);this.AF=a;};U.D.Drag.prototype={MinTop:0,MaxTop:$.fn.Screenwidth()-10,Minleft:0,Maxleft:$.fn.Screenheight()-10,init:function(){U.D.SetDTop(this.SO);this.MaxTop=this.E["PXT"]+document.body.clientHeight-10;this.Maxleft=this.E["PXL"]+document.body.clientWidth-10;this.Minleft=-this.SO.offsetWidth;this.VDB=U.D.foundVirtualBox(this.SO);this.SO.setCapture();},IsMinAndMax:function(a){this.MinTop=a["MinTop"]||this.MinTop;this.MaxTop=this.E["PXT"]+a["MaxTop"]||this.MaxTop;this.Minleft=a["Minleft"]||-this.SO.offsetWidth;this.Maxleft=this.E["PXL"]+a["Maxleft"]||this.Maxleft;},Drag:function(){var b=U.M.GetMousep();var a=Math.max(Math.min(b["X"]-this.XY["X"]+this.E["OL"],this.Maxleft),this.Minleft);var c=Math.max(Math.min(b["Y"]-this.XY["Y"]+this.E["OT"],this.MaxTop),this.MinTop);$(this.VDB).addAttrArray({"style":{"top":c+"px","left":a+"px"}});},DragUp:function(){var a=U.M.GetElementInfo(this.VDB);$(this.SO).addAttrArray({"style":{"top":(a["OT"])+"px","left":(a["OL"])+"px"}});this.VDB.parentNode.removeChild(this.VDB);this.SO.releaseCapture();document.onmousemove=document.onmouseup=null;U.D.withf(this.AF);}};U.D.DragE;U.D.DragSelectE=function(c){if(event.button!=2){var d=U.M.GetMousep(),b=c["SO"].componentFromPoint(d["X"]+2,d["Y"]);if(b!="outside"&&b.indexOf("scroll")==-1){var a=new U.D.DSelectE(c["SO"],c["CS"],c["FUN"]);a.init();a.SetHover();document.onmousemove=U.M.apply(a,[[a.Drag]]);document.onmouseup=U.M.apply(a,[[a.DragUp]]);c["SO"].onscroll=U.M.apply(a,[[c["SO"].onscroll],[a.CTA],[a.Drag]]);c["SO"].onmousedown=U.M.apply(a,[[a.Event]]);}}};U.D.DSelectE=function(d,b,c,a){this.ESO;this.EL=d;this.PEL=U.M.GetStyle(d,"position")!="static"?d:U.M.TOSP(d);this.CS=b;this.C;this.TC=[];this.Fun=c;this.CB=d.onmousedown;this.OS=d.onscroll;this.X;this.Y;this.TX;this.TY;this.SX;this.SY;this.BX;this.BY;this.H;this.W;this.UX;this.UY,this.PUX;this.PUY;};U.D.DSelectE.prototype={CTA:function(){var a=U.M.GetElementInfo(this.PEL);this.UX=a["SL"]+a["PXL"]-this.PUX;this.UY=a["ST"]+a["PXT"]-this.PUY;this.SX=a["TX"]-this.X-Math.abs(this.UX);this.SY=a["TY"]-this.Y-Math.abs(this.UY);this.BX=a["BCRR"]-this.X+Math.abs(this.UX)-2;this.BY=a["BCRB"]-this.Y+Math.abs(this.UY)-2;},init:function(){this.EL.setCapture();var b=U.M.GetMousep();var a=U.M.GetElementInfo(this.PEL);this.X=b["X"];this.Y=b["Y"];this.PUX=a["SL"]+a["PXL"];this.PUY=a["ST"]+a["PXT"];this.TX=a["TX"]-this.PUX;this.TY=a["TY"]-this.PUY;this.CTA();this.C=this.EL.childNodes;if(this.C[0]){this.W=parseInt(U.M.GetStyle(this.C[0],"marginLeft"))+this.C[0].offsetWidth,this.H=parseInt(U.M.GetStyle(this.C[0],"marginTop"))+this.C[0].offsetHeight;}this.ESO=$$("div",{"className":"UD_DSE","style":{"top":this.Y-this.TY+"px","left":this.X-this.TX+"px"}},this.EL);},Drag:function(){var e=U.M.GetMousep();var c=this.Y-this.TY;var b=this.X-this.TX;var a=e["X"]-this.X+this.UX;var d=e["Y"]-this.Y+this.UY;if(a<0){a=Math.max(a,this.SX);b=b+a;}else{a=Math.min(a,this.BX);}if(d<0){d=Math.max(d,this.SY);c=c+d;}else{d=Math.min(d,this.BY);}$(this.ESO).addAttrArray({"style":{"width":Math.abs(a)+"px","height":Math.abs(d)+"px","top":c+"px","left":b+"px","zIndex":US.ZV+1}});this.IsLocation({"Left":b,"Top":c,"Xt":c+Math.abs(d),"Xl":b+Math.abs(a)});},IsLocation:function(c){this.TC=[];var a=this.GetLXY();for(var b=a[0];((b<this.C.length-1)&&(b<a[1]));b++){if((this.C[b]["offsetLeft"]+this.C[b]["clientWidth"]>c["Left"]&&this.C[b]["offsetTop"]+this.C[b]["clientHeight"]>c["Top"])&&(this.C[b]["offsetLeft"]<c["Xl"]&&this.C[b]["offsetTop"]<c["Xt"])){if(this.C[b].className.indexOf(this.CS)==-1){this.C[b].className=this.C[b].className+" "+this.CS;}this.TC.push(this.C[b]);}else{if(this.C[b].className.indexOf(this.CS)>-1){this.C[b].className=this.C[b].className.split(" "+this.CS)[0];}}}U.D.DragE=this;},GetLXY:function(){var d=[0,0],e=U.M.GetElementInfo(this.EL);if(this.C[0]){var a=Math.floor(e["OW"]/(this.W));var b=Math.ceil(e["OH"]/(this.H));var c=Math.floor((Math.min(e["ST"],this.ESO.offsetTop)/this.H))*a;d[0]=c;d[1]=c+Math.max(Math.ceil(((e["ST"]+e["OH"])/this.H))*a-c,(b*a));}return d;},Event:function(){if(event.button==2){var c=U.M.GetMousep();var a=true;for(var b=0;b<this.TC.length;b++){if((this.TC[b]["offsetLeft"]+this.TC[b]["clientWidth"]>c["X"]-this.TX&&this.TC[b]["offsetTop"]+this.TC[b]["clientHeight"]>c["Y"]-this.TY)&&(this.TC[b]["offsetLeft"]<c["X"]-this.TX&&this.TC[b]["offsetTop"]<c["Y"]-this.TY)){a=false;break;}}if(a){this.SetHover();}else{if(this.Fun){U.M.apply(this,[[this.Fun,([this.TC])]])();}}return a;}else{this.EL.onmousedown=this.CB;this.SetHover();U.M.IEVENT(this.EL,"mousedown");}},DragUp:function(){this.EL.releaseCapture();this.EL.removeChild(this.ESO);this.EL.onscroll=this.OS;document.onmouseup=document.onmousemove=null;this.EL.click();},SetHover:function(){for(var a=0;a<this.TC.length;a++){this.TC[a].className=this.TC[a].className.split(" UDK_RT_hover")[0];}U.D.DragE=this.TC.length=0;}};U.D.iconmove=function(d,b,c){var a=new U.D.ICM(d,b,c).init(d);document.onmousemove=U.M.apply(a,[[a.move]]);document.onmouseup=U.M.apply(a,[[a.up]]);(b)&&(b.document.onmousemove=document.onmousemove);(b)&&(b.document.onmouseup=document.onmouseup);};U.D.ICM=function(c,a,b){this.X=c.offsetLeft,this.Y=c.offsetTop;this.SW;this.SO=c;this.E;this.CW=a;this.UCF=b;};U.D.ICM.prototype={init:function(b){var a=U.M.GetMousep();b.setCapture();this.E=a;this.SW=[0,0,US.Width-65,US.Height-240,a["X"]-b.offsetLeft,a["Y"]-b.offsetTop];(this.UCF&&this.UCF["ST"])&&(this.UCF["ST"].apply(this,[b]));return this;},move:function(){var b,d;if(event){b=U.M.GetMousep();}else{var d=$("#"+this.CW.name).GetElementInfo();b=this.CW.U.M.GetMousep();b["X"]+=d["BCRL"];b["Y"]+=d["BCRT"];}if(this.E["X"]-b["X"]!=0||this.E["Y"]-b["Y"]!=0){var c=b["X"]-this.SW[4];var a=b["Y"]-this.SW[5];if(c<this.SW[1]){c=this.SW[1];}else{if(c>this.SW[2]){c=this.SW[2];}}if(a<this.SW[0]){a=this.SW[0];}else{if(a>this.SW[3]){a=this.SW[3];}}$(this.SO).addAttrArray({"style":{"left":c+"px","top":a+"px"}});U.D.MoveCase=true;this.E=b;}},up:function(){(this.UCF&&this.UCF["UP"])&&(this.UCF["UP"].apply(this,[this.SO]));this.SO.releaseCapture();document.onmousemove=document.onmouseup=null;}};Namespace.register("U.Img");U.Img.Create=function(a,b,c){U.M.StopBubble();(new U.Img.E(a,b,c)).Create();};U.Img.E=function(a,b,d){this.AIMG=a;this.W;this.h;this.I=typeof b=="number"?b:0;this.R=0;this.UIOD;this.CTF=true;for(var c in d){if(d.hasOwnProperty(c)){this[c]=d[c];}}};U.Img.IE=U.Img.E.prototype={proname:"友思CloudPC_ImgView",path:"/",creator:"Green",versions:"2.0",ET:[],Create:function(){if(this.AIMG){var n,l,b,c,a,m,k,d,f,h,g=false,j=this.AIMG.length!=null?this.AIMG[this.I]:this.AIMG;for(var e=0;e<U.Img.IE.ET.length;e++){if(U.Img.IE.ET[e]["AIMG"].length){if(U.Img.IE.ET[e]["AIMG"].inArray(j["Thm"],"Thm")!==false){g=U.Img.IE.ET[e];break;}}else{if(U.Img.IE.ET[e]["AIMG"]["Thm"]===j["Thm"]){g=U.Img.IE.ET[e];break;}}}if(g){g["AIMG"]=this.AIMG.length?this.AIMG:[this.AIMG];g.I=0;g.Change(this.I,g);U.D.PopupWindow(g.UIOD);return true;}U.Img.IE.ET.push(this);this.UIOD=n=$$("div",{"onmousewheel":[this.Wheel,([this])],"className":"U_Img","onclick":[this.XSI,(["retElement",this])],"onmousedown":U.M.StopBubble,"style":{"maxWidth":$.fn.Screenwidth()+"px","maxHeight":$.fn.Screenheight()+"px","left":(Math.random()*50)+"px","top":(Math.random()*50)+"px","zIndex":US.ZV++}});$$("div",{"onmousedown":[[U.M.StopBubble],[U.D.DragMouseDown,([n])]],"className":"U_Img_Move","title":"移动相框"},n);b=$$("div",{"className":"U_Img_Operate UTransition","onselectstart":U.M.apply()},n);c=$$("div",{"className":"U_Img_Info","onmousedown":[[U.M.StopBubble],[this.MoveScroll,(["retElement",this])]],"style":{"maxHeight":($.fn.Screenheight()-80)+"px"}},n);l=$$("div",{"style":{"overflow":"hidden","margin":"auto","width":"120px","height":"120px"}},c);a=$$("img",{"NowRotate":"0","src":j["Thm"],"onerror":U.M.apply(this,([[U.M.ImgError,(["this",1])]]))},l);m=$$("a",{"style":{"marginLeft":"20px"},"onclick":[[U.M.StopBubble],[this.Zoom,(["In",n,this])]]},b);$$("i",{"className":"U_ImgPic zoomIn"},m);$$("div",{"innerHTML":"放大"},m);$$("a",{"title":"点击100%比例","onclick":[[U.M.StopBubble],[this.Zoom,([100,n,this])]],"innerHTML":"100%"},b);k=$$("a",{"onclick":[[U.M.StopBubble],[this.Zoom,(["Out",n,this])]]},b);$$("i",{"className":"U_ImgPic zoomOut"},k);$$("div",{"innerHTML":"缩小"},k);d=$$("a",{"onclick":[[U.M.StopBubble],[this.Rotate,([1,n,this])]]},b);$$("i",{"className":"U_ImgPic Lrotate"},d);$$("div",{"innerHTML":"左转"},d);f=$$("a",{"onclick":[[U.M.StopBubble],[this.Rotate,([-1,n,this])]]},b);$$("i",{"className":"U_ImgPic Rrotate"},f);$$("div",{"innerHTML":"右转"},f);$$("div",{"className":"U_ImgPic U_Img_Close UTransition","style":{"cssText":"float:right;"},"onclick":[this.Close,([n,this])]},b);if(this.AIMG.length){$$("div",{"className":"U_Img_Prev U_Img_Change U_Img_transition U_ImgPic","onclick":[[U.M.StopBubble],[this.Change,([-1,this])]]},n);$$("div",{"className":"U_Img_Next U_Img_Change U_Img_transition U_ImgPic","onclick":[[U.M.StopBubble],[this.Change,([1,this])]]},n);}$(a).addAttrArray({"style":{"filter":"alpha(opacity=30)","MozOpacity":"0.3","Khtml-opacity":"0.3","opacity":"0.3"}});document.body.appendChild(n);U.D.PopupWindow(n);U.M.imgReady(j["Img"],U.M.apply(null,[[this.Ready,([n,a,this])]]),U.M.apply(null,[[this.Load,([n,a,this])]]),U.M.apply(this,[[this.Error,([j["Img"]])]]));}},XSI:function(b,a){if(a.CTF){a.Close(b,a);}a.CTF=true;},Wheel:function(b,c){c=event||c;var d=c.wheelDelta?(c.wheelDelta/120):(-c.detail/3),a=d>0?"In":"Out";b.Zoom(a,b.UIOD,b);},Zoom:function(e,d,c){var f=$("a",d);var a=$("img",d);if(e=="In"){e=parseInt(parseInt(f[1].innerHTML)/0.8);}else{if(e=="Out"){e=parseInt(parseInt(f[1].innerHTML)*0.8);}}if(e<22){e=22;}else{if(e>300){e=300;}}var g=(c.H*(e/100)),b=(c.W*(e/100));f[1].innerHTML=e+"%";a.addAttrArray({"style":{"width":b+"px","height":g+"px"}});c.PJ(b,g,d,a[0],c.R);U.D.PopupWindow(d);},PJ:function(a,d,c,b,e){b.parentNode.style.width=a+"px";c.style.width=a+20+"px";b.parentNode.style.height=b.parentNode.parentNode.style.height=d+"px";},Rotate:function(b,d,c){var a=$("img",d);b=c.R+b;b=b>=4?0:b;b=b<0?3:b;c.R=b;a.addAttrArray({style:{"filter":"Progid:DXImageTransform.Microsoft.BasicImage(Rotation="+b+")","WebkitTransform":"rotate("+b*90+"deg)","MozTransform":"rotate("+b*90+"deg)","transform":"rotate("+b*90+"deg)","OTransform":"rotate("+b*90+"deg)"}});c.PJ(a[0].offsetWidth,a[0].offsetHeight,d,a[0],b);U.D.PopupWindow(d);},MoveScroll:function(b,a){document.onmousemove=U.M.apply(a,[[a.Move,([b,event.clientX,event.clientY,a])]]);document.onmouseup=U.M.apply(a,[[a.Up,([b])]]);},Move:function(c,d,b,a){c.setCapture();a.CTF=false;c.scrollLeft=c.scrollLeft-(event.clientX-d);c.scrollTop=c.scrollTop-(event.clientY-b);},Up:function(a){a.releaseCapture();document.onmousemove=document.onmouseup=null;},Change:function(c,b){c=b.I+c;b.I=c=(c<0||c>=b.AIMG.length)?((c<0)?b.AIMG.length-1:0):c;var a=$("img",b.UIOD);a.addAttrArray({"src":b.AIMG[c]["Thm"],"style":{"filter":"alpha(opacity=30)","MozOpacity":"0.3","Khtml-opacity":"0.3","opacity":"0.3"}});b.Zoom(100,b.UIOD,b);b.Rotate((b.R=0),b.UIOD,b);U.M.imgReady(b.AIMG[c]["Img"],U.M.apply(null,[[b.Ready,([b.UIOD,a[0],b])]]),U.M.apply(null,[[b.Load,([b.UIOD,a[0],b])]]),U.M.apply(this,[[b.Error]]));},Download:function(a){a=fileName.FN(US.fs,"");U.Dk.RE.ODL(a,"1473用户图片.jpg");},Close:function(b,a){U.D.CloseWindow(b,"remove");U.Img.IE.ET.splice(U.Img.IE.ET.inArray(a),1);},Ready:function(c,b,a){$([b,b.parentNode]).addAttrArray({"style":{"width":this.width+"px","height":this.height+"px"}});a.W=this.width;a.H=this.height;U.D.PopupWindow(c);},Load:function(c,b,a){a.W=this.width;a.H=this.height;var e=100,d=document.body.clientHeight-200;$(b).addAttrArray({"src":this.src,"style":{"width":this.width+"px","height":this.height+"px","MozOpacity":"1","Khtml-opacity":"1","opacity":"1","filter":"alpha(opacity=100)"}});if(d<this.height){e=Math.floor(100*d/this.height);}a.Zoom(e,c,a);U.D.PopupWindow(c);},Error:function(a){var b=$("img",this.UIOD)[0];if(this.TF!=2){U.Alert("OMG!~图片丢失");U.M.ImgError(b,(this.TF||1));}else{U.M.imgReady(a+"?&n="+Math.random(),U.M.apply(null,[[this.Ready,([this.UIOD,b,this])]]),U.M.apply(null,[[this.Load,([this.UIOD,b,this])]]),U.M.apply(this,[[this.Error,([a])]]));}}};U.Img.Animate={obj:null,itime:0,mode:1,maxHeight:0,timer:null,_BV:null,initial:function(a){_BV=U.CI.getBrowser().ver;return"string"==typeof(a)?document.getElementById(a):a;},slideDown:function(){if(parseInt(this.obj.style.height)>this.maxHeight){this.mode=0;return;}this.obj.style.height=parseInt(this.obj.style.height)+2+"px";this.timer=setTimeout("U.Img.Animate()",this.itime);},slideUp:function(){if(parseInt(this.obj.style.height)<2){this.mode=1;return;}this.obj.style.height=parseInt(this.obj.style.height)-2+"px";var a="U.Img.Animate()";this.timer=setTimeout(a,this.itime);},slide:function(b,a,c){clearTimeout(this.timer);this.obj=this.initial(b);this.itime=a;if(c){this.maxHeight=this.maxHeight?this.maxHeight:parseInt(this.obj.style.height);this.obj.style.display="block";this.obj.style.height="0px";this.slideDown();}else{this.slideUp();}},fade:function(l,c,f,k){this.obj=this.initial(l);this.itime=c;var e=this;this.maxHeight=parseInt(this.obj.style.height)|parseInt(this.obj.clientHeight);var d=f?100:0;var g=f?0:100;var j=(_BV=="7.0"||_BV=="8.0")?0.1:0.05;var h=f?-100*j:100*j;var a=setInterval(function(){if(d==g){clearInterval(a);if(typeof k=="function"){k();}}d+=h;e.obj.style.filter="alpha(opacity="+d+")";e.obj.style.MozOpacity=d*j;e.obj.style.opacity=d*j;e.obj.style.height=e.maxHeight+"px";},e.itime);},fadeIn:function(b,a,c){this.fade(b,a,true,c);},fadeOut:function(b,a,c){this.fade(b,a,false,c);}};Namespace.register("U.LC");U.LC["Z"]={};U.LC["E"]={};U.LC["dkA"]=[];U.LC["Z"]["dk"]=["云盘","相册","音乐","博客","学习社区","应用","便签","文档编辑","工作表","购物","积分中心","聊天","在线编程"];U.LC["E"]["dk"]=["disk","photo","music","blog","study","app","note","word","Excel","buy","grade","talk","Online programming"];U.LC.C=function(c){var d;for(var b in U.LC[c]){if(U.LC[c].hasOwnProperty(b)){for(d=0;d<U.LC[b+"A"].length;d++){U.LC[b+"A"][d].innerHTML=U.LC[c][b][d];}}}};Namespace.register("U.LO");U.LO.Flowlayout=function(e,a,f){var d=e.clientWidth,c;var b=Math.floor(d/(a+2*f));for(c=0;c<b;c++){$$("div",{"style":{"cssText":"float:left","width":a+"px","margin":f+"px"}},e);}return b;};Namespace.register("U.MD");U.MD.DynamicLoad=function(e,g,c,b,a){var d,j,h,f=$("head",document)[0];if(g=="js"){h=$("script",document);j=$$("script",(b||{"src":e,"type":"text/javascript","language":"javascript","charset":"utf-8"}));}else{if(g=="js"){h=$("link",document);j=$$("link",{"href":e,"type":"text/css","rel":"stylesheet"});}}for(d=0;d<h.length;d++){if(h[d].src==e){g=false;if(!a){j=h[d];}break;}}(g||a)&&(f.insertBefore(j,f.firstChild));(c)&&(U.MD.IframeLoad(j,c));return true;};U.MD.IframeLoad=function(f,b){try{var a=f.complete,c=f.readyState;}catch(d){}if(a=="complete"&&((c=="complete"||c=="loaded")||c==null)){U.M.apply(f,b)();return;}else{(f.onreadystatechange)&&(b=U.M.apply(f,[[f.onreadystatechange],[b]]));f.onreadystatechange=U.M.apply(f,[[U.MD.AILD,([f,b])]]);}};U.MD.AILD=function(c,a){var b=c.readyState;if((b=="complete"||b=="loaded")||b==null){c.complete="complete";c.onreadystatechange=null;U.M.apply(c,a)();}};U.MD.IsExistUrl=function(c,a){var b=U.A.FE();b.open("GET",c,true);b.send();b.onreadystatechange=function(){if(b.readyState==4){var d=true;if(b.status!=200){d=false;}CB(b,d);}};};U.MD.loading=function(d){if(d.uscustom){return;}var e,b,c=d.onresize,a=U.M.GetCById(d.parentNode,"loadImg");(d["offsetWidth"]==0)&&(c=U.M.apply(null,[[U.MD.Donresize,([a,d,d.parentNode.onresize])]]));if(a){d.style.display="none";a["P"]+=1;U.MD.Donresize(a,d,U.M.apply(null,[[U.MD.Donresize,([a,d,c])]]));return a;}else{a=$$("div",{"id":"loadImg"});(d["offsetWidth"]==0)&&(c=U.M.apply(null,[[U.MD.Donresize,([a,d,d.parentNode.onresize])]]));e=$$("div",{"style":{"cssText":"width:100%;height:100%;float:left;"}},a);b=$$("div",{"style":{"margin":"auto","maxWidth":"275px"}},e);$$("img",{"src":"/img/blog-loader.gif","style":{"maxWidth":"275px","maxHeight":"160px","width":"100%","height":"auto","margin":"0"}},b);a["P"]=0;U.MD.Donresize(a,d,c);d.style.display="none";d.parentNode.insertBefore(a,d);}};U.MD.uploading=function(b){if(b.uscustom){b.parentNode.removeChild(b);return;}var a=U.M.GetCById(b.parentNode,"loadImg");if(a){a["P"]--;if(a["P"]<0){a.style.display="none";b.style.display="block";(b.parentNode.onresize)&&(b.parentNode.onresize());}}};U.MD.Donresize=function(g,a,f){if(g["P"]>-1){a.style.display="block";var d,b=a["offsetWidth"],h=a["offsetHeight"],c=a["offsetWidth"]>=731&&a["offsetHeight"]>400,i=(h-Math.min(160,b*(160/275))-(c?92:0))/2,e=$("div",g);i=(i/b)*100;a.style.display="none";$(g).addAttrArray({"className":a.className,"style":{"cssText":a.style.cssText,"display":"block","background":"#50c0f0"}});if(i>0){e.addAttrArray({"style":{"height":"auto","width":"auto","marginTop":(i||10)+"%"}},1);}else{e.addAttrArray({"style":{"height":"100%","width":"100%"}},1);$("img",g).addAttrArray({"style":{"maxHeight":"100%","maxWidth":"100%"}});}}a.parentNode.onresize=f;};Namespace.register("U.MPlayer");_$(U.MPlayer).Add({"IsUpPos":true,"IsP":true,"Time":null,"UMPL":null,"UMPP":null,"UMMP":null,"TF":"L"});U.MPlayer.Onload=function(){if($("#U_MP_MPFlash")[0]==null){$("#U_MP_PFlash")[0].innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="display:block" width="0" height="0" id="U_MP_MPFlash" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"><param name="movie" value="/img/mp3player.swf" /><param name="menu" value="false" /><param name="wmode" value="transparent" /> <param name="quality" value="high" /><param name="bgcolor" value="ffffff" /><param name="allowScriptAccess" value="always" /><embed src="/img/mp3player.swf" quality="high" bgcolor="ffffff" width="0" height="0" name="U_MP_MPFlash" align="middle" play="true" wmode="transparent" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed></object>';}U.MPlayer.UMPL=$("#U_MPMCDPO")[0];U.MPlayer.UMPP=$("#U_MPMGDT")[0];U.MPlayer.UM=$("*U_MP_MPFlash")[0];};U.MPlayer.Open=function(b,g,c){var a=$("#UseStudioU_MP")[0],h=$("#U_MPLB")[0],f=$("#U_MPMCD")[0],d=$("#U_MPFF")[0],e=$("div#U_MPI",a)[0];d.innerText=h.innerText="";e.style.display="block";U.D.PopupWindow(a);$("#U_MPLT")[0].onclick=U.M.apply(this,[[U.MPlayer.MOM,([US.Disk.diskfileTree[1][2]])]]);$("img",f).addAttrArray({"onerror":[U.M.ImgError,(["retElement"])],"src":U.M.GetImgU(US.Disk.diskfileTree[1][0].UserThumbnailImageHead),"onclick":[U.U.I.POUW,([US.Disk.diskfileTree[1][0].UserId])]});$("span",f)[0].innerHTML=US.Disk.diskfileTree[1][0].UserNickName;U.Dk.SetMDF((US.Friend[1]||[]),$("#U_MPFF")[0]);if(b[1].length==0&&g.length==0){$$("div",{"className":"U_MPP U_MP_IMG"},h);}else{U.MPlayer.AddM(b,g,h,c);}U.D.Tb.WindowRestore(e,"<div style='margin:11px 0 0 5px; width:61px; height:65px; background-position: -175px -75px;' class='UD_DI_iconimg UD_NUB'></div>","音乐",U.MPlayer.Close);};U.MPlayer.AddM=function(l,b,m,d){var g,e,k,c,h,a=document.createDocumentFragment();if(l[0].UserDirectoryID!=US.MG){e=$$("div",{"className":"U_MPLB"});k=$$("div",{"className":"U_MPLBT","onclick":[[U.M.StopBubble],[U.MPlayer.ListShrink,(["this.parentNode"])]]},e);$$("div",{"className":"U_MPLBA U_MPLBAO U_MP_IMG"},k);$$("div",{"className":"U_MPLBM","innerHTML":l[0].UserallDirectoryName+"("+l[1].length+")"},k);$$("div",{"className":"U_MPLBADD U_MP_IMG","onclick":[[U.M.StopBubble],[U.MPlayer.OUPM,([l[0].UserDirectoryID,US.Disk.diskfileTree[1][2]])]]},k);c=$$("div",{"className":"U_MPLBT","style":{"cssText":"width:100%;float:left;"}},e);m.appendChild(e);}else{c=m;}for(g=0;g<l[1].length;g++){h=$$("span",{"className":"U_MPLBN","onclick":U.M.StopBubble,"ondblclick":[U.MPlayer.loadAplay,(["retElement",l[1][g],US.Disk.diskfileTree[1][2]])]},a);$$("div",{"className":"U_MPLBNB U_MP_IMG","innerHTML":U.MT.TimeDouble(g+1)},h);$$("div",{"className":"U_MPLBNC","innerHTML":l[1][g].UserallDirectoryName},h);$$("div",{"className":"U_MPLBNS","innerHTML":"00:00"},h);if(l[1][g].UserDirectoryID==d){setTimeout(h.ondblclick,1000);}}c.appendChild(a);for(var f=0;f<b.length;f++){U.MPlayer.AddM(b[f][0],b[f][1],c);}};U.MPlayer.ListShrink=function(a){var c=$("div",a);var b=["none","U_MPLBA U_MPLBAC U_MP_IMG"];if(c[4].style.display=="none"){b=["block","U_MPLBA U_MPLBAO U_MP_IMG"];}c[4].style.display=b[0];c[1].className=b[1];};U.MPlayer.loadAplay=function(g,e,a){var d,f=$("div",U.MPlayer.UMPP),b=$("#U_MPLB")[0],c=$("*U_MP_MPFlash")[0].loadAplay(US.fs+e.UserFilesServerName);f[1].style.width=f[0].style.width=f[2].style.left="0px";$("#U_MPMCDD")[0].innerHTML=U.MPlayer.UMPL.innerHTML="00:00";$("div",U.MPlayer.UMPP.parentNode)[0].innerHTML=e.UserallDirectoryName;$("#U_MPMCDP")[0].className="U_MPMCDP U_MPMCDPC U_MP_IMG";if((U.MPlayer.UMMP)&&(d=U.MPlayer.UMMP[0])){d.style.color="#767676";$("div",d).addAttrArray({"className":"U_MPLBNB U_MP_IMG","innerHTML":U.MPlayer.UMMP[1]},0);}else{U.MPlayer.UMMP=[];}U.MPlayer.UMMP[0]=g;U.MPlayer.UMMP[1]=$("div",g)[0].innerHTML;g.style.color="#6da6e0";$("div",g).addAttrArray({"className":"U_MPLBNB U_MPLBNBI U_MP_IMG","innerText":""},0);$("#U_MPMXZL")[0].onclick=U.M.apply(this,[[U.MPlayer.LMGM,([a,e,g])]]);$("#U_MPMXZR")[0].onclick=U.M.apply(this,[[U.MPlayer.DMGM,([a,e,g])]]);};U.MPlayer.PNM=function(a){setTimeout($("#U_MPMCDA")[0].onclick,1000);};U.MPlayer.PNMO=function(b){var a=U.MPlayer.TF;if(a=="L"){U.MPlayer.PNMOM(b);}else{if(a=="R"){U.MPlayer.Shuffle();}else{U.MPlayer.REMOM();}}};U.MPlayer.Shuffle=function(){var b=$("span",$("#U_MPLB")[0]);var a=U.P.getRandom(b.length);b[a-1].ondblclick();};U.MPlayer.PNMOM=function(a){var c,b,d=$("#U_MPLB")[0];_UFMP=U.MPlayer.UMMP[0],UFMPL=$("span",_UFMP.parentNode);for(c=0;c<UFMPL.length;c++){if(UFMPL[c]==_UFMP){b=_UFMP;if((c==UFMPL.length-1)&&a==1){b=UFMPL[0];}else{if(UFMPL[c+a]!=null){b=UFMPL[c+a];}}b.ondblclick();return;}}};U.MPlayer.REMOM=function(){U.MPlayer.UMMP[0].ondblclick();};U.MPlayer.pauseOstart=function(){var b=$("#U_MPMCDP")[0];var a=U.MPlayer.UM.pauseOstart();if(a==false){b.className="U_MPMCDP U_MPMCDPO U_MP_IMG";}else{b.className="U_MPMCDP U_MPMCDPC U_MP_IMG";}};U.MPlayer.Posmove=function(b){U.MPlayer.IsUpPos=false;var a=$("div",b.parentNode);document.onmousemove=function(){if(!U.MPlayer.IsUpPos==true){b.setCapture();var f=U.M.GetMousep();var c=U.M.pageXY(b.parentNode);var e=a[1].clientWidth;var d=event.clientX-c[1];if(d<e&&d>0){b.style.left=d+"px";a[0].style.width=(d+2)+"px";}}};document.onmouseup=function(){U.MPlayer.SkipTo((parseInt(b.style.left))/225);U.MPlayer.IsUpPos=true;b.releaseCapture();document.onmouseup=document.onmousemove=null;};};U.MPlayer.SkipTo=function(c){U.MPlayer.IsUpPos=false;var a,b=$("div",U.MPlayer.UMPP),d=b[1].clientWidth;if(typeof c=="number"){a=c;}else{a=(event.clientX-parseInt(c.getBoundingClientRect().left));if(d>a){b[0].style.width=(a+2)+"px";b[2].style.left=a;a=a/225;}}if(d>parseInt(a*225)){U.MPlayer.UM.SkipTo((parseInt(U.MPlayer.Time)/1000)*a);}U.MPlayer.IsUpPos=true;};U.MPlayer.getDuration=function(){U.MPlayer.Time=U.MPlayer.UM.getDuration();var a=Math.round(U.MPlayer.Time/1000);$("div",U.MPlayer.UMMP[0])[2].innerHTML=$("#U_MPMCDD")[0].innerHTML=U.MT.TimeDouble(parseInt(a/60))+":"+U.MT.TimeDouble(parseInt(a%60));};U.MPlayer.UpLoaded=function(a){var b=$("div",U.MPlayer.UMPP)[1];b.style.width=a+"%";};U.MPlayer.UpPosTime=function(d,f,c){U.MPlayer.Time=f;var e=U.MPlayer.UM,b=Math.ceil(d/f*225);if(U.MPlayer.IsUpPos){if(e.getStatus()&&U.MPlayer.IsP){if((c*2.25)>=b){var a=$("div",U.MPlayer.UMPP);a[0].style.width=b+2+"px";a[2].style.left=b+"px";U.MPlayer.UMPL.innerText=U.MT.TimeDouble(parseInt(d/1000/60))+":"+U.MT.TimeDouble(parseInt(d/1000%60));}else{e.pauseOstart();U.MPlayer.IsP=false;}}else{if((c*2.25-5)>b&&U.MPlayer.IsP==false){e.pauseOstart();U.MPlayer.IsP=true;}}}};U.MPlayer.setVol=function(a){U.MPlayer.UM.setVol(a);};U.MPlayer.volumeMove=function(a){var b=$("div",a.parentNode.parentNode);document.onmousemove=function(){a.setCapture();U.MPlayer.OVM(a,b[b.length-2],b[b.length-4]);};document.onmouseup=function(){a.releaseCapture();document.onmouseup=document.onmousemove=null;};};U.MPlayer.OVM=function(d,b,c){var a=event.clientX-d.parentNode.getBoundingClientRect().left;if(a>=0&&a<=48){d.style.left=a+"px";b.style.width=(a+2)+"px";a=Math.round(a*(100/48)*2);d.title=a;if(a==0){U.MPlayer.mute(c);}else{c.className="U_MPMCDH U_MPMCDHH U_MP_IMG";U.MPlayer.setVol(a);}}};U.MPlayer.mute=function(c){var d=$("div",c.parentNode);var b=c.className;var a=d[d.length-1];_L=a.offsetLeft;if(b.indexOf("U_MPMCDHH")>-1){_L=0;c.className="U_MPMCDH U_MPMCDHM U_MP_IMG";}else{c.className="U_MPMCDH U_MPMCDHH U_MP_IMG";if(_L==0){_L=27;d[d.length-1].style.left=_L+"px";d[d.length-2].style.width=(_L+2)+"px";}_L=Math.round(_L*(100/48)*2);}U.MPlayer.setVol(_L);};U.MPlayer.MOM=function(a){if(!U.U.L.LARG()){if(a!=US.userInfo.userid){U.M.divdoubleClick("UseStudioU_MP","",US.userInfo.userid,null);}}};U.MPlayer.SMTF=function(b){var a=[];if(U.MPlayer.TF=="L"){U.MPlayer.TF="R";a[0]="U_MPMXZM U_MPMXZMR U_MP_IMG";a[1]="随机播放";}else{if(U.MPlayer.TF=="R"){U.MPlayer.TF="RE";a[0]="U_MPMXZM U_MPMXZMRE U_MP_IMG";a[1]="单曲循环";}else{U.MPlayer.TF="L";a[0]="U_MPMXZM U_MPMXZMM U_MP_IMG";a[1]="列表播放";}}b.className=a[0];b.title=a[1];U.Alert("切换到"+a[1]+"模式");};U.MPlayer.LMGM=function(a,b){if(!U.U.L.LARG()){if(a!=US.userInfo.userid){U.Dk.LE.DBC(US.MG,US.userInfo.userid);U.Dk.RE.CE=[b];U.Dk.RE.UFStick();U.Dk.RE.CE=[];}else{U.Alert("音乐已在自己的文件夹下");}}};U.MPlayer.DMGM=function(a,b,c){if(a==US.userInfo.userid&&US.userInfo.userid){U.Dk.RE.DMB(b,[U.MPlayer.AsynDMGM,([c])]);}else{U.Alert("无法删除它人的文件夹");}};U.MPlayer.AsynDMGM=function(a){U.MPlayer.PNMO(1);a.parentNode.removeChild(a);};U.MPlayer.Error=function(a){U.Alert("音乐文件损坏或者暂时无法播放");U.MPlayer.PNMO(1);};U.MPlayer.Close=function(){if(U.MPlayer.UM.getStatus()==true){U.MPlayer.pauseOstart();}U.D.Tb.PopupWinClose($("#U_MPI")[0]);};U.MPlayer.YC=function(a){a.style.visibility="hidden";};U.MPlayer.OUPM=function(c,b){if(US.userInfo.userid!=null&&b==US.userInfo.userid){var a=U.Dk.NologinDiskDown(b,c,b);$("div#UDK_HP_UpFile",a)[0].onclick();}else{U.Alert("请上传到您的文件夹");}};Namespace.register("U.MR");U.MR.OptionGroupSelect=function(e){var b,d,a=e.parentNode,f=$("span",a),g=$("i",a)[0],c=U.M.GetElementInfo(e);for(b=0;b<f.length;b++){$(f[b]).addAttrArray({"style":{"fontWeight":"normal","color":"#000"}});if(f[b]==e){$(e.parentNode).addAttrArray({"selectnum":b+1,"value":e.innerHTML});d=b;}}$(e).addAttrArray({"style":{"fontWeight":"bold","color":"White"}});$(g).animate({"left":d*c["BCRW"]+"px"},100);};U.MR.InputTip=function(b,d,c){var a=c?[d,""]:["",d];if(b.value!=null){(b.value==a[0])&&(b.value=a[1]);}else{(b.innerText==a[0])&&(b.innerText=a[1]);}};Namespace.register("U.MS");U.MS.ZZBD=(function(){var b,a={"Website":function(g){var c=g.match("^[https:/]*([^/]*)"),d;if(c[1]){d=c[1].match("[0-9a-zA-Z]*.(com.tw|com.cn|com.hk|net.cn|org.cn|gov.cn|ac.cn|bj.cn|sh.cn|tj.cn|cq.cn|he.cn|sx.cn|nm.cn|ln.cn|jl.cn|hl.cn|js.cn|zj.cn|ah.cn|fj.cn|jx.cn|sd.cn|ha.cn|hb.cn|hn.cn|gd.cn|gx.cn|hi.cn|sc.cn|gz.cn|yn.cn|xz.cn|sn.cn|gs.cn|qh.cn|nx.cn|xj.cn|tw.cn|hk.cn|mo.cn|com|net|org|biz|info|cn|mobi|name|sh|ac|io|tw|hk|ws|travel|us|tm|cc|tv)$");try{return d[0];}catch(f){return false;}}return false;},"FileName":/^([a-zA-Z0-9\s\._-]+)$/,"Guid":/^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$/,"PBrief":/^.{0,100}$/,"ChineseIdCard":/\d{17}[\d|X]|\d{15}/,"Visa":/^[45]\d{15}$/,"Url":/^http:\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\:+!]*([^\\])*$/,"English":/^[A-Za-z]+$/,"TelephoneNumber":/(1[3,5,8][0-9])\d{8}$/,"Number":/^\d*$/,"Email":/^\w+([_+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,"TrueName":/^[\u4e00-\u9fa5]{1,20}$|^[a-zA-Z]{1,20}$/,"UserName":/^[\u4e00-\u9fa5\d0-9A-Za-z_]{3,14}$|^[\d0-9A-Za-z_]{4,14}$|^[\u4e00-\u9fa5]{2,7}$/,"NickName":/^[0-9a-zA-Z\u4e00-\u9fa5_-]{1,40}\\*$/,"PassWord":/^[a-zA-Z0-9_-]{6,20}$/};for(b in a){U.MS[b]=a[b];}})();U.MS.ZWFileName=/^[0-9a-zA-Z\u4e00-\u9fa5\._-]{1,40}\\*$/;U.MS.ZZCL=(function(){var b,a={"toHtml":function(){return this.replace(/'/ig,"'").replace(/"/ig,'"');},"SubstrU":function(f){if(!f){return"";}if(this.length<f){return this.toString();}var c=0,e="",d;for(d=0;d<this.length;d++){c+=this.charCodeAt(d)>255?2:1;if(c>f){break;}else{e+=this.charAt(d);}}return e.toString();},"SubstrN":function(e){var c=0,d;for(d=0;d<this.length;d++){c+=this.charCodeAt(d)>255?2:1;if(c>e){return false;}}return true;},"StrIsNull":function(){if(this.Trim()==""){return true;}else{return false;}},"SetNR":function(){return this.replace(/\r\n/g,"<br />");},"SetBr":function(){return this.replace(/<(BR)[^<>]*>/ig,"\r\n");},"SubHtml":function(){return this.replace(/<(BR)[^<>]*>/ig,"");},"SubN":function(){return this.replace(/<(p)[^<>]*>/ig,"");},"pxToNum":function(){return Number(this.replace("px",""));},"IsGEdit":function(){if(this.replace(/ /g,"").replace(/\s/ig,"").replace(/<\/p>/g,"").replace(/<p>/g,"")==""){return false;}return true;},"HTMLSign":function(){return this.replace(/</g,"<").replace(/>/g,">");},"RemoveHTMLSign":function(){return this.replace(/</g,"<").replace(/>/g,">");},"restore":function(){return this.replace(/\《/g,"<");},"secure":function(){return this.replace(/\</g,"《");},"Replace":function(){return this.replace(/%/g,"%25").replace(/\&/g,"%26").replace(/\+/g,"%2B");},"encodeURI":function(){return encodeURIComponent(this);},"Trim":function(){return this.replace(/(^\s*)|(\s*$)/g,"");},"TrimAll":function(){return this.replace(/\s+/g,"");},"Ltrim":function(){return this.replace(/(^\s*)/g,"");},"Rtrim":function(){return this.replace(/(\s*$)/g,"");}};for(b in a){U.M.Setprototype(String,b,a[b]);}})();U.M.Setprototype(String,"AddPreSpace",function(c){var b,a="";for(b=0;b<c;b++){a+=" ";}return a+this;});U.M.Setprototype(String,"InsertStr",function(b,d){var a=this.substr(0,d),c=this.substr(d,this.length);return a+b+c;});U.M.Setprototype(String,"RemoveNBSP",function(){return this.replace(/ /ig,"");});U.M.Setprototype(String,"SplitRN",function(){return this.replace(/\r\n/g,"\n").split("\n");});U.MS.ZZSZ=(function(){var b,a={"unique":function(c){var e=[];for(var d=0;d<this.length;d++){if(e.inArray(this[d][c],c)==false){e.push(this[d]);}}return e;},"inArray":function(e,c){for(var d=0;d<this.length;d++){if(c){if(this[d][c]===e){return d;}}else{if(this[d]===e){return d;}}}return false;}};for(b in a){U.M.Setprototype(Array,b,a[b]);}})();U.M.Setprototype(Array,"remove",function(b){var a;for(a=0;a<this.length;a++){if(this[a]==b){this.splice(a,1);break;}}});U.MS.produceGuid=function(){var a,b="";for(a=0;a<32;a++){b+=Math.floor(Math.random()*16).toString(16);if((a==7)||(a==11)||(a==15)||(a==19)){b+="-";}}return b;};U.MS.JGuid=function(){return U.MS.produceGuid().replace(/-/g,"");};U.MS.SerializeJsonToStr=function(b){if(b===null||b===undefined){return"null";}else{b=b.valueOf();var c,d,a=typeof(b);if(a=="boolean"||a=="number"){d=b.toString();}else{if(a=="string"){d='"'+(b.replace(/\r\n/g,"\\r\\n").replace(/\n/g,"\\n").replace(/\"/g,'\\"'))+'"';}else{if(b instanceof Array){d="[";for(c=0;c<b.length;c++){if(d.length>1){d+=",";}d+=U.MS.SerializeJsonToStr(b[c]);}d+="]";}else{d="{";for(c in b){if(b.hasOwnProperty(c)){if(d.length>1){d+=",";}d+='"'+c+'":'+U.MS.SerializeJsonToStr(b[c]);}}d+="}";}}}return d;}};Namespace.register("U.MT");U.MT.GetDT=function(b){try{if(typeof b=="string"||b==null){b=b==null?new Date():new Date(parseInt(b.replace("/Date(","").replace(")/","")));}return b.getFullYear()+"-"+(b.getMonth()+1)+"-"+b.getDate()+" "+((b.getHours())>=10?b.getHours():"0"+b.getHours())+":"+(b.getMinutes()>=10?b.getMinutes():"0"+b.getMinutes())+":"+(b.getSeconds()>=10?b.getSeconds():"0");}catch(a){return b;}};U.MT.GTS=function(b){try{b=b.split("T");return b[0]+b.split(".")[0];}catch(a){return U.MT.GetDT();}};U.MT.SetDT=function(c,b){if(b){var a=c.replace(new RegExp(b,"g"),"/");return new Date(a);}else{var a=U.MT.getTimeStr(c,"Array");return"/Date("+Date.UTC(a[0],a[1],a[2],a[3],a[4],a[5])+")/";}};U.MT.getTimeStr=function(c,a){switch(a){case"Array":var b=U.MT.GetDT(c).split(" ");return b.length==1?b[0].split("-"):b[0].split("-").concat(b[2].split(":"));break;case"String":return U.MT.GetDT(c).split(" ")[0];break;case"DAT":return"";break;default:break;}};U.MT.comptime=function(a,b){if(a.indexOf("Date")<=-1){a=U.MT.SetDT(a,"-");}if(a.indexOf("Date")<=-1){b=U.MT.SetDT(b,"-");}if(a<b){return false;}else{if(a>b){return true;}else{return"equal";}}};U.MT.getDateOfMonth=function(b,c){var a=new Date(b,c,0);return a.getDate();};U.MT.TimeDouble=function(a){if(a<10){return"0"+a;}return a;};U.MT.getTDInterval=function(b){var e,c,d,a=U.MT.getTimeStr(new Date(),"Array"),f=U.MT.getTimeStr(b,"Array");if(a[0]==f[0]&&a[1]==f[1]){c=a[2]-f[2];if(c==0){d="小时";e=a[3]-f[3];(e==0)&&(e=a[4]-f[4],d="分钟");(e==0)&&(e=a[5]-f[5],d="秒");e+=d;}else{if(c<10){e=c+"天前";}}}(e==null)&&(e=f[0]+"-"+f[1]+"-"+f[2]);return e;};Namespace.register("U.P");U.P.getRandom=function(a){return Math.floor(Math.random()*a+1);};U.P.RandomRange=function(a,b){if(a>b){a=[b,b=a][0];}return Math.floor(Math.random()*(b-a))+a;};U.P.RandomXY=function(a,c,b,d,e){};U.P.MouseInRect=function(b){var a=U.M.GetMousep();var c=U.M.GetElementInfo(b);if(a.X>c.BCRL&&a.X<c.BCRR&&a.Y>c.BCRT&&a.Y<c.BCRB){return true;}return false;};U.P.DrawPoint=function(a,e,d,b){$$("div",{"style":{"position":"absolute","left":a+"px","top":e+"px","backgroundColor":d,"width":b+"px","height":b+"px"}},document.body);};U.P.DrawRect=function(d,f,b,e,h,a){var g=new Array();g[0]={x:d,y:f};g[1]={x:b,y:f};g[2]={x:b,y:e};g[3]={x:d,y:e};U.P.Polygon(g,h,a);};U.P.Clean=function(){};U.P.DrawLine=function(b,m,a,l,h,n,o){var g,e=(l-m)/(a-b);var f=(l>m)?m:l,p=(l>m)?l:m;var j=(a>b)?b:a,d=(a>b)?a:b;if((a-b)==0){for(g=f;g<p;g++){U.P.DrawPoint(a,g,h,n);}return;}if((l-m)==0){for(g=j;g<d;g++){U.P.DrawPoint(g,l,h,n);}return;}if(e<=1){for(g=j;g<d;g++){U.P.DrawPoint(g,e*g+l-e*a,h,n);}}else{for(g=f;g<p;g++){U.P.DrawPoint((g-l+e*a)/e,g,h,n);}}};U.P.Sin=function(a,g,e,f,b){var d;for(d=0;d<e;d++){U.P.DrawPoint(a+d,g+Math.sin(d/180*Math.PI)*100,f,b);}};U.P.Cos=function(a,g,e,f,b){var d;for(d=0;d<e;d++){U.P.DrawPoint(a+d,g+Math.cos(d/180*Math.PI)*100,f,b);}};U.P.Circle=function(h,g,e,f,k){var b=0,j,d,a;while(b<360){j=Math.sin(b/180*Math.PI)*e;d=Math.cos(b/180*Math.PI)*e;a=e/100;if(1/a>1){a=1;}else{if(1/a<0.2){a=0.2;}else{a=1/a;}}U.P.DrawPoint(j+h,d+g,f,k);b=b+a;}};U.P.Polygon=function(f,e,b){var d,a=f.length;for(d=0;d<a-1;d++){U.P.DrawLine(f[d].x,f[d].y,f[d+1].x,f[d+1].y,e,b);if(d==1&&f.length==2){break;}}U.P.DrawLine(f[0].x,f[0].y,f[a-1].x,f[a-1].y,e,b);};Namespace.register("U.PG");U.PG.PPage=function(a,c,q,l,b){q=parseInt(q);var h,f,d,o,g=[],r=[],n=Math.ceil(c/l),e=[1,q-1,q+1,"(window.event.srcElement).value",n],m=b["fun"],p=b["page"];for(h=0;h<e.length;h++){for(f=0;f<m.length;f++){o=m[f][1];g[f]=[];for(d=0;d<o.length;d++){if(d==p[f]){g[f].push(e[h]);}else{g[f].push(o[d]);}}r[h]=U.M.apply(this,[[m[f][0],g[f]]]);}}U.PG.CPage(r,a,n,q);};U.PG.CPage=function(f,a,c,h){var i,b,e,j,d=["opacity:0.8;","opacity:0.8;","opacity:0.8;","opacity:0.8;"],g=[null,null,null,null];(h>1)&&(d[1]="",g[1]=f[1]);(h<c)&&(d[2]="",g[2]=f[2]);(h!=1)&&(d[0]="",g[0]=f[0]);(h!=c)&&(d[3]="",g[3]=f[4]);i=$$("div",{"className":"U_pages"});$$("div",{"className":"UP U_Pagebtnp","onclick":g[0],"style":{"cssText":d[0]}},i);$$("div",{"className":"UP U_Pagebtnn","onclick":g[1],"style":{"cssText":d[1]}},i);b=$$("div",{"className":"U_jumppage","style":{"width":"auto"}},i);e=$$("div",{"className":"U_Pcenter","style":{"width":"auto","margin":"0"}},b);$$("div",{"innerHTML":"第"+h+"页"},e);j=$$("div",{"style":{"paddingTop":"5px"}},e);$$("input",{"type":"text","onkeyup":[U.M.returnkeylogin,[null,[[U.PG.PageAchieve,([f[3],h,c])]]]]},j);$$("div",{"innerHTML":"/"+c+"页"},e);$$("div",{"className":"UP U_Pagebtnnmp","onclick":g[2],"style":{"cssText":d[2]}},i);$$("div",{"className":"UP U_Pagebtnnmn","onclick":g[3],"style":{"cssText":d[3]}},i);a.appendChild(i);};U.PG.PageAchieve=function(c,d,a){var b=parseInt(event.srcElement.value);if(U.MS.Number.test(b)&&b<=a&&b>0&&b!=d){c();}else{top.U.Alert("无此页!~");}};Namespace.register("U.D");U.D.Windowmaximize=function(f,k,b,d,i){var h,g=U.M.GetElementInfo(f),c=$("body")[0],a=c.clientWidth,j=c.clientHeight;if(g["CW"]==a&&g["CH"]==j){(!i)&&(i={"style":{"width":(a*0.9)+"px","height":(j*0.8)+"px","left":((a*0.1)/2)+"px","top":((j*0.2)/2)+"px"}});(!i["style"]["width"])&&(i["style"]["width"]=a*0.9);(d&&i.onmousedown)&&(d.onmousedown=i.onmousedown,delete i["onmousedown"]);$(f).addAttrArray(i);(k)&&(k.title="全屏");h=[f["clientWidth"],f["clientHeight"]];}else{var e={"style":{"width":g["OW"],"cssText":f.style.cssText},"onmousedown":(d?d.onmousedown:null)};h=[a,j];$(f).addAttrArray({"style":{"top":(0+g["PXT"])+"px","left":(0+g["PXL"])+"px","width":a+"px","height":j+"px"}});$(k).addAttrArray({"onclick":[[U.D.Windowmaximize,([f,k,b,d,e])]],"title":"还原"});(d)&&(d.onmousedown=U.M.apply(d,[[U.D.DragElement,([f,k,b,d,e])],[d.onmousedown]]));}U.D.withf(b,h);};U.D.DragElement=function(g,b,c,a,e){var d=U.M.GetMousep(g),f=$("body")[0];(e==null||e["style"]==null)&&((e==null)&&(e={}),e["style"]={"width":f.clientWidth*0.9,"height":f.clientHeight*0.8+"px"});e.style.left=Math.min(Math.max(d["X"]-(e.style.width/2),0),f.clientWidth-e.style.width)+"px";e.style.top="0px";delete e.style["width"];U.D.Windowmaximize(g,b,c,a,e);};U.D.WindowMin=function(c){c=$(c);var b=c.GetElementInfo(),a={"style":{"cssText":c[0].style.cssText,"display":"none"}};c.animate({"left":US.Width/2+"px","top":US.Height+"px","width":b["CW"]/3+"px","height":b["CW"]/3+"px","opacity":"0.8","filter":"alpha(opacity=80)"},5,U.M.apply(this,[[U.D.MimHF,([$(c),a])]]));(top.U.D.G)&&(setTimeout(function(){top.U.D.G.UrlWrite("","云桌面");},100));};U.D.MimHF=function(b,a){b.addAttrArray(a);};U.D.CloseWindow=function(a,b){if(b=="remove"){$(a).remove();}else{a.style.display="none";}(top.U.D.G)&&(setTimeout(function(){top.U.D.G.UrlWrite("","云桌面");},100));};U.D.PopupWindow=function(e,d){var c=$(e).addAttrArray({"style":{"display":"block"}}).GetElementInfo(),b=U.M.TOSP(e),f=(b.clientWidth-c["CW"])/2+c["PXL"],a=(b.clientHeight-c["CH"])/2+c["PXT"];$(e).addAttrArray({"style":{"left":f+"px","top":a+"px","zIndex":(top.US.ZV++)}});(d)&&(d());};U.D.SetDTop=function(b){var a=U.M.GetEvent();b=b||U.D.GetPD(a.srcElement);U.M.StopBubble();if(b&&U.M.GetStyle(b,"position")=="absolute"&&b.tagName.toLocaleLowerCase()=="div"){b.style.zIndex=(top.US.ZV++);}};U.D.GetPD=function(a){var b=$("#us_content")[0];while(a){if(a.parentNode==document.body||a.parentNode==b){return a;}a=a.parentNode;}return a;};Namespace.register("U.UI");U.UI.Dialog=function(n,k,m,a,o,l,c,e,b,g,f,j,h){var p=["x","y","title","width","height","zIndex","color","model","confirmNoClose","confirmYesClose","content","bottomHeight","SO"];for(var d=0;d<arguments.length;d++){this[p[d]]=arguments[d];}};U.UI.Dialog.prototype={Create:function(){var f,g,e,b,c,a,h;f=$$("div",{"className":"U_UI_dialogue Radius5","onmousedown":U.M.StopBubble,"style":{"left":(this.x||0)+"px","top":(this.y||0)+"px","zIndex":"99999","height":this.height?this.height+"px":"","width":this.width+"px"||"360px"}});g=$$("div",{"className":"U_UI_dltop"},f);$$("div",{"className":"U_UI_dldrag","innerHTML":this.title||"对话框","onmousedown":[U.D.DragMouseDown,([f])]},g);e=$$("div",{"onclick":[U.D.CloseWindow,([f,"remove"])],"className":"UD_ICON UD_W_TB_WM_Close"},g);b=$$("div",{"className":"U_UI_dlcontent","style":{"height":this.height?this.height-73+"px":""}},f);if(typeof this.content=="object"){b.appendChild(this.content);}else{b.innerHTML=this.content;}c=$$("div",{"className":"U_UI_dlbutton"},f);$$("div",{"onclick":[[e.onclick],[this.confirmNoClose||U.M.apply()]],"innerHTML":"取消","className":"U_UI_dlyes UD_Radius"},c);a=$$("div",{"onclick":[[e.onclick],[this.confirmYesClose||U.M.apply()]],"innerHTML":"确定","className":"U_UI_dlyes UD_Radius"},c);var h=$("input",b);(this.SO==null?document.body:this.SO).appendChild(f);for(var d=h.length-1;d>=0;d--){if(h[d].type=="text"||h[d].type=="password"){h[d].focus();h[d]["onkeypress"]=U.M.apply(this,[[U.M.returnkeylogin,([[{"obj":a,"event":"onclick"}]])]]);}}if(this.y==null){U.D.PopupWindow(f);if(this.x){f.style.top=this.x+"px";}}return f;}};U.UI.Confirm=function(e,b,d){var a=$("#U_COF")[0]||$$("div",{"className":"U_UI_dialogue Radius5","id":"U_COF"}),h,f,g=[[U.D.CloseWindow,([a,"remove"])]],c=[[U.D.CloseWindow,([a,"remove"])]];(d)&&(c.unshift(d));(b)&&(g.unshift(b));if((_UDD=$("div",a)).length>0){_UDD[3].innerHTML=e;_UDD[_UDD.length-1].onclick=_UDD[2].onclick=U.M.apply(this,c);_UDD[_UDD.length-2].onclick=U.M.apply(this,g);}else{h=$$("div",{"className":"U_UI_dltop"},a);$$("div",{"className":"U_UI_dldrag","innerHTML":"提示","onmousedown":[U.D.DragMouseDown,([a])]},h);$$("div",{"onclick":c,"className":"UD_ICON UD_W_TB_WM_Close U_UI_dlclose"},h);$$("div",{"className":"U_UI_dlcontent","style":{"textAlign":"center","padding":"25px 0 25px 0"},"innerHTML":e},a);f=$$("div",{"className":"U_UI_dlbutton","id":"U_UI_dlbutton"},a);$$("div",{"id":"U_UI_Cancel","onclick":c,"innerHTML":"取消","className":"U_UI_dlyes UD_Radius"},f);$$("div",{"id":"U_UI_OK","onclick":g,"innerHTML":"确定","className":"U_UI_dlyes UD_Radius"},f);document.body.appendChild(a);}U.D.PopupWindow(a);U.M.StopBubble();};U.UI.UForms=function(j,h){var d,l,b,g,a,c,f,e=/%/,k=[["UD_W_WT_H","up"],["UD_W_WT_HL","topRight"],["UD_W_WT_HR","topleft"],["UD_W_WT_ML","left"],["UD_W_WT_MR","right"],["UD_W_WT_B","down"],["UD_W_WT_BL","bottomLeft"],["UD_W_WT_BR","bottomRight"]];(e.test(j.Width))&&(j.Width=US.Width*(parseInt(j.Width)/100));(e.test(j.Height))&&(j.Height=US.Height*(parseInt(j.Height)/100));(e.test(j.Top))&&(j.Top=US.Height*(parseInt(j.Top)/100));(e.test(j.Left))&&(j.Left=US.Width*(parseInt(j.Left)/100));l=$$("div",{"className":"UD_W UD_UIU","id":j.ContainerId,"style":{"width":j.Width+"px","height":j.Height+"px","left":j.Left+"px","top":j.Top+"px"}});$$("div",{"className":"UD_ICON UD_ICONl"},l);b=$$("div",{"className":"UD_WIMG UD_W_TB","style":{"width":(j.Width-30)+"px"},"onmousedown":[[U.D.DragMouseDown,([l])]]},l);$$("span",{"className":"UD_W_TB_T","innerHTML":j.titleName},b);g=$$("div",{"className":"UD_W_TB_WM"},b);$$("span",{"title":"关闭","className":"UD_ICON UD_W_TB_WM_Close","onmousedown":U.M.StopBubble,"onclick":[[(U.D.Tb?U.D.Tb.PopupWinClose:U.D.CloseWindow),([l,(j.IsR?"remove":"")])]]},g);$$("div",{"className":"UD_ICON UD_ICONR"},l);a=$$("div",{"className":"UD_WIMG UD_ICONz","style":{"height":j.Height-36+"px"},"onmousedown":U.M.StopBubble},l);c=$$("div",{"id":j.ContainerId+"Content","className":"UD_W_WC","style":{"cssText":"height:100%;"+j.CStyle}},a);if(j.Embed==0){$$("iframe",{"id":j.ContentId,"name":j.ContentId,"frameborder":0,"scrolling":j.hasScroll,"src":j.Content,"width":"100%","height":"100%"},c);}else{if(typeof j.Content=="object"){c.appendChild(j.Content);}else{c.innerHTML=j.Content;}}_UEV={"with":[{"Element":a,"hdiffer":-36},{"Element":b,"hdiffer":0,"wdiffer":-30}]};if(j.hasDraw){for(d=0;d<k.length;d++){$$("span",{"className":k[d][0],"onmousedown":[[U.D.RCDG,([l,k[d][1],f])]]},l);}}(j.hasMax)&&($$("span",{"title":"最大化","className":"UD_ICON UD_W_TB_WM_Max","onmousedown":U.M.StopBubble,"onclick":[[U.D.Windowmaximize,([l,"this",_UEV,b])]]},g));(j.hasMin)&&($$("span",{"title":"最小化","className":"UD_ICON UD_W_TB_WM_Min","onmousedown":U.M.StopBubble,"onclick":[[U.D.WindowMin,([l])]]},g));(j.Width==US.Width&&j.Height==US.Height)&&(b.onmousedown);b.onmousedown=(j.Width==US.Width&&j.Height==US.Height)?U.M.apply(this,[[U.D.DragElement,([l,null,_UEV,b,{"onmousedown":b.onmousedown}])],[b.onmousedown]]):b.onmousedown;(h)&&(h.appendChild(l));l.style.display="block";return l;};U.UI.SUForms=function(o,j,d,g,k,e){var b=(document.body.clientWidth-k)/2,m=(document.body.clientHeight-e-50)/2;var a=[1,m,b,k,e,d,j,"",o,"no",false,false,false,g,true];var f={"Embed":a[0],"Top":a[1],"Left":a[2],"Width":a[3],"Height":a[4],"ContainerId":a[5],"titleName":a[6],"ContentId":a[7],"Content":a[8],"hasScroll":a[9],"hasMax":a[10],"hasMin":a[11],"hasDraw":a[12],"CStyle":a[13],"IsR":a[14]};var n=U.UI.UForms(f,document.body);};U.Alert=function(c,b){var a=new U.AlertT(b);a.init(c);};U.AlertT=function(a){this.TF=false;this.UTI=a;this.OT;this.UA;};U.AlertT.prototype={"init":function(a,b){this.UA=$$("div",{"id":"USalert","innerHTML":a,"className":"USalert","style":{"zIndex":"9999","left":(US.Width/2-150)+"px","top":(US.Height/2-100)+"px"},"onclick":U.M.apply(this,[[this.DAlert]])},$("body")[0]);$(this.UA).animate({"top":US.Height/2-80+"px"},300,U.M.apply(this,[[this.AsynAmAlert]]));},"AsynAmAlert":function(){if(!this.TF){var a=this;this.OT=setTimeout(function(){$(a.UA).animate({"top":US.Height/2-70+"px"},100,U.M.apply(a,[[a.DAlert]]));},(this.UTI||500));}},"DAlert":function(){if(!this.TF){clearTimeout(this.OT);this.TF=true;document.body.removeChild(this.UA);}}};U.UI.RadioList=function(c,b){var a=new U.UI.RadioListT(c,b);a.init();return a;};U.UI.RadioListT=function(b,a){if(U.M.GetType(a)!="Object"){return;}b.innerHTML="";this.D=b;this.S=a;this.A=[];};U.UI.RadioListT.prototype={init:function(){var a=this.S,d,e;for(var b in a){if(a.hasOwnProperty(b)){d=$$("div",{"innerHTML":a[b],"style":{"cssText":"margin-left:5px;"}},this.D);e=$$("input",{"type":"radio","value":b,"onclick":[this.radiochecked,([this,"retElement"])]},d);this.A.push(e);}}this.A[0].checked=true;},radiochecked:function(b,c){var a;for(a=0;a<b.A.length;a++){b.A[a].checked=false;}c.checked=true;},value:function(){var a;for(a=0;a<this.A.length;a++){if(this.A[a].checked==true){return this.A[a].value;}}return this.A[0].value;}};Namespace.register("U.D.E");U.D.E.RichEditor=function(n,f,p,c,h){var o,l,g,e,r,a,b,q=n[0]||n,d=n[1]||n,k=document.createDocumentFragment(),m=document.createDocumentFragment(),j=U.CI.IsHF();o=$$("div",{"className":"UF_FW_ok UF_FW_centerwindow "},k);$$("div",{"unselectable":"on","className":"UD_PiLt UF_FW_face","title":"表情"},o);$$("div",{"unselectable":"on","className":"UD_PiLt UF_FW_Fbold","title":"粗体"},o);$$("div",{"unselectable":"on","className":"UD_PiLt UF_FW_underline","title":"下划线"},o);$$("div",{"unselectable":"on","className":"UD_PiLt UF_FW_italic","title":"斜体"},o);l=$$("select",{"className":"UF_FW_FontSize","title":"字体大小"},o);g=$$("select",{"className":"UF_FW_FontType","title":"字体"},o);e=$$("div",{"className":"UE_Edit"},o);r=$$("div",{"className":"UD_PiLt UE_EditOut UE_EditEnd","title":"上传图片","onclick":j?[[U.M.StopBubble],[top.U.Dk.UP.FUW,([US.NU,US.userInfo.userid,US.NU,{"GS":"UP","FCP":U.M.apply(this,[[U.D.E.UPAsynCB,([d,"QL",null])]]),"URL":"http://disk.1473.cn/USupfile.ashx?iframename=UseStudioEditor","ID":"UDK_FUPB"}])]]:""},e);if(j==null){$$("input",{"className":"UE_filePrew","type":"file","id":"UU_E_Input","name":"usestudiouploadinput","onchange":[[top.U.D.E.usestudioeditoruploadimg,(["this",d,h,"QL"])]]},r);}if(c){$$("div",{"unselectable":"on","className":"UF_FW_right UD_PiLt UF_FW_messagenote","id":"messagenote"},o);}a=$$("div",{"style":{"height":p+"px"},"className":"UF_FW_DECC"},m);b=$$("div",{"spellcheck":"false","contentEditable":"true","className":"UF_FW_DEC","style":{"float":"none","cssFloat":"none","styleFloat":"none"}},a);q.appendChild(k);d.appendChild(m);U.D.E.editorWindow(q,b);U.D.E.Setoptions(b,g,l);return n;};U.D.E.editorWindow=function(d,c){var b=$("div",d)[0],a=$("div",b);($("input",b)[0]||a[5]).onmousedown=a[0].onmousedown=U.M.apply(this,[[U.D.E.GetSelectionRange,([window,c,{"TF":"QL"}])]]);a[0].onclick=U.M.apply(this,[[U.D.E.CreateSf,(["ChattingFaceDiv",null,"this",window,c,"QL"])]]);a[1].onmousedown=U.M.apply(this,[[U.D.E.FontSizeType,([c,{"fontWeight":["bold","normal"]}])]]);a[2].onmousedown=U.M.apply(this,[[U.D.E.FontSizeType,([c,{"textDecoration":["underline","none"]}])]]);a[3].onmousedown=U.M.apply(this,[[U.D.E.FontSizeType,([c,{"fontStyle":["italic","normal"]}])]]);};U.D.E.SetSO=function(a){if(a&&a!=event){if(this["on"]==1){U.M.apply(this,[a])();this["on"]=0;}else{this["on"]++;}}else{this["on"]=0;}};U.D.E.Setoptions=function(b,g,f){f["on"]=g["on"]=g.options.length=f.options.length=0;var e=[12,14,16,18,20,22,24,36,48,72],d=["宋体","黑体","仿宋_GB2312","楷体_GB2312","隶书","微软雅黑","幼圆","Arial","Verdana"];for(var c=0;c<9;c++){g.options.length+=1;g.options[c].value=d[c];g.options[c].text=d[c];}for(var a=0;a<10;a++){f.options.length+=1;f.options[a].value=e[a]+"px";f.options[a].text=e[a];}g.onclick=U.M.apply(g,([[U.D.E.SetSO,([[U.D.E.SelectO,([b,"fontFamily",g])]])]]));f.onclick=U.M.apply(f,[[U.D.E.SetSO,([[U.D.E.SelectO,([b,"fontSize",f])]])]]);f.onblur=g.onblur=U.D.E.SetSO;};U.D.E.SelectO=function(b,c,a){if(c=="fontFamily"){U.D.E.FontSizeType(b,{"fontFamily":a.value});}else{U.D.E.FontSizeType(b,{"fontSize":a.value});}};U.D.E.CreateImage=function(a,d,c,b){U.D.E.SORange["OE"][b].Replace(d);};U.D.E.FontSizeType=function(e,f,j,h){j=j||U.D.E.GetSelectionRange(window,e,{"TF":h||"QL"});var d,b,k=[],a=j.GetSelectedHtml(),g=j.GetPStyle(),c=(a=="");for(d in f){f[d]=f[d] instanceof Array?f[d]:[f[d],f[d]];k[d]=f[d];(g.style[d]==f[d][0])&&(f[d][0]=f[d][1]);(d=="textAlign")&&(c=true);}if(!c){b=j.SetStyle(j.GetSelectedHtml(),f);(c=(b!=""))&&(j.Replace(b));c=!c;}if(c){a=g.outerHTML;j.IsSetStyle(g,f);(!_TF)&&(j.Replace(""));}j.ADQJS(a,j.TR);j.SL(null,j.TR);f=k;return j;};U.D.E.usestudioeditoruploadimg=function(f,e,c,g){if(top.US.userInfo.userid){var h,d=U.UP.SFT("UP"),b=$("div@contenteditable=true",e.parentNode)[0],a=f.parentNode;if(top.U.UP.UploadFileType(f,d)==false){U.Alert("只允许上传图片文件和压缩文件");return;}UDID=U.D.E.AddUPWJ({"type":"jpg"});U.D.E.CreateImage(window,UDID.outerHTML,b,g);U.UP.uploading([f],U.D.E.uploadcallback,([b,$("img@TI="+UDID.id,b)[0]]),"http://disk.1473.cn/USupfile.ashx?iframename=UseStudioEditor",true);$$("input",{"className":"UE_filePrew","title":"上传图片","type":"file","id":"UU_E_Input","name":"usestudiouploadinput","onchange":f.onchange,"onmousedown":[[U.D.E.GetSelectionRange,([window,b,{"TF":g}])]]},a);}else{top.U.Alert("请登录后在上传");}};U.D.E.uploadcallback=function(d){var b,c=d.context,a=d.UpObj;d=d.value;if(d!=""){b=U.UP.GetUpName(a);U.D.E.AddUPWJ({"URL":d[0],"name":b[0],"size":d[1],"type":"."+b[1]},c[1]);}};U.D.E.AddUPWJ=function(b,d){var a,e;if("rar,zip".indexOf(b["type"])>-1){a=$$("div",{"contentEditable":"false","onclick":'top.U.Dk.RE.ODL("'+(US.fs+b["URL"])+'","'+(b["name"]+"."+b["type"])+'")',"style":{"cssText":"width:150px;height:35px;display:block;"}});$$("div",{"contentEditable":"false","title":"点击下载","className":"UDK_L_DiskGE UDK_RT_DL_IMG","style":{"backgroundPosition":"-619px -199px"}},a);$$("div",{"contentEditable":"false","class":"UTDF","style":{"cssText":"'float:left;width:120px;line-height:32px;"},"innerHTML":(b["name"]+","+(U.Dk.HP.FileSize(b["size"])))},a);if(d){e=d.parentNode;e.replaceChild(a,d);}}else{if(d){U.M.imgReady(US.fs+b["URL"],null,U.M.apply(null,[[U.D.E.ImgOnLoad,([d])]]),U.M.apply(null,[[U.D.E.ImgOnLoad,([])]]));}else{var c=U.MS.produceGuid().replace(/-/g,"");a=$$("img",{"id":c,"src":"/img/imgloading.gif","style":{"maxWidth":"100%"},"onclick":"U.Img.Create({ 'Thm': this.src, 'Img': this.src });"});}}return a;};U.D.E.UPAsynCB=function(b,g,h,d,c){if(d){var e=(b.tagName),j=U.D.E.AddUPWJ(c),f=b;(e)&&(b=$("div@contenteditable=true",b)[0]);(b==null)&&(b=f);if(c["type"]=="rar"||c["type"]=="zip"){U.D.E.CreateImage(window," "+j.outerHTML+" ",b,g);}else{var a=j.id;(e)?U.D.E.CreateImage(window,(" "+j.outerHTML+" "),b,g):b.Replace((" "+j.outerHTML+" "));(b.GetPStyle)&&(b=b.GetPStyle());j=$("img#"+a,b)[0];U.D.E.AddUPWJ({"URL":d[0],"name":c["name"],"size":c["size"],"type":"."+c["type"]},j);(h)&&(h(j));}}};U.D.E.ImgOnLoad=function(a){if(a){$(a).addAttrArray({"onload":U.M.apply(a,"if (U.F) { U.F.FM.SUIMG(retElement); } "),"src":this.src,"width":this.width,"height":this.height});}else{U.M.ImgError(this,2);}};U.D.E.init=function(b,e){var d=U.M.GetElementInfo(e),c,f=d["BCRL"],a=d["BCRT"]+d["PXT"]-220+"px";if(f+436>=US.Width){c=true;f=0;}else{f=f-190;}$(b).addAttrArray({"style":{"left":f+"px","right":c?f+"px":"auto","top":a}});};U.D.E.CreateSf=function(a,c,g,b,e,f){c=c||$("#"+a)[0];if(c==null){c=$$("div",{"id":a,"unselectable":"on","className":"defaultFacePanel","onclick":[[U.M.StopBubble],[U.D.E.CreateSf,([a,"retElement"])]],"style":{"display":"block"}});for(var d=0;d<105;d++){$$("div",{"title":"[face]("+d+")","unselectable":"on","onclick":[[U.D.E.CreateImage,([b,"<img contentEditable='false' src='/img/ChatingFaceGif/[face]("+d+").gif' style='width:20px;height:20px;' /> ",e,f])]]},c);}document.onclick=U.M.apply(this,[[U.D.E.CreateSf,([a,c])],[document.onclick||U.M.apply(),([])]]);document.body.appendChild(c);}else{if(c.style.display=="block"||arguments.length==2){c.style.display="none";return;}else{$(c).addAttrArray({"style":{"display":"block"}});}}U.M.StopBubble();U.D.SetDTop(c);U.D.E.init(c,g);U.D.E.CreateImage(b,"",e,f);return c;};U.D.E.GetSelectionRange=function(a,c,j){try{j=j||{};var h,d=U.D.E.SORange,b=d["OAT"],f=j["TF"],l=b[f]===undefined,k=(((l)&&(b[f]=[])),(((h=d["OE"][f])&&(h["SO"]=c,h.CreateR()))||new U.D.E.SelectionRange(a,a.document,c,j).CreateR()));if(l){$(k.PSO).addAttrArray({"onkeydown":U.M.apply(k,[[k.GetKE]]),"onkeyup":U.M.apply(k,[[k.CLKU]]),"onmouseup":U.M.apply(k,[[k.CLMU]])});(f!==null)&&(d["OE"][f]=k,b[f].push({"OR":new k.init(k,false),"C":""}));}return k;}catch(g){}};U.D.E.SelectionRange=function(a,e,d,c,b){this.S,this.R,this.J,this.TR,this.BCB,this.FCB,this.TIM=[];this.CD=e;this.CW=a;this.SO=d;this.PSO=b;this.CB=c["CB"];this.TF=c["TF"];};U.D.E.SORange=U.D.E.SelectionRange.prototype={OAT:{},OE:{},GF:function(a){a=a||this.TF;return U.D.E.SORange["OAT"][a];},init:function(a,b){U.D.E.SelectionRange.apply(this,[a["CW"],a["CD"],a["SO"],{"TF":a["TF"],"CB":a["CB"]},a["PSO"]]);this.CreateR(b);},CreateR:function(d){var b,c,a;if(document.selection){b=this.CW.document.selection;a=document.body.createTextRange();c=b.createRange();if((this.SO&&!U.M.EISE(this.SO,this.GetPStyle(c))&&d!=false)||(d==true)){c=(this.QX(0,0))||c;b=this.CW.document.selection;}}else{b=this.CW.getSelection();(d!=false&&this.SO&&((b.rangeCount==0&&this.SO&&this.SO.focus)||(!U.M.EISE(this.SO,this.GetPStyle(b.getRangeAt(0))))))&&(this.QX());if(b.rangeCount>0){c=b.getRangeAt(0);a=document.createRange();}else{a=c=document.createRange();}}if(c){this.R=c;this.S=b;this.TR=a;this.SO=this.SO?this.SO:this.GetPStyle();U.D.E.SORange=this;this.PSO=this.PSO||this.SO;while((this.PSO.contentEditable!="true"||this.PSO.tagName.toLocaleLowerCase()=="p")&&this.PSO.tagName.toLocaleLowerCase()!="body"){this.PSO=this.PSO.parentNode;}}return this;},SL:function(c,b){var a;c=c||this.SO;this.S=this.S||this.CW.getSelection();if(b){if(b.select){b.select();}else{this.S.removeAllRanges();this.S.addRange(b);}}else{if(document.selection){b=document.body.createTextRange();b.moveToElementText(c);b.select();}else{b=document.createRange();b.setEndAfter(c);b.setStartAfter(c);this.S.removeAllRanges();this.S.addRange(b);}}return b;},QX:function(b,c,h){try{if(document.selection){h=h||this.SO||this.GetPStyle();var a=document.body.createTextRange(),g=document.body.createTextRange();a.moveToElementText(h);if(typeof b=="number"){a.moveStart("character",b);g.moveToElementText(h);g.moveStart("character",c);a.setEndPoint("EndToStart",g);}a.select();}else{this.S=(this.S||this.CW.getSelection());(this.S.rangeCount==0)&&((h||this.SO).focus());this.R=this.S.getRangeAt(0);if(this.R.commonAncestorContainer!=document){var f=document.createRange();this.S.removeAllRanges();f.selectNodeContents((h||this.R.commonAncestorContainer));b=b==null?this.R.startOffset:b;c=c==null?this.R.endOffset:c;try{f.setStart((h||this.R.startContainer),b);f.setEnd((h||this.R.endContainer),c);}catch(d){}this.S.addRange(f);}}return(a||f);}catch(d){}},GetPStyle:function(b){b=b||this.R;if(b){if(b.parentElement){return b.parentElement();}else{if(b.commonParentElement){return b.commonParentElement();}else{var a=b.commonAncestorContainer;return(a.nodeName=="#text"?a.parentNode:a);}}}},GetSelectedHtml:function(){if(this.R==null||this.R.add){return"";}else{if(this.R.htmlText!=undefined){return(this.R.text==""?"":this.R.htmlText);}else{var a=$$("div");a.appendChild(this.R.cloneContents());return a.innerHTML;}}},GetSelectedText:function(){if(this.R==null||this.R.add){return"";}else{if(this.R.text!=undefined){return this.R.text;}else{return(this.S.toString()||this.R.toString());}}},Replace:function(k,e){e=e||this.R;if(e&&k!=null){if(e.commonParentElement){if(k!=""){var a=k,g=e.commonParentElement();if(g){if(k.innerHTML==null){a=$$("div",{"innerHTML":k});}g.parentNode.replaceChild(a,g);}}}else{var j={};if(e.pasteHTML){var f,c,h=this.GetPStyle(e),m=$$("div",{"innerHTML":k.outerHTML||k}),b=true,a=[];(m.firstChild)&&(this.GetStyle(m=m.firstChild,j));while(h&&h.innerHTML==(k.outerHTML||k)&&h.contentEditable!="true"&&h.tagName.toLocaleLowerCase()!="body"&&h.tagName.toLocaleLowerCase()!="a"&&($("p",h)[1]==null||$("div",h)[1]==null)){a.push(h);(h!=this.SO)&&(this.GetStyle(h,j));h=h.parentNode;}if(a[0]&&m.innerHTML!=""){a[a.length-1].parentNode.replaceChild(m,a[a.length-1]);b=false;this.SO=m;}else{this.SO=null;}this.IsSetStyle(m,j);e.select();(b)&&(e.pasteHTML(k==""?"":(m.outerHTML||k)));}else{if(this.GetPStyle(e)!=document){(this.SO&&this.SO.focus)&&(this.SO.focus());var l,m=e.createContextualFragment(k.outerHTML||k),d=m.lastChild,h=this.GetPStyle(e);e.deleteContents();this.S.removeAllRanges();e.insertNode(m);if(d){this.SO=d;this.SL(d);}else{e.collapse(true);this.S.addRange(e);}}}this.CreateR();this.SO=this.GetPStyle();this.TR=e;}return this;}},GetStyle:function(UDE,UJH){if(UDE&&UDE.style){var i,_USE=UDE.style.cssText.toLowerCase();if(_USE!=""){while((i=_USE.indexOf("-"))>-1){i=_USE.substring(i+1,i+2);_USE=_USE.replace(new RegExp("-"+i,"gm"),i.toLocaleUpperCase());}eval("_USE = {"+_USE.replace(/;/gm,'",').replace(/: /gm,':"')+'"}');for(var i in _USE){if(_USE.hasOwnProperty(i)&&UJH[i]==null){UJH[i]=[_USE[i],_USE[i]];}}}}},SetStyle:function(d,c){var b=true;var a=$$("span",{"innerHTML":d});this.SetNodeStyle(a,c);for(i=0;i<a.childNodes.length;i++){if(a.childNodes[i].innerHTML==undefined){b=false;continue;}}if(a.getElementsByTagName("*").length>0&&b){return(a.innerText==""?"":a.innerHTML);}else{return a.outerHTML;}},SetNodeStyle:function(g,d){var e,b,a,f=g.childNodes;if(f.length>0){for(var c=0;c<f.length;c++){e=g.childNodes[c];if(e.innerHTML==undefined){if(a!=e.parentNode){this.IsSetStyle(e.parentNode,d);a=e.parentNode;}}else{this.SetNodeStyle(e,d);}}}else{this.IsSetStyle(g,d);}},IsSetStyle:function(a,c){var b,d=a.style;for(b in c){if(c.hasOwnProperty(b)){if(c[b][1]==d[b]||d[b]==""){d[b]=c[b][0];}else{d[b]=c[b][1];}}}},GetGBWZ:function(b){var a=0;_R=document.selection?document.body.createTextRange():this.R;if(_R.startOffset!=null){a=this.R.startOffset;}else{_R.moveToElementText(b);_R.moveStart("character",0);_R.setEndPoint("EndToStart",this.R);a=$$("div",{"innerHTML":_R.htmlText}).innerText.length+($("img",b).length);}return a;},JHGB:function(a,c,d){if(this.TF!=null){var g,h,b=this.OAT[this.TF],e=b[b.length-1],f={"OR":new this.init(a,false),"C":(c||"")};b.push(f);if(document.selection==null){if(d==null){d=document.createRange();d.setStart(e["OR"]["R"].endContainer,e["OR"]["R"].endOffset);d.setEnd(f["OR"]["R"].endContainer,f["OR"]["R"].endOffset);}e["OR"]["R"]=d;}}},ADQJ:function(a,b){clearTimeout(this.TIM[0]);this.TIM[0]=setTimeout((this.TIM[1]=U.M.apply(this,[[this.ADQJS,([a,b])]])),500);},ADQJS:function(b,c){var a=this["OAT"][this.TF];this.JHGB(this,b,c);(b!=null)&&(this.JHGB(this,"",c));this.TIM.splice(0,2);},CZ:function(){var a=this.OAT[this.TF],c=a.length-2,b;U.M.StopDefault();if(c>-1){b=a.splice(c,1)[0];b["OR"].Replace(b["C"]);(b["C"]!="")&&(b["OR"].SL(null,b["OR"].TR));(a.length>0)&&(b=a.pop(),a.push({"OR":new this.init(b["OR"],false),"C":""}));}},CLKU:function(){var a=event.keyCode;this.CreateR(false);((a>268&&a<272)||(a>0&&a<5)||(a>36&&a<41))&&(this.CLMU());(this.CB)&&(this.CB("UP",[this.GetPStyle()]));},GetKE:function(){var b="QT",c,a=this.OAT[this.TF];this.SO=null;this.CreateR(false);this.KESO=this.GetPStyle(),_UKC=event.keyCode;if(event.ctrlKey){if(_UKC==90){(this.TIM[1])&&(this.TIM[1]());this.CZ();}}else{if(_UKC==8){if(this.R.commonParentElement==null){b="IFD";}else{if(this.R.commonParentElement&&this.R.commonParentElement().tagName.toLocaleLowerCase()!="img"){U.M.StopDefault();}}}else{if(_UKC==9){U.M.StopDefault();this.Replace("  ");b="TAB";}else{if(_UKC==13||_UKC==100){this.JHGB(this,"");}else{if(_UKC==229||((_UKC>47&&_UKC<58)||(_UKC>64&&_UKC<91))||((_UKC>95&&_UKC<112)&&(_UKC!=100))||(_UKC>185&&_UKC<223)){this.ADQJ();}else{if((_UKC>268&&_UKC<272)||(_UKC>0&&_UKC<5)||(_UKC>36&&_UKC<41)){((this.TIM[1])&&(this.TIM[1]()));}}}}}}(this.CB)&&(this.CB(b,[this.KESO]));},CLMU:function(){var a,b;(this.TF!=null)&&(a=this.OAT[this.TF],(a.length>0)&&(b=a.pop(),a.push({"OR":new this.init(b["OR"],false),"C":""})));(this.CB)&&(this.CB("ON",[]));},CTHH:function(){this.SO=null;this.CreateR();this.SO=null;var g,c,j,f,d,e=this.GetPStyle(),b=e.nextSibling,a=this.GetSelectedHtml(),h=e.innerText.length+($("img",e).length),k=$$("div",{"contentEditable":"inherit","innerHTML":" ","style":{"cssText":e.style.cssText}});while(e.tagName.toLocaleLowerCase()!="div"&&e.tagName.toLocaleLowerCase()!="p"&&e.tagName.toLocaleLowerCase()!="body"){e=e.parentNode;}if(a){this.Replace("");}if((g=this.GetGBWZ(e))!=h){h=e.innerText.length+($("img",e).length);this.QX(g,h);this.CreateR();c=this.GetSelectedHtml()=="";k.innerHTML=(this.GetSelectedHtml()||" ");this.Replace(" ");}if($("div",e)[0]==null){f=e.innerHTML;e.innerHTML="";d=$$("div",{"contentEditable":"inherit","innerHTML":(f||" ")},e);e=d;b=null;}if(b){b.parentNode.insertBefore(k,b);}else{e.parentNode.appendChild(k);}this.SO=k;this.CreateR();(c)&&(this.Replace((document.selection?"":"<br />"),(this.QX(0,1))));}};U.D.E.SORange.init.prototype=U.D.E.SORange;Namespace.register("U.UP");U.UP.uploading=function(e,c,g,l,k){if(e.length>0){var f,j={"UpObj":e[0],"context":g,"value":""},h=c,b=l+"&UserId="+US.userInfo.userid,d=top.$("#UL_IF")[0],a=top.$$("form",{"action":b,"encoding":"multipart/form-data","enctype":"multipart/form-data","method":"post","name":"loading","target":"UL_IF"},top.document.body);if(k){a.appendChild(e[0]);if(e.length>1){e.splice(0,1);h=U.M.apply(this,[[c,([j])],[U.UP.uploading,([e,c,g,l,k])]]);}}else{j["UpObj"]=e;for(f=0;f<e.length;f++){a.appendChild(e[f]);}}a.submit();d.complete="";(h)&&(U.MD.IframeLoad(d,[[U.UP.AsynF,([d,h,j])]]));a.parentNode.removeChild(a);}};U.UP.AsynF=function(UFLD,UCB,URQ){try{var _UTH=UFLD.contentWindow.document.body.innerHTML;if(_UTH==null){U.Alert("服务器处理繁忙,上传失败");}try{URQ.value=eval(_UTH);}catch(e){URQ.value=_UTH;}UFLD.contentWindow.document.body.innerHTML="";UFLD.complete="";UCB(URQ);}catch(e){U.Alert("文件过于庞大!不能超过25M.");}};U.UP.FTF={"WH":{},"FT":{},"TF":false,"GS":"*","EL":""};U.UP.AddFAN=function(b,a,d){if($("object",b).length==0){if(U.UP.FTF["EL"]){a="";}var c='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" class="UD_filePrew" width="'+d["width"]+'" height="'+d["height"]+'" id="'+a+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"><param name="movie" value="/img/Upload.swf" /><param name="menu" value="false" /><param name="wmode" value="Opaque" /><param name="quality" value="high" /><param name="bgcolor" value="ffffff" /><param name="allowScriptAccess" value="always" /><embed src="/img/Upload.swf" quality="high" bgcolor="ffffff" width="88" height="30" name="'+a+'" align="middle" play="true" wmode="transparent" loop="false" quality="high" style="z-index: 0;" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>';b.innerHTML=c;}U.UP.FTF["EL"]=(window.document[a]||$("embed",b)[0]);U.UP.FTF["EL"].style.display="block";};U.UP.FOnload=function(){var a=U.UP.FTF;U.UP.FTF["EL"].SetStage(a["WH"],a["FT"],a["GS"]||"*");};U.UP.FAFZ=function(b,a,d){var c,e=U.UP.FTF;e["GS"]=d||"*",_UDFB=U.UP.FTF["EL"];e["WH"]=b;e["FT"]=a;if(_UDFB&&_UDFB.SetStage){U.UP.FOnload();}};U.UP.SFT=function(a){switch(a){case"A":return"rar,zip,txt,doc,docx,ppt,pptx,xls,xlsx,mht,iso,chm,gz,msi,dll,html,htm,pdf,xlsx,pptx,css,js,psd,cad,dwt,dwg,dws,dwf";case"P":return"jpg,gif,png,bmp,jpeg,JPG,GIF,BMP,PNG,JPEG";case"M":return"mp3";case"V":return"wmv";case"B":return"exe,vbs,vbe,js,jse,wsh,wsf";case"UP":return".gif,.GIF,.jpg,.JPG,.jpeg,.JPEG,.png,.PNG,.bmp,.BMP,.rar,.zip";break;case"CA":return U.UP.SFT("P")+","+U.UP.SFT("M")+","+U.UP.SFT("V");case"Office":return"txt,htm,doc,xls,ppt,wsh,wsf";default:return"";}};U.UP.UploadFileType=function(e,d){e=(e.value||e).toLocaleLowerCase();var b,c=e.replace(e.substring(0,e.lastIndexOf(".")+1),""),a=d;(a==null)&&(a=U.UP.SFT("CA"));b=a.indexOf(c)!=-1?true:false;((d==null)&&(b=(!b)));return b;};U.UP.GetUpName=function(b){b=(b.value||b).toLocaleLowerCase();var a=b.lastIndexOf(".");return[b.substr(b.lastIndexOf("\\")+1,a),b.substr(a+1)];};U.UP.IsImg=function(d){var b=false,c=U.UP.GetUpName(d)[1].toLowerCase(),a=U.UP.SFT("P");(a.indexOf(c)>-1)&&(b=true);return b;};
|