try{if(document.domain){if(document.domain.indexOf("1473.cn")>-1){document.domain="1473.cn";}else{document.domain="boomyun.com";}}}catch(e){}window.Namespace={};Namespace.register=function(c){var b,d=window,a=c.split(".");for(b=0;b-1||isNaN((j=Number(j.toInt())))){e=c["offset"+(d.charAt(0).toUpperCase()+d.substr(1))];if(d=="width"){for(g=0;g-1||a.contentEditable=="true"){break;}}a=$(a).Parent();}return a;};U.UF.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.UF.M.IndexOfParent=function(a){var b=$($(a).Parent()).Child();return b.indexOf(a);};U.UF.M.Arrt=function(b,a){b=b||$$("div");var c=b.attributes;if(c){if(c[a]){return c[a].expando==true;}else{return b.getAttribute(a)!==null||b[a]===void 0;}}};U.UF.M.fullScreen=function(){var a=U.UF.M.GetFullSreeenName("requestFullScreen");if(a!=null){document[a]();}};U.UF.M.cancelfullScreen=function(){var a=U.UF.M.GetFullSreeenName("cancelFullScreen")||U.UF.M.GetFullSreeenName("exitFullScreen");if(a!=null){document[a]();}};U.UF.M.GetFullSreeenName=function(b){var d,a;var c=["","webkit","moz","ms","o"];for(d=0;d0?d:a,h]);return d;}return[];};U.UF.M.GetStyle=function(a,b){if(a&&a.style){b=U.UF.M.CssTHH(b);return(a.style[b]||b=="cssText")?a.style[b]:(a.currentStyle?a.currentStyle[b]||"":"");}return"";};U.UF.M.ARClass=function(d,b,c,h){var g,e,a,f=b||0;_UL=b+1||d.length,_UL=Math.min(_UL,d.length);_UCE=new RegExp("(\\s|^)"+c+"(\\s|$)");for(;f<_UL;f++){g=d[f].className;e=g.match(_UCE);if(h=="Add"){(!e)&&(d[f].className+=(g?" ":"")+c);}else{if(h=="RE"){(e)&&(a=g.indexOf(c)+c.length,d[f].className=g.replace(_UCE,(a==g.length||!a)?"":" "));}}}return e;};U.UF.M.CssTHH=function(a,b){b=b?[/[A-Z]/g,"-",0,"toLowerCase"]:[/-[a-z ]/g,"",1,"toUpperCase"];return a.replace(b[0],function(c){return b[1]+c.charAt(b[2])[b[3]]();});};U.UF.M.HexBack=function(c){var a,b="#",d=c.match(U.UF.S.rgb);if(d){for(a=1;a2)&&(m[f]={"cssText":e.replace(/["|{|}]+/ig,"").replace(/,/ig,";")});}else{k[0]=b[f]||0;k[1]=l[f];for(d=0;d-1){var b=(event.type=="mouseover"?event.fromElement:event.toElement)||event.relatedTarget;return U.UF.M.EISE(a,b);}return false;};U.UF.M.resize=function(a){var b=new U.UF.M.resize.init(a);return U.UF.M.apply(b,b.exec);};U.UF.M.resize.init=function(a){U.UF.Ut.AddObj(this,this.u=a);};U.UF.M.resize.init.prototype={exec:function(){this.start();(this.ti)&&(clearTimeout(this.ti));this.ti=setTimeout(U.UF.M.apply(this,this.end),0);(U.UF.Ut.isFunction(this.u))&&(this.u());},start:function(){this.iss=true;(!this.iss&&this.s)&&(this.s());},end:function(){this.iss=false;(this.e)&&(this.e());}};U.UF.M.StopDefault=function(){var a=a||window.event;if(a){if(document.all){a.returnValue=false;}else{a.preventDefault();}return false;}};U.UF.M.returnkeylogin=function(c,b){var a;if(event.keyCode==13||event.keyCode==10){if(b){U.UF.M.apply(c||this,b)();}else{if(c){for(a=0;a-1))));(b)&&(U.UF.M.StopBubble(),U.UF.M.StopDefault());return(!b);};var a=function(){if(event.keyCode==8){if(U.UF.M.GetDE((event.srcElement))==document.body&&!document.body.isContentEditable){U.UF.M.StopDefault();}}(U.UF.M[event.type])&&(U.UF.M[event.type]());};U.UF.M.AddEvent("keydown",document,a);U.UF.M.AddEvent("keyup",document,a);}};U.UF.M.apply=function(retElement,UDE){return function(){if(UDE){var i,j,_URE,_UAE,_UTE=(retElement)||this,_UME=Array.prototype.slice.apply(arguments);if(typeof UDE=="string"){_URE=(new Function(UDE)).apply(_UTE,_UME);}else{if(typeof UDE=="function"){_URE=UDE.apply(_UTE,_UME);}else{for(i=0;i1)&&(_UAE=_UAE.concat(_UME));for(j=0;j<_UAE.length;j++){if(typeof _UAE[j]=="string"){try{if(_UAE[j].indexOf("this")>-1||_UAE[j].indexOf("retElement")>-1||_UAE[j].indexOf("event")>-1){_UAE[j]=eval("0,("+_UAE[j]+")");}else{if(U.UF.S.Num.test(_UAE[j])){_UAE[j]=Number(_UAE[j]);}}}catch(e){U.UF.M.Console(e);}}}try{if(U.UF.Ut.isString(UDE[i][0])){_URE=eval(UDE[i][0]).apply(_UTE,_UAE);}else{if(U.UF.Ut.isFunction(UDE[i][0])){_URE=UDE[i][0].apply(_UTE,_UAE);}}}catch(e){U.UF.M.Console(e);}}}}}return _URE;}else{return false;}};};U.UF.M.ImgError=function(b,d){var a,c,b=b&&!b.srcElement?b:(event?event.srcElement||this:this);if(b.src!="http://www.1473.cn/img/error.png"){if(d==2){c=b.src;a=c.indexOf("?&n=");if(a<0||c.length-a<10){b.src+=(a==-1?"?&n=":"")+1;return;}else{d=1;}}if(d==1){$(b).addAttrArray({"src":"http://www.1473.cn/img/error.png","width":"111px","height":"111px"});}else{b.src=d||"http://www.1473.cn/img/UserHead/UseHead.jpg";}}};U.UF.M.GetImgU=function(a){return(!a?"http://www.1473.cn/img/UserHead/UseHead.jpg":!a.indexOf("http")?a:((a.indexOf("www.1473.cn")>-1?a:US.FILESYSTEMURL+a.replace(new RegExp(US.FILESYSTEMURL,"gm"),""))));};U.UF.M.isPlay=function(a){var b=U.MD.V.vi();if(b){if(b.isPlay(a,$$("video"))){return 1;}return 0;}return b;};U.UF.M.imgReady=function(b,j,a,e){var c,h,g,d,f=new Image();_UOR=function(){f=f||this;g=f.width;d=f.height;if((g!==c||d!==h)||d!==0){(j)&&(j.call(f));_UOR.end=true;}};$(f).addAttrArray({"src":b,"onload":function(){setTimeout(function(){!_UOR.end&&_UOR();(f)&&(f.onload=f.onerror=null);(f&&a)&&(a.call(f));f=null;},0);},"onerror":function(){if(U.UF.M.IsNetwork()){e&&e.call(f);}}});if(f){_UOR();if(f.complete==true){f.onload();return;}}if(!_UOR.end){U.UF.M.imgReady._UL.push(_UOR);if(U.UF.M.imgReady._UIT==null){U.UF.M.imgReady._UIT=setInterval(U.UF.M.imgReady._URT,40);}}return f;};U.UF.M.imgReady._UIT;U.UF.M.imgReady._UL=[];U.UF.M.imgReady._US=function(){clearInterval(U.UF.M.imgReady._UIT);U.UF.M.imgReady._UIT=null;};U.UF.M.imgReady._URT=function(){for(var a=0;aUS.width||b<0||b>US.height)))&&U.UF.M.IsActivity.UTF){U.UF.M.IsActivity.UTF=false;a();}};U.UF.M.Cookies={};U.UF.M.Cookies.crossdomain=function(b,a){U.UF.DL.asynLoadJs({"src":b},a);};U.UF.M.Cookies.getarray=function(c){var b,d={},a=U.UF.M.GetCookie("usestudiosso");if(a){a=a.split("&");for(b=0;b0){f+="&";}f+=c+"="+encodeURIComponent(e[d][c]);b++;}document.cookie=this.setpn(a,f);}}return(document.cookie);};U.UF.M.Cookies.setpn=function(c,e){var a={path:"/",domain:document.domain,expires:365,secure:null};c=c||{};for(i in a){if(i=="expires"&&(c[i]||a[i])){_UKE=new Date();var d=(c[i]||a[i])*24*60*60*1000;_UKE.setTime(_UKE.getTime()+d);c[i]=_UKE.toUTCString();}if(c[i]||a[i]){var b;if(c[i]==null){b=a[i];}else{b=c[i];}e+="; "+i+"="+b;}}return e;};U.UF.M.Cookies.del=function(c){var b,e,d="",a=document.cookie.split("; ");for(b=0;b0?"":"http://")+b);if(U.UF.S.Url.test(b)){c=$$("a",{"href":b});a=c.href?b:false;}return a;}};U.UF.M.getUrl=function(a){var b=$$("a",{"href":a});return{"host":b.href.replace(b.search,""),"search":b.search};};U.UF.M.IFO=function(c,b,a){U.UF.DL.IframeLoad(c,U.UF.M.apply(null,[[U.UF.M.AsynIFO,[c,b,a]]]));c.src="javascript:void((function(){document.open();document.domain='"+document.domain+"';document.close()})())";return c;};U.UF.M.AsynIFO=function(c,b,a){(b)&&(c.contentWindow.document.body.innerHTML=b);(a)&&(U.UF.M.apply(c,a)());};U.UF.M.SplitArray=function(a){var b;for(b=0;be[1])?d["X"]-e[0]:d["X"];d["Y"]=((c[0]+d["Y"])>c[1])?d["Y"]-c[0]:d["Y"];$(b).addAttrArray({"style":{"cssText":"top:"+d["Y"]+"px;left:"+d["X"]+"px"}});};U.UF.M.Sequence=function(c,b,d,a){(c)&&(c.sort(function(e,f){return((d(e[b],f[b])?-1:1)*(a||1));}));};U.UF.M.isSupportSvg=function(){return !!(document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);};U.UF.M.floatOperate=function(number1,number2,operator){var i,_pow,_strArr=[String(number1),String(number2)];for(i=0;i<2;i++){_strArr[i+2]=_strArr[i].length-_strArr[i].indexOf(".")-1;}_pow=Math.pow(10,Math.max(_strArr[2],_strArr[3]));return(eval("0,"+_strArr[0]*_pow+operator+_strArr[1]*_pow))/_pow;};U.UF.M.GetType=function(c){if(c){try{var a=c.constructor;var b=(a||c).toString().match(a?/function\s*(\w+)/:/\[object (.*?)\]/);if(b&&b.length==2){return b[1].toLowerCase();}else{return typeof c;}}catch(d){}}};U.UF.M.toList=function(a){var b;(U.UF.Ut.isString(a))&&(a=a.parseJSON());if(U.UF.Ut.isArray(a)){for(b=0;b=a.scrollHeight-2){(this.UCB)&&(this.UCB.call(this));this.P++;}}}};U.UF.M.loadHtml=function(b,e){if(e!=null){b.innerHTML=e;}var c,d=$("head")[0],a=$("script",b);for(c=0;c200?b:"")+$("img",a).outerHTML;};U.UF.M.getFun=function(){if(arguments.length){return new U.UF.M.getFun.init(arguments);}else{throw new Error("cb is null");}};U.UF.M.getFun.init=function(a){a=Array.prototype.slice.call(a);U.UF.Ut.AddObj(this,{cb:a[0],id:"a"+Guid.guidNoDash(),isremove:true,parame:a.slice(1)});window[this.id]=U.UF.M.apply(this,[[this.Invoke,this.parame]]);};U.UF.M.getFun.init.prototype={set:function(a){var b;for(b in a){(a.hasOwnProperty(b))&&(this[b]=a[b]);}return this;},toString:function(){return this.id;},Invoke:function(){try{if(U.UF.Ut.isFunction(this.cb)){this.cb.apply(this,arguments);}if(this.isremove){window[this.getId()]=null;delete window[this.getId()];delete this;}}catch(a){}},getId:function(){return this.id;}};U.UF.M.Simulation=function(b,a){new U.UF.M.Simulation.init(b,a).exec();};U.UF.M.Simulation.init=function(b,a){this.el=b;U.UF.Ut.AddObj(this,a);return this;};U.UF.M.Simulation.init.prototype={config:{m:/^\\<{+([\s\S])+\\}>$/,zs:"+=",ze:"+",c:/\\/g,d:/(?=["])/g,s:"<{",e:"}>",f:"%",t:"([\\s\\S])*?"},exec:function(){try{var d,h="",c=[],b=this,f=this.key,a=this.config,j=(this.el.innerHTML||this.el).trim(" ").replace(a.c,"\\\\").replace(a.d,"\\").replace(this.getConfig("\\\\","","","\\\\"),function(e){return e.replace("\\"+a.s,a.s.replaceHtmlSign()).replace("\\"+a.e,a.e.replaceHtmlSign());});j=j.replace(this.getConfig("","",a.f),function(e){return e.replace(a.s+a.f,'";').replace(a.e,';uhtml+="');});j=j.replace(this.getConfig(),function(e){return'"+'+((e.replace(a.s,"").replace(a.e,"").replace(b.re("\\"+a.zs+a.t+"\\"+a.ze),function(k){return k.replace(a.zs,"").replace(a.ze,"").replaceHtmlSign();}))||'""')+'+"';});j='var uhtml="'+j+'"; return uhtml;';if(f){for(d in f){(f.hasOwnProperty(d))&&(h+=(h?",":"")+d,c.push(f[d]));}}j=Function(h,j).apply(this.that||this,c);(this.cb)&&(this.cb(j));}catch(g){throw new Error(g);}},re:function(a){return new RegExp(a,"g");},getConfig:function(e,c,d,b){var a=this.config;return this.re((e||"")+a.s+(d||"")+a.t+(b||"")+a.e+(c||""));},getHtml:function(){},set:function(b){var c,a=this.config;for(c in a){(b.hasOwnProperty(c))&&(b[c]=a[c]);}return this;}};Namespace.register("U.UF.S");U.UF.S.browser=/(msie|firefox|chrome|ipad|iphone|safari|opera|version|rv).*?([\d.]+)/;U.UF.S.browsers={msie:/msie ([\d.]+)|(trident)\/([\d.]+)/,firefox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\w.]+).*(safari)/};U.UF.S.Event=/\[object (Keyboard|Mouse|Focus|Wheel|Composition|Storage|MS|)Event(Obj|)\]/;U.UF.S.Guid=/^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$/;U.UF.S.English=/^[A-Za-z]+$/;U.UF.S.RNum=/\d+/g;U.UF.S.Number=/^\d+$/;U.UF.S.Num=/^(-?\d+)(\.\d+)?$/;U.UF.S.EN=/^([a-zA-Z0-9_\-]+)$/;U.UF.S.Url=/^\w+\:\/\/([\w+]).*/;U.UF.S.FileName=/^([a-zA-Z0-9\s\._-]+)$/;U.UF.S.ZWFileName=/^[0-9a-zA-Z\u4e00-\u9fa5\._-]{1,40}\\*$/;U.UF.S.PBrief=/^.{0,100}$/;U.UF.S.FFZF=/^(\w|-|[\u4E00-\u9FA5])*$/;U.UF.S.ChineseIdCard=/\d{17}[\d|X]|\d{15}/;U.UF.S.TelephoneNumber=/^1[0-9]{10}$/;U.UF.S.Email=/^\w+([_+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;U.UF.S.TrueName=/^[\u4e00-\u9fa5]{1,20}$|^[a-zA-Z]{1,20}$/;U.UF.S.UserName=/^\S{1,25}$/;U.UF.S.NickName=/^[0-9a-zA-Z\u4e00-\u9fa5_-]{1,40}\\*$/;U.UF.S.PassWord=/^[^\u4E00-\u9FA5\uF900-\uFA2D]{6,20}$/;U.UF.S.Visa=/^[45]\d{15}$/;U.UF.S.rgb=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/;U.UF.S.jsonToStr=function(c){var b,a=false,d="",a=typeof(c);if(c==null){}else{c=c.valueOf();if("boolean,number".indexOf(a)>-1){d=c.toString();}else{if(a=="string"){d='"'+c+'"';}else{if(U.UF.M.GetType(c)=="array"){d="[";for(b=0;b1)&&(d+=",");d+='"'+b+'":'+U.UF.S.jsonToStr(c[b]);}}d+="}";}}}return d;}};U.UF.M.String={escapeQuotes:function(){return this.replace(/'/ig,"'").replace(/"/ig,'"');},count:function(){return this.substrU();},substrU:function(f,b){var c,a,e=0,d="";(b==null&&f!=null)&&(b=f,f=0);a=(f==null&&b==null);for(c=0;c");},replaceBrToRn:function(){return this.replace(/<(BR)[^<>]*>/ig,"\r\n");},removeP:function(){return this.replace(/<(p)[^<>]*>/ig,"");},removeBr:function(){return this.replace(/<(BR)[^<>]*>/ig,"");},removeRn:function(){return this.replace(/\r\n/g,"");},replaceBrAndBlank:function(){return this.replaceBrToRn().replace(/ /g,"");},isHtmlNull:function(){return this.removeBr().removeP().trim()!="";},replaceLtAndGt:function(){return this.replace(/</g,"<").replace(/>/g,">");},replaceAngleBrackets:function(){return this.replace(//g,">");},replaceHtmlSign:function(){return this.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""");},replaceDoubleToAngleBrackets:function(){return this.replace(/\《/g,"<").replace(/\》/g,">");},replaceAngleToDoubleBrackets:function(){return this.replace(/\/g,"》");},trim:function(a){return this.replace(/\ |\ |\s+|\n|\r|\t/g,a||"");},lTrim:function(){return this.replace(/(^\s*)/g,"");},rTrim:function(){return this.replace(/(\s*$)/g,"");},addPreSpace:function(c){var b,a="";for(b=0;b"){b.push(e.substring(d,c+1));}}return b;},htmlToText:function(){return String(this).replace(/(<(.[^>]*)>)/g,"");},htmlToTextRn:function(){return this.replace(/(<(.[^>]*)>)/g,function(a){return(/(<\/(div|DIV|p|P)([|^>]*)>)|<(BR)[^<>]*>/g.test(a))?"\r\n":"";});}};U.UF.M.Number={formatMoney:function(){var c;var a=[];var b=this.toString();while(b){c=b.length-3;a.unshift(b.substr(c<0?0:c));b=b.substr(0,c);}return a.join(",");},prefixInteger:function(a){return(this<10?"0"+this:this).valueOf();return(Array(a).join(0)+this).slice(-a);},toRadians:function(){return this*Math.PI/180;}};Array.isArray=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]";};U.UF.M.Array={indexOf:Array.prototype.indexOf||function(d,a){var c=a||0,b;for(;c1){f=Number(arguments[1]);if(f!=f){f=0;}else{if(f!=0&&f!=(1/0)&&f!=-(1/0)){f=(f>0||-1)*Math.floor(Math.abs(f));}}}for(b=f>=0?Math.min(f,a-1):a-Math.abs(f);b>=0;b--){if(b in d&&d[b]===c){return b;}}return -1;},fill:Array.prototype.fill||function(h){var e=Object(this);var g=e.length;var a=arguments[1];var f=a;var b=f<0?Math.max(g+f,0):Math.min(f,g);var c=arguments[2];var j=c===undefined?g:c;var d=j<0?Math.max(g+j,0):Math.min(j,g);while(b>0;var c=n<0?Math.max(g+n,0):Math.min(n,g);var d=Math.min(c-l,g-m);var k=1;if(l0){if(l in e){e[m]=e[l];}else{delete e[m];}l+=k;m+=k;d--;}return e;},deepCopy:function(){var a=[];for(i=0;this.length;i++){if(Array.isArray(this[i])){deepCopy(this[i]);}else{return this.concat();}}return a;}};window.Guid=U.UF.M.Guid={newGuid:function(){var b,a,c="";for(a=0;a<32;a++){c+=Math.floor(Math.random()*16).toString(16);b=Math.floor((a-7)/4);if(b>-1&&b<4&&(a==(7+4*b))){c+="-";}}return c;},emptyGuid:US.EMPTYGUID,guidNoDash:function(){return Guid.newGuid().replace(/-/g,"");},IsGuid:function(a){return U.UF.S.Guid.test(a);}};Namespace.register("U.UF.Ut");U.UF.Ut.isArray=Array.isArray;U.UF.Ut.isGuid=function(a){return U.UF.S.isGuid(a);};U.UF.Ut.isFormData=function(a){return a.toString()==="[object FormData]";};U.UF.Ut.isObject=function(a){return(typeof a=="object"&&a!==null);};U.UF.Ut.IsFObj=function(a){var c,b=["isArray","isFunction","isObject"];for(c=0;c-1){return a[b].toLowerCase();}}for(b in d){if(d.hasOwnProperty(b)&&d[j].indexOf(c)>-1){return b;}}};U.UF.CI.IsHF=function(){if(typeof(Worker)!=="undefined"){return"HTML5";}else{if(navigator.plugins["Shockwave Flash"]){return"Flash";}else{return false;}}};U.UF.CI.Browser=function(){var c,e=U.UF.CI.UA,f={},d=U.UF.S.browser,b=U.UF.S.browsers,a=["360ee","360se","se","lbbrowser","aoyou","theworld","worldchrome","greenbrowser","qqbrowser","baidu","MicroMessenger","QQ","AppleWebKit"];for(c in b){if(b.hasOwnProperty(c)){f[c]=b[c].test(e);}}for(c=0;c0){f[a[c]]=true;break;}}f.ver=e.match(d);return f;};window._$_=window.$;window.$$=function(f,e,c,h){c=c||"";var b,a;var g=c?c.length:0;var d={"frag":"createDocumentFragment","text":"createTextNode"};if(d[f]){a=document[d[f]]();}else{a=document.createElement(f);}if(e){$(a).addAttrArray(e);}if(c){if(h){c.insertBefore(a,h);}else{c.appendChild(a);}}return a;};window.$$.NS=function(f,b,d,e,c){var a=$(document.createElementNS(c||"http://www.w3.org/2000/svg",f));a.addAttrArray(b);(d)&&(a.appendTo(d,0,e));return a[0];};$=function(a,b){b=b||document;if(U.UF.Ut.isString(a)){var c=$.getElementByString(a,b);if(!c||!c.init){return new $.SetMethod(c);}return c;}else{return U.Select(a,b);}};$.getElementByString=function(c,f){var a,g=c.substring(0,1),b=c.substring(1,c.length);f=f||document;try{switch(g){case"#":(f==document&&U.UF.S.EN.test(b))&&(a=document.getElementById(b));break;case".":(U.UF.S.EN.test(b))&&(a=f.getElementsByClassName(b));break;default:(U.UF.S.EN.test(c))&&(a=f.getElementsByTagName(c));break;}}catch(d){}if(a==null){a=window.SelectorElement(c,f);if(!a){a=U.Select(c,f);}}return a;};$.SetMethod=function(b){b=b||[];if(U.UF.Ut.IHtmlC(b)||b.length==null){b=[b];}this.length=b.length;for(var a=0;a0;for(;e-1){s=$$(r);}else{var q,p,o,a,l,e,w,t,n,u,d,m="",s=g,v=this.match,h=r.replace(v.escape,U.Select.GetSelector),f=v.con,c=[],b=browser.ver;b=(b[1]=="msie"&&b[2].toInt());do{f.exec("");h=f.exec(h);c.push(h[1]+(h[2]||""));h=h[3];}while(h);n:for(q=0;(q-1){a=true;break;}}else{if(t[0][u[3]].toLowerCase()==c[q]){a=true;break;}}}(!a)&&(s.splice(p,1),p--);}}else{if(e==">"){w=this.getelement(c[q],s,m);if(typeof w=="string"){w==this.gete(s,"",m);}if((s=w)){(U.UF.Ut.IHtmlC(s))&&(s=[s]);t=[];l=this.getType(c[q+2]);w=this.gete(s,l[4],"",l);for(p=0;p1&&c[q].indexOf("*")>-1){c[q]=c[q].substr(1);if(!(s=document[c[q]])){if(browser.msie){s=document.getElementById(c[q]);}else{s=document.embeds[c[q]];}}m="";}else{w=this.getelement(c[q],s,m);if(typeof w=="string"){m+=w;}else{if(w){s=w;m="";}else{if(w===null){s=null;break n;}else{m+=c[q];}}}}}}if(m&&s){l=this.getType(m);e=(l&&!l[2].trim());s=this.gete(s,l?l[4]:"",e?"":m,e?l:null);}}}else{var s=r||[];}(s)&&(this.osadd(s));return this;},match:{number:/\(([\s\S]*?)\)/,ename:/=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*/g,escape:/(&|![\w\u00c0-\uFFFF\-]|\@[\w\u00c0-\uFFFF\-]+=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*)/g,nregular:/[>|+|~]/g,con:/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,className:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,id:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,name:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,attr:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,tagName:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,child:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,pos:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,pseudo:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},osel:function(k,g,l,b){var f,d,h,a=[],c=[],m="parentNode",e=true;if(k){c=[];for(f=0;f-1)&&(c.push(h[d]),a[1].splice(f,1));}}}return c;},osadd:function(a){if(U.UF.Ut.IHtmlC(a)||a.length==null){a=[a];}for(var b=0;b=c[0].length-1)&&a[b])?a[b](c[1]):SelectorElement(g+(c?c[0]:""),a);if(a){(U.UF.Ut.IHtmlC(a))&&(a=[a]);f=f.concat(U.UF.M.toArray(a));}}return f;},getelement:function(b,h,f){var e,k=this.match,a=b?this.getType(b):"",c=a&&a[2],g=browser.ver,d=k.pos.test(c)||k.child.test(c);g=(g[1]=="msie",g[2].toInt());if(!a&&b){return a;}if(a&&f!==true&&(a[0]==b||a[2].indexOf(":")==-1)||(!d||(!g||g>8||(b.indexOf("first-child")>-1&&g>6)))){return b+" ";}else{if(d){c=c.split(":");a[0]+=c[0];h=this.gete(h,a[4],f,a);for(e=1;e0||(a&&b))&&b[d]){do{b=b[d];}while(b&&b.nodeType!==1);(b)&&(g[g.length++]=b);e--;}}return g;},ofparent:function(a,e){var b=a||0,d=a+1||this.length,c=U.Select();for(b=0;b"+a,this);},lt:function(a){return this.Auxiliary.selectel("<"+a,this);},each:function(b,a){if(b){var c;a=a||this;for(c=0;c-1&&U.UF.Ut.isStringInt(l))&&(l+=q[1]);o+=s+":"+l+";";}continue;}this[g][f][U.UF.M.CssTHH(d)]=a[d]||"";}}(o!=null)&&(this[g][f]["cssText"]+=";"+o);}else{if(f.indexOf("on")==0&&"array,string".indexOf(U.UF.M.GetType((o=p[f])))>-1){((o=p[f])&&typeof o[0]=="function")&&(o=[o]);p[f]=U.UF.M.apply(this[g],o);}if(typeof(a=this[g])[f]=="object"&&typeof p[f]=="object"){U.UF.Ut.AddObj(a[f],p[f]);}else{if(a[f]!==p[f]){c=a[f];d=r[f]||f;if(U.UF.Ut.isString((o=p[f]))&&U.UF.M.Arrt(a,d)){try{a.setAttribute(d,o);}catch(m){}}a[d]=p[f];}}}}}}return this;},animate:function(n,m,h,g,p){if(n){var s,r,q,f,v,y,a,e,b,x,w=g+1||this.length,o=$$("div").style,u=[{"style":{}},"",{}],l=["width","height","top","bottom","left","right"],c=U.UF.CI.getBrowser(),d=c.browser=="msie"&&parseInt(c["ver"]),z={"fast":300,"normal":1000,"slow":3000}[m],t=n["IES"];delete n["IES"];z=z||m||1000;for(s in n){if(n.hasOwnProperty(s)){if(o[(v=U.UF.M.CssTHH(s))]===undefined){u[0][s]=n[s];}else{u[0]["style"][v]=n[s];if(v=="cssText"){u[1]+=n[s]+";";}else{u[1]+=(v=U.UF.M.CssTHH(s,true))+":"+n[s]+";";for(r=0;r-1){u[2][v]="";break;}}}}}}for(s=(g||0);s-1?"-width":"";a=this.css(r,null,s);a=isNaN(a.toInt())?((this[r]?this[r](s):0)+"px"):a;y+=r+":"+a+";";}}(y)&&(this.addAttrArray({"style":{"cssText":y}},s));}if(d&&d<10&&t==null){this.addAttrArray(u[0],g);(U.UF.Ut.isFunction(h))&&(h());}else{if(((!d||d>9)&&(u[1]||u[0].className))){y=U.UF.M.GCssAe();e="UEM"+Guid.guidNoDash();a=y[0]+":all "+(z/1000)+"s linear;";if(p){for(s in p){a+=y[0]+"-"+s+":"+p[s]+";";}}a="."+e+" {"+a+"}";this.bind(y[1],(f=U.UF.M.apply(this,function(){this.unbind(y[1],f);U.UF.M.AsynCssEM.apply(this,[e,o,h,g]);})));o=U.UF.DL.LoadStyle(a);U.Select.IsAnimate(this,g,e);this.addClass(e,g);(u[0].className)&&(this.addClass(u[0].className,g),delete u[0].className);this.addAttrArray(u[0],g);delete u[0].className;delete u[0].style;}for(s in u[0]){if(u[0].hasOwnProperty(s)){x=U.UF.M.Animation({"cb":U.UF.M.apply(this,[[this.Auxiliary.animate,[[g,w,b,y?null:h],u[0]]]]),"ti":z});U.Select.IsAnimate(this,g,x);break;}}}}return this;},stop:function(a){var d,b=a||0,c=a==null?this.length:a+1;for(;b-1){d=m[g][1];a[o]+=h+"("+l[h]+d+") ";continue n;}}k[o+"-"+h]=l[h];}this.addAttrArray({"style":k}).animate(a,c,e,b);}},slideToggle:function(m,d,b,c){var e,n,a,l,f=b||0,h=b+1||this.length,k={height:"",marginBottom:"",marginTop:"",paddingBottom:"",paddingTop:"",display:"block"},g=k;for(;f-1,g=[];h=h.toInt();if(!a||h){for(f=0;f-1;f=f.toInt();if(a||f){if(a){for(d=f;d<=c.length;d+=f){e.push(c[d-1]);}}else{(c[f])&&(e.push(c[f]));}}return e;},getevenodd:function(h,g){var d,b,f,c,e,k=[],a=[];for(d=0;d":e=b+1;break;case"<":g=b;break;default:e=b;g=e+1;break;}}for(;e0;break;default:d=true;break;}(d)&&(a.push(c[e]));d=false;}return f.osadd(a);}}});$.SetMethod.prototype=U.Select.prototype;Namespace.register("U.UF.C");U.UF.C.init=function(){if(window.HTMLElement){HTMLElement.prototype.__defineGetter__("onmousewheel",function(){return this.onwheel;});HTMLElement.prototype.__defineSetter__("onmousewheel",function(a){this.onwheel=a;});if(!("onmousewheel" in HTMLElement)){if("onwheel" in HTMLElement.prototype){U.UF.M.HEPropert(HTMLElement.prototype,"onmousewheel",function(){return this.onwheel;},function(a){this.onwheel=a;});}else{if(browser.firefox){(function(){window.addEventListener("DOMMouseScroll",function(b){var c=null,a=b.srcElement;do{c=$(a).attr("onmousewheel")||a.onmousewheel;a=$(a).Parent();}while(!(c||!a));if(c){(typeof c=="string")&&(a.onmousewheel=new Function(c));U.UF.M.StopDefault();setTimeout(function(){c.call(this,b);},0);}},false);})();}}}if(!("innerText" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"innerText",function(){return this.textContent;},function(a){this.textContent=a;});}if(!("outerHTML" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"outerHTML",function(){var a=this.cloneNode(true),b=$$("div",{});b.appendChild(a);return b.innerHTML;},function(d){var c,a=$(this),b=a.Parent(),e=$$("div",{"innerHTML":d}).childNodes,f=document.createDocumentFragment;for(c=0;ca["CW"]+a["TX"])||(b["Y"]>a["CH"]+a["TY"])){return"outside";}return"";};},function(){});}if(!("currentStyle" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"currentStyle",function(){return getComputedStyle(this,false);},function(){});}if(!("onreadystatechange" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"onreadystatechange",function(){return this.onload;},function(a){this.onload=a;});}if(!("setCapture" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"setCapture",function(){return function(){window.captureEvents(Event.MOUSEMOVE);};},function(){});}if(!("releaseCapture" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"releaseCapture",function(){return function(){window.releaseEvents(Event.MOUSEMOVE);};},function(){});}if(!("onresize" in HTMLElement.prototype)||!browser.msie){U.UF.C.onresize=function(c,a,b){if(b){c.contentDocument.defaultView.onresize=function(){U.UF.M.apply(a,[[b]])();};}else{try{delete this.__SizeElement__;}catch(d){}}};U.UF.M.HEPropert(HTMLElement.prototype,"onresize",function(){try{this.__SizeElement__.contentDocument.defaultView.onresize;}catch(a){return null;}},function(b){if(this.tagName){var a=this.__SizeElement__;(U.UF.M.GetStyle(this,"position")=="static")&&(this.style.position="relative");if(!a||$(a).Parent()!=this&&b){a=this.__SizeElement__=$$("object",{"onload":[[U.UF.C.onresize,["this",this,b]]],"type":"text/html","data":"about:blank","style":{"cssText":"display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;visibility:hidden;margin:0;padding:0;"}},this)[0];}else{U.UF.C.onresize(a,this,b);}}});}if(!("componentFromPoint" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"componentFromPoint",function(){return function(){var b=U.UF.M.GetMousep();var a=U.UF.M.GetElementAllInfo(this);if((b["X"]>a["CW"]+a["TX"])||(b["Y"]>a["CH"]+a["TY"])){return"outside";}return"";};},function(){});}if(!("event" in window.constructor.prototype)){U.UF.M.HEPropert(window.constructor.prototype,"event",function(){var a=arguments.callee;while(a.caller){a=a.caller;}return a.arguments?a.arguments[0]:null;},function(){});}if(window.Event.prototype){if(!("srcElement" in window.Event.prototype)){U.UF.M.HEPropert(window.Event.prototype,"srcElement",function(){return event.target;},function(){});}if(!("keyCode" in window.Event.prototype)){U.UF.M.HEPropert(window.Event.prototype,"keyCode",function(){return event.which;},function(){});}}}};U.UF.M.QSEM;document.querySelectorAll=document.querySelectorAll||function(h,b){var j=U.UF.M.QSEM,c=[],a=document.documentElement.firstChild,f=(b||document).all,d=f.length;try{j.styleSheet.cssText=h+"{q:1}";}catch(g){j=(U.UF.M.QSEM=$$("style",{"type":"text/css","styleSheet":{"cssText":h+"{q:1}"}},a));}while(d--){(f[d].currentStyle.q)&&(c.unshift(f[d]));}return c;};document.querySelector=document.querySelector||function(b){var a=document.querySelectorAll(b);return a.length?a[0]:null;};window.SelectorElement=function(f,c){var a=(c.id===""&&c!=document),b=$$("div").querySelectorAll;if(a){c.id=c.uniqueID;}try{return(b?(c||document):document).querySelectorAll((c.id?("#"+c.id+" "):" ")+f,c);}catch(d){return null;}finally{(a)&&(c.id="");}};if("ontouchstart" in document){(U.UF.M.OTS)&&(U.UF.M.ReEvent("touchstart",document,U.UF.M.OTS,true));U.UF.M.AddEvent("touchstart",document,U.UF.M.OTS=function(){var b,a=event.srcElement;U.UF.M.UTX=null;U.UF.M.StopBubble();U.UF.M.ReEvent("touchstart",document,U.UF.M.OTS,true);U.UF.M.TouchE(a,"touchstart");U.UF.M.AddEvent("touchstart",document,U.UF.M.OTS,true);U.UF.M.AddEvent("touchmove",document,U.UF.M.OTSM);U.UF.M.AddEvent("touchend",document,U.UF.M.OTSE,true);},true);U.UF.M.OTSM=function(){U.UF.M.UTX=true;U.UF.M.ReEvent("touchmove",document,U.UF.M.OTSM);U.UF.M.TouchE(event.srcElement,"touchmove");U.UF.M.StopBubble();};U.UF.M.OTSE=function(a){U.UF.M.ReEvent("touchend",document,U.UF.M.OTSE,true);U.UF.M.StopBubble();if(!U.UF.M.UTX){U.UF.M.TouchE(event.srcElement,"touchend");}};}window.JSON=window.JSON||(function(){var a=function(){};U.UF.Ut.AddObj(a,{stringify:function(b){return U.UF.S.jsonToStr(b);},parse:function(b){return b.parseJSON();}});return a;})();U.Json=function(){var d=U.UF.M;var e,c=function(f,g){if(this.init==e.init){this.init(f,g);}else{return new e.init(f,g);}},b=function(f){return function(g){if(f==null){return g;}else{if(U.UF.Ut.isFunction(f)){return f.apply(null,arguments);}else{if(U.UF.Ut.isObject(f)){return e.IfExists(f,g);}}}return g[f];};},a=function(h,m,k,g){if(h){var l=-Infinity,f=-Infinity,i=b(m);h.forEach(function(o,q){var p=i.call(k,o,q,h),n=(g=="max"&&p>f)||(g=="min"&&pp;}}m=m||(h==-1?-1:1);return m*((l==1||l==true)?1:-1);}));return g;}else{throw new Error(g+" is not an Array");}},groupBy:function(i,f){var h={},g=b(i);f=f||this.Value;f.forEach(function(k,m){var l=g(k);(h[l]==null)&&(h[l]=[]);h[l].push(k);});return h;},pluck:function(h,f){var g=[];f=f||this.Value;if(!f.length){g.push(f[h]);}else{f.forEach(function(k,l){var i=b(h);g.push(i(k,l,f));});}return g;},Where:function(f,s,t,q){t=t||this.Value;var n,l,h,r,u,p,g,o,m=U.UF.M.GetType(t);q=q||[];if(m==="object"){m=[];for(n in f){if(f.hasOwnProperty(n)){u=f;m=[];o=false;switch(n){case"$or":u=f[n];o=true;break;}g:for(l in u){if(u.hasOwnProperty(l)){p:for(h in u[l]){if(u[l].hasOwnProperty(h)){switch(l){case"$e":m.push(t[h]==u[l][h]);break;case"$ne":m.push(t[h]!=u[l][h]);break;case"$lt":m.push(t[h]u[l][h]);break;case"$gte":m.push(t[h]>=u[l][h]);break;case"$in":for(r=0;r-1)||(m.indexOf(false)==-1)){q.push(t);}}}else{if(m=="array"){for(n=0;n4?g:this.Value;if(U.UF.Ut.isArray(g)){for(h=0;h1?g:this.Value,f=U.UF.M.GetType(h);if(f=="object"){for(k in l){if(l.hasOwnProperty(k)){h[k]=l[k];}}}else{if(f=="array"){for(k=0;k-1){for(j in k){k[j]=m[h][f];}}l=_$(g).Select(k)[0];(l)&&(m.push(l));}}else{while(m[4][k]){g.push(m[4][_UPID]);_UPID=m[4][h]["UserDirectoryParentID"];}}return m;},NL:function(k,h){var g,f=this.Value;for(g=0;g-1||g.indexOf(n)>-1)){return;}}}}o.push(f);}else{if(l==="array"){for(m=0;m=p){o.splice(p,o.length);break;}}}}return o;},GZDL:function(l,f){var h,k={},g=this.Value;(U.UF.Ut.isString(l))&&(l=[l]);for(h=0;h0?1:-1;if(m){m=Math.max(Math.ceil(m/=k),0);for(h=0;h50;}if(!e||e.timeSpan<50||g){d=new U.A.Request.init(arguments);if(d.handleDomain()==true){if(d.header){return d.createHeader(d.header);}else{return d.create();}}}else{return{"error":"application has been breached"};}}else{U.Alert("网络断开!");}};U.A.Request.init=function(a){U.UF.Ut.AddObj(this,{win:window,ajax:null,err:null,url:a[0],db:a[1]||[],cb:a[2]||"",cbParams:a[3],header:a[4]||"",UTI:new Date()});};U.A.Request.init.prototype={createHeader:function(h){var g,d,b,l,j,c,a;var f=h.type;var m=this.toAjaxFormat();d=m[0];l=m[1];if(U.UF.Ut.isFunction(this.cb)){c=true;}if(f.toUpperCase()=="GET"){d+="?"+l;}this.ajax=this.CA(d);j=this.ajax.systemAjax;j.open(f,d,c);h["CONTENT-TYPE"]=h["CONTENT-TYPE"]||"application/x-www-form-urlencoded;charset=UTF-8";for(g in h){if("type,async".indexOf(g)==-1){try{if(g in j){j[g]=h[g];}else{j.setRequestHeader(g,h[g]);}}catch(k){}}}if(j.overrideMimeType){if(h["responseType"]=="blob"){j.overrideMimeType("text/plain; charset=x-user-defined");}else{j.overrideMimeType("text/html");}}j.send(l);if(c){a=this["async"]();}else{a=this["sync"]();}return b;},create:function(){var g={};var f,d,b,j,h,c,a;var e="POST";var k=this.toAjaxFormat();d=k[0];j=k[1];if(U.UF.Ut.isFunction(this.cb)){c=true;}if(e.toUpperCase()=="GET"){d+="?"+j;}if(c){g.timeout=90000;g.ontimeout=function(){this.AE();};}g["CONTENT-TYPE"]="application/x-www-form-urlencoded;charset=UTF-8";this.ajax=this.CA(d);h=this.ajax.systemAjax;h.open(e,d,c);h.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded;charset=UTF-8");if(h.overrideMimeType){h.overrideMimeType("text/html");}h.send(j);if(c){a=this["async"]();}else{a=this["sync"]();}return a;},handleDomain:function(){var d,c,b;var a=this.toAjaxFormat();c=a[0];d=this.isDomain(c);if(d[0]&&!d[1]){b=window.frames;for(i=0;i-1&&$("#U_Domain")[0]){this.goDomain();return false;}}return true;},toAjaxFormat:function(){var k,c,f,a=U.A.backAddress,d=this.url,j=U.UF.M.SplitArray(this.db.concat()),g=d.indexOf(":")>-1&&U.UF.M.IsUrl(d),b=d.split(".");if(g){c=d;j="mode="+j;}else{if(b&&b[0]&&a[b[0]]){f=a[US.AUTH,"UseStudioManage"];c=a[b[0]];j="functionname="+d+"&"+d+"="+j;}else{c=window.location;c=window.location?c.protocol+"//"+c.host+"/"+d:"./"+d;j="mode="+j;}}try{if(parent.US){k=parent.US.userInfo;if(k&&k.UserId){j+="&UserId="+k.UserId+"&LoginId="+k.LoginId;}}else{k={};}}catch(h){k={};}j+="&PageId="+US.pageId+"&SystemId="+US.systemId;return[c,j,f];},goDomain:function(){var a=this.cbParams?this.cbParams[0]:null;if(a){U.UF.DL.loading(a[0]);}else{U.UF.DL.loading(a,a[1]);}U.UF.MN.message({"obj":"#U_Domain","Sender":true,"me":U.UF.M.apply(this,function(b){var c=b[2].split("=");if(c[1]==""){U.UF.M.Cookies.del(c[0]);}else{U.UF.M.Cookies.set(b[2]);}document.wincookie=b[2];(this.AE)&&(this.AE(true,b[0]));})}).post([this.url,this.db],"domain");},isDomain:function(a){var b;if(window.location){b=window.location.protocol+"//"+window.location.host;if(b.indexOf("1473.cn")>-1&&a.indexOf("1473.cn")>0){return[true,!a.indexOf(b)];}else{return[false,false];}}},CA:function(b){var f,g,c,d,k=U.A.ASet,l=k[k.length-1],c=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP"];if(window.location){_thisUrl=window.location.protocol+"//"+window.location.host;}else{_thisUrl="";}for(f=0;f1000||a.error){(U.UF.M.Console({"T":f,"N":this.url,"V":a.error}));}if(a.httpRequest.abort){a.httpRequest.abort();}if(this.cb&&a.value!==null){this.cb.call(this.win,a);}}}catch(d){U.UF.M.Console(d);}},sync:function(d){var a,c;if(this.ajax){c=this.ajax.systemAjax;}else{c={};}var b={httpRequest:c,status:null,value:null,context:this.cbParams},e=U.A.Error();b.value=d;if(c.status==200){b.value=this.getBackStrToJson();a=e.isError(b.value);if(a){e.set(b.value);}}else{b.status={"status":c.status,"statusText":c.statusText};}return b;},getBackStrToJson:function(){var a=this.ajax.systemAjax,b=a.responseXML;if(b){b=b.xml;}if(!b){b=a.responseText;b=U.UF.M.toList(b);}return b;}};U.A.Post=$.Post=function(b){var a=new U.A.Post.init(b);a.send();return a;};U.A.Post.init=function(a){U.UF.Ut.AddObj(this,a);};U.A.Post.init.prototype={send:function(){var e,c=[],b=this.url,d=this.parameter,a=this.context;if(d){for(e in d){if(d.hasOwnProperty(e)){c.push($$("input",{"name":e,"value":d[e]}));}}}U.UF.UP.uploading(c,U.UF.M.apply(this,this.success),a,b,null,"application/x-www-form-urlencoded");},success:function(a){(this.cb)&&(this.cb(a));}};U.A.Error=function(){return new U.A.Error.init();};U.A.Error.init=function(){this.State=this.LogID=this.Value=this.Dt=this.Type=null;};U.A.Error.init.prototype={isError:function(a){if(U.UF.Ut.isObject(a)){for(var b in this){if(this.hasOwnProperty(b)&&!(b in a)){return false;}}return true;}return false;},set:function(a){U.UF.Ut.AddObj(this,a);return this;}};Namespace.register("U.UF.CD");U.UF.CD.dom="http://www.1473.cn/DataCrossdomain.htm";U.UF.CD.cdom="http://www.1473.cn/PageCrossdomain.htm";U.UF.CD.Len=1;U.UF.CD.ST=["U_Main"];U.UF.CD.UTF=[{"U_Main":"MA"},{"U_Disk":"Adisk"},{"U_BG":"UB"},{"U_PB":"PB"},{"U_Pay":"PY"},{"U_ME":"MA"},{"reply":"RY"}];U.UF.CD.UKE=[["U_Main","http://main.1473.cn/Crossdomain.htm","A"],];U.UF.CD.LIFA=function(c,f,h){var b,a,d;_ajaxName=U.UF.CD.UTF;_crossObj=U.UF.CD.UKE;_objLength=_crossObj.length;_frag=$$("frag");U.UF.CD.Len=_crossObj.length;if(document.domain.indexOf("1473.cn")>-1){for(d=0;d<_objLength;d++){try{a=_crossObj[d][0];if(window[a]&&window[a].location){if(window[a].location.href==_crossObj[d][1]){if(U.UF.CD.AsynLIFA.apply($("#"+a)[0],[_ajaxName[d],f,[]])){return;}break;}else{$("#"+a).remove();}}b=true;_UIFR=$$("iframe",{"id":a,"name":a,"width":0,"height":0,"style":{"display":"none"},"src":_crossObj[d][1]},_frag);U.UF.DL.IframeLoad(_UIFR,U.UF.M.apply(null,[[U.UF.CD.AsynLIFA,[_ajaxName[d],f,U.UF.CD.ST]]]));}catch(g){return;}}}else{if(window["U_Domain"]){if(window["U_Domain"].location.href==U.UF.CD.dom){U.UF.CD.AsynDomain(f);return;}}else{U.UF.CD.Introduce(f);}}if(h&&b){U.UF.DL.loading(h[0]||h,h[1]);}($("#usestudio-server")[0]||$("body")[0]).appendChild(_frag);};U.UF.CD.AsynLIFA=function(f,d,a){var c,b,h=this.contentWindow;h.name=this.id;U.UF.CD["Len"]--;try{for(c in f){b=a.indexOf(c);if(b>-1){a.splice(b,1);}}}catch(g){}if(!a.length){a.push(false);if(d){(d());}return true;}};U.UF.CD.Introduce=function(a,b){var b=$$("iframe",{"id":"U_Domain","name":"U_Domain","width":0,"height":0,"style":{"display":"none"},"src":U.UF.CD.dom},$("#usestudio-server")[0]||$("body")[0]);U.UF.DL.IframeLoad(b,U.UF.M.apply([[U.UF.CD.AsynDomain,[a]]]));if(b){U.UF.DL.loading(b[0]||b,b[1]);}};U.UF.CD.AsynDomain=function(a){(U.UF.Ut.isFunction(a))&&(a());};U.UF.CD.GQB=function(d,b,a){if(!$("#usestudio-server")[0]){var c=$$("div",{id:"usestudio-server",className:"usestudio-server","__top__":"false"},document.body);if(document.domain=="1473.cn"){c=$$("iframe",{"width":0,"height":0,"style":{"display":"none"},"src":"http://www.1473.cn/index.aspx"},$("body")[0]);window.onload=null;U.UF.DL.IframeLoad(c,U.UF.M.apply(null,[[U.UF.CD.AsynGQB,[c,d,b,a]]]));}else{U.UF.CD.CGQB(b,a);}}};U.UF.CD.AsynGQB=function(f,c,d,l){var g,m,a;var k=f.contentWindow;document.wincookie=f.contentWindow.document.cookie;var h=$("#usestudio-server")[0];a=$(l===true?"body":"#UD_SY",k.document)[0].innerHTML;try{m=k.document.open();}catch(j){m=k.document;}m.write="";m.close();$(f).remove();h.innerHTML=a;if(U.MD.D.Load){U.MD.D.Load(d);}else{if(d){d();}}};Namespace.register("U.UF.D");U.UF.D.formatDateToArray=function(a){var b=[];if(typeof a=="string"){if(a.indexOf("Date")>-1){a=new Date(parseInt(a.match(/[0-9]+/g)[0]));}else{a=new Date(a);}}return[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()];};U.UF.D.getYearMonthDay=function(a){a=U.UF.D.formatDateToArray(a);a=a.slice(0,3).join("-");return a;};U.UF.D.getHoursMinutesSecond=function(a){a=U.UF.D.formatDateToArray(a,true);a=a.slice(3,6).join(":");return a;};U.UF.D.getFullTime=function(a){a=U.UF.D.formatDateToArray(a,true);a=a.slice(0,3).join("-")+" "+a.slice(3,6).join(":");return a;};U.UF.D.getDateInterval=function(a){var d,b=U.UF.D.formatDateToArray(new Date(),"Array"),c=U.UF.D.formatDateToArray(a,"Array");if(b[0]==c[0]){if(b[2]-c[2]<3){if(b[2]==c[2]){if(b[3]==c[3]){d=b[4]-c[4]+"分钟前";}else{d=b[3]-c[3]+"小时前";}}else{d=b[2]-c[2]+"天前";}}else{d=c[1]+"月"+c[2]+"日"+c[3]+"点"+c[4]+"分";}}else{d=c[0]+"年"+c[1]+"月"+c[2]+"日"+c[3]+"点"+c[4]+"分";}return d;};U.UF.D.toTimeStamp=function(b,a){var c;if(U.UF.Ut.isString(b)){c=Date.parse(b);}else{if(U.UF.Ut.isArray(b)){c=Date.UTC(b[0],b[1]-1||1,b[2]||1,b[3]-8||1,b[4]||1,b[5]||1);}else{if(U.UF.Ut.isDate(b)||!b){c=Date.parse(b||new Date());}}}return"/Date("+c+")/";};U.UF.D.getDayOfMonth=function(a){var b=U.UF.D.formatDateToArray(a);if(b[1]==2){if(b[0]%4!=0&&b[0]%100==0&&b[0]%400!=0&&b[0]%3200==0){return 28;}return 29;}else{if(b[2]==4||b[2]==6||b[2]==9||b[2]==11){return 30;}return 31;}};U.UF.D.SizeComparison=function(c,e){var a=U.UF.D.formatDateToArray(c),b=U.UF.D.formatDateToArray(e);for(var d=0;db[d]){return true;}if(b[d]>a[d]){return false;}}return"equal";};U.UF.D.LowerToUpper=function(b){var e,d,a="",f="",c=[["零","一","二","三","四","五","六","七","八","九","十"],["","十","百","千","万","亿","兆"],["年","月","日","点","分","秒"]];!b?b=new Date():"";b=U.UF.D.formatDateToArray(b);for(e=0;e10){f+=c[0][a[0]]+c[0][10]+(a[1]=="0"?"":c[0][a[1]]);}else{f+=c[0][a[0]];}}f+=c[2][e];}return f;};U.UF.D.DJS=(function(){var a=function(d,f){var c=false,g=d.length-1,e=g,b=[1,24,60,60];for(;e>-1;e--){if(d[e]>0){d[e]--;if(e=0;d--){g=k;for(b=0;b<=d;b++){b==d?g%=f[b]:g/=f[b];}e.push(parseInt(g,10));}a(e,h);};})();Namespace.register("U.UF.DG");U.UF.DG.DragMouseDown=function(d,c,b){if(event.button<2){var a=new U.UF.DG.DragMouseDown.init(d,c,b),e={"mousemove":U.UF.M.apply(a,a.Drag),"mouseup":U.UF.M.apply(a,a.DragUp)};U.UF.Ut.AddObj(a,e);a.create();$(document).bind(e);return(U.UF.DG.DragMouseDown.ST=a);}};U.UF.DG.DragMouseDown.init=function(c,b,a,d){(d&&d.start)&&(d.start());this.set(d);this.set({max:(a&&a.MaxLeft)?a:null,SO:c,AF:b,ESO:event.srcElement});return this;};U.UF.DG.DragMouseDown.init.prototype={set:function(a){(a)&&(U.UF.Ut.AddObj(this,a));},create:function(){var a=this.SO,b=U.UF.M.GetElementAllInfo(a);U.UF.Ut.AddObj(this,{IsD:false,XY:U.UF.M.GetMousep(),E:b,MaxTop:b["PXT"]+US.height-10,MaxLeft:b["PXL"]+US.width,MinLeft:-b["OW"]+10,MinTop:0});(this.max)&&(this.IsMinAndMax());},IsMinAndMax:function(a){U.UF.Ut.AddObj(this,{"MaxLeft":this.E["PXL"]+a["MaxLeft"]||this.MaxLeft,"MinLeft":a["MinLeft"]||this.MinLeft,"MinTop":a["MinTop"]||this.MinTop,"MaxTop":this.E["PXT"]+a["MaxTop"]||this.MaxTop});},Drag:function(){var e,g,c,f,j=this.SO,a=[["X","Left","L"],["Y","Top","T"]],h=this.E,d=this.XY,b=U.UF.M.GetMousep();(this.move)&&(this.move(this));for(e=0;e2)&&(this.IsD=true);_UAE[b]=Math.min(Math.max(c+_UME["O"+_UAE[b][1]],this["MI"+_UAE[b][1]]),this["M"+_UAE[b][1]]);}$(a).addAttrArray({"style":{"cssText":"left:"+_UAE[0]+"px;top:"+_UAE[1]+"px"}});(this.UCF&&this.UCF["Move"])&&(this.UCF["Move"].apply(this,[a,_UAE,_UKE,_UE]));this.ism=true;},up:function(){var a=this.SO,b=this.UCF;U.UF.M.StopBubble();a.setCapture();this.ism=null;$(this.UMD).remove();$(document).unbind(this.UCE);$(a).css("z-index","");(b&&b["UP"])&&(b["UP"].apply(this,[a]));setTimeout(function(){a.releaseCapture();},0);}};U.UF.DG.DragSelectE=function(e){if(event.button!=2){var d,c,f,b=e["SO"],g=U.UF.M.GetMousep(),a=b.componentFromPoint(g["X"]+2,g["Y"]+2);if(a!="outside"&&a.indexOf("scroll")==-1){d=(new U.UF.DG.DragSelectE.init(e)).create().SetHover().event();return d;}}else{(U.MD.D.DragE)&&(U.MD.D.DragE.SetHover());}};U.UF.DG.DragSelectE.init=function(c){var a=c["SO"],d=c["SSO"]||a,b=c["CS"];U.UF.Ut.AddObj(this,{"EL":a,"SSO":d,"OS":d.onscroll,"CB":a.onmousedown,"CS":b,"PEL":U.UF.M.GetStyle(a,"position")!="static"?a:U.UF.M.TOSP(a),"TC":[],"Fun":c["FUN"],"ElO":"","ESO":"","UT":"","UL":"","UW":"","UH":"","X":"","Y":"","TX":"","TY":"","PUX":"","PUY":"","W":"","H":"","T":"","L":""});};U.UF.DG.DragSelectE.init.prototype={event:function(h){var d,c,b,g,f,e,a=this.e=this.e||[[document,{"mousemove":["Drag"],"mouseup":["DragUp"]}],[this.SSO,{"scroll":["CTA","Drag"]}],[this["EL"],{"mousedown":["Event"]}]];for(d=0;d=e[2])&&(d<=e[3])&&((d+1)*this.W>=b["X"]);if(a&&(f.offsetTop>b["BY"]||(f.offsetTop+this.H-this.T=b)&&((c=g[d].offsetLeft)<=h&&(c+this.W)>h)){a=true;}}if(a){(this.Fun)&&(this.Fun(this.TC));}return !a;}},DragUp:function(){var a=this.EL;this.event(true);a.releaseCapture();a.removeChild(this.ESO);},SetHover:function(){var a=U.MD.D.DragE||this;(a.TC&&a.TC.length)&&($(a.TC).removeClass(this.CS));U.MD.D.DragE=this.TC.length=0;return this;}};U.UF.DG.DragAb=function(b,a){if(b){a=a||{};new U.UF.DG.DragAb.init(b,a);}};U.UF.DG.DragAb.init=function(c,a){var f=$(c),d=f.parentg(),b=f.prev(),e=f.next();U.UF.Ut.AddObj(this,{UDPD:d,w:d.width(),pw:d.parentg().width(),UDOD:c,UE:U.UF.M.GetMousep(),prev:b,next:e,uw:[b.width(),e.width()]});U.UF.Ut.AddObj(this,a);c.setCapture();$(document.body).bind({"mousemove":(this.move=U.UF.M.apply(this,a.tf?this.dragB:this.drag)),"mouseup":(this.mup=U.UF.M.apply(this,this.up))});};U.UF.DG.DragAb.init.prototype={drag:function(){var a=this.prev,d=this.next,e=this.uw,b=this.UE,c=U.UF.M.GetMousep();c["X"]=Math.min(Math.max(-e[0],c["X"]-b["X"]),e[1]);a.css("width",e[0]+c["X"]+"px");d.css("width",e[1]+c["X"]+"px");(this.scb)&&(this.scb());},dragB:function(){var f,a=this.UDPD,d=this.prev,c=this.pw,f=this.uw[0],b=this.UE,e=U.UF.M.GetMousep();e["X"]=Math.max(-f,e["X"]-b["X"]);d.css("width",f+e["X"]+"px");a.css("width",(f=(e["X"]+this.w))>this.pw?f+"px":this.pw+"px");(this.scb)&&(this.scb());},up:function(){this.UDOD.releaseCapture();$(document.body).unbind({"mousemove":this.move,"mouseup":this.mup});(this.upcb)&&(this.upcb());}};Namespace.register("U.UF.DL");U.UF.DL.asynLoadJs=function(d,a){var b=$("head");var c=$$("script",d);U.UF.DL.fileElementLoaded(c,a);b.append(c,0,b[0].firstChild);return c;};U.UF.DL.asynLoadCss=function(d,a){var b=$("head");var c=$$("link",d);U.UF.DL.fileElementLoaded(c,a);b.append(c,0,b[0].firstChild);return c;};U.UF.DL.IframeLoad=function(b,a){U.UF.DL.fileElementLoaded(b,a);};U.UF.DL.fileElementLoaded=function(c,a){var b=c.complete;if(b){a.call(c);}else{c.onreadystatechange=function(){c.onreadystatechange=null;if(U.UF.Ut.isFunction(a)){a.call(c);}};}return c;};U.UF.DL.LoadStyle=function(c){var b=$("head")[0];var a=$$("style",{});if(a.styleSheet){a.styleSheet.cssText=c;}else{a.appendChild(document.createTextNode(c));}b.appendChild(a);document.body.offsetHeight;return a;};U.UF.DL.loading=function(c,d){if(c){var f,a,b,h=$(c).Parent(),g=c?c.__ULOADElement__:null,k={width:"",height:"",overflow:"",padding:"",borderWidth:"",minHeight:"",minWidth:"",cssText:""};if(g){if(c!=g){g.P++;}}else{g=c.__ULOADElement__=$$("div",{"P":0,"className":c.className,"style":{"cssText":c.style.cssText+";"+($(c).css("display")=="none"?"display:block":"")},"onresize":[[U.UF.DL.loading.Donresize,["this"]]]});if(d===true){$$("div",{"style":{"cssText":"overflow:hidden;width:40px;height:20px;background:url('http://www.1473.cn/img/loading.gif') 0px 0px no-repeat;margin:auto"}},g);}else{$$("div",{"style":{"cssText":"position:relative;width:"+(d&&d.width?d.width:"33px")+";height:"+(d&&d.height?d.height:"33px")+";background:url('"+(d&&d.img?d.img:"http://www.1473.cn/img/UAL.gif")+"') 0px 0px no-repeat;margin:auto"}},g);}try{h.insertBefore(g,c);}catch(j){}U.UF.DL.loading.Donresize(g,c,d);a=c.style;_$(k).Each(function(i,e){k[e]=a[e];});(c=$(c)).addAttrArray({"__UCS__":k,"style":{"cssText":"width:0px;overflow:hidden;height:0px;padding:0;min-height:0px;min-width:0px;border-width:0px;"}});}return g;}};U.UF.DL.loading.Donresize=function(b,a,e){if(b["P"]>-1){var d=$("div",b),c=$(b).height()-d[0].offsetHeight;d[0].style.top=(c>0?c:0)/2+"px";}else{U.UF.DL.uploading(b);}};U.UF.DL.uploading=function(c){c=c[0]||c;var d,f=["__ULOADElement__","__UCS__"],j=c[f[0]],h=c[f[1]],a=c.style,b={"width":"0px","height":"0px","overflow":"hidden","padding":"0px","borderWidth":"0px","minHeight":"0px","minWidth":"0px"};if(j&&((j["P"]--)==0)){for(d in b){if(b.hasOwnProperty(d)){if(b[d]==a[d]){b[d]=h[d];}else{delete b[d];}}}c["__UCS__"]=null;$(j).remove();$(c).addAttrArray({"style":b});try{delete c[f[0]];delete c[f[1]];}catch(g){c.removeAttribute(f[0]);c.removeAttribute(f[1]);}return true;}};Namespace.register("U.UF.E");U.UF.E.setVariable=function(c,b){var a=U.UF.E.SORange;if(c){a["OAT"][c]=[{"OR":new b.init(b,false),"C":""}];a["OAT"][c].l=0;a["OE"][c]=b;}};U.UF.E.GetSelectionRange=function(h,d,g){try{var c=g["TF"],b=U.UF.E.SORange,a=b["OE"][c];if(c&&a){a.CreateR();}else{a=new U.UF.E.SelectionRange(h,h.document,d,g).CreateR(true);U.UF.E.setVariable(c,a);U.UF.E.KeyboardBinding(a.PSO,a);}return a;}catch(f){return false;}};U.UF.E.KeyboardBinding=function(a,b){$(a).bind({"keydown":U.UF.M.apply(b,b.GetKE),"keyup":U.UF.M.apply(b,b.CLKU),"copy":U.UF.M.apply(b,b.Copy),"paste":U.UF.M.apply(b,b.Paste),"cut":U.UF.M.apply(b,b.Cut),"click":U.UF.M.apply(b,b.CLMU)});};U.UF.E.SelectionRange=function(d,c,b,a){this.setVariable(d,c,b,a);};U.UF.E.SORange=U.UF.E.SelectionRange.prototype={OAT:{},OE:{},setVariable:function(d,c,b,a){this.CW=d;this.CD=c;this.SO=b||this.Parent();this.PSO=$(b).Parent({"contentEditable":"true"});this.CB=a["CB"];this.TF=a["TF"];this.TIM=[];this.S=null;this.R=null;this.J=null;this.TR=null;this.BCB=null;this.FCB=null;this.Dectect=U.UF.E.codeDetect();this.CTH="";},CreateR:function(f){var a,d=this.CW,c=this.CD;try{if(d.getSelection){U.UF.Ut.AddObj(this,{S:d.getSelection(),TR:c.createRange()});if(f!==false&&this.SO){if(this.SO.focus&&(!this.S.rangeCount||!U.UF.M.EISE(this.PSO,this.Parent(this.S.getRangeAt(0))))){this.SO.focus();this.QX(this.getLen(this.SO),this.getLen(this.SO),this.SO);this.S=d.getSelection();}}this.R=this.S.rangeCount?this.S.getRangeAt(0):this.R||c.createRange();}else{U.UF.Ut.AddObj(this,{S:c.selection,R:c.selection.createRange(),TR:document.body.createTextRange()});if((_UTF=(f!==false&&this.SO&&!U.UF.M.EISE(this.PSO,this.Parent(this.R))))||f){if(_UTF){this.R=this.QX(this.getLen(this.SO),this.getLen(this.SO),this.SO)||this.R;}else{this.SO.focus();this.Replace("");}this.S=c.selection;}}}catch(b){}return this;},init:function(a,b){this.setVariable(a["CW"],a["CD"],a["SO"],{"TF":a["TF"],"CB":a["CB"]},a["PSO"]);this.CreateR(b);},Parent:function(d,c,b){if(d=d||this.R){if(d.parentElement||d.commonParentElement){return(d.parentElement||d.commonParentElement)();}else{var a=d.commonAncestorContainer;if(b){return d.endContainer.parentElement;}return((a.nodeName=="#text"&&c)?a.parentNode:a);}}},Element:function(a){if(a=a||this.R){if(a.parentElement||a.commonParentElement){return(a.parentElement||a.commonParentElement)();}else{return a.commonAncestorContainer;}}},IParent:function(c,e){c=U.UF.Ut.isUndefined(c)?this.GetSelectedHtml():c;var b,a=this.Parent(e),d=$$("div",{"innerHTML":c});while(a&&a.innerText&&(d.innerText==a.innerText)&&(a!=this.PSO)&&(b=a)){a=a.parentNode;}return b;},Replace:function(k,n,e){var h,l,m,b,d,j,a,g,c="",f=k==null?k:(k.outerHTML||k);n=n||this.R;if(n&&k!=null){a=[];m=this.Parent(n);l="R"+Guid.newGuid();d=$$("span",{"id":l,"innerHTML":f});g=this.GetSelectedText();if(m!=document){if(window.getSelection){d=n.createContextualFragment(f);(m.innerText==this.GetSelectedText()&&m.innerText)&&(n.selectNodeContents(m));n.deleteContents();this.S.removeAllRanges();n.insertNode(d);if(e){n.collapse(false);}this.S.addRange(n);}else{if(!d.innerText&&!$("div",d).length&&!$("div",this.PSO).length){this.SL($$("div",{},this.PSO));c=d.innerHTML;}else{c=(d.innerHTML&&!e)?d.outerHTML:d.innerHTML;}n.select();n.pasteHTML("");n.pasteHTML(c);if(e||!d.innerHTML){n.collapse(false);}else{d=$("span",this.Parent())[d.id];d.outerHTML=d.innerHTML;this.R.select();}}this.CreateR();}}return this;},QX:function(h,b,d){try{var c,a,f=this.CD;d=d||this.Parent();if(window.getSelection){this.S=(this.S||this.CW.getSelection());(!this.S.rangeCount)&&(this.CW.focus(),d.focus(),this.R=this.S.getRangeAt(0));if(this.R.commonAncestorContainer!=document){c=document.createRange();c.selectNode((d));h=h==null?c.startOffset:h==-1?c.endOffset:h;b=b==null?c.endOffset:b==-1?c.endOffset:b;try{c.setStart((d||this.R.startContainer),h);c.setEnd((d||this.R.endContainer),b);}catch(g){c.setStart(this.R.startContainer,h);c.setEnd(this.R.endContainer,b);}this.S.removeAllRanges();this.S.addRange(c);}}else{if(U.UF.Ut.isNumber(h)){c=f.body.createTextRange();a=f.body.createTextRange();c.moveToElementText(d);(U.UF.Ut.isNumber(h))&&(c.moveStart("character",h),a.moveToElementText(d),a.moveStart("character",b),c.setEndPoint("EndToStart",a));(h!==b)&&(c.select());}else{this.R.select();}}return c;}catch(g){return false;}},moveRange:function(b){this.CreateR(false);if(window.getSelection){try{this.TR.setStart(this.R.startContainer,this.R.startOffset+b);this.TR.setEnd(this.R.endContainer,this.R.endOffset);}catch(a){}this.S.removeAllRanges();this.S.addRange(this.TR);}else{this.TR.moveToElementText(this.Parent());_UOE.moveStart("character",b);}this.CreateR();},GetSE:function(){if(window.getSelection){_USE=this.CW.getSelection();_URE=_USE.rangeCount?_USE.getRangeAt(0):this.R;(UDR)&&(_URE.setStart(UDR.endContainer,UDR.endOffset));}else{_USE=document.selection;_URE=document.selection.createRange();(UDR)&&(_URE.setEndPoint("EndToEnd",UDR));}},SL:function(a,b){a=a||this.SO;if(window.getSelection){(!b)&&(b=document.createRange());b.selectNodeContents(a);this.S=this.S||this.CW.getSelection();this.S.removeAllRanges();this.S.addRange(b);this.R=b;}else{(!b)&&(b=document.body.createTextRange(),b.moveToElementText(a));b.select();}return this;},GetSelectedHtml:function(h){if((h=h||this.R)){var c,e,g,f,d="",b=1;if(h.cloneContents){var a=$$("div");a.appendChild(h.cloneContents());d=a.innerHTML;g=$($$("div",{"innerHTML":d})).Nodes();d="";for(c=0;c"+g[c].data+"";}}else{if(h.commonParentElement){d=h.commonParentElement();d=d.outerHTML||d.innerHTML||d.value||"";}else{d=h.htmlText;e=$$("div",{"innerHTML":h.htmlText}).childNodes;if(e.length){d="";f=h.duplicate();f.moveStart("character",-1);g=$($$("div",{"innerHTML":f.htmlText})).Nodes();if((g.length==e.length&&e[0].outerHTML==g[0].outerHTML)||(g.length!=e.length&&f.htmlText!=h.htmlText)){d=$$("div",{"innerHTML":e[0].outerHTML||e[0].nodeValue||e[0].data||e[0].text}).innerHTML;}else{d=($($$("div",{"innerHTML":e[0].innerHTML})).Child().length?e[0].innerHTML:(e[0].innerHTML||e[0].nodeValue||e[0].data||e[0].text?$$("span",{"innerHTML":e[0].innerHTML||e[0].nodeValue||e[0].data||e[0].text}).outerHTML:""));}if(e.length>1){for(c=1;c-1?c:g==c){c[d]=l[d][0]==f.style[d]?l[d][1]:l[d][0];}else{g[d]=l[d][0];if(a.style&&a.style[d]==l[d][0]){g[d]=l[d][1];}else{for(b=0;b>>2]|=(l[p>>>2]>>>24-8*(p%4)&255)<<24-8*((m+p)%4);}}else{if(65535>>2]=l[p>>>2];}}else{n.push.apply(n,l);}}this.sigBytes+=k;return this;},clamp:function(){var a=this.words,g=this.sigBytes;a[g>>>2]&=4294967295<<32-8*(g%4);a.length=z.ceil(g/4);},clone:function(){var a=b.clone.call(this);a.words=this.words.slice(0);return a;},random:function(g){for(var l=[],k=0;k>>2]>>>24-8*(p%4)&255;q.push((n>>>4).toString(16));q.push((n&15).toString(16));}return q.join("");},parse:function(k){for(var l=k.length,n=[],m=0;m>>3]|=parseInt(k.substr(m,2),16)<<24-4*(m%8);}return new c.init(n,l/2);}},o=w.Latin1={stringify:function(k){var l=k.words;k=k.sigBytes;for(var n=[],m=0;m>>2]>>>24-8*(m%4)&255));}return n.join("");},parse:function(k){for(var l=k.length,n=[],m=0;m>>2]|=(k.charCodeAt(m)&255)<<24-8*(m%4);}return new c.init(n,l);}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(o.stringify(a)));}catch(k){throw Error("Malformed UTF-8 data");}},parse:function(a){return o.parse(unescape(encodeURIComponent(a)));}},j=h.BufferedBlockAlgorithm=b.extend({reset:function(){this._data=new c.init;this._nDataBytes=0;},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes;},_process:function(p){var r=this._data,u=r.words,t=r.sigBytes,s=this.blockSize,n=t/(4*s),n=p?z.ceil(n):z.max((n|0)-this._minBufferSize,0);p=n*s;t=z.min(4*p,t);if(p){for(var q=0;q>>32-t)+s;}function f(r,s,p,u,q,t,n){r=r+(s&u|p&~u)+q+n;return(r<>>32-t)+s;}function g(r,s,p,u,q,t,n){r=r+(s^p^u)+q+n;return(r<>>32-t)+s;}function e(r,s,p,u,q,t,n){r=r+(p^(s|~u))+q+n;return(r<>>32-t)+s;}for(var b=U.E.CryptoJS,c=b.lib,i=c.WordArray,k=c.Hasher,c=b.algo,h=[],j=0;64>j;j++){h[j]=4294967296*o.abs(o.sin(j+1))|0;}c=c.MD5=k.extend({_doReset:function(){this._hash=new i.init[1732584193,4023233417,2562383102,271733878];},_doProcessBlock:function(Q,N){for(var W=0;16>W;W++){var P=N+W,n=Q[P];Q[P]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360;}var W=this._hash.words,P=Q[N+0],n=Q[N+1],O=Q[N+2],L=Q[N+3],J=Q[N+4],H=Q[N+5],F=Q[N+6],E=Q[N+7],p=Q[N+8],m=Q[N+9],l=Q[N+10],a=Q[N+11],M=Q[N+12],K=Q[N+13],I=Q[N+14],G=Q[N+15],V=W[0],T=W[1],S=W[2],R=W[3],V=d(V,T,S,R,P,7,h[0]),R=d(R,V,T,S,n,12,h[1]),S=d(S,R,V,T,O,17,h[2]),T=d(T,S,R,V,L,22,h[3]),V=d(V,T,S,R,J,7,h[4]),R=d(R,V,T,S,H,12,h[5]),S=d(S,R,V,T,F,17,h[6]),T=d(T,S,R,V,E,22,h[7]),V=d(V,T,S,R,p,7,h[8]),R=d(R,V,T,S,m,12,h[9]),S=d(S,R,V,T,l,17,h[10]),T=d(T,S,R,V,a,22,h[11]),V=d(V,T,S,R,M,7,h[12]),R=d(R,V,T,S,K,12,h[13]),S=d(S,R,V,T,I,17,h[14]),T=d(T,S,R,V,G,22,h[15]),V=f(V,T,S,R,n,5,h[16]),R=f(R,V,T,S,F,9,h[17]),S=f(S,R,V,T,a,14,h[18]),T=f(T,S,R,V,P,20,h[19]),V=f(V,T,S,R,H,5,h[20]),R=f(R,V,T,S,l,9,h[21]),S=f(S,R,V,T,G,14,h[22]),T=f(T,S,R,V,J,20,h[23]),V=f(V,T,S,R,m,5,h[24]),R=f(R,V,T,S,I,9,h[25]),S=f(S,R,V,T,L,14,h[26]),T=f(T,S,R,V,p,20,h[27]),V=f(V,T,S,R,K,5,h[28]),R=f(R,V,T,S,O,9,h[29]),S=f(S,R,V,T,E,14,h[30]),T=f(T,S,R,V,M,20,h[31]),V=g(V,T,S,R,H,4,h[32]),R=g(R,V,T,S,p,11,h[33]),S=g(S,R,V,T,a,16,h[34]),T=g(T,S,R,V,I,23,h[35]),V=g(V,T,S,R,n,4,h[36]),R=g(R,V,T,S,J,11,h[37]),S=g(S,R,V,T,E,16,h[38]),T=g(T,S,R,V,l,23,h[39]),V=g(V,T,S,R,K,4,h[40]),R=g(R,V,T,S,P,11,h[41]),S=g(S,R,V,T,L,16,h[42]),T=g(T,S,R,V,F,23,h[43]),V=g(V,T,S,R,m,4,h[44]),R=g(R,V,T,S,M,11,h[45]),S=g(S,R,V,T,G,16,h[46]),T=g(T,S,R,V,O,23,h[47]),V=e(V,T,S,R,P,6,h[48]),R=e(R,V,T,S,E,10,h[49]),S=e(S,R,V,T,I,15,h[50]),T=e(T,S,R,V,H,21,h[51]),V=e(V,T,S,R,M,6,h[52]),R=e(R,V,T,S,L,10,h[53]),S=e(S,R,V,T,l,15,h[54]),T=e(T,S,R,V,n,21,h[55]),V=e(V,T,S,R,p,6,h[56]),R=e(R,V,T,S,G,10,h[57]),S=e(S,R,V,T,F,15,h[58]),T=e(T,S,R,V,K,21,h[59]),V=e(V,T,S,R,J,6,h[60]),R=e(R,V,T,S,a,10,h[61]),S=e(S,R,V,T,O,15,h[62]),T=e(T,S,R,V,m,21,h[63]);W[0]=W[0]+V|0;W[1]=W[1]+T|0;W[2]=W[2]+S|0;W[3]=W[3]+R|0;},_doFinalize:function(){var p=this._data,q=p.words,m=8*this._nDataBytes,r=8*p.sigBytes;q[r>>>5]|=128<<24-r%32;var n=o.floor(m/4294967296);q[(r+64>>>9<<4)+15]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360;q[(r+64>>>9<<4)+14]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360;p.sigBytes=4*(q.length+1);this._process();p=this._hash;q=p.words;for(m=0;4>m;m++){r=q[m],q[m]=(r<<8|r>>>24)&16711935|(r<<24|r>>>8)&4278255360;}return p;},clone:function(){var l=k.clone.call(this);l._hash=this._hash.clone();return l;}});b.MD5=k._createHelper(c);b.HmacMD5=k._createHmacHelper(c);})(Math);Namespace.register("U.UF.IMG");U.UF.IMG.Create=function(a,d,c,b){U.UF.M.StopBubble();return(new U.UF.IMG.Create.init(a,d,c,b)).Create();};U.UF.IMG.Create.init=function(a,e,d,b){this.Iss;this.UIOD;this.BL;this.UIMG;this.W;this.h;this.R=0;this.I=typeof e=="number"?e:0;this.UCB=b;this.CTF=true;this.AIMG=a;for(var c in d){if(d.hasOwnProperty(c)){this[c]=d[c];}}};U.UF.IMG.Create.init.prototype={ET:[],ImgT:function(h,c){var f,j,b,g,d,a,k,e=[["放大","UD_SYJDXB"],["缩小","UD_SYJDXS"],["左转","UD_SYJDXL"],["右转","UD_SYJDXR"]];if((j=$("#"+c)[0])){k=$(j).childg(0)[0];k=$(k).Child()[2];k=$("img",k);$(j).Center();k.length?(k=k[0],k.src=h["Thm"]):(b.innerHTML="",a=$$("div",{"className":"UD_SYJZO"},b),k=$$("img",{"onerror":U.UF.M.apply(this,[[U.UF.M.ImgError,["this",1]]]),"onselectstart":U.UF.M.apply(),"ondragstart":U.UF.M.apply(),"src":U.UF.M.GetImgU(h["Thm"])},a));}else{j=$$("div",{"className":"UD_SYJ UD_SYJO",id:c,"onmousewheel":[[U.UF.M.StopBubble],[this.Wheel,[this]]],"__size__":"false","onmousedown":[[U.UF.DG.DragMouseDown,["this"]]]});b=$$("div",{"className":"UD_SYJA"},j);g=$$("div",{"className":"UD_SYJD","onmousedown":U.UF.M.StopBubble,"onclick":U.UF.M.StopBubble},b);g=$$("div",{"className":"UD_SYJDX"},g);g=$$("div",{"className":"UD_SYJDXS"},g);for(f=0;f1?this.Rotate:this.Zoom,[f>1?(f-2)*2-1:(f?"Out":"In"),j,this]]])},g);if(!f){a=$$("div",{},d);$$("div",{"title":"回到原图","innerHTML":"  100%",onclick:U.UF.M.apply(this,[[this.Zoom,[100,j,this]]])},d);}else{a=d;}$$("div",{"className":"UD_SYI UD_SYJDXO "+e[f][1]},a);$$("div",{"className":"UD_SYJDXT","title":"点击"+e[f][0],"innerHTML":e[f][0]},a);}$$("div",{"className":"UD_SYJL UD_SYJLO UD_SYI","onmousedown":U.UF.M.StopBubble,"onclick":U.UF.M.StopBubble},b);a=$$("div",{"className":"UD_SYJZ","onmousedown":U.UF.M.StopBubble},b);$$("div",{"className":"UD_SYJL UD_SYJRO UD_SYI","onmousedown":U.UF.M.StopBubble,"onclick":U.UF.M.StopBubble},b);a=$$("div",{"className":"UD_SYJZO"},a);k=$$("img",{"onerror":U.UF.M.apply(this,[[U.UF.M.ImgError,["this",1]]]),"onselectstart":U.UF.M.apply(),"ondragstart":U.UF.M.apply(),"src":U.UF.M.GetImgU(h["Thm"])},a);$$("div",{"className":"UD_SYI UD_SYQC UD_SYQCT",style:{top:"0",right:"0"},"title":"关闭","onmousedown":U.UF.M.StopBubble,"onclick":U.UF.M.apply(this,[[this.Close,[null,this]]])},j);$(j).appendTo((this.parent||document.body)).Center();}return[(this.UIOD=j),(this.UIMG=k)];},Create:function(){if(this.AIMG){this.AIMG=this.AIMG.length!=null?this.AIMG:[this.AIMG];var a=this.AIMG[this.I],b=(this.UCB?this.UCB(a):this.ImgT(a,"Usestudio_Img"));this.R=0;this.Iss=$(this.UIOD).attr("__size__")=="false";U.UF.M.imgReady(U.UF.M.GetImgU(a["Img"]),U.UF.M.apply(null,[[this.Ready,[b[0],b[1],this,a]]]),U.UF.M.apply(null,[[this.Load,[b[0],b[1],this,a]]]),U.UF.M.apply(this,[[this.Error,[a["Img"]]]]));return this;}},XSI:function(a,b,c){if(b.CTF){b.Close(a,b,c);}b.CTF=true;},Wheel:function(d,b){b=event||b;var c=b.wheelDelta?(b.wheelDelta/120):(-(b.detail||b.deltaY)/3),a=c>0?"In":"Out";d.Zoom(a,d.UIOD,d);},Change:function(d,c,b){d=c.I+d;c.I=d=(d<0||d>=c.AIMG.length)?((d<0)?c.AIMG.length-1:0):d;var a=$(c.UIMG).addAttrArray({"src":c.AIMG[d]["Thm"],"style":{"filter":"alpha(opacity=30)","MozOpacity":"0.3","Khtml-opacity":"0.3","opacity":"0.3"}});c.PJ("","",c.UIOD,c.UIMG);c.Rotate((c.R=0),c.UIOD,c);U.UF.M.imgReady(c.AIMG[d]["Img"],U.UF.M.apply(null,[[c.Ready,[c.UIOD,a[0],c]]]),U.UF.M.apply(null,[[c.Load,[c.UIOD,a[0],c]]]),U.UF.M.apply(this,[[c.Error]]));(b)&&(U.UF.M.apply(c,b)());},Zoom:function(e,b,d){var e,f,a,c=$(this.UIMG);("Out,In".indexOf(e)>-1)&&(e=e=="Out"?this.BL*0.8:this.BL/0.8);d.W=d.W||c[0].width;d.H=d.H||c[0].height;this.BL=e=Math.max(Math.min(300,e),22);a=parseInt(d.H*(e/100));f=parseInt(d.W*(e/100));c.addAttrArray({"style":{"width":f+"px","height":a+"px"}});d.PJ(f,a,b,c[0]);U.UF.SI.PopupWindow(b);},PJ:function(d,e,c,b){var a=$(b).Parent();a.style.height=e?e+"px":"";a.style.width=d?d+"px":"";(!this.Iss)&&(c.style.width=a.style.width);(e)&&($(a).css("marginTop",((e=(($(a).Parent().offsetHeight-e)/2))>0?e:0)+"px"));},Rotate:function(e,c,f){var d=$(f.UIMG),a=d.Parent(),b=[a.offsetWidth,a.offsetHeight];(e)&&(b.reverse());e=f.R+e;e=e>=4?0:e;e=e<0?3:e;f.R=e;b[2]=e%2?((b[(e-1)/2]/2)+"px"):"center";d.addAttrArray({style:{"filter":"Progid:DXImageTransform.Microsoft.BasicImage(Rotation="+e+")","transformOrigin":b[2]+" "+b[2],"WebkitTransform":"rotate("+e*90+"deg)","MozTransform":"rotate("+e*90+"deg)","transform":"rotate("+e*90+"deg)","OTransform":"rotate("+e*90+"deg)"}});f.PJ(b[0],b[1],c,d[0]);U.UF.SI.PopupWindow(c);},MoveScroll:function(a,b){a.setCapture();document.onmousemove=U.UF.M.apply(b,[[b.Move,[a,event.clientX,event.clientY,[a.scrollTop,a.scrollLeft],b]]]);document.onmouseup=U.UF.M.apply(b,[[b.Up,[a]]]);},Move:function(a,d,b,c,e){e.CTF=false;$(a).addAttrArray({"scrollTop":c[0]-(event.clientY-b),"scrollLeft":c[1]-(event.clientX-d)});},Up:function(a){a.releaseCapture();document.onmousemove=document.onmouseup=null;},Download:function(a){a=a.replace(US.FILESYSTEMURL,"");U.MD.DK.RE.ODL(a,"1473用户图片.jpg");},Close:function(a,b,c){U.UF.SI.CloseWindow(a||this.UIOD,c?"remove":false);this.ET.splice(this.ET.indexOf(b),1);},Ready:function(d,c,b,a){if(d.style.display!="none"&&(a&&a["Thm"]==c.src||!a||!a["Thm"])){$[c,c.parentNode].addAttrArray({"style":{"width":this.width+"px","height":this.height+"px"}});b.W=this.width;b.H=this.height;b.PJ(b.W,b.H,d,c);U.UF.SI.PopupWindow(d);return true;}else{return false;}},Load:function(f,d,c,a){if(this.src&&f.style.display!="none"&&(a&&a["Thm"]==d.src||!a||!a["Thm"])){var b=$(d).Parent(),e=this.Iss?[b.offsetWidth,b.offsetHeight]:[US.width,US.height];$(d).addAttrArray({"src":this.src,"style":{"MozOpacity":"1","Khtml-opacity":"1","opacity":"1","filter":"alpha(opacity=100)"}});c.W=this.width;c.H=this.height;f=$(f);c.Zoom(Math.min(Math.min(c.W,e[0])/this.width,Math.min(c.H,e[1])/this.height)*100,f[0],c);f.Center();}},Error:function(a,c){var d;var b=this.UIMG;c=c||0;c++;if(c<3&&this.TF==2){U.UF.M.imgReady(a+"?&n="+c,U.UF.M.apply(null,[[this.Ready,[this.UIOD,b,this]]]),U.UF.M.apply(null,[[this.Load,[this.UIOD,b,this]]]),U.UF.M.apply(this,[[this.Error,[a,c]]]));}else{U.Alert("图片丢失");$(b).css({"width":"auto","height":"auto"});U.UF.M.ImgError(b,(this.TF||1));this.Zoom(100,this.UIOD,this);U.UF.SI.PopupWindow(this.UIOD);}}};Namespace.register("U.UF.Math");U.UF.Math.getRandom=function(a){return Math.floor(Math.random()*a+1);};U.UF.Math.RandomRange=function(a,b){return Math.floor(Math.random()*Math.abs(b-a))+(a>b?b:a);};Namespace.register("U.UF.N");U.UF.N.GoList={};U.UF.N.UTH=null;U.UF.N.RGoL=function(c,a){var b=U.UF.N.GoList;if(b[c]&&a!==true){return b[c].UT;}else{return new U.UF.N.init(c);}};U.UF.N.init=function(a){U.UF.Ut.AddObj(this,{OF:[],OL:0,UT:this});U.UF.N.GoList[a]=this;};U.UF.N.AddEvent=function(b,c){var a=U.UF.N.RGoL(c);b=U.UF.M.apply(a,b);a.AddDrawBack(b);b();};U.UF.N.AddDrawBack=function(a){this.OF.splice(this.OL,this.OF.length-this.OL,a);this.OL++;};U.UF.N.GQH=function(b){var a=this.OF[this.OL-b*2];(a)&&(a(),this.OL+=((-b*2)+1));};U.UF.N.DrawBack=function(a){U.UF.N.GoList[a]["UT"].GQH(1);};U.UF.N.GoForward=function(a){U.UF.N.GoList[a]["UT"].GQH(0);};U.UF.N.init.prototype={AddEvent:U.UF.N.AddEvent,AddDrawBack:U.UF.N.AddDrawBack,GQH:U.UF.N.GQH,DrawBack:U.UF.N.DrawBack,GoForward:U.UF.N.GoForward};U.UF.N.UrlRoute=function(a){if(!U.UF.N.UTH){U.UF.N.UTH=new U.UF.N.Path(a).init();}return U.UF.N.UTH;};U.UF.N.Path=function(a){this.UH=window.location.hash;this.UDE=[];this.UCB=a;this.UIE=window.history.length;this.UGT=this.UTF=true;this.IE=!("onhashchange" in window)||(document.documentMode<8);};U.UF.N.TJ=function(a){this.UE=a[0];this.UCB=a[1];};U.UF.N.Set=function(c){var e,d,a,b=U.UF.N.UrlRoute(),f=b.UDE;a:for(e=0;e-1){(d[c].UCB)&&(d[c].UCB());return;}}this.setNC();this.UCB(b);}}},setNC:function(){if(!this.NC){this.NC=true;setTimeout(U.UF.M.apply(this,function(){this.NC=false;}),0);}},ICH:function(){var a=window.event,b=window.location.hash;if(a.propertyName=="onbeforeeditfocus"&&this.UGT&&b!=this.UH){if(this.UTF){this.UGT=this.UTF=false;setTimeout(this.GO,0);setTimeout(U.UF.M.apply(this,[[this.AddHS,[b]]]),0);}else{this.UH=b;this.Ch();}}},AddHS:function(a){this.Add(a.split("/").slice(1));this.UH=a;this.UTF=true;},ICHT:function(c,b){var d=Guid.guidNoDash(),a=$$("iframe",{"UrlRoute":[c,b,(this.UIE++)],"tabindex":"-1","id":d,"name":d,"style":{"cssText":"width:0;height:0;display:none"},"src":"about:blank"},$("body")[0]);U.UF.M.AddEvent("load",a,U.UF.M.apply(this,[[this.UQJH,[a]]]));},UQJH:function(a){U.UF.M.ReEvent("load",a,arguments.callee.caller);var c=a.contentWindow,b=c.document.open();b.close();U.UF.M.AddEvent("load",a,U.UF.M.apply(this,[[this.AUQJH,[a]]]));},AUQJH:function(b){var c=this.UH,d=b.UrlRoute,a=this.UIE-d[2];d=d[1-a];this.UGT=true;this.UTF=false;this.UIE-=(a*2-1);if(c!=d){document.location.hash=d;}},GO:function(a){window.history.go(a||-1);}};Namespace.register("U.UF.P");U.UF.P.PPage=function(a,d,l,g,b,c){var f,e,k,h,m=U.UF.P.PPage.setPage(d,l,g,b);if(U.UF.Ut.isFunction(c)){k=c(this);h={"pre":{"onclick":[[U.UF.P.PPage.exec,[l-1,_UBE[1],a,d,l,g,b]]]},"next":{"onclick":[[U.UF.P.PPage.exec,[l+1,_UBE[2],a,d,l,g,b]]]},"frit":{"onclick":[[U.UF.P.PPage.exec,[1,_UBE[0],a,d,l,g,b]]]},"last":{"onclick":[[U.UF.P.PPage.exec,[l+1,_UBE[2],a,d,l,g,b]]]},"input":[{"onkeyup":[U.UF.M.returnkeylogin,[null,[[U.UF.P.PPage.PageAchieve,[UDE[3],a,d,l,g,b,null,UDP]]]]]},{"onclick":[[U.UF.P.PPage.PageAchieve,[UDE[3],a,d,l,g,b,null,UDP]]]}],"page":[]};for(f in k){if(k.hasOwnProperty(f)&&h[f]){if(U.UF.Ut.isArray(h[f])){for(e=0;e1;break;case 2:_UTF=t1)?q+1:q);}if(e.isp){_UDAD[2].innerText="";r=t>5?t-5:0;o=t+e.isp>f?f:t+e.isp;s=U.UF.P.PPage.setPage([r,o],null,null,e);for(q=r;q0){n=$$("div",{"className":"UD_SYFYN"},a);r=t>5?t-5:0;o=t+e.isp>f?f:t+e.isp;s=U.UF.P.PPage.setPage([r,o],null,null,e);for(q=r;q0){(i!=g)&&(U.UF.P.PPage.exec(g,h,a,d,i,f,b,c));}else{parent.U.Alert("输入范围异常!");}}else{parent.U.Alert("无效输入!");}};U.UF.P.PPage.setPage=function(c,p,h,b){var g,f,d,o,m,r,q=[],e=b["fun"],n=b["page"];if(U.UF.Ut.isArray(c)){for(g=c[0];g65536){u[0]=240|((x&1835008)>>>18);u[1]=128|((x&258048)>>>12);u[2]=128|((x&4032)>>>6);u[3]=128|(x&63);}else{if(x>2048){u[0]=224|((x&61440)>>>12);u[1]=128|((x&4032)>>>6);u[2]=128|(x&63);}else{if(x>128){u[0]=192|((x&1984)>>>6);u[1]=128|(x&63);}else{u[0]=x;}}}this.parsedData.push(u);}this.parsedData=Array.prototype.concat.apply([],this.parsedData);if(this.parsedData.length!=this.data.length){this.parsedData.unshift(191);this.parsedData.unshift(187);this.parsedData.unshift(239);}}d.prototype={getLength:function(i){return this.parsedData.length;},write:function(v){for(var w=0,u=this.parsedData.length;w=7){this.setupTypeNumber(w);}if(this.dataCache==null){this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList);}this.mapData(this.dataCache,v);},setupPositionProbePattern:function(v,i){for(var u=-1;u<=7;u++){if(v+u<=-1||this.moduleCount<=v+u){continue;}for(var w=-1;w<=7;w++){if(i+w<=-1||this.moduleCount<=i+w){continue;}if((0<=u&&u<=6&&(w==0||w==6))||(0<=w&&w<=6&&(u==0||u==6))||(2<=u&&u<=4&&2<=w&&w<=4)){this.modules[v+u][i+w]=true;}else{this.modules[v+u][i+w]=false;}}}},getBestMaskPattern:function(){var x=0;var w=0;for(var v=0;v<8;v++){this.makeImpl(true,v);var u=k.getLostPoint(this);if(v==0||x>u){x=u;w=v;}}return w;},createMovieClip:function(z,i,v){var D=z.createEmptyMovieClip(i,v);var w=1;this.make();for(var E=0;E>v)&1)==1);this.modules[Math.floor(v/3)][v%3+this.moduleCount-8-3]=u;}for(var v=0;v<18;v++){var u=(!x&&((w>>v)&1)==1);this.modules[v%3+this.moduleCount-8-3][Math.floor(v/3)]=u;}},setupTypeInfo:function(z,y){var x=(this.errorCorrectLevel<<3)|y;var w=k.getBCHTypeInfo(x);for(var v=0;v<15;v++){var u=(!z&&((w>>v)&1)==1);if(v<6){this.modules[v][8]=u;}else{if(v<8){this.modules[v+1][8]=u;}else{this.modules[this.moduleCount-15+v][8]=u;}}}for(var v=0;v<15;v++){var u=(!z&&((w>>v)&1)==1);if(v<8){this.modules[8][this.moduleCount-v-1]=u;}else{if(v<9){this.modules[8][15-v-1+1]=u;}else{this.modules[8][15-v-1]=u;}}}this.modules[this.moduleCount-8][8]=(!z);},mapData:function(y,u){var w=-1;var C=this.moduleCount-1;var x=7;var i=0;for(var v=this.moduleCount-1;v>0;v-=2){if(v==6){v--;}while(true){for(var A=0;A<2;A++){if(this.modules[C][v-A]==null){var z=false;if(i>>x)&1)==1);}var B=k.getMask(u,C,v-A);if(B){z=!z;}this.modules[C][v-A]=z;x--;if(x==-1){i++;x=7;}}}C+=w;if(C<0||this.moduleCount<=C){C-=w;w=-w;break;}}}}};r.PAD0=236;r.PAD1=17;r.createData=function(B,A,x){var v=q.getRSBlocks(B,A);var u=new l();for(var w=0;wy*8){throw new Error("code length overflow. ("+u.getLengthInBits()+">"+y*8+")");}if(u.getLengthInBits()+4<=y*8){u.put(0,4);}while(u.getLengthInBits()%8!=0){u.putBit(false);}while(true){if(u.getLengthInBits()>=y*8){break;}u.put(r.PAD0,8);if(u.getLengthInBits()>=y*8){break;}u.put(r.PAD1,8);}return r.createBytes(u,v);};r.createBytes=function(E,H){var w=0;var K=0;var I=0;var v=new Array(H.length);var z=new Array(H.length);for(var C=0;C=0)?x.get(B):0;}}var G=0;for(var F=0;F=0){u^=(k.G15<<(k.getBCHDigit(u)-k.getBCHDigit(k.G15)));}return((i<<10)|u)^k.G15_MASK;},getBCHTypeNumber:function(i){var u=i<<12;while(k.getBCHDigit(u)-k.getBCHDigit(k.G18)>=0){u^=(k.G18<<(k.getBCHDigit(u)-k.getBCHDigit(k.G18)));}return(i<<12)|u;},getBCHDigit:function(i){var u=0;while(i!=0){u++;i>>>=1;}return u;},getPatternPosition:function(i){return k.PATTERN_POSITION_TABLE[i-1];},getMask:function(w,v,u){switch(w){case t.PATTERN000:return(v+u)%2==0;case t.PATTERN001:return v%2==0;case t.PATTERN010:return u%3==0;case t.PATTERN011:return(v+u)%3==0;case t.PATTERN100:return(Math.floor(v/2)+Math.floor(u/3))%2==0;case t.PATTERN101:return(v*u)%2+(v*u)%3==0;case t.PATTERN110:return((v*u)%2+(v*u)%3)%2==0;case t.PATTERN111:return((v*u)%3+(v+u)%2)%2==0;default:throw new Error("bad maskPattern:"+w);}},getErrorCorrectPolynomial:function(v){var u=new p([1],0);for(var w=0;w5){x+=(3+C-5);}}}for(var E=0;E=256){i-=255;}return o.EXP_TABLE[i];},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var n=0;n<8;n++){o.EXP_TABLE[n]=1<>>(7-i%8))&1)==1;},put:function(u,w){for(var v=0;v>>(w-v-1))&1)==1);}},getLengthInBits:function(){return this.length;},putBit:function(u){var i=Math.floor(this.length/8);if(this.buffer.length<=i){this.buffer.push(0);}if(u){this.buffer[i]|=(128>>>(this.length%8));}this.length++;}};var m=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function s(){return typeof CanvasRenderingContext2D!="undefined";}function g(){var i=false;var v=navigator.userAgent;if(/android/i.test(v)){i=true;var u=v.toString().match(/android ([0-9]\.[0-9])/i);if(u&&u[1]){i=parseFloat(u[1]);}}return i;}var e=(function(){var i=function(u,v){this._el=u;this._htOption=v;};i.prototype.draw=function(x){var E=this._htOption;var C=this._el;var u=x.getModuleCount();var A=Math.floor(E.width/u);var B=Math.floor(E.height/u);this.clear();function y(F,H){var I=document.createElementNS("http://www.w3.org/2000/svg",F);for(var G in H){if(H.hasOwnProperty(G)){I.setAttribute(G,H[G]);}}return I;}var z=y("svg",{"viewBox":"0 0 "+String(u)+" "+String(u),"width":"100%","height":"100%","fill":E.colorLight});z.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink");C.appendChild(z);z.appendChild(y("rect",{"fill":E.colorLight,"width":"100%","height":"100%"}));z.appendChild(y("rect",{"fill":E.colorDark,"width":"1","height":"1","id":"template"}));for(var D=0;D'];for(var E=0;E");for(var w=0;w');}D.push("");}D.push("");C.innerHTML=D.join("");var A=C.childNodes[0];var x=(F.width-A.offsetWidth)/2;var v=(F.height-A.offsetHeight)/2;if(x>0&&v>0){A.style.margin=v+"px "+x+"px";}};i.prototype.clear=function(){this._el.innerHTML="";};return i;})():(function(){function i(){this._elImage.src=this._elCanvas.toDataURL("image/png");this._elImage.style.display="block";this._elCanvas.style.display="none";}if(this._android&&this._android<=2.1){var v=1/window.devicePixelRatio;var w=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(z,E,D,F,B,H,G,y,C){if(("nodeName" in z)&&/img/i.test(z.nodeName)){for(var A=arguments.length-1;A>=1;A--){arguments[A]=arguments[A]*v;}}else{if(typeof y=="undefined"){arguments[1]*=v;arguments[2]*=v;arguments[3]*=v;arguments[4]*=v;}}w.apply(this,arguments);};}function x(y,C){var z=this;z._fFail=C;z._fSuccess=y;if(z._bSupportDataURI===null){var B=document.createElement("img");var D=function(){z._bSupportDataURI=false;if(z._fFail){z._fFail.call(z);}};var A=function(){z._bSupportDataURI=true;if(z._fSuccess){z._fSuccess.call(z);}};B.onabort=D;B.onerror=D;B.onload=A;B.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";return;}else{if(z._bSupportDataURI===true&&z._fSuccess){z._fSuccess.call(z);}else{if(z._bSupportDataURI===false&&z._fFail){z._fFail.call(z);}}}}var u=function(y,z){this._bIsPainted=false;this._android=g();this._htOption=z;this._elCanvas=document.createElement("canvas");this._elCanvas.width=z.width;this._elCanvas.height=z.height;y.appendChild(this._elCanvas);this._el=y;this._oContext=this._elCanvas.getContext("2d");this._bIsPainted=false;this._elImage=document.createElement("img");this._elImage.alt="Scan me!";this._elImage.style.display="none";this._el.appendChild(this._elImage);this._bSupportDataURI=null;};u.prototype.draw=function(D){var L=this._elImage;var I=this._oContext;var K=this._htOption;var A=D.getModuleCount();var F=K.width/A;var G=K.height/A;var B=Math.round(F);var H=Math.round(G);L.style.display="none";this.clear();for(var J=0;Jm.length){throw new Error("Too long data");}return v;}function j(u){var i=encodeURI(u).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return i.length+(i.length!=u?3:0);}QRCode=function(v,w){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:f.H};if(typeof w==="string"){w={text:w};}if(w){for(var u in w){this._htOption[u]=w[u];}}if(typeof v=="string"){v=document.getElementById(v);}if(this._htOption.useSVG){h=e;}this._android=g();this._el=v;this._oQRCode=null;this._oDrawing=new h(this._el,this._htOption);if(this._htOption.text){this.makeCode(this._htOption.text);}};QRCode.prototype.makeCode=function(i){this._oQRCode=new r(a(i,this._htOption.correctLevel),this._htOption.correctLevel);this._oQRCode.addData(i);this._oQRCode.make();this._el.title=i;this._oDrawing.draw(this._oQRCode);this.makeImage();};QRCode.prototype.makeImage=function(){if(typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)){this._oDrawing.makeImage();}};QRCode.prototype.clear=function(){this._oDrawing.clear();};QRCode.CorrectLevel=f;})();Namespace.register("U.UF.SI");U.UF.SI.isTop=false;U.UF.SI._closes=[];U.UF.SI._index=[];U.UF.SI.closefun=function(a){U.UF.SI._closes.splice(U.UF.SI._closes.indexOf(a),1);};U.UF.SI.Windowmaximize=function(c,h,e,k,n){var l,f,i,g=true,b=$(c),a=c.style,j=U.UF.M.GetPDWH(c),d=US.width,m=US.height;h=h||(event&&event.srcElement);if(j["OW"]>=d&&j["OH"]>=m){f={"title":"全屏","onmousedown":n?(n.onmousedown||(k?k.onmousedown:null)):null,"style":n?n["style"]||{"width":"80%","height":"80%","left":"10%","top":"10%"}:{"width":"80%","height":"80%","left":"10%","top":"10%"}};g=false;}else{i=c["style"];l={"onmousedown":k?k.onmousedown:null,"style":{"cssText":i["cssText"]+";","width":i.width,"height":i.height,"top":i.top,"left":i.left,"display":"block"},"width":j["CW"],"height":j["CH"]};f={"title":"缩小","onmousedown":k?(U.UF.M.apply(k,[[k.onmousedown],[U.UF.SI.DragElement,[c,h,e,k,l]]])):null,"style":{"top":"0px","left":"0px","width":(d-j["PD"][1]-j["PD"][3]-j["BD"][1]-j["BD"][3])+"px","height":(m-j["PD"][0]-j["PD"][2]-j["BD"][0]-j["BD"][2])+"px"}};}(k)&&(k.onmousedown=f.onmousedown);(h)&&($(h).addAttrArray({"onclick":[[U.UF.SI.Windowmaximize,[c,h,e,k,l]]],"title":f["title"]}));c.style.display="block";$(c).animate(f.style,150,function(){var o=U.UF.M.GetPDWH(c);U.UF.ST.withf(e,[o["CW"],c["CH"],g]);});};U.UF.SI.DragElement=function(c,a,b,d,e){if(U.UF.DG.DragMouseDown.ST){U.UF.DG.DragMouseDown.ST.set({move:function(f){var h=US.width,g=U.UF.M.GetMousep(c);(!e.width)&&(e.width=US.width*0.8);(!e.height)&&(e.height=US.height*0.8);U.UF.Ut.AddObj(e["style"],{"top":"0px","left":Math.min(Math.max((g["X"]-e.width/2),0),(h-e.width))+"px"});U.UF.SI.Windowmaximize(c,a,b,d,e);(f&&f.move)&&(f.move=null);}});}};U.UF.SI.WindowMin=function(b){b=$(b);var d,a,f=US.width,c=US.height,e=b.GetElementInfo();_UDE={"cssText":b[0].style.cssText,"display":"none"};b.animate({"cssText":"overflow:hidden;left:0px;top:"+((c-e["OH"]+100)/2)+"px;width:"+(Math.min(e["OW"]/3,100))+"px;height:"+(Math.min(e["OH"]/3,100))+"px;opacity:0.8"},200,U.UF.M.apply(b,[[b.css,["cssText",_UDE.cssText]],[b.css,["display",_UDE.display]]]));(parent.U.MD.N)&&(setTimeout(function(){parent.U.MD.N.UrlWrite([],"");},0));};U.UF.SI.CloseWindow=function(a,c){var b=$(a);(b.css("display")!="none")&&(b.fadeIn(150,c=="remove"?function(){b.remove();b=null;}:""));(parent.U.MD.N&&c!==true)&&(parent.U.MD.N.UrlWrite([],""));(U.D&&U.MD.D.Tb&&U.MD.D.T.taskbars)&&(U.MD.D.T.taskbars.close(a));(U.UF.SI._closes.indexOf(a)==-1)&&(U.UF.SI._closes.push(a));setTimeout(U.UF.M.apply(this,[[U.UF.SI.closefun,[a]]]),0);};U.UF.SI.PopupWindow=function(b,d){var e,j,f,c,k,g=$(b).css("display")=="none",a=$(b).addAttrArray({"style":{"display":"block"}})[0],h=U.UF.M.TOSP(b),c=h.offsetWidth||US.width,k=h.offsetHeight||US.height;j=(c-a["offsetWidth"])/2+h["scrollLeft"];f=(k-a["offsetHeight"])/2+h["scrollTop"];if(U.UF.SI._index[2]&&U.UF.SI._index[2]!==b&&Math.floor(j)==U.UF.SI._index[2].offsetLeft&&Math.ceil(f)==U.UF.SI._index[2].offsetTop){j+=20;f+=20;}U.UF.SI._index[2]=b;U.UF.SI.SetDTop($(b).addAttrArray({"style":{"cssText":"left:"+j+"px;top:"+f+"px;z-index:"+((parent.US.ZINDEX++)+1)}})[0]);(U.UF.Ut.isFunction(d))&&(d());(g&&b.onresize)&&(b.onresize());};U.UF.SI.SetDTop=function(c,e){(U.UF.Ut.isEvent(c))&&(c=null);c=c||U.UF.SI.GetEE();var d,b,a=U.UF.SI.GetPD(c);if(e!==true){setTimeout(U.UF.M.apply(null,[[U.UF.SI.SetDTop,[c||a[0],true]]]),0);}else{if(a&&a.length){for(d=0;d0){var f=document.body,c=Guid.guidNoDash();U.UF.M.IFO($$("iframe",{"id":c,"name":c,"width":0,"height":0,"style":{"display":"none"},"frameBorder":0},f),"",[[U.UF.UP.uploadingA,[b,d,e,g,h,c,a]]]);}};U.UF.UP.uploadingA=function(n,d,j,o,c,k,m){this.contentWindow.name=k;n=U.UF.Ut.isArray(n)?n:Array.prototype.slice.apply(n);o=o+(o.indexOf("?")>-1?"":"?")+((US&&US.userInfo&&US.userInfo.UserId)||US.userInfo.UserId?"&UserId="+(US.userInfo.UserId||US.userInfo.UserId):"");var g=0,l=n.length,e=[],h=d,f=document.body,b={"UpObj":n,"context":j,"value":""},a=$$("form",{"action":o,"target":k,"encoding":m?m:"multipart/form-data","enctype":m?m:"multipart/form-data","method":"post","name":"loading","style":{"display":"none"}},f);(c)&&(l=1,b["UpObj"]=n.splice(0,1),h=U.UF.M.apply(this,[[d,[b]],[U.UF.UP.uploading,[n,d,j,o,c]]]));n=b["UpObj"];for(g;g'});b.insertBefore(_UDTD.firstChild,b.firstChild);}U.UF.UP.FTF[a]={};U.UF.UP.FTF.EL=$("*"+a,b).addAttrArray({"width":c["width"]?c["width"]:1,"height":c["height"]?c["height"]:1,"style":{"display":"block"}})[0];U.UF.UP.FTF[a]["EL"]=U.UF.UP.FTF.EL;return U.UF.UP.FTF.EL;};U.UF.UP.FAFZ=function(e,c,d){var b=U.UF.UP.FTF,a=b["EL"],f=a.id||a.name;b[f].WH=e;b[f].FT=c;b[f].GS=d||"*";if(a&&a.SetStage){if(!U.UF.UP.FOnload()){return false;}return true;}return false;};U.UF.UP.FOnload=function(){try{var a=U.UF.UP.FTF;a["EL"].SetStage(a["WH"],a["FT"],a["GS"]||"*");return true;}catch(b){return false;}};U.UF.UP.FLEX=function(a){U.Alert(a);U.UF.M.Console(a);};U.UF.UP.FLAdd=function(b,c){var a=U.UF.UP.FTF.EL,d=a.ID||a.name;if(U.UF.UP.FTF[d]&&U.UF.UP.FTF[d].FT&&U.UF.UP.FTF[d].FT["ADD"]){U.UF.UP.FTF[d].FT["ADD"](b,c);}};U.UF.UP.FLACP=function(b){var a=U.UF.UP.FTF.EL,c=a.ID||a.name;if(U.UF.UP.FTF[c]&&U.UF.UP.FTF[c].FT&&U.UF.UP.FTF[c].FT["AFCP"]){U.UF.UP.FTF[c].FT["AFCP"](b);}};U.UF.UP.FLJD=function(b,c){var a=U.UF.UP.FTF.EL,d=a.ID||a.name;if(U.UF.UP.FTF[d]&&U.UF.UP.FTF[d].FT&&U.UF.UP.FTF[d].FT["JDT"]){U.UF.UP.FTF[d].FT["JDT"](b,c);}};U.UF.UP.FSLCP=function(b,c){var a=U.UF.UP.FTF.EL,d=a.ID||a.name;if(U.UF.UP.FTF[d]&&U.UF.UP.FTF[d].FT&&U.UF.UP.FTF[d].FT["FCP"]){U.UF.UP.FTF[d].FT["FCP"](b,c);}};U.UF.UP.IsFUp=function(c,b){var a=U.UF.UP.FTF.EL,d=a.ID||a.name;if(U.UF.UP.FTF[d]&&U.UF.UP.FTF[d].FT&&U.UF.UP.FTF[d].FT["FUP"]){U.UF.UP.FTF[d].FT["FUP"](c,b);}};U.UF.UP.FLCP=function(a){U.Alert("等待服务器的响应...");};U.UF.UP.FileDL=function(d,a,g){var c=US.userInfo.UserId,b=c?c:U.UF.M.GetCookie("usestudiosso","userid")||[];if(c||b[0]){(!c)&&(US.userInfo.UserId=b[0]);U.UF.UP.uploading([$$("input",{"type":"text","value":d,"name":"filename"}),$$("input",{"type":"text","value":a,"name":"filepath"})],null,null,"http://main.1473.cn/USupfile.ashx?iframename="+(g||"UploadFile"),false);}else{if(window.location.href.indexOf("www.1473.cn")){try{U.MD.U.L.DLTC(3);}catch(f){U.Alert("请在云端登录");}}else{U.UF.UI.Confirm("是否跳转到云端进行下载",function(){window.location.href="http://www.1473.cn";});}}};U.UF.UP.FileGS=function(b,a){U.UF.UP.uploading([$$("input",{"type":"text","value":b,"name":"id"}),$$("input",{"type":"text","value":a,"name":"type"})],null,null,"http://main.1473.cn/USupfile.ashx?iframename=DownType",false);};U.UF.UP.FFT=function(e){e=e.toLowerCase();var b,c,a=["folder","folderencrypt","png,jpg,bmp,gif","doc,docx,uw","xls,xlsx,ue","ppt,pptx","txt","wmv,video","mp3","rar,zip"],d=[["文件夹","-6px -41px","-169px -5px"],["文件夹","-659px -42px","-736px -77px"],["图片文件","-593px -402px","-61px -5px"],["Word文档","-155px -41px","-511px -198px","-477px -10px","-65px -420px"],["Excel文档","-297px -41px","-584px -198px;","-325px -10px","-290px -50px","-120px -420px"],["PPT幻灯片","-227px -41px","-548px -198px","-220px -420px"],["Txt文本文档","-84px -41px","-477px -198px","-170px -420px"],["视频文件","-503px -41px","-760px -42px"],["Mp3音乐文件","-438px -41px","-734px -43px","-15px -420px","-175px -10px"],["Rar压缩文件","-368px -41px","-619px -199px","-270px -420px"]];for(b=0;b-1){c=d[b];break;}}(!c)&&(c=["系统文件","-575px -41px","-478px -230px","-320px -420px"]);for(b=1;b-1)&&(b=true);return b;};U.UF.UP.IsSizeS=function(b,a){return(b>a);};U.UF.UP.FileSize=function(d){d=d||0;var c=(d+"").replace(U.UF.S.Num,""),a=["B","KB","M","G","TB"],b=a.indexOf(c);b=b==-1?0:b;d=parseInt(d);while(d>1024){d/=1024;b++;}return d.toFixed(2)+a[b];};U.UF.UP.GetSfileS=function(e){var c=0,b=["B","KB","M","G","TB"],d=(e+"").replace(U.UF.S.Num,""),a=b.indexOf(d,null,true);return parseFloat(e)*Math.pow(1024,a);};Namespace.register("U.UF.UI");U.UF.UI.RadioList=function(c,a,b){return new U.UF.UI.RadioList.init(c,a,b);};U.UF.UI.Form=U.UF.UI.From=function(a){return new U.UF.UI.Form.init(a).create();};U.UF.UI.Form.init=function(a){U.UF.Ut.AddObj(this,a);return this;};U.UF.UI.Form.et={};U.UF.UI.Form.init.prototype={et:U.UF.UI.Form.et,create:function(){var e,j,k,b,g,a,f=this,c=this.title,h=this.content,d=[["H","up"],["HL","topRight"],["HR","topleft"],["ML","left"],["MR","right"],["B","down"],["BL","bottomLeft"],["BR","bottomRight"]];if(this.id&&this.et[this.id]&&this.et[this.id].be.id==this.id){f=this.et[this.id];f.be.style.cssText="";(f.body)&&(f.body.style.cssText="");$(f.be).addAttrArray({className:this.className?this.className:"UD_SYF_S UD_SYKO",close:U.UF.M.apply(f,f.shut),"__top__":this.top?"false":"","__right__":this.right||"",usform:"true","id":this.id||"","style":this.style||{}});($(f.body).addAttrArray(this.bst));(c&&(f.title=c))&&(U.UF.Ut.isString(c)?(f.head.innerHTML=c):(f.head.innerHTML="",$(f.head).append(c)));(h&&(f.content=h))&&(U.UF.Ut.isString(h)?((U.UF.M.IsUrl(h))?"":f.body.innerHTML=h):(($(h).Parent()!=f.body)&&(f.body.innerText="",$(f.body).append(h))));k=f.be;}else{(this.be=k=$$("div",{className:this.className?this.className:"UD_SYF_S UD_SYKO",close:U.UF.M.apply(this,this.shut),"__top__":this.top?"false":"","__right__":this.right||"",usform:"true","id":this.id||"","style":this.style||{}})).onresize=U.UF.M.apply(this,[[this.size]]);(this.attr)&&($(this.be).addAttrArray(this.attr));if(this.title!==false){this.head=b=$$("div",{className:"UD_SYF_ST",onmousedown:[[U.UF.DG.DragMouseDown,[k,null,this]]]},k);(this.headerStyle)&&($(b).addAttrArray(this.headerStyle));(this.hst)&&($(b).addAttrArray(this.hst));(c!=null)&&($(b).append(c));}else{if(this.draw!==false){k.onmousedown=U.UF.M.apply(k,[[U.UF.DG.DragMouseDown,[k]]]);}}if(this.content!==false){b=$$("div",{className:"UD_SYF_SC"},k);this.body=b=$$("div",{usbody:"true",className:"UD_SYF_SCO"},b);(this.bst)&&($(this.body).addAttrArray(this.bst));$(b).bind("scroll",U.UF.M.apply(this,this.scroll));if(h!=null){if(U.UF.M.IsUrl(h)){$$("iframe",{scrolling:this.Scroll||"no",frameBorder:0,width:"100%",height:"100%",src:h},b);}else{if(h){(this.bst)&&($(b).addAttrArray(this.bst));if(U.UF.Ut.isString()){b.innerHTML=h;}else{$(b).append(h);}}}}}this.zie=a={fun:U.UF.M.apply(this,this.size)};b=$$("div",{className:"UD_W_WT"},k);if(this.draw!==false){for(e=0;e-1||a[0].indexOf("%")>-1)||a[1]&&(a[1].indexOf("px")>-1||a[1].indexOf("%")>-1)?"SetDTop":"PopupWindow"](k,true));f.PSO=k;(f.top)&&($(f.be).css("zIndex",9999));f.size(true);return f;},shut:function(){if(!this.close||!this.close.onclick||this.close.onclick(this.be)!==false){U.UF.SI.CloseWindow(this.be,this.del?this.del:null);}},size:function(c){if(this.draw!==false&&this.max!==false||this.title!==false){if(!(this.bst&&this.bst.height)&&this.be.style.height!="auto"){var a,b=[this.head?U.UF.M.GetPDWH(this.head):[],U.UF.M.GetPDWH(this.body)];if(a=$(this.be).height()){$(this.body).css("height",a-(b[0]["OH"]||0)-(b[1]["PD"][0]||0)-(b[1]["PD"][2]||0)+"px");}}if(c!==true){(!this.TI&&this.resize)&&(this.resize.call(this,this.be,this.head,this.body));clearTimeout(this.TI);this.IsSize=true;this.TI=setTimeout(U.UF.M.apply(this,this.sizeend),0);}}},sizeend:function(){this.TI=null;(this.resizeend)&&(this.resizeend(this.be));},allSize:function(){var b,a=this.et;for(b in a){if(a[b].IsSize){a[b].IsSize=false;}else{a[b].size();}}},scroll:function(){if(this.s||this.ss||this.se){(this.s)&&(this.s());(!this.iss)&&(this.scrollStart());this.iss=true;clearTimeout(this.TI);this.TI=setTimeout(U.UF.M.apply(this,this.scrollEnd),0);}},scrollStart:function(){(this.ss)&&(this.ss());},scrollEnd:function(){(this.se)&&(this.se());this.iss=false;},scrollBottom:function(){},add:function(a){U.UF.Ut.AddObj(this,a);}};U.UF.UI.Editor=function(a){return U.UF.UI.EditorLoad({head:true,isc:false,title:false,context:"",parentEle:a});};U.UF.UI.PopEditor=function(a,b){return U.UF.UI.EditorLoad(a,b);};U.UF.UI.EditorLoad=function(a,b){return new U.UF.UI.EditorLoad.init(a,b).create();};U.UF.UI.EditorLoad.addT=function(a,c,e){var d=$$("div",{className:"UD_SYSXZBFCAT","style":{"display":"block"}},a);d=$$("div",{className:"UD_SYSXZBFCATX"},d);$$("div",{className:"UD_SYSXZBFCATXL","innerHTML":c||"主题:"},d);var b=$$("div",{className:"UD_SYSXZBFCATXR"},d);_UDMD=$$("input",{className:"UD_SYSXZTST",defaultValue:(_UCT="请输入标题..."),"value":e,placeholder:_UCT,onblur:[[U.UF.MR.InputTip,["this",["",_UCT]]]],onfocus:[[U.UF.MR.InputTip,["this",[_UCT,""]]]]},b);return d;};U.UF.UI.EditorLoad.init=function(a,b){this.obj=a||{};this.rt=b||{};this.o=[];this.extra=[];};U.UF.UI.EditorLoad.init.prototype={et:{},config:function(a){if(!this.f){this.f={EX:"uerror",ADD:"uadd",JDT:"ujdt",FCP:"ufcp",FUP:"ufup",CP:"ucp",ACP:"ucp"};for(var b in this.f){this.f[b]=U.UF.M.getFun(U.UF.M.apply(this,this[this.f[b]])).set({isremove:false}).getId();}}this.c=this.c||{id:Guid.guidNoDash()};(a)&&(U.UF.Ut.AddObj(this.c,a));return this;},set:function(a){U.UF.Ut.AddObj(this,a);},create:function(){if(this.obj.cus){this.cuscreate();}var l,b,a,j,d,p,h,t,s,f,q,k,g,c,m,o=this.obj,r={"hst":"","bst":"","draw":"","close":"","max":"","min":"","isContain":"","style":""};this.config();o.id=o.id||Guid.guidNoDash();if((m=this.et[o.id])){(h=m.ti).value=o.name;(t=m.con).innerHTML=o.title;$(m.content).parentg({usform:"true"}).Center();}else{m=this;this.content=a=$$("div",{className:"UD_SYSXZBFCA",id:o.id||""});if(this.obj.title!==false){h=this.ti=$("input",U.UF.UI.EditorLoad.addT(a,"主题",o["title"]))[0];}if(this.obj.head){this.head=j=$$("div",{"onclick":U.UF.M.apply(this,this.Tool),className:"UD_SYSXZBFCAH"},a);g=$$("div",{"className":"UD_SYFDTZ UD_SYI UD_SYSXZBFCAHO","style":{"position":"relative"},"title":"本地添加文件"},j);if(US&&US.userInfo&&US.userInfo.UserId){$$("div",{"className":"UD_SYFDTW UD_SYI UD_SYSXZBFCAHH","style":{"width":"28px"},"title":"网盘添加文件","onclick":[[U.MD.DK.VW.CCWPXZK,([US.EMPTYGUID,{"onclick":U.UF.M.apply(this,[[this.createFile]])},null])]]},j);}s=$$("div",{"className":"UD_SYQZI UD_SYQCT UD_SYI UD_SYSXZBFCAHO",title:"表情包",onclick:[[U.UF.M.StopBubble],[U.UF.UI.face,["this",U.UF.M.apply(this,this.face)]]]},j);s=$$("div",{"className":"UD_SYQZI UD_SYQZJ UD_SYI UD_SYSXZBFCAHO",title:"背景色",onclick:[[U.UF.M.StopBubble],[U.OU.ToolOC,["this"]]]},j);s=$$("div",{"className":"UD_SYQZOB",onclick:U.UF.M.apply(this,[[this.use,[{"backgroundColor":""},"backgroundColor"]]])},s);f=$$("div",{"className":"UD_SYQZI UD_SYQZZ UD_SYI UD_SYSXZBFCAHO",title:"字体色",onclick:[[U.UF.M.StopBubble],[U.OU.ToolOC,["this"]]]},j);f=$$("div",{"className":"UD_SYQZOB",onclick:U.UF.M.apply(this,[[this.use,([{"color":""},"backgroundColor"])]])},f);q=$$("div",{"className":"UD_SYQZO UD_SYQZOV UD_SYSXZBFCAHO"},j);q=$$("select",{"className":"UD_SYQZV",onchange:U.UF.M.apply(this,[[this.use,[{"fontFamily":""},"font"]]])},q);k=$$("div",{"className":"UD_SYQZO UD_SYQZOO UD_SYSXZBFCAHO"},j);k=$$("select",{"className":"UD_SYQZVO",onchange:U.UF.M.apply(this,[[this.use,([{"fontSize":""},"font"])]])},k);$$("div",{"className":"UD_SYQZI UD_SYQZLO UD_SYI UD_SYSXZBFCAHO",title:"斜体",onclick:U.UF.M.apply(this,[[this.use,([{fontStyle:["italic","normal"]}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQZLT UD_SYI UD_SYSXZBFCAHO",title:"加粗",onclick:U.UF.M.apply(this,[[this.use,([{fontWeight:["bold","normal"]}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQZF UD_SYI UD_SYSXZBFCAHO",title:"下划线",onclick:U.UF.M.apply(this,[[this.use,([{textDecoration:["underline","none"]}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQZT UD_SYI UD_SYSXZBFCAHO",title:"删除线",onclick:U.UF.M.apply(this,[[this.use,([{textDecoration:["line-through","none"]}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQLJ UD_SYI UD_SYSXZBFCAHO",title:"超链接",onclick:[[U.OU.AddUrl,[U.UF.M.apply(this,[[this.AddUrl]])]]]},j);$$("div",{"className":"UD_SYQZI UD_SYQZR UD_SYI UD_SYSXZBFCAHO",title:"左对齐",onclick:U.UF.M.apply(this,[[this.use,([{textAlign:"left"}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQZRZ UD_SYI UD_SYSXZBFCAHO",title:"居中",onclick:U.UF.M.apply(this,[[this.use,([{textAlign:"center"}])]])},j);$$("div",{"className":"UD_SYQZI UD_SYQZRL UD_SYI UD_SYSXZBFCAHO",title:"右对齐",onclick:U.UF.M.apply(this,[[this.use,([{textAlign:"right"}])]])},j);U.OU.CreatTool([q,k,s,f],[0,1,2,3]);$("&*",this.head).addAttrArray({"unselectable":"on"});}c=$$("div",{"innerHTML":"在该处添加内容..."});b=c.outerHTML;this.con={className:"UD_SYSXZLRSSI UD_SYSXZBFCO",contenteditable:"true",onblur:[[U.UF.MR.InputTip,["this",["
",b]]]],onfocus:[[U.UF.MR.InputTip,["this",[b]]]]};(this.car)&&(U.UF.Ut.AddObj(this.cob,this,car));this.con=t=$$("div",this.con,a);j=$$("div",{className:"UD_SYSXZBFCT"},a);if(this.obj.imgt){(!U.UF.Ut.isNumber(this.obj.imgt))&&(this.obj.imgt=9);this.imgt=p=$$("div",{className:"UD_SYSXZLRSSVON"},j);}_$(r).Each(function(i,e){r[e]=o[e]==null?r[e]:o[e];});U.UF.Ut.AddObj(r,{SO:this.obj.parent,sizeend:U.UF.M.apply(this,this.size),content:a,title:"
"+(this.obj.name||"最新发表")+"
"});if(o.parentEle){this.body=o.parentEle;$(o.parentEle).append(a);}else{this.body=U.UF.UI.Form(r).be;(this.obj.celbut!==false)&&($$("div",{className:"UD_SYSXZBFCTA UD_SYSXZBFCTAT",title:"取消","innerHTML":"取消","onclick":this.obj.celbut?this.obj.celbut:[[U.UF.SI.CloseWindow,[this.body]]]},j));$$("div",{className:"UD_SYSXZBFCTA",title:"确定","innerHTML":"确定","onclick":U.UF.M.apply(this,this.fb)},j);}this.objfl=U.UF.UP.AddFAN(g,null,{"width":"25px","height":"22px"});U.UF.UP.FAFZ({"width":"25px","height":"22px"},{"ADD":U.UF.M.apply(this,this.uadd),"CP":U.UF.M.apply(this,this.ucp),"JDT":U.UF.M.apply(this,this.ujdt),"FUP":U.UF.M.apply(this,this.ufup),"FCP":U.UF.M.apply(this,this.ufcp)},"M");this.et[o.id]=this;this.r=this.cursor(a,t);}try{(U&&U.D&&U.MD.D.Tb&&U.MD.D.T.taskbar)&&(U.MD.D.T.taskbar({bp:"-267px -413px",name:(m.obj.name||"最新发表"),el:m.body,id:o.id,click:U.UF.M.apply(m,m.create)}));}catch(n){}m.size();(c)&&(m.r.add(o["context"]||b));return m;},text:function(){return this.con.innerHTML.escapeQuotes();},clear:function(){var b,a=this.extra;for(b=0;ba.length?a.length:this.obj.imgt);}this.obj.imgt-=a.length;}for(b=0;b"+U.UF.M.GetImgU(h.UserFilesServerName)+"  ";}else{i=$$("div",{contenteditable:"false",style:{"cssText":"width:260px; height:70px; background-color:#DDD; display: inline-block; *display:inline; *zoom:1;text-decoration: none; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-indent:0"}});a=$$("div",{className:"UD_SYID","style":{"cssText":"margin:10px 0 0 10px; width:40px; height:50px; margin:15px 0 0 10px; float:left; background-position:-261px -22px"}},i);$$("div",{style:{cssText:"font-size:15px; width:40px; margin:auto; font-family:'微软雅黑'; text-align:center; color:#888; position:relative; top:16px; height:20px; overflow:hidden;"},innerHTML:U.UF.UP.GetUpName(h.UserFilesServerName)[1]},a);a=$$("div",{style:{"cssText":"width:195px; height:100%; margin-left:10px; float:left;"}},i);e=$$("div",{style:{"cssText":"width:200px; height:35px; line-height:35px;"}},a);f=$$("div",{innerHTML:"文档 容量大小 "},e);$$("span",{innerHTML:U.UF.UP.FileSize(h.UserFilesSize),style:{cssText:"color:#006699;"}},f);e=$$("div",{style:{"cssText":"width:200px; height:35px; line-height:35px;"}},a);f=$$("div",{style:{"cssText":"float:left; width:35px; height:35px;"}},e);$$("img",{style:{"cssText":"width:30px; height:30px;"},src:U.UF.M.GetImgU(US.userInfo.UserThumbnailImageHead)},f);$$("div",{style:{"cssText":"float:left;padding:0 8px;max-width:50px;"},innerHTML:US.userInfo.UserName},e);$$("a",{innerHTML:"点击下载",href:"http://www.1473.cn/Pages/Downlaod.htm?id="+h.UserFilesID+"&type=file",target:"_blank"},e);$("*",i).addAttrArray({contenteditable:"false"});d="  "+i.outerHTML+"  ";}this.r.add(d);},AddUrl:function(a){a=a.value;this.r.add(""+(a)+"");},imgdel:function(a){if(event.button==2){this.obj.imgt++;$(a).remove();}},uacp:function(){try{(!this.rt.acp)&&(this.rt.acp());}catch(a){}this.objfl.DAF();},del:function(a,c){var b,d,e=this.o;if(a!=null){e.splice(a,1);}else{if(c){b=this.getup(c);(b[0])&&(this.objfl.DF(b[2],b[1]),e[b[1]].splice(b[2],1),(!e[b[1]].length)&&(e.splice(b[1],1)));}}(!e.length)&&(this.uacp());},getup:function(a){var d,c,b=this.o;for(d=0;d2?c.length-2:c.length-1;this.sor=c.length>1?c[c.length-2].OR:this.sor;}this.isb=true;},focus:function(){this.isb=false;},create:function(){var c=this.eb,d=event?event.srcElement:null;this.iso=false;((!d||(c!==d&&!U.UF.M.EISE(c,d))&&!this.isb))&&(this.sor.CreateR(),this.iso=true);},add:function(c){this.eb.focus();this.sor.Replace(c,null,true);this.sor.CreateR();},use:function(c){U.UF.E.FontSizeType(this.sor.Parent(),c,this.sor,this.id);}};a.init.prototype=a;return b;})(),face:function(b,a){var c="http://www.1473.cn/img/ChatingFaceGif/[face]("+a+").gif";this.r.add(" "+$$("img",{"src":c,"contentEditable":"true"}).outerHTML+" ");}};U.UF.UI.face=function(c,b){var d,e,a=$("#UF_FBD")[0];if(a){$("#UF_FBD")[0].style.display=$("#UF_FBD")[0].style.display=="none"?"block":"none";}else{a=$$("div",{"id":"UF_FBD","class":"UF_FBD","onmousedown":U.UF.M.StopBubble},c);e=$$("div",{"class":"UF_FNR"},a);for(d=0;d<=104;d++){$$("div",{"className":"UF_FDG","onclick":[b?[b,[a,d]]:null]},e);}}};U.UF.UI.Confirm=function(){return new U.UF.UI.Confirm.init(arguments);};U.UF.UI.Confirm.init=function(c){var d,b=["title","style","confirmNoClose","confirmYesClose","content","top"];if(c.length<4){var a=$("#U_COF");c=["消息提示",{"width":"300px"},c[2],c[1],$$("div",{"className":"U_UI_OC","style":{"textAlign":"center","margin":"25px 0","max-width":"400px","word-wrap":"break-word","max-height":"400px","overflow":"auto"},innerHTML:c[0]?c[0]:""})];}for(d=0;d"+(this.title||"对话框")+"",content:g,hst:{style:{padding:"0"}},draw:false});k=$("input",a.body);for(d=k.length-1;d>=0;d--){if("text,password".indexOf(k[d].type)>-1){k[d].focus();k[d].onkeypress=U.UF.M.apply(k[d],[[U.UF.M.returnkeylogin,([[{"obj":e,"event":"onclick"}]])]]);}}return a;},AddEvent:function(a){for(var b in a){if(a.hasOwnProperty(b)){this[b].onclick=U.UF.M.apply(this.form,[[this.form.shut],a[b]]);}}},confirmYesNo:function(c){var b=U.UF.M.apply(this.form,[[this.form.shut]]),a=U.UF.Ut.isArray(c)?U.UF.M.apply(this,[c])():(c)&&(c.call(this));if(a!==false){b();}}};U.UF.UI.Dialog=function(b,d,a,c,e){return new U.UF.UI.Dialog.init(arguments);};U.UF.M.Setprototype(U.UF.UI.Dialog,U.UF.Ut.AddObj(U.UF.UI.Dialog,{init:function(b){var c,a=["title","style","confirmNoClose","confirmYesClose","content","SO"];for(c=0;c"+(this.title||"对话框")+"",content:this.content,hst:{style:{padding:"0"}}});h=$$("div",{"className":"U_UI_OB"});b=$$("div",{"className":"U_UI_OBA"},h);$$("div",{"onclick":[[this.confirmNoClose],[(f=U.UF.M.apply(a,[[a.close]]))]],"innerHTML":"取消","className":"U_UI_OBY"},b);e=$$("div",{"onclick":[[this.confirmYesClose],[f]],"innerHTML":"确定","className":"U_UI_OBY"},b);$(a.body).append(h);j=$("input",a.body);for(d=j.length-1;d>=0;d--){if("text,password".indexOf(j[d].type)>-1){j[d].focus();j[d].onkeypress=U.UF.M.apply(j[d],[[U.UF.M.returnkeylogin,([[{"obj":e,"event":"onclick"}]])]]);}}}}));U.UF.UI.Dialog.init.prototype=U.UF.UI.Dialog.prototype;U.UF.M.Setprototype(U.UF.UI.RadioList,U.UF.Ut.AddObj(U.UF.UI.RadioList,{init:function(c,a,b){this.UDTD;this.UDE=a;this.UDOD=c;this.UCB=b;this.create(c);},create:function(b){var d,f,a=this.UDE,e=Guid.guidNoDash(),c=$$("frag");if(a){b.innerText="";for(d in UDE){if(UDE.hasOwnProperty(d)){f=$$("div",{"innerHTML":UDE[d],"style":{"cssText":"margin-left:5px;"}},c);f=$$("input",{"type":"radio","value":d,"name":e,"checked":d?false:true,"onclick":U.UF.M.apply(this,this.chang)},f);(!d)&&(this.UDTD=f);}}b.appendChild(c);}else{f=$("input[type='radio']",b).addAttrArray({"name":e,"onclick":U.UF.M.apply(this,this.chang)});for(d=0;d=this.cf.urls.length?0:this.cf.l-1;if((a=this.cf.urls[this.cf.l])){this.load(a);}},isPlay:function(b,a){return(a||this.vi).canPlayType(this.type[b.toLowerCase()]);},play:function(a){this.vi[a?"play":"pause"]();},backRate:function(a){this.vi.playbackRate=a;},error:function(a){var b=["","网络异常","解码失败","URL无效"];(!a.code)&&(U.Alert(b[a.code]));},fullScreen:function(){var a=U.UF.MGetFullSreeenName("requestFullScreen");if(a!=null){this.vi[a]();}},fullScreen:function(){U.UF.McancelfullScreen();}};