uform.js 191 KB

12
  1. 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<a.length;b++){if(!d[a[b]]){d[a[b]]={};}d=d[a[b]];}};Namespace.register("US");US.userInfo={};US.disk={};US.blog={};US.forum={};US.friend={};US.city={};US.domain="1473.cn";US.forum.news=null;US.systemId=0;US.pageId="";US.height=window.screen.availHeight;US.width=window.screen.availWidth;US.OFFICEFILEURL="http://office.1473.cn/usoffice/";US.FILESYSTEMURL="http://fs.1473.cn/";US.DOMAIN="http://www.1473.cn/";US.ERRORIMAGE="http://www.1473.cn/img/error.png";US.CD="http://cd.1473.cn/net/ssh.ashx";US.AUTH="http://main.1473.cn/Uses.ashx";US.ADMINAUTH="http://main.1473.cn/admin.ashx";US.DB="sqlserver.1473.cn";US.FORUMROOTID="1e0742d8-737e-46e2-b03b-2f23ca8c1f17";US.MYDISK="d8ae0266-481d-4064-86d2-fb52a4059793";US.PRIVATEFOLDERID="9639aba6-03eb-443c-be4e-f0c8d24767f5";US.FTPFOLDERID="f6d7a4b6-e34c-4964-beed-24187b2cb1ba";US.MYFOLDERID="7aeaab56-485f-4150-b781-8ffd86d593ce";US.IMAGEFOLDERID="93553847-e299-464c-a0e2-c15872efb6ae";US.MUSICEFOLDERID="8a2135ff-746a-43a8-97b8-552d228a00bb";US.VIDEOFOLDERID="bf21bf7a-1e95-4194-8e4a-e9334d7d998d";US.EMPTYGUID="00000000-0000-0000-0000-000000000000";US.ZINDEX=20;US.FEEDBACKID="3c779543-bc1a-4851-af22-af9ba97a5f33";Namespace.register("U.UF.M");U.UF.M.HEPropert=function(b,c,a,d){if(b.__defineGetter__){b.__defineGetter__(c,a);b.__defineSetter__(c,d);}else{if(Object.defineProperty){Object.defineProperty(b,c,{get:a,set:d,configurable:true});}else{b[c]=a;b[c].toString=a;b.attachEvent("onpropertychange",U.UF.M.apply(b,[[U.UF.M.HEPropert.OPJL,[b,c,a,d]]]));}}};U.UF.M.HEPropert.OPJL=function(b,d,a,e){if(event.propertyName==d){var c=arguments.caller.caller;b.detachEvent("onpropertychange",c);e(b[d]);b[d]=a;b[d].toString=e;b.attachEvent("onpropertychange",c);}};U.UF.M.Setprototype=function(a,d,b){if(typeof d=="string"){a.prototype[d]=b;}else{for(var c in d){a.prototype[c]=d[c];}}};U.UF.M.pageXY=function(c){var a,b=[0,0];while(c){a=U.UF.M.GetStyle(c,"position");if(a!="static"){b[0]+=c.offsetTop;b[1]+=c.offsetLeft;}c=c.offsetParent;}return b;};U.UF.M.GETHW=function(c,d){var g,e,h,f=[0,2],a=["Top","Bottom","Right","Left"],k=U.UF.M.GetStyle,b=k(c,"display"),j=k(c,d);(b=="none"&&j.indexOf("px")==-1)&&(h=c.style.cssText,c.style.cssText+=";display:block;visibility:hidden;",j=null);if(j==null||j.indexOf("%")>-1||isNaN((j=Number(j.toInt())))){e=c["offset"+(d.charAt(0).toUpperCase()+d.substr(1))];if(d=="width"){for(g=0;g<f.length;g++){f[g]+=g;}}for(g=f[0];g<f[1];g++){e-=(((j=k(c,"padding"+a[g]).toInt()).length?0:j)+((j=k(c,"border"+a[g]+"Width").toInt()).length?0:j));}(h!=null)&&(c.style.cssText=h);}else{e=j;}return e;};U.UF.M.GetElementAllInfo=function(c){if(c){var e,j,h,k=[],g=[],b=["Top","Right","Bottom","Left"],d=c.getBoundingClientRect(),a=U.UF.M.pageXY(c),f=U.UF.M.TOSP(c);for(e=0;e<b.length;e++){k[e]=U.UF.M.GetStyle(c,"padding"+b[e]).toInt();g[e]=(h=U.UF.M.GetStyle(c,"border"+b[e]+"Width").toInt()).length?0:h;}j={PD:k,BD:g,PXT:(document.documentElement.scrollTop)+f.scrollTop,PXL:(document.documentElement.scrollLeft)+f.scrollLeft,SH:c.scrollHeight,SW:c.scrollWidth,SL:c.scrollLeft,ST:c.scrollTop,CH:c.clientHeight,CW:c.clientWidth,CT:c.clientTop,CL:c.clientLeft,OH:c.offsetHeight,OW:c.offsetWidth,OL:c.offsetLeft,OT:c.offsetTop,BCRH:d.bottom-d.top,BCRW:d.right-d.left,BCRT:d.top,BCRL:d.left,BCRB:d.bottom,BCRR:d.right,TX:a[1],TY:a[0]};j.H=j["OH"]-j["PD"][1]-j["PD"][3]-j["BD"][1]-j["BD"][3];j.W=j["OW"]-j["PD"][0]-j["PD"][2]-j["BD"][0]-j["BD"][2];return j;}return{};};U.UF.M.GetElementInfo=function(b){var a=b.getBoundingClientRect();return{SH:b.scrollHeight,SW:b.scrollWidth,SL:b.scrollLeft,ST:b.scrollTop,CH:b.clientHeight,CW:b.clientWidth,CT:b.clientTop,CL:b.clientLeft,OH:b.offsetHeight,OW:b.offsetWidth,OL:b.offsetLeft,OT:b.offsetTop,BCRH:a.bottom-a.top,BCRW:a.right-a.left,BCRT:a.top,BCRL:a.left,BCRB:a.bottom,BCRR:a.right};};U.UF.M.GetPDWH=function(a){var c,d,g=$(a),b=[],f=[],e=["Top","Right","Bottom","Left"];for(c=0;c<e.length;c++){b[c]=g.css("padding"+e[c]).toInt();f[c]=g.css("border"+e[c]+"Width").toInt();(f[c].length)&&(f[c]=0);}e=["width","height"];for(c=0;c<e.length;c++){d=e[c];e[c]=g[d]();}return{"PD":b,"BD":f,"OW":e[0]+b[1]+b[3]+f[1]+f[3],"OH":e[1]+b[0]+b[2]+f[0]+f[2],"CW":e[0],"CH":e[1]};};U.UF.M.TOSP=function(b,e,d){var a,c=document.body;(!e)&&(b=b.offsetParent);while(b&&b!=c){a=U.UF.M.GetStyle(b,"position");if((!d&&a!="static")||(a==d)){break;}b=b.offsetParent;}return b||c;};U.UF.M.GetCById=function(b,a){var c,d=$(b).Child();for(c=0;c<d.length;c++){if(d[c].id==a){return d[c];}}};U.UF.M.GTPN=function(a,b){while(a&&!(a==b||a.id==b)){a=a.parentNode;}return a;};U.UF.M.GTCN=function(d,a){var c,b=[];for(c=0;c<d.length;c++){if(d[c].nodeType==1&&(!a||a.indexOf(d[c].tagName.toLowerCase())==-1)){b.push(d[c]);}}return b;};U.UF.M.GetDE=function(a){var b=document.body;while(a&&b!=a){if(a.tagName){if("textarea,input".indexOf(a.tagName.toLocaleLowerCase())>-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;d<c.length;d++){if(c[d]){a=c[d]+b.capitalizeFirstLetter();}else{a=b;}if(c[d] in document.documentElement||c[d] in document){return c[d];}}return null;};U.UF.M.SRAttr=function(c,a,f,h){var e,d,g,b=f!=null?"setAttribute":"removeAttribute";for(e=0;e<c.length;e++){g=c[e];if(g){if(h&&h.length){for(d=0;d<h.length;d++){g=g[h[d]];}}g[b](a,f);}}};U.UF.M.SetElement=function(h,g,k,b){if(h){(typeof(h)=="string")&&(h=$$("div",{"innerHTML":h}));h=h||document;var e,f,a,j,c="",d=[];g=(g=="*"||!g)?"&*":g;if(b){for(e in b){g+=("["+e+(b[e]?("="+b[e]):"")+"]");}}if((a=$(g,h))&&b!==false&&k){d=a[(f=k=="De")?"remove":"addAttrArray"](f?null:k);}(k=="De")&&(d=[d.length>0?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;a<d.length;a++){b+=("0"+d[a].toInt().toString(16)).slice(-2);}return b;}return c;};U.UF.M.GCssAe=function(){var b,c=$$("div").style,a={"WebkitTransition":["-webkit-transition","webkitTransitionEnd","-webkit-","webkitRequest","webkitCancel"],"OTransition":["-o-transition","oTransitionEnd","-o-","oRequest","oCancel"],"MozTransition":["-moz-transition","transitionend","-moz-","mozRequest","mozCancel"],"MsTransform":["-ms-transition","transitionend","-ms-"],"transition":["transition","transitionend","","r","cancel"]};for(b in a){if(a.hasOwnProperty(b)&&c[b]!==undefined){a[b].push(b);return a[b];}}};U.UF.M.CssAm=function(){var b,c=$$("div").style;var a={"animation":["animation","animationEnd","","webkitRequest","webkitCancel"],"OTransition":["-o-transition","oTransitionEnd","-o-","oRequest","oCancel"],"MozTransition":["-moz-transition","transitionend","-moz-","mozRequest","mozCancel"],"MsTransform":["-ms-transition","transitionend","-ms-"],"transition":["transition","transitionend","","r","cancel"]};for(b in a){if(a.hasOwnProperty(b)&&c[b]!==undefined){a[b].push(b);return a[b];}}};U.UF.M.AsynCssEM=function(a,d,b,c,c){this.removeClass(a,c);$(d).remove();(b)&&(b(c));};U.UF.M.JsEM=function(b,l,a,c){var f,d,e,k=[],m={},h=/[^\d-|.]+/ig,g=/[\d-|.]+/ig;for(f in l){if(l.hasOwnProperty(f)){if(f=="style"){e=U.UF.S.jsonToStr(U.UF.M.JsEM(b[f],l[f],a,true));(e.length>2)&&(m[f]={"cssText":e.replace(/["|{|}]+/ig,"").replace(/,/ig,";")});}else{k[0]=b[f]||0;k[1]=l[f];for(d=0;d<k.length;d++){(typeof k[d]!="number")&&(k[d]=Number(k[d].replace(h,"")));}if(!isNaN(k[0])){d=c?U.UF.M.CssTHH(f,true):f;m[d]=k[0]+((k[1]-k[0])*a);k[1]=b[f]?b:l;(typeof k[1][f]=="string")&&(m[d]=k[1][f].replace(g,m[d]));}}}}return m;};U.UF.M.GetMousep=function(d,b){var e=U.UF.M.GetEvent(),a=(e.touches&&e.touches[0])?e.touches[0]:e,c={"X":a.clientX||a["pageX"]||0,"Y":a.clientY||a["pageY"]||0},f={BCRL:0,PXL:0,BCRT:0,PXT:0};(b||d)&&(f=b||U.UF.M.TOSP(d,true),f=U.UF.M.GetElementAllInfo(f));U.UF.Ut.AddObj(c,{"TX":f.BCRL-f.PXL,"TY":f.BCRT-f.PXT});U.UF.Ut.AddObj(c,{"X":c["X"]-(c["TX"]||0),"Y":c["Y"]-(c["TY"]||0),"MX":c.X,"MY":c.Y});return c;};U.UF.M.GetEvent=function(){var c,a,b=window.frames;var d=window.event;if(!d){for(c=0;c<b.length;c++){a=b[c];try{d=a.event;if(d){break;}}catch(f){continue;}}}return d;};U.UF.M.StopBubble=function(){var a=U.UF.M.GetEvent();if(a){if(a.stopPropagation){a.stopPropagation();}else{a.cancelBubble=true;}return true;}};U.UF.M.Animation=function(a){return new U.UF.M.Animation.init(a,U.UF.M.Animation.get());};U.UF.M.Animation.get=function(){var c,b,d,a=[["r","cancel"],["","moz","webkit","o"]];for(c=0;c<a[0].length;c++){for(b=0;b<a[1].length;b++){if(d=window[a[1][b]+(b?a[0][c].replace(/\b(\w)|\s(\w)/g,function(f){return f.toUpperCase();}):a[0][c])+"AnimationFrame"]){a[0][c]=d;break;}}}a=a[0];(typeof a[0]=="string")&&(a[0]=a[1]=null);return a;};U.UF.M.Animation.init=function(a,b){U.UF.Ut.AddObj(this,a);this.type=b||U.UF.M.Animation.get();this.sm=(b&&b[0])?new Date():Math.ceil(this.ti/20);this.start(b);};U.UF.M.Animation.init.prototype={start:function(b){var a=(b||this.type)[0];this.tm=(a?a(U.UF.M.apply(this,this.time)):window.setInterval(U.UF.M.apply(this,[[this.time,[true]]]),20));},time:function(d){var b,c,a;if(d==true){b=20/this.ti;(this.ti<=0)&&(this.stop(),b=null);this.cb(b);this.ti-=20;}else{b=new Date();c=b-this.sm;a=c/this.ti;this.sm=b;this.ti-=c;(this.ti<=0)&&(a=null,this.stop());(a!==0)&&(this.cb(a));(a!==null)&&(this.start());}},stop:function(){(this.type[1]||window.clearInterval)(this.tm);}};U.UF.M.mouseLE=function(a){if(!U.UF.M.onmouseout(this)){a();}};U.UF.M.onmouseout=function(a){if(event&&"mouseover,mouseout".indexOf(event.type)>-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<c.length;a++){c[a]["obj"][c[a]["event"]]();}}}U.UF.M.StopDefault();}};U.UF.M.IEVENT=function(a,d){if(a.fireEvent){return a.fireEvent("on"+d,window.event);}else{if(document.createEvent){var b=document.createEvent("MouseEvents"),c=window.event;c?b.initMouseEvent(d,true,true,window,c.detail,c.screenX,c.screenY,c.clientX,c.clientY,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,c.button,c.relatedTarget):b.initMouseEvent(d,true,true,document.defaultView,0,0,0,0,0,false,false,false,false,0,a);return a.dispatchEvent(b);}}};U.UF.M.TouchE=function(b,c,j){if(b.fireEvent){b.fireEvent("on"+TF);}else{if(document.createEvent){var d,h,k=j||window.event,a=TouchEvent?new TouchEvent(c,k):document.createEvent("TouchEvent"),f=a.initTouchEvent?"initTouchEvent":"initEvent";h=[[event.touches,event.targetTouches,event.changedTouches,c,event.view,event.screenX,event.screenY,event.clientX,event.clientY,event.ctrlKey,event.alrKey,event.shiftKey,event.metaKey],[c,true,event.cancelable,event.view,event.detail,event.screenX,event.screenY,event.clientX,event.clientY,event.ctrlKey,event.altKey,event.shiftKey,event.metaKey,event.touches,event.targetTouches,event.changedTouches,event.scale,event.rotation],[c,true,event.cancelable,event.view,event.detail,event.ctrlKey,event.altKey,event.shiftKey,event.metaKey,event.touches,event.targetTouches,event.changedTouches],];for(d=0;d<h.length;d++){try{a[f].apply(a,h[d]);}catch(g){}if(a.type==c){break;}}}}return b.dispatchEvent(a);};U.UF.M.AddEvent=function(a,c,b,d){if(c.addEventListener){c.addEventListener(a,b,d||false);}else{if(c.attachEvent){c.attachEvent("on"+a,b);}else{c["on"+a]=U.UF.M.apply(c,[[c["on"+a]],[b]]);}}};U.UF.M.ReEvent=function(a,c,b,d){if(b){b=b[0]||b;if(c.removeEventListener){c.removeEventListener(a,b,d||false);}else{if(c.detachEvent){c.detachEvent("on"+a,b);}else{c["on"+a]=null;}}}};U.UF.M.toArray=function(b){try{return Array.prototype.slice.call(b);}catch(d){var c=0,a=[];for(;b[c];c++){a.push(b[c]);}return a;}};U.UF.M.ShieldedRightAndSelect=function(){if(window.print){document.oncontextmenu=U.UF.M.StopDefault;document.onselectstart=function(){var c=U.UF.M.GetDE(event.srcElement),b=!(c&&((c.nodeType==3||(c.contentEditable=="true")))||((("textarea,input".indexOf(c.tagName.toLocaleLowerCase())>-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;i<UDE.length;i++){if(UDE[i]&&UDE[i][0]){_UAE=UDE[i][1];(!_UAE)&&(_UAE=[]);(!U.UF.Ut.isEvent(_UME[0])||_UME.length>1)&&(_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;a<U.UF.M.imgReady._UL.length;a++){U.UF.M.imgReady._UL[a].end?U.UF.M.imgReady._UL.splice(a--,1):U.UF.M.imgReady._UL[a]();}!U.UF.M.imgReady._UL.length&&U.UF.M.imgReady._US();};U.UF.M.SCT=function(c,b,d){var a=U.UF.Ut.isNumber(c);if(a&&d){$(b).animate({"scrollTop":c},d);}else{if(typeof c=="number"){b.scrollTop=c;}else{c.scrollIntoView();}}};U.UF.M.QueryString=function(f,g){var d,b,a,c="",h=(g||window.document.location.search).substr(1),e=h.split("&");if(!f){return e;}for(d=0;d<e.length;d++){a=e[d].split("=");if(a[0].toUpperCase()==f.toUpperCase()){for(b=1;b<a.length;b++){c+=a[b]+(b==a.length-1?"":"=");}break;}}return c;};U.UF.M.GetUF=function(){var a=document.location.hash;return a.split("/");};U.UF.M.IsActivity=function(b,a){if(b){$(document.body).mouseenter(U.UF.M.apply(null,[[U.UF.M.IsActivity.UFC,[b]]]));U.UF.M.AddEvent("focusin",document,U.UF.M.apply(null,[[U.UF.M.IsActivity.UFC,[b]]]));}if(a){U.UF.M.AddEvent("focusout",document,U.UF.M.apply(null,[[U.UF.M.IsActivity.UBC,[a]]]));}};U.UF.M.IsActivity.UTF;U.UF.M.IsActivity.UFC=function(a){(!U.UF.M.IsActivity.UTF)&&(U.UF.M.IsActivity.UTF=true,a());};U.UF.M.IsActivity.UBC=function(a){var d,c=event.clientX,b=event.clientY;if((!browser.msie||((c<0||c>US.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;b<a.length;b++){a[b]=a[b].split("=");if(!d[a[b][0]]){d[a[b][0]]=[];}d[a[b][0]].push(decodeURIComponent(a[b][1]));}}return d;};U.UF.M.Cookies.set=function(e,a){var d,c,b=0,f="";if(U.UF.Ut.isString(e)){f=e;document.cookie=this.setpn(a,f);}else{for(d in e){f=d+"=";for(c in e[d]){if(b>0){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;b<a.length;b++){e=a[b].split("=");if(!c||e[0]==c){var f=d.length?"; ":"";d+=f+e[0]+"=";}}if(d){U.UF.M.Cookies.set(d,{expires:-1});}else{console.log("not found cookie!");}};U.UF.M.GetCookie=U.UF.M.Cookies.get=function(f,e){var b,a,d="",c=(document.cookie||document.wincookie||"").split("; ");for(b=0;b<c.length;b++){a=c[b].split("=");if(a[0]==f){a.splice(0,1);d=a.join("=");break;}}if(e){c=d.split("&");d=[];for(b=0;b<c.length;b++){a=c[b].split("=");if(a[0]==e){d.push(decodeURIComponent(a[1]));}else{if(a[1]==e){return true;}}}}return(d.length?d:false);};U.UF.M.IsUrl=function(b){if(U.UF.Ut.isString(b)){var c,a=false;b=((b.indexOf("://")>0?"":"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;b<a.length;b++){a[b]=encodeURIComponent(encodeURIComponent(a[b]));}return a.join(",");};U.UF.M.Copy=function(a){if(window.clipboardData){window.clipboardData.setData("text",a);}else{if(event&&event.clipboardData){event.clipboardData.setData("text/HTML",a);}else{if(event&&event.originalEvent&&event.originalEvent.clipboardData){event.originalEvent.clipboardData("Text",a);}else{if(document.execCommand){document.execCommand("copy");}else{U.Alert("请手动选择复制");}}}}};U.UF.M.UrlPaste=function(){if(window.clipboardData){return window.clipboardData.getData("text");}else{if(event.clipboardData){return event.clipboardData.getData("text/HTML");}else{if(event&&event.originalEvent&&event.originalEvent.clipboardData){return event.originalEvent.clipboardData("Text");}else{if(document.execCommand){document.execCommand("paste");}else{U.Alert("无法粘贴");}}}}};U.UF.M.RLocate=function(b){var a=U.UF.M.TOSP(b),d=U.UF.M.GetMousep(a),e=[b.offsetWidth,a.offsetWidth],c=[b.offsetHeight,a.offsetHeight];d["X"]=((e[0]+d["X"])>e[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.length;b++){(U.UF.Ut.isString(a[b]))&&(a[b]=a[b].parseJSON());U.UF.Ut.isArray(a[b])&&(U.UF.M.toList(a[b]));}}return a;};U.UF.M.objectToString=function(a){return Object.prototype.toString.call(a);};U.UF.M.IsNetwork=function(c){var e,d,b=[window,document.body],a=["offline","online"];if(c){for(e=0;e<b.length;e++){for(d=0;d<a.length;d++){U.UF.M.AddEvent(a[d],b[e],U.UF.M.apply(this,[[U.UF.M.StopBubble],[c,[d]]]));}}}return navigator.onLine;};U.UF.M.Console=function(a){try{console.log(a);}catch(b){}};U.UF.M.SSCH=function(a){return new U.UF.M.SSCH.init(a);};U.UF.M.SSCH.init=function(a){this.UDOD;this.CT;this.P=0;this.UTF=true;this.Top=a["Top"];this.UCB=a["AF"];};U.UF.M.SSCH.init.prototype={SZX:function(a){a.UDOD=this;clearTimeout(this.CT);this.CT=setTimeout(U.UF.M.apply(a,[[a.ZSCH]]),0);},SCH:function(){return U.UF.M.apply(null,[[this.SZX,[this]]]);},ZSCH:function(){var a=this.UDOD,b=a.scrollTop||document.documentElement.scrollTop;if(this.Top!=null){if(this.Top==b){(this.UCB)&&(this.UCB.call(this));this.P++;}}else{if(b+a.offsetHeight>=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;c<a.length;c++){if(a[c].src=="http://www.1473.cn/uform.js"){U.UF.DL.asynLoadJs({"src":a[c].src});}else{$$("script",{"type":a[c].type,"src":a[c].src},b,a[c]).text=a[c].text;}}return e;};U.UF.M.Shorttext=function(a,c,b){a=U.UF.Ut.isString(a)?$$("div",{"innerHTML":a}):a;c=c||200;b=b||"";return a.innerText.substring(0,c)+(a.innerText.length>200?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;b<c.length;b++){d+=U.UF.S.jsonToStr(c[b])+((b<c.length-1)?",":"");}d+="]";return d;}else{d="{";for(b in c){if(c.hasOwnProperty(b)){(d.length>1)&&(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<this.length;c++){e+=this.charCodeAt(c)<255?1:2;if(e<f){continue;}if(e<=b||a){d+=this.charAt(c);continue;}break;}return(a?e:d);},isStrNull:function(){return this.trim()=="";},replaceRnToBr:function(){return this.replace(/\r\n/g,"<br />");},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(/&nbsp;/g,"");},isHtmlNull:function(){return this.removeBr().removeP().trim()!="";},replaceLtAndGt:function(){return this.replace(/&lt;/g,"<").replace(/&gt;/g,">");},replaceAngleBrackets:function(){return this.replace(/</g,"&lt;").replace(/>/g,"&gt;");},replaceHtmlSign:function(){return this.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;");},replaceDoubleToAngleBrackets:function(){return this.replace(/\《/g,"<").replace(/\》/g,">");},replaceAngleToDoubleBrackets:function(){return this.replace(/\</g,"《").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<c;b++){a+=" ";}return a+this;},insertString:function(c,d){var b=this.substr(0,d);var a=this.substr(d,this.length);return b+c+a;},addEllipsis:function(b){var a=this.substrU(0,b);if(a!=this){a=a+"...";}return a.valueOf();},toInt:function(){var b=this.valueOf(),a=b.match(/^(-|\+)?\d+/g);return a&&a.length==1?Number(a[0]):b;},replaceStr:function(a,b){return this.replace(new RegExp(a,"gm"),b);},parseJSON:function(){var _UJE=null,_UST=this;try{_UJE=eval("0,("+_UST+")");}catch(e){}return(_UJE==null?_UST:_UJE).valueOf();},capitalizeFirstLetter:function(){return this.replace(/\b(\w)|\s(\w)/g,function(a){return a.toUpperCase();});},SplitRN:function(){return this.replace(/\r\n/g,"\n").split("\n");},SplitAngleBrackets:function(e){var c,d,b=[];for(c=0;c<e.length;c++){if(e[c]=="<"){d=c;}if(e[c]==">"){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(;c<this.length;c++){if(this[c]==d){return c;}}return -1;},objIndexOf:function(d){var b,a,c;for(b=0;b<this.length;b++){c=false;for(a in d){if(this[b][a]==d[a]){c=true;}else{c=false;break;}}if(c){return b;}}return -1;},unique:function(){var a=[];var c={};for(var b=0;b<this.length;b++){if(!c[this[b]]){a.push(this[b]);c[this[b]]=true;}}return a;},forEach:Array.prototype.forEach||function(a,b){var c=0;var d=this.length;while(c<d){a.call(b,this[c],c,this);c++;}},every:Array.prototype.every||function(c,d){var e=0,a;var f=this.length;while(e<f){a=c.call(d,this[e],e,this);if(a==false){return a;}e++;}return true;},some:Array.prototype.some||function(b,c){var e=Object(this);var a=e.length;for(var d=0;d<a;d++){if(d in e&&b.call(c,e[d],d,e)){return true;}}return false;},map:Array.prototype.map||function(b,c){var d=0;var e=this.length;var a=[];if(typeof b!="function"){throw new TypeError();}while(d<e){if(d in this){a.push(b.call(c,this[d],d,this));}d++;}return a;},filter:Array.prototype.filter||function(b,c){var d=0;var e=this.length;var a=[];if(typeof b!="function"){throw new TypeError();}while(d<e){if(d in this&&b.call(c,this[d],d,this)){a.push(this[d]);}d++;}return a;},findIndex:Array.prototype.findIndex||function(a){var b=0;var c=this.length;if(typeof a!="function"){throw new TypeError();}while(b<c){if(a(this[b],b,this)){return b;}b++;}return -1;},lastIndexOf:Array.prototype.lastIndexOf||function(c,e){var f,b,d=Object(this),a=d.length;if(a===0){return -1;}f=a-1;if(arguments.length>1){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<d){e[b]=h;b++;}return e;},copyWithin:Array.prototype.copyWithin||function(h,a,b){var e=Object(this);var g=e.length;var j=h;var m=j<0?Math.max(g+j,0):Math.min(j,g);var f=a;var l=f<0?Math.max(g+f,0):Math.min(f,g);var b=arguments[2];var n=b===undefined?g: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(l<m&&m<(l+d)){k=-1;l+=d-1;m+=d-1;}while(d>0){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<b.length;c++){if(U.UF.M[b[c]](a)){return b[c].substr(2);}}return false;};U.UF.Ut.isArrayLike=function(a){return a&&a.length&&a.length<Array.MAX_ARRAY_INDEX;};U.UF.Ut.isBoolean=function(a){return typeof a==="boolean";};U.UF.Ut.isNull=function(a){return a===null;};U.UF.Ut.isNumber=function(a){return typeof a=="number";};U.UF.Ut.isStringInt=function(a){return U.UF.Ut.isNumber(a)||U.UF.S.Num.test(a);};U.UF.Ut.isNaN=function(a){typeof a=="NaN";};U.UF.Ut.isFinite=function(a){return !isNaN(parseFloat(a))&&isFinite(a);};U.UF.Ut.isString=function(a){return typeof a=="string";};U.UF.Ut.isUndefined=function(a){return(a===void 0);};U.UF.Ut.isRegExp=function(a){return U.UF.Ut.isObject(a)&&U.UF.M.objectToString(a)=="[object RegExp]";};U.UF.Ut.isDate=function(a){return U.UF.Ut.isObject(a)&&U.UF.M.objectToString(a)=="[object Date]";};U.UF.Ut.isError=function(a){return U.UF.Ut.isObject(a)&&U.UF.M.objectToString(a)=="[object Error]";};U.UF.Ut.isFunction=function(a){return((typeof a=="function"&&a.prototype)||U.UF.M.objectToString(a)=="[object Function]");};U.UF.Ut.isArguments=function(a){return(typeof(a=="object")&&_$(a).has("callee"));};U.UF.Ut.isEmpty=function(b){var c,a=true;for(c in b){if(b.hasOwnProperty(c)){a=false;break;}}return a;};U.UF.Ut.isPrimitive=function(b){var c,a=["undefined","function","string","number","object"];return a.some(function(e,d){return(typeof b)==e;});};U.UF.Ut.isEvent=function(a){if(a){if(a==event){return true;}else{if(event&&event.constructor){return U.UF.S.Event.test(a.constructor.toString());}else{if(typeof a=="object"){return a.srcElement!==undefined;}}}}};U.UF.Ut.IHtmlC=function(a){return a.nodeType!=null||a==window||a==document||a.frames!=null;};U.UF.Ut.isElement=function(a){return !!(a&&a.nodeType===1);};U.UF.Ut.AddObj=function(c,b){for(var a in b){if(b.hasOwnProperty(a)){c[a]=b[a];}}return b;};U.UF.Ut.AddArr=function(a,c){for(var b=0;b<a.length;b++){U.UF.Ut.AddObj(a[b],c);}};U.UF.Ut.AddProperty=function(a,b){U.UF.Ut.isArray(a)?U.UF.Ut.AddArr(a,b):U.UF.Ut.AddObj(a,b);};Namespace.register("U.UF.CI");U.UF.CI.UA=navigator.userAgent.toLowerCase();U.UF.CI.GetUserLocation=function(a){if(US.city["country"]){a();}else{U.UF.DL.asynLoadJs({"src":"http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js"},function(){var b=U.UF.CI.AsyGCUInfo();a(b);});}};U.UF.CI.AsyGCUInfo=function(){try{var c,b=remote_ip_info,a=["country","province","city","district","isp","type"];b["LogAddr"]="";for(c=0;c<a.length;c++){b["LogAddr"]+=((b["LogAddr"]&&b[a[c]])?",":"")+b[a[c]];}U.UF.Ut.AddObj(US.city,b);return b;}catch(d){return;}};U.UF.CI.getBrowser=function(){var a=browser.ver;return{"browser":a[1],"ver":a[2]};};U.UF.CI.getSystem=function(){var b,c=navigator.platform,d={"Apple series":"Mac68K,MacPPC,Macintosh","Unix series":"X11"},a={"Windows NT 5.1":"WinXP","Windows NT 6.1":"Win7","Windows NT 6.0":"Windows Server 2008","Windows NT 6.2":"Win8","Windows NT 5.2":"Windows Server 2003","Windows NT 5.0":"Win2000","Win 9x 4.90":"WinME"};for(b in a){if(a.hasOwnProperty(b)&&U.UF.CI.UA.indexOf(b.toLowerCase())>-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;c<a.length;c++){if(e.indexOf(a[c])>0){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;a<b.length;a++){if(b[a]){this[a]=b[a];(b[a].id)&&(this[b[a].id]=b[a]);}}};$.noConflict=function(a){var b=window._$_;if(b&&b!=$){window._$_=window.$;window.$=b;return window._$_;}return $;};U.Select=function(b,a){if(U.UF.Ut.isFunction(b)){U.Select(document).ready(b);}else{return(new U.Select.fn.init(b,a));}};U.Select.GetSelector=function(a){if(a=="#"){return" #";}else{if(a=="&"){return" ";}else{if(a.charAt(0)=="!"){return"[name='"+a.substr(1)+"']";}else{return"["+a.substr(1).replace(U.Select.fn.match.ename,"='$1'")+"]";}}}};U.Select.IsAnimate=function(c,b,d){var e=b||0,f=b==null?c.length:b+1,a=arguments.length>0;for(;e<f;e++){if(a){c[e].__Animate__=[c[e].style.cssText,c[e].className,d];}else{c[e].__Animate__=null;delete c[e].__Animate__;}}};U.Select.fn=U.Select.prototype={init:function(d,b){var a=this.context,c=this.selector;this.length=this.length||0;this.context=a||b||document;this.selector=(typeof d==="string"?c?c+" "+d:d:d);this.select(d,b);return this;},select:function(r,g){g=g||document;if(U.UF.Ut.isString(r)){if(r.indexOf("<")>-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<c.length&&s);q++){if(b<6&&v.nregular.test((e=c[q+1]))){if(e=="+"||e=="~"){if(d=(v.pos.test(c[q])||v.child.test(c[q]))){w=this.getelement(c[q],s,m);(U.UF.Ut.IHtmlC(w))&&(w=[w]);}else{u=this.getType(c[q]);}l=this.getType(c[q+2]);s=this.gete(s,l[4],m,l);for(p=0;p<s.length;p++){a=false;this.celement.apply[s[p]],[e=="+"?"previousSibling":"prevaAll",NaN,t=[]];for(o=0;o<t.length;o++){if(d){if(w.indexOf(t[o])>-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;p<w.length;p++){for(o=0;o<s.length;o++){if(s[o]==w[p].parentNode){t.push(w[p]);break;}}}s=t;}}}m="";q+=2;(l[2])&&(s=this.getelement("",s,l[2]));}else{if(c[q].length>1&&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<l.length;f++){if(l[f][k]==g||l[f].getAttribute(k)==g||g===undefined){c.push(l[f]);}}}else{for(f=0;f<l.length;f++){for(d=0;d<a.length;d++){if(l[f][m]==a[d][0]){a[d][1].push(l[f]);break;}a.push[l[f][m],[l[f]]];}}for(f=0;f<a.length;f++){h=(b&&a[0][b])?a[0][b](k):SelectorElement(k,a[0]);for(d=0;d<h.length;d++){if(!a[1].length){break;}((f=a[1].indexOf(h[d]))>-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<a.length;b++){if(a[b]){this[this.length++]=a[b];(a[b].id)&&(this[a[b].id]=a[b]);}}return this;},del:function(a,d){var b,c=this.length;(a!=null)&&(this[a]=null);if(!d){for(b=0;b<c;b++){if(this[b]==null){if(this[b+1]){this[b]=this[b+1];this[b+1]=null;}else{delete this[b];}this.length--;}}}},gete:function(d,b,g,c){var e,a,f=[];(U.UF.Ut.IHtmlC(d))&&(d=[d]);for(e=0;e<d.length;e++){a=d[e];a=(!g&&(c[1].length>=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;e<c.length;e++){if(c[e]&&!U.UF.Ut.IHtmlC(h)){h=this.selecte[c[e].split("(")[0]].call(this,h,c[e]);}}}else{h=this.gete(h,a[4],"",a);}return h;}},getType:function(e){var b,a,d=this.match,c={"name":"getElementsByName","id":"getElementById","tagName":"getElementsByTagName","className":"getElementsByClassName"};for(b in c){if((a=d[b].exec(e))){return[a[0],a[1],e.replace(a[0],""),b,c[b]];}}},getValue:function(g){var d,b={},a=this.common.nregular,f=this.common.regular,e=(g.match(a)||[]),c=g.match(f)||["*"];for(d=0;d<c.length;d++){switch(e[j]){case"!":b["name"]=c[j];break;case"#":b["id"]=c[j];break;case".":b["className"]=c[j];break;case"":case"&":b["tagName"]=c[j];break;}}return b;},extend:function(a){U.UF.Ut.AddObj(this,a);},length:0,splice:Array.prototype.splice,constructor:Array};U.Select.fn.init.prototype=U.Select.fn;U.Select.fn.extend({find:function(d,a){var b;var c=a||0;var f=a+1||this.length;var e=U.Select();for(;c<f;c++){e.init(d,this[c]);}return e;},filter:function(f,c){c=c||this;var b,a=[],d,e=0;if(typeof f=="string"){f=this.getValue(f);}for(e=0;e<this.length;e++){for(d in f){if(f.hasOwnProperty(d)){if(this[e][d]!=f[d]){break;}}}(this[e][d]==f[d])&&(a.push(this[e]));}return U.Select().osadd(a);},Nodes:function(a){a=a||0;return this[a]?this[a].childNodes:null;},Child:function(a){a=a||0;var b=this[a]?U.UF.M.GTCN(this[a].childNodes):null;return b;},siblings:function(a){var c,b=["preva","next"],d=U.Select();for(c=0;c<b.length;c++){this.celement(b[c]+"All",a,d);}return d;},celement:function(d,c,g){var b,e,f=c||0,h=c+1||this.length,a={"prevaAll":"previousSibling","nextAll":"nextSibling"}[d];d=a||d;g=g||U.Select();for(f=0;f<h;f++){e=1;b=this[f];while((e>0||(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<d;b++){c[c.length++]=U.UF.M.TOSP(this[b]);}return c;},prev:function(a){return this.celement("previousSibling",a);},prevaAll:function(a){return this.celement("prevaAll",a);},next:function(a){return this.celement("nextSibling",a);},nextAll:function(a){return this.celement("nextAll",a);},Parent:function(d){var b,c,a=this[0];d=d||1;if(U.UF.Ut.isNumber(d)){for(b=0;b<d;b++){(a)&&(a=a.parentNode);}}else{if(U.UF.Ut.isString(d)){a=U.UF.M.GTPN(a,d);}else{c:while(a&&a!=document){for(b in d){if(d.hasOwnProperty(b)){if(d[b]!=a[b]&&a.getAttribute(b)!=d[b]){a=a.parentNode;}else{break c;}}}}}}return a;},replaceAll:function(b,a){var d,c=a||0,e=a+1||1;for(;c<e;c++){if(U.UF.Ut.isString(b)){d=$$(b);}else{d=U.Select(b).clone(true);}this.Parent(1,c).replaceChild(this[c],d);}},childg:function(b,c,a){return U.Select(this.Child.apply(this,arguments));},parentg:function(b,a){return U.Select(this.Parent(b,a));},even:function(){return this.Auxiliary.selectel("even",this);},odd:function(){return this.Auxiliary.selectel("odd",this);},eq:function(a){return this.Auxiliary.selectel("="+a,this);},gt:function(a){return this.Auxiliary.selectel(">"+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<a.length;c++){b(c,a[c]);}}},only:function(b){var e,c,a,d,f=b+1||this.length;for(e=0;e<f;e++){a=this.parentg(1,e).Child();(a.length!=1||a[0]!=this[e])&&(this.del(e,true));}this.del();return this;},checked:function(b){var a,c,d=b||0,f=b+1||this.length,e=U.Select();for(d=0;d<f;d++){a=U.Select("input@type=checkbox",this[d]);for(c=0;c<a.length;c++){(a[c].checked)&&(e.osadd(a[c]));}}return e;},selected:function(b){var a,c,d=b||0,f=b+1||this.length,e=U.Select();for(d=0;d<f;d++){}},clone:function(e,b,d,f,h){var c,a=[],g=b||0,k=b+1||this.length;for(;g<k;g++){a.push(this[g].cloneNode(e||false));}c=U.Select(a);(h)&&(c.Aattr(h));(f&&!d)&&(d=U.Select(f).Parent());(d)&&(c.appendTo(d,undefined,f));return c;},appendTo:function(c,a,b){var d=a||0,e=a+1||this.length;c=U.Select(c);for(;d<e;d++){c["append"](this[d],0,b||null);}return this;},append:function(c,a,b){if(c){if(typeof c=="string"){c=$$("div",{"innerHTML":c}).childNodes;}else{(c.length==null||c.tagName)&&(c=[c]);}var d,e=c.length;for(d=0;d<c.length;((e==c.length)&&(d++))){this[a||0][b?"insertBefore":"appendChild"](c[d]||c,b||null);}}return this;},before:function(b,a){var c=a||0,d=(a||0)+1;for(;c<a;c++){this.append(b,c,this[c].firstChild);}},remove:function(b,e){var a,c=b=b||0,d=(b||this.length-1)+1;if(e=="animate"){this.fadeOut("fast",function(g){var f=this[c];(f&&f.parentNode)&&(f.parentNode.removeChild(f));},b);}else{for(;c<d;c++){a=this[c];(a&&a.parentNode)&&(a.parentNode.removeChild(a));}}return this;},top:function(a){return this[a||0].offsetTop;},left:function(a){return this[a||0].offsetLeft;},width:function(a){return U.UF.M.GETHW(this[a||0],"width");},innerWidth:function(a){return this[a||0].clientWidth;},outerWidth:function(a,b){this[a||0].offsetWidth+this.css("marginLeft")+this.css("marginRight");},height:function(a){return U.UF.M.GETHW(this[a||0],"height");},innerHeight:function(){return this[UIE||0].clientHeight;},outerHeight:function(){this[UIE||0].offsetWidth+this.css("marginTop")+this.css("marginBottom");},replaceC:function(c,a){a=a||0;var b,d=this[a];if(d){b=this.Parent(1,a);(b)&&(b.replaceChild(c,d));this[a]=c;}return this;},Center:function(b,a){var c=b||0,d=b+1||this.length;for(;c<d;c++){U.UF.SI.PopupWindow(this[c]);}(a)&&(a());return this;},html:function(b,a){return b!=null?this.Aattr({"innerHTML":b},a):this[a||0].innerHTML;},text:function(b,a){return b!=null?this.Aattr({"innerText":b},a):this[a||0].innerText;},GetElementInfo:function(a){return U.UF.M.GetElementInfo(this[a||0]);},css:function(c,e,b){if(c){var d=b||0,f=b+1||this.length,a=(typeof c=="object");if(e!=null||a){if(a){this.addAttrArray({"style":c},e);}else{for(d;d<f;d++){c=U.UF.M.CssTHH(c);this[d].style[c]=e;}}}else{return U.UF.M.GetStyle(this[d],c);}}return this;},getBackgroundColor:function(a){if(U.UF.Ut.isString(a)){}else{if(U.UF.Ut.isArray(a)){}}},first:function(){return U.Select(this[0]);},last:function(){return U.Select(this[this.length-1]);},addClass:function(a,b){U.UF.M.ARClass(this,b,a,"Add");return this;},removeClass:function(a,b){U.UF.M.ARClass(this,b,a,"RE");return this;},hasClass:function(a,b){return U.UF.M.ARClass(this,b,a,"");},attr:function(e,g,d,c){var f,b,a=(typeof UDE=="object");if(!g&&a){b=e;(!a)&&(b={},b[e]=g);for(f in b){(b.hasOwnProperty(f))&&(U.UF.M.SRAttr(this,e,g,d?(d.length?d:[d]):null));}}else{return c?this[d||0][c].getAttribute(e):this[d||0].getAttribute(e);}},rmAttr:function(c,b,a){U.UF.M.SRAttr(b!=null?[this[b]]:this,c,null,a);return this;},Aattr:function(b,a){return this.addAttrArray(b,a);},addAttrArray:function(p,b){var g,f,d,l,s,o,a,c,h=this,g=b||0,n=b+1||this.length,r={"class":"className","html":"innerHTML","text":"innerText","float":"cssFloat"},q=["width,height,top,bottom,left,right","px"];for(;(g<n&&g<this.length);g++){for(f in p){if(p.hasOwnProperty(f)){if(f=="style"){o="";a=p[f];for(d in a){if(a.hasOwnProperty(d)){s=U.UF.M.CssTHH(d,true);l=a[d];if((d in this[g][f])&&(s=="css-text"||a[d])&&this[g].cloneNode){if(s=="css-text"){o=a[d]+";"+o;}else{(q[0].split(",").indexOf(s,null,true)>-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<l.length;r++){if(l[r]==s||v.indexOf(l[r])>-1){u[2][v]="";break;}}}}}}for(s=(g||0);s<w;s++){y="";for(r in u[2]){if(n.hasOwnProperty(r)){r+=r.indexOf("padding")>-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<c;b++){if((d=this[b].__Animate__)){if(U.UF.Ut.isString(d[2])){this[b].className=d[2];this.addClass(d[1],b);this.css("cssText",d[0],b);}else{d[2].stop();}}}},opacity:function(d,a){if(this.length){var c,e={},b={opacity:1,"-webkit-opacity":1,"-moz-opacity":1,"-khtml-opacity":"",filter:""};for(c in b){if(c in this[0].style){e[c]=(b[c]=c=="filter"?"alpha(opacity="+(d*100)+")":d);}}}},fadeIn:function(g,d,b){var e,f,h={},a=$$("div").style,c=["opacity","-webkit-opacity","-moz-opacity","-khtml-opacity","filter"];d=U.UF.M.apply(this,[[this.addAttrArray,[{"style":(f={"display":"none"})},b]],[d]]);for(e=0;e<c.length;e++){if(c[e] in a){f[c[e]]="";h[c[e]]=c[e]=="filter"?"alpha(opacity=0)":"0";break;}}return this.animate(h,g||"fast",d,b);},fadeOut:function(f,d,b){var e,g={},a=$$("div").style,c=["opacity","-webkit-opacity","-moz-opacity","-khtml-opacity","filter"];for(e=0;e<c.length;e++){if(c[e] in a){g[c[e]]=c[e]=="filter"?"alpha(opacity=100)":"1";c=c[e];break;}}g[c]=c=="filter"?"alpha(opacity=100)":"1";this.addAttrArray({"style":{"display":"block"}});return this.animate(g,f||"fast",d,b);},slideUp:function(c,b,a){this.slideToggle(c,b,a);},slideDown:function(c,b,a){this.slideToggle(c,b,a,false);},transition:function(l,c,e,b){var h,g,d,o,n,a={},k={},m=[["scale",""],["translate,perspective","px"],["skew,rotate","deg"]],f=U.UF.M.GCssAe();if(f){o=f[2]+"transform";a[o]="";n:for(h in l){for(g=0;g<m.length;g++){if(m[g][0].split(",").indexOf(h)>-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<h;f++){l=this.css("cssText");_$(k).Each(U.UF.M.apply(this,function(o,i){if(i!="display"){if(i=="height"){k[i]=this.height()+"px";}else{k[i]=this.css(i,null,f);}}}));a=[k,{"cssText":"height:0px;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;display:block;overflow:hidden"}];if((n=(c===false||(c==null&&this.css("display","")=="none")))){a.reverse();}this.addAttrArray({style:a[0]},f).animate(a[1],m,U.UF.M.apply(this,[[this.Auxiliary.slideToggle,[l+";display:"+(n?"block":"none"),f,h,d]]]),f);}},hide:function(a){this.css({"display":"none"},a);},show:function(a){this.css({"display":"block"},a);},ready:function(b){var a=document.attachEvent?"readystatechange":"DOMContentLoaded",c=[];c[0]=U.UF.M.apply(document,[[U.UF.M.ReEvent,[a,document,c]],[b]]);U.UF.M.AddEvent(a,document,c[0]);},load:function(a){(!this.length)&&(this.osadd(window));var b=function(){this.unbind("load",b,0);a();};this.bind("load",b,0);},contents:function(){},mouseenter:function(b,a){this.addAttrArray({"onmouseover":[[U.UF.M.mouseLE,[b]]]},a);return this;},mouseleave:function(b,a){this.addAttrArray({"onmouseout":[[U.UF.M.mouseLE,[b]]]},a);return this;},resize:function(b,a){this.bind("resize",U.UF.M.resize(b),a);},resizestart:function(b,a){this.resize({s:b},a);},resizeend:function(b,a){this.resize({e:b},a);},message:function(){},bind:function(g,h,a){if(g){var c,k;var e=(typeof g=="string");var b=(e?a:h),d=b||0,f=(b+1)||this.length;(e)&&(k=g,(g={})[k]=h);for(;d<f;d++){for(c in g){if(g.hasOwnProperty(c)){new this.cacheE(this[d]).addevent(c,g[c]);U.UF.M.AddEvent(c,this[d],g[c]);}}}return this;}},unbind:function(d,f,c){var b=(typeof d=="string"),a=(b?c:f),e=a||0,g=(a+1)||this.length;for(;e<g;e++){new this.cacheE(this[e]).removeEvent(d,f);}return this;},mousedown:function(b,c,a){(b)&&(this.bind("mousedown",function(){var d=event.button;d=d==2||d==3;if(!c||(c=="right"&&d)||(c=="left"&&!d)){b();}},a));return this;},on:function(b,e,d,a){var c=this;(e)&&(c=this.find(e,a));c.bind(b,d,a);},off:function(b,e,d,a){var c=this;(e)&&(c=this.find(e,a));c.unbind(b,d,a);},scrollTo:function(c,b){var a=this[0];(a)&&(U.UF.M.SCT(c,a,b));}});U.Select.fn.extend({cache:[],cacheE:function(b){var c,a=U.Select.fn.cache;for(c=0;c<a.length;c++){if(a[c].UDOD===b){return a[c];}}this.events={};this.UDOD=b;this.id=Guid.guidNoDash();a.push(this);return this;}});U.Select.fn.cacheE.prototype={removeEvent:function(c,f){var e,d,g,b=this.UDOD,a=this.events;(typeof c=="string")&&(g=c,(c={})[g]=f);c=c||a;for(e in c){if(c.hasOwnProperty(e)&&(g=a[e])){for(d=0;d<g.length;d++){if(g[d]==c[e]||a==c||!c[e]){U.UF.M.ReEvent(e,b,g.splice(d,1)[0]);d--;}}}}},addevent:function(b,d){var c,a=this.events;(!a[b])&&(a[b]=[]);a[b].push(d);}};U.Select.fn.extend({selecte:{"only-child":function(a){return Array.prototype.slice.call(U.Select(a).only());},"nth-child":function(d,c){var f,e,b,h=c.match(this.match.number)[1],a=h.indexOf("n")>-1,g=[];h=h.toInt();if(!a||h){for(f=0;f<d.length;f++){b=U.Select(d[f]).parentg().Child();if(a){for(e=h;e<=b.length;e+=h){if(d[f]==b[e-1]){g.push(d[f]);(h==1)&&(e++);break;}}}else{(b[h-1]==d[f])&&(g.push(d[f]));}}}return g;},"first-child":function(a){var b,c=[];for(b=0;b<a.length;b++){(!U.Select(a[b]).prev().lenght)&&(c.push(a[b]));}return c;},"last-child":function(a){var b,c=[];for(b=0;b<a.length;b++){(!U.Select(a[b]).next().length)&&(c.push(a[b]));}return c;},first:function(a){return a.length?a[0]:a;},last:function(a){return a.length?a[a.length-1]:a;},nth:function(c,b){var d,e=[],f=b.match(this.match.number)[1],a=f.indexOf("n")>-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<h.length;d++){c=null;f=h[d].parentNode;for(b=0;b<k.length;b++){if(k[b][0]==f){c=k[b];c[1].push(h[d]);}}(!c)&&(k.push((c=[f,[h[d]]])));e=(c[1].length-1)%2;((g=="even"&&!e)||(g=="odd"&&e))&&(a.push(h[d]));}return a;},even:function(a){return this.selecte.getevenodd(a,"even");},odd:function(a){return this.selecte.getevenodd(a,"odd");},eq:function(b,a){return b[a.match(this.match.number)[1].toInt()];},gt:function(b,a){U.Select(b).gt(a.match(this.match.number)[1].toInt());},lt:function(b,a){U.Select(b).lt(a.match(this.match.number)[1].toInt());},"first-of-type":function(){},"last-of-type":function(){},"only-of-type":function(){},"nth-last-child":function(){},"nth-of-type":function(){},"nth-last-of-type":function(){}},Auxiliary:{an:function(a){},slideToggle:function(b,a,d,c){this[a].style.cssText=b;(a==d-1&&c)&&(c());},animate:function(h,k,a){var c,g,b=h[0]||0,f=h[1]||b+1,d=h[2],e=h[3];for(;b<f;b++){if(a){g=U.UF.M.JsEM(this[b],k,a);}else{g=k;c=true;}this.addAttrArray(g,b);}if(c){(d==null&&e)&&(e());return true;}},selectel:function(h,c){var d,e=0,g=c.length,a=[],f=U.Select(),b=h.match(U.UF.S.RNum);if(b){b=b[0].toInt();switch(h.replace(b+"","")){case">":e=b+1;break;case"<":g=b;break;default:e=b;g=e+1;break;}}for(;e<g;e++){switch(h){case"even":d=!(e%2);break;case"odd":d=(e%2)>0;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;c<e.length;c++){f.appendChild(e[c]);}f.insertBefore(f,this);a.remove();});}if(!("outerText" in HTMLElement.prototype)){U.UF.M.HEPropert(HTMLElement.prototype,"outerText",function(){var a=this.cloneNode(true),b=$$("div",{});b.appendChld(a);return b.innerText;},function(d){var c,a=$(this),b=a.Parent(),e=$$("div",{"innerText":d}).childNodes,f=document.createDocumentFragment;for(c=0;c<e.length;c++){f.appendChild(e[c]);}f.insertBefore(f,this);a.remove();});}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(!("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"&&p<f);if(n||(l===f&&f===-Infinity)){f=p;l=o;}});return l;}else{throw new Error("数组异常");}};c.prototype=e={init:function(f,g){this.Value=f;this.Parent=g||window;},Clone:function(g){var h,f;g=g||this.Value;if(U.UF.Ut.isObject(g)){f=new g.constructor();if(U.UF.Ut.isArray(f)){for(h=0;h<g.length;h++){f.push(arguments.callee(g[h]));}}else{for(h in g){if(g.hasOwnProperty(h)){f[h]=arguments.callee(g[h]);}}}return f;}return g;},Add:function(h){var g;var f=this.Value;if(!U.UF.Ut.isArray(f)){for(g in h){if(h.hasOwnProperty(g)){f[g]=h[g];}}}else{for(g=0;g<f.length;g++){U.UF.Ut.AddObj(f[g],h);}}return this.Value;},FindOne:function(g,f){return(this.Select(g,f,1))[0];},invoke:function(h,f){var g=this;(f)&&(g=_$(f));if(g[h]){return g[h]();}},sort:function(k,h,g){g=g||this.Value;var i,f=U.UF.M.GetType(g);(U.UF.Ut.isString(k))&&(i={},i[k]=1,k=i);if(f==="array"){(g.sort(function(n,p){var o,m,l;if(U.UF.Ut.isFunction(l)){l=k(n,p);}else{if(U.UF.Ut.isObject(k)){for(o in k){if(k.hasOwnProperty(o)){l=typeof(n[o]||p[o]||"");l=d["ci"+l.capitalizeFirstLetter()](n[o],p[o]);m=k[o];break;}}}else{l=n>p;}}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"$lte":m.push(t[h]<=u[l][h]);break;case"$gt":m.push(t[h]>u[l][h]);break;case"$gte":m.push(t[h]>=u[l][h]);break;case"$in":for(r=0;r<u[l][h].length;r++){if(u[l][h][r]==t[h]){m.push(true);break;}}m=!m;break;case"$nin":for(r=0;r<u[l][h];r++){if(u[l][h][r]==t[h]){continue p;}}m.push(true);break;case"$all":for(r=0;r<u[l][h];r++){if(u[l][h][r]!=t[h]){continue p;}}m.push(true);break;case"$exists":break;case"$mod":break;case"$not":break;}}}}}}if((o===true&&m.indexOf(true)>-1)||(m.indexOf(false)==-1)){q.push(t);}}}else{if(m=="array"){for(n=0;n<t.length;n++){if(q.length==s){break;}this.Where(f,s,t[n],q);}}}return q;},Select:function(n,k,l,m,g){var h,f;m=m||[];g=arguments.length>4?g:this.Value;if(U.UF.Ut.isArray(g)){for(h=0;h<g.length;h++){if(m.length==l){break;}this.Select(n,k,l,m,g[h]);}}else{if(this.IfExists(n,g)){m.push(g);}if(k===true){for(h in g){if(m.length==l){break;}if(U.UF.M.GetType(g[h])=="object"){_$(g[h],this).Select(n,k,l,m);}}}else{if(k){if(m.length!=l&&g[k]){_$(g[k],this).Select(n,k,l,m);}}}}return m;},Change:function(l,g){var k,h=arguments.length>1?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<h.length;k++){this.Change(l,h[k]);}}}return h;},Delete:function(l,h,k){var g,n;k=k||this.Value;var f=U.UF.M.GetType(k);var m=[];if(f=="object"){if(this.IfExists(l,k)){delete k;m.push(k);}else{if(h===true){for(g in k){n=this.Delete(l,h,k[g]);m=m.concat(n);}}else{if(h&&k[h]){n=this.Delete(l,h,k[h]);m=k.concat(n);}}}}else{if(f==="array"){for(g=0;g<k.length;g++){n=this.Delete(l,h,k[g]);if(n.length){k.splice(g,1);m=m.concat(n);g--;}}}}return m;},RecurD:function(n,k,f){var l,m,h=n?(m=[n],0):(m=[],-1),g=this.Value;if(U.UF.Ut.isArray(g)){for(;h<m.length;h++){if(h>-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<k.length;g++){f[k[g]]=h[g];}return f;},Reset:function(h){var g,f=this.Value;for(g=0;g<f.length;g++){if(this.IfExists(h,f[g])){f.unshift(f.splice(g,1)[0]);}}return f;},Like:function(h,p,k,o){var m,n,g,f=this.Value,l=U.UF.M.GetType(f);o=o||[];if(l=="object"){for(m in h){if(h.hasOwnProperty(m)){if(f[m]!=h[m]){if(typeof f[m]=="object"||typeof f[m]=="object"){return;}n=(f[m]+"").toLocaleLowerCase();g=(h[m]+"").toLocaleLowerCase();if(!(n.indexOf(g)>-1||g.indexOf(n)>-1)){return;}}}}o.push(f);}else{if(l==="array"){for(m=0;m<f.length;m++){_$(f[m],this).Like(h,p-o.length,k,o);if(o.length>=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;h<l.length;h++){k[l[h]]=g[l[h]];}return k;},IfExists:function(k,g){var h,f;g=g||this.Value;if(g===k){return true;}for(h in k){if(k.hasOwnProperty(h)){if(g[h]===k[h]){f=true;}else{f=false;break;}}}return f;},Merger:function(g){g=g||this.Value;var h,k=[],f=U.UF.M.GetType(this.Value);if(f=="object"){for(h in g){if(g.hasOwnProperty(h)){k=k.concat(g[h]);}}}else{if(f=="array"){for(h=0;h<g.length;h++){k=k.concat(g[h]);}}}return k;},ToString:function(){return U.UF.S.jsonToStr(this.Value);},Each:function(h,g){if(U.UF.Ut.isFunction(h)){g=g||this.Value;var k,f=U.UF.M.GetType(g);if(f=="object"){for(k in g){(g.hasOwnProperty(k))&&(h(g[k],k,g));}}else{if(f==="array"){Array.forEach(function(){h.apply(g,arguments);});}}}return this;},max:function(h,g,f){a(f||this.Value,h,g,"max");},min:function(){a(UDE||this.Value,UCE,UTI,"min");},object:function(k,f){var g,h={};f=f||this.Value;for(g=0;g<k.length;g++){return h[k[g]]=f[g];}return h;},countBy:function(l,h){h=h||this.Value;var k,f,m={},g=U.UF.M.GetType(h);if(g=="array"){for(k=0;k<h.length;k++){m[l(h[k])]=(m[l(h[k])]||0)+1;}}else{throw new Error(h+" is not an Array");}},where:function(k,f){var g=0,h=[];f=f||this.Value;while(g++<_UDE.length){(this.IfExists(k,f))&&(h.push(f[g]));}return h;},count:function(){return this.Value.length;},distinct:function(){},find:function(){},each:function(){},has:function(h,f){f=f||this.Value;var g;if(typeof h=="string"){if(h in f&&f.hasOwnProperty(h)){return true;}}else{for(g in h){if(!(g in f&&f.hasOwnProperty(g))){return false;}}return true;}return false;},range:function(l,f,k){var g=[],h=l||0,m=(f-l);k=k||(f-l)>0?1:-1;if(m){m=Math.max(Math.ceil(m/=k),0);for(h=0;h<m;h++){l+=k;g.push(l);}}return g;},isEqual:function(l,g){g=g||this.Value;var h,f=U.UF.M.GetType(g),k=Object.prototype.toString.call;if(k(g)===k(l)){if(f=="object"){return(this.IfExists(l,g)&&this.IsTF(g,l));}else{if(f=="array"&&g.length==l.length){h=g.length;while(h--){if(!this.isEqual(g[h],l[h])){return false;}}}}return true;}return false;},isMatch:function(k,g){g=g||this.Value;var h,f=U.UF.M.GetType(g);if(f=="object"){return this.IfExists(k);}throw new Error("参数必须为对象");}};e.IsTF=e.IfExists;e.init.prototype=e;return c;};U.UF.M.Start=function(){U.UF.M.Setprototype(String,U.UF.M.String);U.UF.M.Setprototype(Number,U.UF.M.Number);U.UF.M.Setprototype(Array,U.UF.M.Array);window.browser=U.UF.CI.Browser();U.UF.C.init();_$=U.Json=U.Json();};U.UF.M.Start();Namespace.register("U.A");U.A.ASet=[];U.A.backAddress={UseStudioManage:"http://main.1473.cn/Uses.ashx",UseStudioDisk:"http://main.1473.cn/Uses.ashx",pb:"http://main.1473.cn/Uses.ashx",Blog:"http://main.1473.cn/Uses.ashx",Application:"http://main.1473.cn/Uses.ashx",ABlog:"http://main.1473.cn/admin.ashx",APB:"http://main.1473.cn/admin.ashx",AUser:"http://main.1473.cn/admin.ashx",ADisk:"http://main.1473.cn/admin.ashx",AApp:"http://main.1473.cn/admin.ashx",Verify:"http://admin.1473.cn/Verify",Upload:"http://main.1473.cn/USupfile.ashx",Admin:"http://admin.1473.cn/Admin/Admin.ashx",KF:"http://admin.1473.cn/Admin/Admin.ashx",office:"http://office.1473.cn/Officetohtml.ashx",UseStudioPay:"http://pay.1473.cn/UseStudioPay.ashx",Reply:"http://reply.1473.cn"};U.A.Request=$.ajax=function(f,c,b,a){if(U.UF.M.IsNetwork()){var d,e=U.A.ASet[U.A.ASet.length-1];var g;if(e){g=new Date().getTime()-e.date>50;}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<b.length;i++){try{if(!c.indexOf(b[i].location.protocol+"//"+b[i].location.host)){return b[i].U.A.Request(this.url,this.db,this.cb,this.cbParams,this.header);}}catch(f){}}}else{if(!d[1]&&c.indexOf("1473.cn")>-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;f<k.length;f++){if((g=k[f].systemAjax).readyState==4){g.onreadystatechange=U.UF.M.apply();g.abort();return k[f];}}try{g=new window.XMLHttpRequest();}catch(h){for(f=0;f<c.length;f++){try{g=new ActiveXObject(c[f]);break;}catch(h){}}}if(b.indexOf(_thisUrl)==-1&&window.XDomainRequest){g=new window.XDomainRequest();}var a;if(l&&((new Date().getTime()-l.date)<50)){a=l.timeSpan+1;}else{if(l){a=l.timeSpan;}else{a=0;}}var j={systemAjax:g,date:this.UTI,fun:this.url,timeSpan:a};k.push(j);return j;},async:function(){var b=this.ajax.systemAjax,d=this.cbParams,c=U.UF.Ut.isUndefined(b.onload),a;if(c){a=U.UF.M.apply(this,this.AE);}else{a=U.UF.M.apply(this,this.TAC);}if(d&&d[0]){if(d[0][0]){U.UF.DL.loading(d[0][0],d[0][1]);}else{U.UF.DL.loading(d[0],d[0][1]);}}if(c){b.onreadystatechange=a;}else{b.onload=a;}try{b.onerror=U.UF.M.apply(this,this.OER);}catch(f){}},TAC:function(){this.ajax.systemAjax.status=200;this.AE(true);},OER:function(){this.ajax.systemAjax.status=500;this.AE(true);},AE:function(g,b){try{if(g===true||this.ajax.systemAjax.readyState==4){(this.ajax)&&(this.ajax.timeSpan=0);var c=this.cbParams,a=this.sync(b),f=(new Date()).getTime()-this.UTI.getTime();if(c&&c[0]){if(c[0][0]){U.UF.DL.uploading(c[0][0]);}else{U.UF.DL.uploading(c[0]);}}if(f>1000||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;d<a.length;d++){if(a[d]>b[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;e<b.length;e++){a=String(b[e]);if(e==1){for(d=0;d<a.length;d++){f+=c[0][a[d]];}}else{if(Number(a)>10){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<g){d[e+1]=b[e+1]-1;}c=!c;break;}}(c)&&((f)&&(f(d)),setTimeout(U.UF.M.apply(this,[[a,[d,f]]]),1000));};return function(c,h){var d,b,g,f=[60,60,24,1],e=[],k=((new Date(c[0],c[1]-1,c[2],c[3]||0,c[4]||0,c[5]||0))-(new Date()))/1000;for(d=f.length-1;d>=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;e<a.length;e++){a[e]=Math.min(Math.max(b[(g=a[e])[0]]-d[g[0]]+h["O"+g[2]],this["Min"+g[1]]),this["Max"+g[1]]);}if(!this.IsD){this.IsD=true;U.UF.Ut.AddObj(this,{VDB:U.UF.ST.foundVirtualBox(j),UMD:U.UF.ST.Masklayer()});$(this.UMD).bind({mousemove:this.mousemove,mouseup:this.mouseup});U.UF.SI.SetDTop(this.UMD);U.UF.SI.SetDTop(this.VDB);this.VDB.setCapture();}$(this.VDB).addAttrArray({"style":{"cssText":"left:"+a[0]+"px;top:"+a[1]+"px;"}});},DragUp:function(){$[document,this.UMD].unbind({"mousemove":this.mousemove,"mouseup":this.mouseup});this.IsD=false;if(this.VDB){var b=this.UMD,c=this.VDB,a=U.UF.M.GetElementInfo(c);c.releaseCapture();U.UF.DG.DragMouseDown.chche=U.UF.DG.DragMouseDown.ST=null;$[b,this.VDB].remove();$(this.SO).addAttrArray({"style":{"cssText":"top:"+(a["OT"]+2)+"px;left:"+(a["OL"]+2)+"px;"}});U.UF.ST.withf(this.UCB);}}};U.UF.DG.iconmove=function(c,b){if(event.button!=2){var a=new U.UF.DG.iconmove.init(c,b);return a;}};U.UF.DG.iconmove.init=function(c,b){if(c){var d,f=U.UF.M.GetElementAllInfo($(c)[0]),e=U.UF.M.GetMousep(),a=this.UCE={"mousemove":U.UF.M.apply(this,this.move),"mouseup":U.UF.M.apply(this,this.up)};(b&&b["ST"])&&(b["ST"].call(this,c));U.UF.Ut.AddObj(this,{IsD:false,E:e,SO:c,UE:f,UCF:b,MT:f["PXT"]+US.height-10,ML:f["PXL"]+US.width,MIL:-f["OW"]+10,MIT:0});c.setCapture();$(document).bind(a);U.UF.SI.SetDTop(this.UMD,true);$(c).css("z-index",9999);return this;}};U.UF.DG.iconmove.init.prototype={move:function(){var b,c,a=this.SO;_UE=U.UF.M.GetMousep(),_UKE=this.E,_UME=this.UE,_UAE=[["X","L"],["Y","T"]];U.UF.M.StopBubble();if(!this.UMD){this.UMD=U.UF.ST.Masklayer();$(this.UMD).bind(this.UCE);}for(b=0;b<_UAE.length;b++){c=_UE[_UAE[b][0]]-_UKE[_UAE[b][0]];(Math.abs(c)>2)&&(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<a.length;d++){e=a[d];(!U.UF.Ut.isArray(e[0]))&&(e[0]=[e[0]]);for(c in e[1]){if(e[1].hasOwnProperty(c)){for(b=0;b<e[1][c].length;b++){(U.UF.Ut.isString(e[1][c][b]))&&(e[1][c][b]=U.UF.M.apply(this,[[this[e[1][c][b]]]]));for(g=0;g<e[0].length;g++){$(e[0][g])[(h?"un":"")+"bind"](c,e[1][c][b]);}}}}}},CTA:function(){var b=this.ElO=U.UF.M.GetElementAllInfo(this.EL),a={"PUX":this["PUX"],"PUY":this["PUY"]};U.UF.Ut.AddObj(this,{"PUX":b["SL"]+b["PXL"],"PUY":b["ST"]+b["PXT"]});if(a["PUX"]!==""){this.DBH({"UW":this.UW+(this["PUX"]-a["PUX"]),"UH":this.UH+(this["PUY"]-a["PUY"]),"UT":this.UT,"UL":this.UL});}return b;},create:function(){var b,c,f,a=this.EL,d=U.UF.M.GetMousep(),e=this.CTA();U.UF.Ut.AddObj(this,{"C":$(a).Child(),"TX":e.TX,"TY":e.TY,"X":d.X-e.TX+this["PUX"],"Y":d.Y-e.TY+this["PUY"]});if((f=this.C[0])){c=["Left","Top","Right","Bottom"];for(b=0;b<c.length;b++){c[b]=U.UF.M.GetStyle(f,"margin"+c[b]);c[b]=(!c[b]||c[b]=="auto")?0:parseInt(c[b]);}U.UF.Ut.AddObj(this,{"W":f.offsetWidth+c[0]+c[2],"H":f.offsetHeight+c[1]+c[3],"T":c[1]+c[3],"L":c[0]+c[2]});}this.ESO=$$("div",{"className":"UD_DSE","style":{"cssText":"top:"+this.Y+"px;left:"+this.X+"px;zIndex:"+US.ZINDEX+1}},a);return this;},Drag:function(){var a=this.EL,d=U.UF.M.GetMousep(),b=Math.min(Math.max(d["Y"]-this.TY+this["PUY"],0),Math.max(this.ElO["SH"],this.ElO["OH"])-2),f=Math.min(Math.max(d["X"]-this.TX+this["PUX"],0),this.ElO["SW"]-2),e=f-this.X,c=b-this.Y;if(e<0){e=Math.abs(e);}else{f=this.X;}if(c<0){c=Math.abs(c);}else{b=this.Y;}this.DBH({"UW":e,"UH":c,"UT":b,"UL":f});},DBH:function(a){var b={};$(this.ESO).addAttrArray({"style":{"cssText":"width:"+a.UW+"px;height:"+a.UH+"px;top:"+a.UT+"px;left:"+a.UL+"px;"}});U.UF.Ut.AddObj(this,a);U.UF.Ut.AddObj(b,{"X":a.UL,"Y":a.UT,"BX":a.UW+a.UL,"BY":a.UH+a.UT});this.IsLocation(b);},IsLocation:function(b){if(this.C[0]){var c,d,f,a,e=this.GetLXY(b);if(this.TC.length){for(c=0;c<this.TC.length;c++){$(f).removeClass(this.CS);}}this.TC=[];for(c=e[0];c<e[1];c++){if((f=this.C[c])){a=((d=c%e[4])>=e[2])&&(d<=e[3])&&((d+1)*this.W>=b["X"]);if(a&&(f.offsetTop>b["BY"]||(f.offsetTop+this.H-this.T<b.Y))){a=false;}$(f)[(a?"add":"remove")+"Class"](this.CS);(a)&&(this.TC.push(f));}}U.MD.D.DragE=this;}},GetLXY:function(b){var c,a=[0,0];a[4]=c=Math.floor(this.ElO["SW"]/this.W);a[0]=((Math.floor(b["Y"]/this.H)-1)*c);a[1]=a[0]+((Math.ceil((b["BY"])/this.H)-Math.floor(a[0]/c))*c);a[2]=Math.min(Math.ceil(b["X"]/this.W),c)-1;a[3]=Math.min(Math.ceil(b["BX"]/this.W),c)-1;return a;},Event:function(){if(event.button==2){var d,f,c,a,g=this.TC,e=U.UF.M.GetMousep(),b=e["Y"]-this.TY+this["PUY"],h=e["X"]-this.TX+this["PUX"];for(d=0;d<g.length;d++){if(((f=g[d].offsetTop)<=b&&(f+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.length;c++){d+=g[c].outerHTML?g[c].outerHTML:"<span>"+g[c].data+"</span>";}}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<e.length-1;c++){d+=e[c].outerHTML||e[c].nodeValue||e[c].data||e[c].text;}f=h.duplicate();f.moveEnd("character",1);g=$($$("div",{"innerHTML":f.htmlText})).Child();if((g.length==e.length&&e[e.length-1].outerHTML==g[g.length-1].outerHTML)||(g.length!=e.length&&f.htmlText!=h.htmlText)){d+=$$("div",{"innerHTML":e[e.length-1].outerHTML||e[e.length-1].nodeValue||e[e.length-1].data||e[e.length-1].text}).innerHTML;}else{d+=($($$("div",{"innerHTML":e[e.length-1].innerHTML})).Child().length?e[e.length-1].innerHTML:e[e.length-1].innerHTML||e[e.length-1].nodeValue||e[e.length-1].data||e[e.length-1].text?$$("span",{"innerHTML":e[e.length-1].innerHTML||e[e.length-1].nodeValue||e[e.length-1].data||e[e.length-1].text}).outerHTML:"");}}}}}return d;}},GetSelectedText:function(a){return(a=a||this.R)==null||a.add?null:a.text!=undefined?a.text:(this.S.toString());},GetKE:function(h){var d,a,c,e,g,f,b=this.TF;h=h&&U.UF.Ut.isString(h)?h:this.Dectect.getValue();switch(h){case"redo":break;case"undo":break;default:break;}if(this.CB&&this.CB(U.UF.Ut.isString(h)?h:h[4],[this.Parent()],this,h,window)===1){}},CLKU:function(){var b=this.PSO,a=this.Dectect.getValue();if((this.CB)&&(this.CB("UP",[this.Parent()],this,a,window)==1)){}},CLMU:function(){this.ADQJS("");},Cut:function(){this.CreateR();this.CTH=this.GetSelectedHtml();if(this.CB&&this.CB("Cut",[this.Parent()],this,"Cut",window)===1){}},Copy:function(){this.CreateR();this.CTH=this.GetSelectedHtml();if(this.CB&&this.CB("Copy",[this.Parent()],this,"Cut",window)===1){}},Paste:function(a){this.CreateR();if(this.CB&&this.CB("Paste",[this.Parent()],this,"Cut",window)===1){}},SetStyle:function(e,b){var c,d,f="",a=$$("span",{"innerHTML":e});this.writeStyle(a,b);return $("*",a).length?a.innerHTML:a.outerHTML;},writeStyle:function(a,l){var d,b,e,g={},c={},k=["textAlign"],f=this.Parent(),h=$(a).Nodes();while(f.tagName=="SPAN"){f=$(f).Parent();}for(d in l){if(l.hasOwnProperty(d)){if(k.indexOf(U.UF.M.CssTHH(d))>-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<h.length;b++){if(h[b].style&&h[b].style[d]==l[d][0]){g[d]=l[d][1];break;}}}}}}(f.style)&&($(f).addAttrArray({"style":c}));$(a).addAttrArray({"style":g});$("*",a).addAttrArray({"style":g});},GetGBWZ:function(a,g){var f,c,d;if(window.getSelection){f=this.CW.getSelection();c=f.rangeCount?f.getRangeAt(0):this.R;return g?c.startOffset:c.endOffset;}else{try{a=a||this.Parent();c=this.QX(0,0,a);c.setEndPoint("EndTo"+(g?"Start":"End"),this.R);return(d=$$("div",{"innerHTML":c.htmlText})).innerText.length+($("img",d).length);}catch(b){}}return 0;},getBoundingClientRect:function(){if(window.getSelection){return this.R.getBoundingClientRect();}else{return{bottom:this.R.P.boundingBottom,height:this.R.P.boundingHeight,left:this.R.P.boundingLeft,right:this.R.P.boundingRight,top:this.R.P.boundingTop,width:1,x:this.R.P.boundingLeft,y:this.R.P.boundingTop};}},IsP:function(c){if(!c){return true;}if(window.getSelection){var a=document.getSelection();return(!a.rangeCount||((a=a.getRangeAt(0))&&c.endContaine==a.endContaine&&c.startContaine==a.startContaine&&c.endOffset==a.endOffset&&c.startOffset==a.startOffset));}else{try{return c.isEqual(document.selection.createRange());}catch(b){}}return false;},isE:function(a){if(window.getSelection){return this.S.containsNode(a,true);}else{_URE=document.body.createTextRange();try{_URE.moveToElementText(a);return this.R.inRange(_URE);}catch(b){return false;}}},getLen:function(a){return $("img",a).length+a.innerText.length;},ADQJ:function(a){clearTimeout(this.TIM[0]);this.TIM[0]=setTimeout((this.TIM[1]=U.UF.M.apply(this,[[this.ADQJS,["",a]]])),500);return this.TIM[1];},ADQJS:function(a,b){clearTimeout(this.TIM[0]);this.TIM=[];this.JHGB(a,b,this);},JHGB:function(e,f,b){var a=this.TF,c=this.OAT[a],d=this.IsP(c[c.l]["OR"]["R"]);(!d&&a)&&(this.AddHT(e,f,b));},AddHT:function(g,h,c){var f,b,a=this.TF,e=this.OAT[a],d=e[e.l];e.l++;e.splice(e.l,e.length-e.l,(_UTE={"OR":new this.init(c,false),"C":(g||"")}));if(window.getSelection){d["OR"]["R"].setEnd(_UTE["OR"]["R"].startContainer,_UTE["OR"]["R"].startOffset);}else{_UTE=["boundingWidth","offsetLeft","boundingLeft","boundingTop","offsetTop","boundingHeight"];d.P={};for(f=0;f<_UTE.length;f++){d.P[_UTE[f]]=d.OR.R[_UTE[f]];}}},Brul:function(){(this.TIM[1])&&(this.TIM[1]());}};U.UF.E.SORange.init.prototype=U.UF.E.SORange;U.UF.E.FontSizeType=function(b,g,k,c){k=k||U.UF.E.GetSelectionRange(window,b,{"TF":c||"QL"});var e,j,a="",h={},f=k.Parent(),d=k.GetSelectedHtml();while(!f.tagName){f=$(f).Parent();}for(e in g){if(g.hasOwnProperty(e)){g[e]=typeof g[e]=="object"?g[e]:[g[e],g[e]];h[e]=g[e];}}if(d){a=k.SetStyle(d,g);g=g;}else{k.writeStyle(k.Parent(null,true),g);}k.Replace(a,null,a?null:true);return k;};U.UF.E.codeDetect=(function(){var b={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Mod",92:"Mod",93:"Mod",107:"=",109:"-",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",127:"Delete",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:'"',221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63236:"F1",63237:"F2",63238:"F3",63239:"F4",63240:"F5",63241:"F6",63242:"F7",63243:"F8",63244:"F9",63245:"F10",63246:"F11",63247:"F12",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},c={"alt":[[37,"goLineStart"],[38,"goDocStart"],[39,"goLineEnd"]],"ctrl":[[65,"selectAll"],[8,"delGroupBefore"],[67,"copy"],[86,"paste"],[68,"deleteLine"],[46,"delGroupAfter"],[40,"goDocEnd"],[63275,"goDocEnd"],[70,"find"],[71,"findNext"],[63273,"goDocStart"],[37,"goGroupLeft"],[39,"goGroupRight"],[83,"save"],[89,"redo"],[90,"undo"],[219,"indentLess"],[221,"indentMore"]],"shift-ctrl":[[70,"replace"],[71,"findPrev"],[82,"replaceAll"],[90,"redo"]]},a=function(d){return new a.init(d);};U.UF.Ut.AddObj(a,a.prototype={init:function(d){d=d||{};U.UF.Ut.AddObj(this,d);(d.el)&&(this.bind(d.el));},bind:function(d){$(d).bind({keydown:U.UF.M.apply(this,this.down)});},down:function(){(this.cb)&&(this.cb.call(this,this.getValue(),this.el));},getValue:function(){var h,g,m,d,l=event,f=l.keyCode;m:for(h in c){if(c.hasOwnProperty(h)){d=h.split("-");for(g=0;g<d.length;g++){if(!l[d[g]+"Key"]){continue m;}}for(g=0;g<c[h].length;g++){if((d=c[h][g])[0]==f){return d[1];}}}}return[f,l.altKey,l.ctrlKey,l.shiftKey,b[f]||""];},set:function(){}});a.init.prototype=a;return a;})();Namespace.register("U.E");U.E.CryptoJS=function(z,d){var f={},h=f.lib={},e=function(){},b=h.Base={extend:function(a){e.prototype=this;var g=new e;a&&g.mixIn(a);g.hasOwnProperty("init")||(g.init=function(){g.$super.init.apply(this,arguments);});g.init.prototype=g;g.$super=this;return g;},create:function(){var a=this.extend();a.init.apply(a,arguments);return a;},init:function(){},mixIn:function(a){for(var g in a){a.hasOwnProperty(g)&&(this[g]=a[g]);}a.hasOwnProperty("toString")&&(this.toString=a.toString);},clone:function(){return this.init.prototype.extend(this);}},c=h.WordArray=b.extend({init:function(a,g){a=this.words=a||[];this.sigBytes=g!=d?g:4*a.length;},toString:function(a){return(a||y).stringify(this);},concat:function(k){var n=this.words,l=k.words,m=this.sigBytes;k=k.sigBytes;this.clamp();if(m%4){for(var p=0;p<k;p++){n[m+p>>>2]|=(l[p>>>2]>>>24-8*(p%4)&255)<<24-8*((m+p)%4);}}else{if(65535<l.length){for(p=0;p<k;p+=4){n[m+p>>>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<g;k+=4){l.push(4294967296*z.random()|0);}return new c.init(l,g);}}),w=f.enc={},y=w.Hex={stringify:function(l){var m=l.words;l=l.sigBytes;for(var q=[],p=0;p<l;p++){var n=m[p>>>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<l;m+=2){n[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<k;m++){n.push(String.fromCharCode(l[m>>>2]>>>24-8*(m%4)&255));}return n.join("");},parse:function(k){for(var l=k.length,n=[],m=0;m<l;m++){n[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<p;q+=s){this._doProcessBlock(u,q);}q=u.splice(0,p);r.sigBytes-=t;}return new c.init(q,t);},clone:function(){var a=b.clone.call(this);a._data=this._data.clone();return a;},_minBufferSize:0});h.Hasher=j.extend({cfg:b.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset();},reset:function(){j.reset.call(this);this._doReset();},update:function(a){this._append(a);this._process();return this;},finalize:function(a){a&&this._append(a);return this._doFinalize();},blockSize:16,_createHelper:function(a){return function(k,l){return(new a.init(l)).finalize(k);};},_createHmacHelper:function(a){return function(k,l){return(new i.HMAC.init(a,l)).finalize(k);};}});var i=f.algo={};return f;}(Math);(function(o){function d(r,s,p,u,q,t,n){r=r+(s&p|~s&u)+q+n;return(r<<t|r>>>32-t)+s;}function f(r,s,p,u,q,t,n){r=r+(s&u|p&~u)+q+n;return(r<<t|r>>>32-t)+s;}function g(r,s,p,u,q,t,n){r=r+(s^p^u)+q+n;return(r<<t|r>>>32-t)+s;}function e(r,s,p,u,q,t,n){r=r+(p^(s|~u))+q+n;return(r<<t|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;f<e.length;f++){d=$$("div",{"className":"UD_SYJDXC","style":f?{}:{"margin":"0px"},"title":e[f][0],onclick:U.UF.M.apply(this,[[f>1?this.Rotate:this.Zoom,[f>1?(f-2)*2-1:(f?"Out":"In"),j,this]]])},g);if(!f){a=$$("div",{},d);$$("div",{"title":"回到原图","innerHTML":"&nbsp; 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<c.length;e++){for(d=0;d<f.length;d++){if(f[d].UE.join("/")==c[e][0].join("/")){continue a;}}f.push(new this.TJ(c[e]));}};U.UF.N.Add=function(a,b){if(a){var c,d=a.join("/");d=d?"#!/"+d:"";if(this.IE){this.UGT=true;this.UTF=false;this.ICHT(this.UH,d);}this.setNC();$(document).addAttrArray({"location":{"hash":d},"title":"云端 - "+(b?b:"1473.cn")});return false;}};U.UF.N.Path.prototype={constructor:U.UF.N.Path,UrlRoute:U.UF.N.UrlRoute,TJ:U.UF.N.TJ,Set:U.UF.N.Set,Add:U.UF.N.Add,init:function(){this.UH=window.location.hash;if(this.UH){this.Ch();}if(this.IE){document.documentElement.onpropertychange=window.onpropertychange=document.onpropertychange=U.UF.M.apply(this,[[this.ICH]]);}window.onhashchange=U.UF.M.apply(this,[[this.Ch]]);return this;},Ch:function(){if(this.UTF&&!this.NC){var c,a,e,d=this.UDE,b=U.UF.M.GetUF();if(b[0]){for(c=0;c<d.length;c++){if(d[c].UE.join("/").indexOf(b.join("/"))>-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;e<h[f].length;e++){}}else{for(e in h[f]){k[f][e]=h[f][e];}}}}}else{if(!c){U.UF.P.PPage.CPage(m[0],a,m[1],l,d,g,b);}}return m;};U.UF.P.PPage.CPage=function(m,g,f,t,l,j,e,p){var q,r,o,d,a,n,k,c,s,h=[],b=[];for(q=0;q<4;q++){switch(q){case 0:_UTF=t!=1;break;case 1:_UTF=t>1;break;case 2:_UTF=t<f;break;case 3:_UTF=t!=f;break;}if(_UTF){b[q]=m[q==3?q+1:q];}else{h[q]="O";}}if(p){a=$(p).Child(),_UDAD=$(a[0]).childg(),c=[1,t-1,t+1,f];$(a[1]).Child()[2].innerText=t+"页";s=["O","T","S","F"];for(q=0;q<4;q++){_UDAD.addAttrArray({"onclick":h[q]?"":[[U.UF.P.PPage.exec,[c[q],b[q],g,l,t,j,e,p]]],"className":"UD_SYI UD_SYFYL"+s[q]+(h[q]||"")},(e.isp&&q>1)?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;q<o;q++){$$("div",{"onclick":[[U.UF.P.PPage.exec,[q+1,s[q-r],g,l,t,j,e,p]]],"className":"UD_SYFYNO"+((q+1==t)?" UD_SYFYNOO":""),"innerHTML":q+1},_UDAD[2]);}}$(a[1]).childg(0,1).addAttrArray({"onclick":(c=[[U.UF.P.PPage.PageAchieve,[m[3],g,l,t,j,e,p,f]]])},8);$("input",p).addAttrArray({"onkeyup":[[U.UF.M.returnkeylogin,[null,c]]]});}else{d=$$("div",{"className":"UD_SYFY"});a=$$("div",{"className":"UD_SYFYL"},d);$$("div",{"className":"UD_SYI UD_SYFYLO"+(h[0]||""),"onclick":h[0]?null:[[U.UF.P.PPage.exec,[1,b[0],g,l,t,j,e,d]]],"title":"首页"},a);$$("div",{"className":"UD_SYI UD_SYFYLT"+(h[1]||""),"onclick":h[1]?null:[[U.UF.P.PPage.exec,[t-1,b[1],g,l,t,j,e,d]]],"title":"上一页"},a);if(e.isp&&f>0){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;q<o;q++){$$("div",{"onclick":[[U.UF.P.PPage.exec,[q+1,s[q-r],g,l,t,j,e,d]]],"className":"UD_SYFYNO"+((q+1==t)?" UD_SYFYNOO":""),"innerHTML":q+1},n);}}$$("div",{"className":"UD_SYI UD_SYFYLS"+(h[2]||""),"onclick":h[2]?null:[[U.UF.P.PPage.exec,[t+1,b[2],g,l,t,j,e,d]]],"title":"下一页"},a);$$("div",{"className":"UD_SYI UD_SYFYLF"+(h[3]||""),"onclick":h[3]?null:[[U.UF.P.PPage.exec,[f,b[3],g,l,t,j,e,d]]],"title":"尾页"},a);a=$$("div",{"className":"UD_SYFYR"},d);n=$$("div",{"className":"UD_SYFYRL"},a);$$("span",{"innerHTML":"到"},n);k=$$("div",{},n);$$("input",{"type":"text","onkeyup":[U.UF.M.returnkeylogin,[null,[[U.UF.P.PPage.PageAchieve,[m[3],g,l,t,j,e,d,f]]]]]},k);$$("span",{"innerHTML":"页"},n);$$("div",{"className":"UD_SYFYRZ","innerHTML":"确定","onclick":[[U.UF.P.PPage.PageAchieve,[m[3],g,l,t,j,e,d,f]]]},a);$$("div",{"className":"UD_SYFYRR","innerHTML":t+"页"},a);g.appendChild(d);}};U.UF.P.PPage.exec=function(e,h,b,f,i,g,c,d){if(h!=null){var a=U.UF.P.PPage.main(b,f,e,g,c,true);U.UF.P.PPage.CPage(a[0],b,Math.ceil(f/g),e,f,g,c,d);U.UF.M.apply(this,h)();}};U.UF.P.PPage.PageAchieve=function(h,a,d,i,f,b,c,e){var g=$(event.srcElement).parentg().find("input")[0].value;if(U.UF.S.Number.test(g)){g=g.toInt();if(g<=e&&g>0){(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];g<c[1];g++){r=[];for(f=0;f<e.length;f++){o=e[f][1];if(n[f]!=null){o=o.concat();o[n[f]]=g+1;}r.push[e[f][0],o];}q.push(r);}return q;}else{var l=Math.ceil(c/h),a=[1,p-1,p+1,"$(event.srcElement).parentg().find('input')[0].value",l];for(g=0;g<a.length;g++){r=[];for(f=0;f<e.length;f++){o=e[f][1];if(n[f]!=null){o=o.concat();o[n[f]]=a[g];}r.push[e[f][0],o];}q.push(r);}return[q,l];}};U.UF.P.PPage.main=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;e<h[f].length;e++){}}else{for(e in h[f]){k[f][e]=h[f][e];}}}}}else{if(!c){U.UF.P.PPage.CPage(m[0],a,m[1],l,d,g,b);}}return m;};Namespace.register("U.UF.QR");U.UF.QR.generate=function(b,e,j,a,c,f){f.innerHTML="";var i=new QRCode(f,{width:b,height:e,colorDark:j,colorLight:a,correctLevel:QRCode.CorrectLevel.H});U.UF.QR.makeCode=function(d){i.makeCode(d);};U.UF.QR.makeCode(c);};var QRCode;(function(){function d(y){this.mode=c.MODE_8BIT_BYTE;this.data=y;this.parsedData=[];for(var w=0,v=this.data.length;w<v;w++){var u=[];var x=this.data.charCodeAt(w);if(x>65536){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<u;w++){v.put(this.parsedData[w],8);}}};function r(u,i){this.typeNumber=u;this.errorCorrectLevel=i;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[];}r.prototype={addData:function(u){var i=new d(u);this.dataList.push(i);this.dataCache=null;},isDark:function(u,i){if(u<0||this.moduleCount<=u||i<0||this.moduleCount<=i){throw new Error(u+","+i);}return this.modules[u][i];},getModuleCount:function(){return this.moduleCount;},make:function(){this.makeImpl(false,this.getBestMaskPattern());},makeImpl:function(w,v){this.moduleCount=this.typeNumber*4+17;this.modules=new Array(this.moduleCount);for(var u=0;u<this.moduleCount;u++){this.modules[u]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[u][i]=null;}}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(w,v);if(this.typeNumber>=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<this.modules.length;E++){var B=E*w;for(var u=0;u<this.modules[E].length;u++){var C=u*w;var A=this.modules[E][u];if(A){D.beginFill(0,100);D.moveTo(C,B);D.lineTo(C+w,B);D.lineTo(C+w,B+w);D.lineTo(C,B+w);D.endFill();}}}return D;},setupTimingPattern:function(){for(var i=8;i<this.moduleCount-8;i++){if(this.modules[i][6]!=null){continue;}this.modules[i][6]=(i%2==0);}for(var u=8;u<this.moduleCount-8;u++){if(this.modules[6][u]!=null){continue;}this.modules[6][u]=(u%2==0);}},setupPositionAdjustPattern:function(){var A=k.getPatternPosition(this.typeNumber);for(var w=0;w<A.length;w++){for(var v=0;v<A.length;v++){var y=A[w];var u=A[v];if(this.modules[y][u]!=null){continue;}for(var x=-2;x<=2;x++){for(var z=-2;z<=2;z++){if(x==-2||x==2||z==-2||z==2||(x==0&&z==0)){this.modules[y+x][u+z]=true;}else{this.modules[y+x][u+z]=false;}}}}}},setupTypeNumber:function(x){var w=k.getBCHTypeNumber(this.typeNumber);for(var v=0;v<18;v++){var u=(!x&&((w>>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<y.length){z=(((y[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;w<x.length;w++){var z=x[w];u.put(z.mode,4);u.put(z.getLength(),k.getLengthInBits(z.mode,B));z.write(u);}var y=0;for(var w=0;w<v.length;w++){y+=v[w].dataCount;}if(u.getLengthInBits()>y*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<H.length;C++){var D=H[C].dataCount;var u=H[C].totalCount-D;K=Math.max(K,D);I=Math.max(I,u);v[C]=new Array(D);for(var F=0;F<v[C].length;F++){v[C][F]=255&E.buffer[F+w];}w+=D;var A=k.getErrorCorrectPolynomial(u);var J=new p(v[C],A.getLength()-1);var x=J.mod(A);z[C]=new Array(A.getLength()-1);for(var F=0;F<z[C].length;F++){var B=F+x.getLength()-z[C].length;z[C][F]=(B>=0)?x.get(B):0;}}var G=0;for(var F=0;F<H.length;F++){G+=H[F].totalCount;}var L=new Array(G);var y=0;for(var F=0;F<K;F++){for(var C=0;C<H.length;C++){if(F<v[C].length){L[y++]=v[C][F];}}}for(var F=0;F<I;F++){for(var C=0;C<H.length;C++){if(F<z[C].length){L[y++]=z[C][F];}}}return L;};var c={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var f={L:1,M:0,Q:3,H:2};var t={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var k={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(i){var u=i<<10;while(k.getBCHDigit(u)-k.getBCHDigit(k.G15)>=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;w<v;w++){u=u.multiply(new p([1,o.gexp(w)],0));}return u;},getLengthInBits:function(u,i){if(1<=i&&i<10){switch(u){case c.MODE_NUMBER:return 10;case c.MODE_ALPHA_NUM:return 9;case c.MODE_8BIT_BYTE:return 8;case c.MODE_KANJI:return 8;default:throw new Error("mode:"+u);}}else{if(i<27){switch(u){case c.MODE_NUMBER:return 12;case c.MODE_ALPHA_NUM:return 11;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 10;default:throw new Error("mode:"+u);}}else{if(i<41){switch(u){case c.MODE_NUMBER:return 14;case c.MODE_ALPHA_NUM:return 13;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 12;default:throw new Error("mode:"+u);}}else{throw new Error("type:"+i);}}}},getLostPoint:function(u){var w=u.getModuleCount();var x=0;for(var E=0;E<w;E++){for(var v=0;v<w;v++){var C=0;var B=u.isDark(E,v);for(var i=-1;i<=1;i++){if(E+i<0||w<=E+i){continue;}for(var A=-1;A<=1;A++){if(v+A<0||w<=v+A){continue;}if(i==0&&A==0){continue;}if(B==u.isDark(E+i,v+A)){C++;}}}if(C>5){x+=(3+C-5);}}}for(var E=0;E<w-1;E++){for(var v=0;v<w-1;v++){var y=0;if(u.isDark(E,v)){y++;}if(u.isDark(E+1,v)){y++;}if(u.isDark(E,v+1)){y++;}if(u.isDark(E+1,v+1)){y++;}if(y==0||y==4){x+=3;}}}for(var E=0;E<w;E++){for(var v=0;v<w-6;v++){if(u.isDark(E,v)&&!u.isDark(E,v+1)&&u.isDark(E,v+2)&&u.isDark(E,v+3)&&u.isDark(E,v+4)&&!u.isDark(E,v+5)&&u.isDark(E,v+6)){x+=40;}}}for(var v=0;v<w;v++){for(var E=0;E<w-6;E++){if(u.isDark(E,v)&&!u.isDark(E+1,v)&&u.isDark(E+2,v)&&u.isDark(E+3,v)&&u.isDark(E+4,v)&&!u.isDark(E+5,v)&&u.isDark(E+6,v)){x+=40;}}}var D=0;for(var v=0;v<w;v++){for(var E=0;E<w;E++){if(u.isDark(E,v)){D++;}}}var z=Math.abs(100*D/w/w-50)/5;x+=z*10;return x;}};var o={glog:function(i){if(i<1){throw new Error("glog("+i+")");}return o.LOG_TABLE[i];},gexp:function(i){while(i<0){i+=255;}while(i>=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<<n;}for(var n=8;n<256;n++){o.EXP_TABLE[n]=o.EXP_TABLE[n-4]^o.EXP_TABLE[n-5]^o.EXP_TABLE[n-6]^o.EXP_TABLE[n-8];}for(var n=0;n<255;n++){o.LOG_TABLE[o.EXP_TABLE[n]]=n;}function p(v,u){if(v.length==undefined){throw new Error(v.length+"/"+u);}var x=0;while(x<v.length&&v[x]==0){x++;}this.num=new Array(v.length-x+u);for(var w=0;w<v.length-x;w++){this.num[w]=v[w+x];}}p.prototype={get:function(i){return this.num[i];},getLength:function(){return this.num.length;},multiply:function(x){var v=new Array(this.getLength()+x.getLength()-1);for(var w=0;w<this.getLength();w++){for(var u=0;u<x.getLength();u++){v[w+u]^=o.gexp(o.glog(this.get(w))+o.glog(x.get(u)));}}return new p(v,0);},mod:function(x){if(this.getLength()-x.getLength()<0){return this;}var w=o.glog(this.get(0))-o.glog(x.get(0));var u=new Array(this.getLength());for(var v=0;v<this.getLength();v++){u[v]=this.get(v);}for(var v=0;v<x.getLength();v++){u[v]^=o.gexp(o.glog(x.get(v))+w);}return new p(u,0).mod(x);}};function q(i,u){this.totalCount=i;this.dataCount=u;}q.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];q.getRSBlocks=function(w,C){var v=q.getRsBlockTable(w,C);if(v==undefined){throw new Error("bad rs block @ typeNumber:"+w+"/errorCorrectLevel:"+C);}var u=v.length/3;var A=[];for(var y=0;y<u;y++){var z=v[y*3+0];var D=v[y*3+1];var B=v[y*3+2];for(var x=0;x<z;x++){A.push(new q(D,B));}}return A;};q.getRsBlockTable=function(u,i){switch(i){case f.L:return q.RS_BLOCK_TABLE[(u-1)*4+0];case f.M:return q.RS_BLOCK_TABLE[(u-1)*4+1];case f.Q:return q.RS_BLOCK_TABLE[(u-1)*4+2];case f.H:return q.RS_BLOCK_TABLE[(u-1)*4+3];default:return undefined;}};function l(){this.buffer=[];this.length=0;}l.prototype={get:function(i){var u=Math.floor(i/8);return((this.buffer[u]>>>(7-i%8))&1)==1;},put:function(u,w){for(var v=0;v<w;v++){this.putBit(((u>>>(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<u;D++){for(var w=0;w<u;w++){if(x.isDark(D,w)){var v=y("use",{"x":String(w),"y":String(D)});v.setAttributeNS("http://www.w3.org/1999/xlink","href","#template");z.appendChild(v);}}}};i.prototype.clear=function(){while(this._el.hasChildNodes()){this._el.removeChild(this._el.lastChild);}};return i;})();var b=document.documentElement.tagName.toLowerCase()==="svg";var h=b?e:!s()?(function(){var i=function(u,v){this._el=u;this._htOption=v;};i.prototype.draw=function(y){var F=this._htOption;var C=this._el;var u=y.getModuleCount();var z=Math.floor(F.width/u);var B=Math.floor(F.height/u);var D=['<table style="border:0;border-collapse:collapse;">'];for(var E=0;E<u;E++){D.push("<tr>");for(var w=0;w<u;w++){D.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+z+"px;height:"+B+"px;background-color:"+(y.isDark(E,w)?F.colorDark:F.colorLight)+';"></td>');}D.push("</tr>");}D.push("</table>");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;J<A;J++){for(var C=0;C<A;C++){var E=D.isDark(J,C);var y=C*F;var z=J*G;I.strokeStyle=E?K.colorDark:K.colorLight;I.lineWidth=1;I.fillStyle=E?K.colorDark:K.colorLight;I.fillRect(y,z,F,G);I.strokeRect(Math.floor(y)+0.5,Math.floor(z)+0.5,B,H);I.strokeRect(Math.ceil(y)-0.5,Math.ceil(z)-0.5,B,H);}}this._bIsPainted=true;};u.prototype.makeImage=function(){if(this._bIsPainted){x.call(this,i);}};u.prototype.isPainted=function(){return this._bIsPainted;};u.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height);this._bIsPainted=false;};u.prototype.round=function(y){if(!y){return y;}return Math.floor(y*1000)/1000;};return u;})();function a(w,y){var v=1;var z=j(w);for(var x=0,u=m.length;x<=u;x++){var A=0;switch(y){case f.L:A=m[x][0];break;case f.M:A=m[x][1];break;case f.Q:A=m[x][2];break;case f.H:A=m[x][3];break;}if(z<=A){break;}else{v++;}}if(v>m.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;d<a.length;d++){if(((b=$(a[d]).Parent())&&(b==document.body||b.id=="usestudio-server"||b.id=="UD_SY"))&&$(a[d]).attr("__top__")!="false"&&(!e==true||U.UF.SI._closes.indexOf(a[d])==-1)){$(a[d]).addAttrArray({"style":{"cssText":"z-index:"+(((US||parent.US).ZV++)+1)+";display:block"}});}}}return parent.US.ZINDEX;}};U.UF.SI.GetEE=function(){var a=window.event;if(!a){return document.activeElement;}return a.srcElement;};U.UF.SI.GetPD=function(b){var c,a=[],f=b,d=document.body,e=$("#UD_SY")[0]||$("#usestudio-server")[0]||d;if(e){while((f=U.UF.M.TOSP(f,true,"absolute"))&&(f&&(f!=e&&f!=d))){a.push(f);f=f.parentNode;}return a;}};U.UF.SI.TopForm=function(b,d,a){a=a||document.body;var c=U.UF.M.apply(null,[[U.UF.SI.TopForm._UFN,[b,d]],[U.MD.D.displayM]]);$(a).bind({mousedown:c});};U.UF.SI.TopForm._UFN=function(a,b){if(U.UF.SI.isTop){clearTimeout(U.UF.SI.isTop);}else{if(b&&!U.UF.SI.isTop){U.UF.SI.isTop=setTimeout(function(){(a||top.U.UF.SI.SetDTop)(null,true);U.UF.SI.isTop=false;},0);return;}else{if(!U.UF.SI.isTop){(a||top.U.UF.SI.SetDTop)(null,true);(event&&event.type=="mousedown")&&(U.UF.SI.isTop=true);}else{if(U.UF.SI.isTop==true){U.UF.SI.isTop=false;}}}}U.UF.SI.isTop=setTimeout(function(){U.UF.SI.isTop=false;},0);};Namespace.register("U.UF.ST");U.UF.ST.Masklayer=function(){return $$("div",{"style":{"cssText":"width:100%;height:100%;position:absolute;top:0;left:0;"}},document.body);};U.UF.ST.foundVirtualBox=function(b,a){b=$(b);a=a||b.GetElementInfo();return $$("div",{"style":{"cssText":"pointer-events:none;border:2px solid Gray;position:absolute;top:"+(a["OT"]-2)+"px;left:"+(a["OL"]-2)+"px;width:"+(a["OW"])+"px;height:"+(a["OH"])+"px;z-index:"+(US.ZINDEX+10)}},b.Parent());};U.UF.ST.AddOM=function(e,d){if(!$(".UD_W_WT",e)[0]){var f,b=U.UF.ST.RCDG(e,null,d),a="UD_W_WT",c=[["H","up"],["MR","right"],["B","down"],["ML","left"],["HL","topright"],["BR","bottomright"],["BL","bottomleft"],["HR","topleft"]],g=$$("div",{"className":"UD_W_WT"});for(f=0;f<c.length;f++){$$("div",{"className":a+"_"+c[f][0],"onmousedown":U.UF.M.apply(b,[[b.set,[c[f][1]]]])},g);}e.appendChild(g);}};U.UF.ST.RCDG=function(b,c,a){return new U.UF.ST.RCDG.init(b,c,a);};U.UF.ST.RCDG.init=function(b,c,a){U.UF.Ut.AddObj(this,{UCB:a,UDOD:b});(c)&&(this.set(c));};U.UF.ST.RCDG.init.prototype={set:function(f){var c,e,a=this.UDOD,d=U.UF.M.GetElementAllInfo(a),b=[["move",f],["up","mup"]];if(f&&event.button!=2&&(d["OH"]!=US.height||d["OW"]!=US.width)){U.UF.Ut.AddObj(this,{UMD:(e=U.UF.ST.Masklayer()),UTF:f,UTOD:U.UF.ST.foundVirtualBox(a),E:d,H:d.H,W:d.W,T:d.OT,L:d.OL});this.UTOD.setCapture();U.UF.SI.SetDTop(this.UTOD);U.UF.SI.SetDTop(e);for(c=0;c<b.length;c++){document["onmouse"+b[c][0]]=U.UF.M.apply(this,[[this[b[c][1].toLocaleLowerCase()]]]);}return this;}},up:function(){var c=U.UF.M.GetMousep(),a=Math.min(Math.max(c["Y"],0),this.T+this.H-4),b=this.H+(this.T-a);$(this.UTOD).addAttrArray({"style":{"cssText":"top:"+(a-2)+"px;height:"+(b)+"px"}});},down:function(){var a=U.UF.M.GetMousep();a["Y"]=Math.max(Math.min(a["Y"],US.height),this.T);this.UTOD.style.height=(a["Y"]-this.T)+"px";},left:function(){var a=U.UF.M.GetMousep(),c=Math.min(Math.max(a["X"],0),this.L+this.W-4),b=this.W+this.L-c;$(this.UTOD).addAttrArray({"style":{"cssText":"left:"+(c-2)+"px;width:"+(b)+"px"}});},right:function(){var a=U.UF.M.GetMousep();a["X"]=Math.max(Math.min(a["X"],US.width),this.L);this.UTOD.style.width=(a["X"]-this.L)+"px";},topleft:function(){this.up();this.left();},topright:function(){this.up();this.right();},bottomleft:function(){this.down();this.left();},bottomright:function(){this.down();this.right();},mup:function(){var d,c=this.E.PD,e=this.E.BD,f=$(this.UTOD),a=U.UF.M.GetElementAllInfo(this.UTOD),b=[a["W"],a["H"]];for(d=0;d<c.length;d++){b[(d+1)%2]-=(c[d]+e[d]);}$(this.UDOD).addAttrArray({"style":{"cssText":"left:"+(a["OL"]+2)+"px;top:"+(a["OT"]+2)+"px;width:"+b[0]+"px;height:"+b[1]+"px"}});$(f).remove();f[0].releaseCapture();document.onmousemove=document.onmouseup=null;$(this.UMD).remove();U.UF.ST.withf(this.UCB,b);}};U.UF.ST.withf=function(h,c){if(h){var f,e,d,b,a,g={};for(f in h){if(h.hasOwnProperty(f)){if(f=="with"){for(e=0;e<h[f].length;e++){b=h[f][e];a=b["Element"];for(d in b){if(b.hasOwnProperty(d)&&d!="Element"){g[d]=b[d]+c[d=="width"?0:1];}}$(a).addAttrArray({style:g});}}else{U.UF.M.apply(null,h[f])(c);}}}}};Namespace.register("U.UF.UP");U.UF.UP.FTF={};U.UF.UP.FTF.EL;U.UF.UP.uploading=function(b,d,e,g,h,a){if(b.length>0){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<l;g++){n[g].name=n[g].name||n[g].id||Guid.newGuid();e.push($(n[g]).replaceC($$("div"))[0]);a.appendChild(n[g]);}a.submit();this.complete="";U.UF.DL.IframeLoad(this,U.UF.M.apply(null,[[U.UF.UP.uploadingAsynF,[this,h,b]]]));$(a).remove();for(g=0;g<l;g++){$(e[g]).replaceC(n[g]);}};U.UF.UP.uploadingAsynF=function(UDOD,UCB,UDE){try{(!browser.msie)&&(UDOD.src="about:blank");setTimeout(function(){try{var _UTH=UDOD.contentWindow.document.body.innerHTML;}catch(e){}try{_UTH=_UTH||(UDOD.contentWindow.name!=UDOD.id?UDOD.contentWindow.name:_UTH);}catch(e){}if(_UTH==null){U.Alert("服务器处理繁忙,上传失败");}try{UDE.value=eval("0,("+_UTH+")");}catch(e){UDE.value=_UTH;}$(UDOD).remove();if(UCB){UCB(UDE);}},0);}catch(e){}};U.UF.UP.AddFAN=function(b,a,c){a=a||Guid.newGuid();if($("object",b).length==0){_UDTD=$$("div",{"innerHTML":'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" class="UD_filePrew" width="'+c["width"]+'" height="'+c["height"]+'" id="'+a+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0"><param name="movie" value="http://www.1473.cn/img/upload.swf" /><param name="menu" value="false" /><param name="wmode" value="Opaque" /><param name="quality" value="high" /><param name="bgcolor" value="ffffff" /><param name="allowScriptAccess" value="always" /><embed src="http://www.1473.cn/img/upload.swf" quality="high" bgcolor="ffffff" width="'+c["width"]+'" height="'+c["height"]+'" name="'+a+'" align="middle" play="true" wmode="transparent" loop="false" quality="high" style="z-index: 0;" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object>'});b.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<a.length;b++){if(a[b].split(",").indexOf(e)>-1){c=d[b];break;}}(!c)&&(c=["系统文件","-575px -41px","-478px -230px","-320px -420px"]);for(b=1;b<c.length;b++){c[b]="background-position:"+c[b]+";";}return c;};U.UF.UP.Down=function(c,e){if("createElementNS" in document){(!e)&&(e=document.documentElement.outerHTML);var d,f=window.URL||window.webkitURL||window,b=new Blob[e];d=document.createElementNS("http://www.w3.org/1999/xhtml","a");d.href=f.createObjectURL(b);d.download=c;U.UF.M.IEVENT(d,"click");}else{if(e){var a=$$("iframe",{"display":"none"});U.UF.M.IFO(a,e,function(){a.contextWindow.document.execCommand("SaveAs");});}else{document.execCommand("SaveAs");}}};U.UF.UP.GetUpName=function(b){b=(b.value||b).toLocaleLowerCase();var a=b.lastIndexOf(".");return[b.substr(b.lastIndexOf("\\")+1,a),b.substr(a+1)];};U.UF.UP.IsImg=function(d){var b=false,c=U.UF.UP.GetUpName(d)[1].toLowerCase(),a="jpg,gif,png,bmp,jpeg,JPG,GIF,BMP,PNG,JPEG";(c&&a.indexOf(c)>-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<d.length;e++){$$("div",{className:"UD_W_WT_"+d[e][0],onmousedown:[[U.UF.ST.RCDG,[k,d[e][1],a]]]},b);}}$(this.SO?(this.SO[0]||this.SO):($("#UD_SY")[0]||document.body)).append(this.be,0,this.SO?this.SO[1]:null);j=this.head?U.UF.M.GetPDWH(this.head):null;g=$$("div",{className:"UD_SYF_SCA",style:{"lineHight":j?j.CH+"px":"","top":j?Math.ceil((j.OH-20)/2)+"px":"15px"}},k);(this.htask)&&($(g).addAttrArray(this.htask));(this.close!==false)&&(this.close=this.close||{},this.cl=$$("div",{className:"UD_SYF_SS UD_SYI",title:"点击关闭",onmousedown:U.UF.M.StopBubble,onclick:U.UF.M.apply(this,this.shut)},g));j=this.et[this.id]=this;(this.max!==false)&&(this.max=this.max||{},this.m=b=$$("div",{className:"UD_SYF_SD UD_SYI",title:"最大化",onmousedown:U.UF.M.StopBubble},g),b.onclick=U.UF.M.apply(null,[[U.UF.SI.Windowmaximize,([k,b,{fun:U.UF.M.apply(this,[[this.size]])},this.head||k,{"onmousedown":(this.head||k).onmousedown}])]]),(this.head)&&(this.head.ondblclick=U.UF.M.apply(this.head,function(){(event.srcElement==this||U.UF.M.EISE(this,event.srcElement))&&(b.onclick());})));(this.min!==false)&&(this.min=this.min||{},this.mi=$$("div",{className:"UD_SYF_SF UD_SYI",title:"最小化",onmousedown:U.UF.M.StopBubble,onclick:[[U.UF.SI.WindowMin,[k]]]},g));}(f.isContain)&&(((f.head)&&(f.head.onmousedown=null))||(k.onmousedown=null));a=f.style?[f.style.top,f.style.left]:[];(!this.style||this.style.display!="none")&&(U.UF.SI[a[0]&&(a[0].indexOf("px")>-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",["<div></div>",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:"<div class='UD_SYF_STI'>"+(this.obj.name||"最新发表")+"</div>"});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;b<a.length;b++){$(a[b]).remove();}},append:function(b){var d,a=$(this.content),c=$$("frag");if(U.UF.Ut.isArray(b)){for(d=0;d<b.length;d++){this.extra.push(b[d]);$(c).append(b[d]);}}else{_$(b).Each(function(f,e){this.extra.push(U.UF.UI.EditorLoad.addT(c,f,e));});}a.append(c,0,a.Child()[0]);},addButton:function(){},cuscreate:function(){var a=this.obj.cus;(a.tr&&(a.tr.onclick=U.UF.M.apply(this,this.fb),delete a.tr));(a.ubox)&&(U.UF.UP.AddFAN(a.ubox,this.c.id,{width:"100%",height:"100%"}),U.UF.UP.FAFZ({},this.f,this.obj.type||"M"),delete a.ubox);this.set(a);},fb:function(){var a,d,e=this.ti,c=this.con.innerHTML,b=this.imgt?$(this.imgt).Child():null;if(e&&(d=e.value)&&e.defaultValue==e.value){a="请填写标题";e.focus();}else{if((c.isStrNull()||c=="有什么和大家分享...")&&((c="图片分享")&&(!b||!b.length))){a="请填写内容";this.con.focus();}else{if(this.obj.fcb&&this.obj.fcb(c,d,b)!==true){!this.parentEle&&(this.obj.close!==false)&&(U.UF.SI.CloseWindow(this.body,this.isc!==false?"remove":""));}else{this.con.focus();}}}(a)&&(U.Alert(a));},jd:function(){this.r.CreateR();},uerror:function(a){U.Alert("选择文件错误..");},Tool:function(){var a,c,b=$(this.head).Child();for(a=0;a<b.length;a++){c=$(b[a]).Child()[0];if(c&&c.tagName.toLowerCase()=="div"){$(c).css("display","none");}}},uadd:function(a,c){var b,d;if(this.obj.imgt){if(this.obj.imgt-a.length<0){d=a.length-this.obj.imgt;for(b=0;b<d;b++){this.objfl.DF(a.length-b-1,this.o.length);}a=a.slice(0,this.obj.imgt>a.length?a.length:this.obj.imgt);}this.obj.imgt-=a.length;}for(b=0;b<a.length;b++){a[b].id=Guid.newGuid();}if(c&&a.length){if(this.rt.add){this.rt.add(a,c);}this.o.push(a);(this.o.length==1)&&(this.up(a[0],0,0));}},up:function(a,c,b){this.objfl.UpLoad(b,c,(a||this.o[c][b]).id);},ujdt:function(a,b,c){(this.rt.jdt)&&(this.rt.jdt(a));},ufup:(function(){var b=function(f){var e=f.context,d=e[1],c=e[2];f=f.value;if(f){this.ufcp(f,c);}else{if((!this.rt.fup)||(this.rt.fup(d)!==false)){this.objfl.URRUP((this.url||"http://main.1473.cn/USupfile.ashx?iframename=UseStudioEditor&")+"UserId="+(US.userInfo.UserId||US.EMPTYGUID)+"&IsF=true",c,d[1],d[2]);}}},a=function(e,d){var c=this.getup(d);if(c[0]){U.A.Request(US.AUTH,["GetFileByHash",e,c[0].size,c[0].type.substr(1)],U.UF.M.apply(this,b),(["",c,d]));}else{this.ufcp(null,d);}};return a;})(),ucp:function(a){},ufcp:function(a,b){this.del(null,b);if(a&&(!this.rt.fcp||this.rt.fcp(a,_UCE))){(a.data)&&((a=U.UF.M.toList(a.data)),a={UserFilesServerName:a[0],UseFilesServerThumbnailName:a[1],UserFilesID:a[2],UserFilesSize:a[3],UserDirectoryEncrypt:a[4]});if(a.data){a=U.UF.M.toList(a.data);a={UserFilesServerName:a[0],UseFilesServerThumbnailName:a[1],UserFilesID:a[2],UserFilesSize:a[3],UserDirectoryEncrypt:a[4]};}if(this.imgt){$$("img",{onerror:"U.UF.M.ImgError(this, 2)",title:"右键删除",src:U.UF.M.GetImgU(a.UserFilesServerName),alt:U.UF.M.GetImgU(a.UserFilesServerName),onmouseup:U.UF.M.apply(this,[[this.imgdel,["this"]]]),onclick:[[U.MD.I.Img,([null,{UserFilesServerName:a.UserFilesServerName,UseFilesServerThumbnailName:a.UseFilesServerThumbnailName}])]]},this.imgt);}else{this.createFile(null,null,null,a);}}(_UGE.length)&&(this.up(null,0,0));},createFile:function(g,c,b,h){var i,a,e,f,d,j=this.o;if(U.UF.UP.IsImg(h.UserFilesServerName)){d="<span><img onerror='U.UF.M.ImgError(this, 2)' onclick='U.MD.I.Img(null, { 'Thm': '"+U.UF.M.GetImgU(h.UserFilesServerName)+"', 'Img': '"+U.UF.M.GetImgU(h.UserFilesServerName)+"' src='"+U.UF.M.GetImgU(h.UserFilesServerName)+"' alt='"+U.UF.M.GetImgU(h.UserFilesServerName)+"' title='点击查看原图' /> &nbsp</span>";}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=" &nbsp"+i.outerHTML+"&nbsp ";}this.r.add(d);},AddUrl:function(a){a=a.value;this.r.add("<a href='"+a+"' style='color:#3B639F;text-decoration:none;' target='_blank' >"+(a)+"</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;d<b.length;d++){for(c=0;c<b[d].length;c++){if(b[d][c].id==a){return[b[d][c],d,c];}}}return[null,-1,-1];},size:function(){$(this.content).css("height",$(this.content).parentg().height()-2+"px");$(this.con).css("height",this.content.offsetHeight-(this.ti?115:70)-(this.head?33:0)-1+"px");},use:function(b,d){if(d){var c,a=event.srcElement;for(c in b){b[c]=d=="font"?a.value+(c=="fontSize"?"px":""):a.style[d];}}this.r.use(b);},cursor:(function(){var a,b=function(d,c){return new a.init(d,c).bind();};b.prototype=a={init:function(d,c){var e=Guid.guidNoDash();U.UF.Ut.AddObj(this,{iso:false,isb:false,el:d,eb:c,id:e,sor:U.UF.E.GetSelectionRange(window,c,{"TF":e})});},bind:function(){$(this.el).bind({mousedown:U.UF.M.apply(this,this.create)});$(this.eb).bind({blur:U.UF.M.apply(this,this.blur),focus:U.UF.M.apply(this,this.focus)});return this;},blur:function(){if(!this.iso){var c=U.UF.E.SORange.OAT[this.id],d=c.length>2?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<c.length;d++){this[b[d]]=c[d];}this.Create();};U.UF.UI.Confirm.init.prototype={Create:function(){var d,a,j,b,k,e,f,h={width:"auto",height:"auto"},c=(this.style=this.style||{});_$(h).Each(function(l,i){c[i]=c[i]||l;});c.zIndex=9999;var g=$$("frag");j=$$("div",{"className":"U_UI_OB"});b=$$("div",{"className":"U_UI_OBA"},j);this.No=$$("div",{"onclick":U.UF.M.apply(this,[[this.confirmYesNo,[this.confirmNoClose]]]),"innerHTML":"取消","style":{"display":this.Q==true?"none":"block"},"className":"U_UI_OBY"},b);this.Yes=e=$$("div",{"onclick":U.UF.M.apply(this,[[this.confirmYesNo,[this.confirmYesClose]]]),"innerHTML":"确定","className":"U_UI_OBY"},b);g.appendChild(this.content);g.appendChild(j);this.form=a=U.UF.UI.Form({id:"U_COF",top:this.top?true:false,min:false,max:false,style:this.style,title:"<div class='UD_SYF_STI'>"+(this.title||"对话框")+"</div>",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<b.length;c++){this[a[c]]=b[c];}},Create:function(){var d,a,h,b,j,e,f,g={width:"auto",height:"auto",minWidth:"300px"},c=(this.style=this.style||{});_$(g).Each(function(k,i){c[i]=c[i]||k;});c.zIndex=9999;a=U.UF.UI.Form({top:true,min:false,max:false,style:this.style,title:"<div class='UD_SYF_STI'>"+(this.title||"对话框")+"</div>",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<f.length;d++){if(f[d].checked){this.UDTD=f[d];break;}}}},value:function(){return this.UDTD.value;},element:function(){return this.UDTD;},chang:function(){var a=event.srcElement;(a!=this.UDTD)&&(this.UDTD=a,(this.UCB)&&(this.UCB(a)));}}));U.UF.UI.RadioList.init.prototype=U.UF.UI.RadioList.prototype;U.Alert=function(c,a,b){b===true?new U.AlertA(c,b):new U.AlertB(c,a);};U.AlertA=function(a){U.UF.UI.Confirm("提示框",{},null,null,$$("div",{"style":{"textAlign":"center","margin":"25px 10px 25px 10px","max-width":"400px","word-wrap":"break-word","max-height":"400px","overflow":"auto"},innerHTML:a}),true);};U.AlertB=function(c,b){this.TI=((b==null||b<0)?1000:b);var a=$("body")[0];this.UDOD=$($$("div",{"innerHTML":c,"className":"USalert","style":{"cssText":"z-index:9999;left:"+((US.width/2-160)+a.scrollLeft)+"px;top:"+((US.height/2-100)+a.scrollTop)+"px"},"onclick":U.UF.M.apply(this,[[this.DAlert,[true]]])},$("body")[0])).animate({"top":US.height/2-80+a.scrollTop+"px"},300,U.UF.M.apply(this,this.AsynAmAlert));};U.AlertB.prototype={AsynAmAlert:function(){this.UTI=setTimeout(U.UF.M.apply(this,this.AmAlert),this.TI||1000);},AmAlert:function(){(this.UTI)&&(clearTimeout(this.UTI));var a=$(this.UDOD);(a.Parent()==document.body)&&(a.animate({"top":a[0].offsetTop-70+"px"},100,U.UF.M.apply(this,this.DAlert)));},DAlert:function(a){if(this.TI||a){$(this.UDOD).remove();}}};Namespace.register("U.MD.V");U.MD.V._er={};U.MD.V._ev=["loadstart","ended","progress","suspend","abort","error","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","readystatechange","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"];U.MD.V.vi=function(a,b,c){if($$("video").canPlayType){return new U.MD.V.vi.init(a,b,c);}else{return false;}};U.MD.V.vi.init=function(a,b,c){this.obj=a||{};this.pa=b;this.vi=null;this.config(c);return this;};U.MD.V.vi.init.prototype={type:{"ogg":'video/ogg; codecs="theora, vorbis"',"mp4":'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',"webm":'audio/webm; codecs="vorbis"'},attr:{at:"audioTracks",ap:"autoPlay",bf:"buffered",cl:"controller",cr:"controls",co:"crossOrigin",cs:"currentSrc",cTime:"currentTime",dm:"defaultMuted",dp:"defaultPlaybackRate",dt:"duration",ed:"ended",er:"error",lt:"initialTime",lp:"loop",mg:"mediaGroup",mt:"muted",ns:"networkState",pe:"paused",pr:"playbackRate",sTime:"startTime",pr:"playbackRate",py:"played",pl:"preload",rd:"readyState",si:"seeking",sk:"seekable",st:"startOffsetTime",tt:"textTracks",vt:"videoTracks",vl:"volume"},config:function(a){U.Ut.AddObj((this.cf=this.cf||{}),a);U.Ut.AddObj(this.cf,{l:this.cf.l||0,urls:this.cf.urls||[]});},init:function(a,b,c){U.Ut.AddObj(this,{obj:a||{},pa:b,vi:null});this.config(c);return this;},create:function(b,c){var a=this.cf,d=a.html||{"style":{"cssText":"margin:auto;display:block;height:100%;width:auto;"},"autoplay":"autoplay","controls":"controls","accesskey":true,"poster":""};if((b=((this.cf.urls.push(b),b)||this.cf.urls[this.l]))){if(!this.vi){this.vi=$$("video",d,c||this.pa||document.body);this.event();}if(!U.Ut.isString(b)&&this.vi.srcObject){this.vi.srcObject=b;}else{this.vi.src=U.Ut.isString(b)?b:(window.URL||window.webkitURL).createObjectURL(b);}this.set(this.obj);}else{U.Alert("链接无效");}return this;},load:function(a){a=a||this.cf.urls[this.cf.l];if(this.vi){this.vi.url=a;}else{this.create();}},event:function(){var b,a=this.vi;if(U.PL._ev){for(b=0;b<U.PL._ev.length;b++){U.UF.MAddEvent(U.PL._ev[b],a,U.UF.Mapply(this,[[this.cb,[U.PL._ev[b]]]]));}}},cb:function(a){(this.cf[a])&&(this.cf[a])();return true;},getType:function(a){return this.vi[this.attr[a]||a];},set:function(a,c){var b,d=this.attr,e=a;(U.Ut.isString(a))&&(e={},e[a]=c);for(b in e){this.vi[(d[b]||b)]=e[b];}},exec:function(a){return this[a]?this[a]():this.vi[a];},next:function(){var a;this.cf.l=this.cf.l-1<0?this.cf.urls.length-1:this.cf.l-1;if((a=this.cf.urls[this.cf.l])){this.load(a);}},lower:function(){var a;this.cf.l=this.cf.l+1>=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();}};