123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- /*
- 变量命名编写规范:
- 变量类型 变量名称
- string str
- object obj。
- Array arr
- Element el
- bool b
- 用户信息 userinfo
- 硬盘信息 diskinfo
- 好友信息 frindinfo
- 群信息 groupinfo
- 回调callback cb
- 函数 fun
- 错误 err
- 参数数组aruguments arg
- */
- /*
- uform框架解决了以下问题:
- 1、此js主要扩展了String,Number,Array,Object,Guid,json,Date等七种数据类型的方法,还有一些html5的数据类型,但暂未使用,此js需要立即执行的区域比较多。
- 2、有丰富的正则表达式
- 3、为了对元素进行更良好的操作,如动画,选择元素,制作了选择器
- 4、全兼容ie6以上浏览器,Chrome浏览器,Safari浏览器,Firefox。
- */
- //#region document.domain 设置区域
- //域名初始化 这个地方是初始化domain 设置后允许跨域
- //用于
- /*
- 此函数为ajax区域 要求所有后台请求来自于这里
- 应该5秒内返回给用户一个提示信息。涉及到提示信息可以传递时间参数到此ajax,如果5秒未收到结果,则弹出重试的提示。
- ajax 跨域有问题 没有到回调里面去
- */
- /*
- 变量命名编写规范:
- 变量类型 变量名称
- string str
- object obj。
- Array arr
- Element el
- bool b
- 用户信息 userinfo
- 硬盘信息 diskinfo
- 好友信息 frindinfo
- 群信息 groupinfo
- 回调callback cb
- 函数 fun
- 错误 err
- 参数数组aruguments arg
- */
- //补充错误的定义。
- //错误状态写在r.request.status里面。如果r.request.status==200,则表示成功。其余状态码表示有错误,如果是我们系统发生错误,统一状态码为500,即r.request.status==500,其他由web服务器自己决定。
- //详细错误信息在r.value里面.
- /*
- 此函数区域用于常用的通用函数 如位置 大小 计时器等
- *///#region 浏览器兼容使用
- /*
- 设置兼容性的写法 ie里面有innerText,outerHTML,而HTML5没有这些属性,为了使得TML5兼容ie特性,写了如下兼容js,HTML5也在逐步形成上诉函数。
- *///处理Cookie:
- /*
- 此处为1473跨域文件夹 利用此文件函数实现1473跨域
- *///#region
- /*预加载处理区域*//*
- *编辑使用区域,
- *格式定义:1、行元素为div
- * 2、里面样式元素为span元素设置style
- * 3、编辑功能点击按钮为button按钮 统一设置样式 padding: 0; background: 0 0; outline: 0; -moz-outline: 0; border: 0; display: block; cursor: pointer; margin: 0;
- *///处理元素属性设置。HTML元素大小及定位
- //#region 加密区域
- //处理事件:
- //json综述。此类主要处理以下两种情况的数据。
- //1、后台返回的数据形如:{"id":"1","name":"zhangsan"} 称为json数据,在js中称为对象。
- // 元素Elements,包括div,a,input等在前端的表现形式是:{"tagname":"input","className":""}
- // {"tagname":"div","className":""}
- //2、[
- // {"id":"1","name":"zhangsan"}
- // {"id":"2","name":"lisi"}
- // ]
- //
- //综上所述,前端元素,数据基本都是{}.所以本数据处理类是针对前端所有对象。
- //#region 这里是json操作区域
- //#region 函数区域
- /*
- 前进后退处理区域
- 用于场景
- 1、导航前进后退处理
- 2、记录用户步骤处理
- 3、url前进后退处理
- *///窗体功能命名空间
- //#region 选择器区域
- //var win = window;// doc = document;
- //window.U.Json_ = window.$; //记录命名控件 //全局使用 解决jquery覆盖我们的选择器的问题。
- /*下面的写法会导致程序在window.onload之前执行,为什么要在window.onload之前执行,如果非要执行,能否把所有要做window.onload之前执行的整合在一个文件?并列明必须先执行的理由?*/
- /*
- 选择器前言
- 好处:
- 1、简化项目的代码
- 2、当我对系统的ocument.getElementById document.getElementsByTagName document.getElementsByClassName有奇异 觉得里面需要修改添加一些新的方法处理 可以统一处理
- */
- //#region 创建元素
- /*
- *使用$$操作符简化编码长度。
- *例:$$("div", { "style": { "cssText": "font-size:16px;float:left;line-height:33px;width:40%;margin:0px 0px 0px 15px;" }, "innerHTML": "文件名" }, Inner_J)
- * @param {string} 元素的类型tagName 例如:"div"
- * @param {object} 集合,类似 { "style": { "cssText": "font-size:16px;float:left;line-height:33px;width:40%;margin:0px 0px 0px 15px;" }, "innerHTML": "文件名" }
- * @param {element} 所要追加的父亲元素,把第二个参数作为孩子节点追加到第三个参数。par代表父亲元素
- * @param {element} 追加的位置,如果有此参数,则把创建的元素追加到此元素的前面。此元素必须为第三个参数的孩子节点。
- *//*
- 一、此js主要扩展了String,Number,Array,Object,Guid,json,Date等七种数据类型,还有一些html5的数据类型,但暂未使用,此js需要立即执行的区域比较多。
- 没有对以下数据类型进行扩展 function Boolean null undefined。
- 二、此js包含了正则处理
- *//*
- 上传下载处理类
- *///#region UI区域
- //UI窗体区域
- /*
- 1、检查UC里面还有没有自执行的函数。有的话添加此文件
- 2、重新归类整理所有的UC文件。主要的问题很多函数都是用U.UF.M的命名空间。每个文件开头要描述此文件是做什么的?
- */
- try{document.domain&&(-1<document.domain.indexOf("1473.cn")?document.domain="1473.cn":document.domain="boomyun.com")}catch(a){}window.Namespace={};Namespace.register=function(a){var b=window,c=a.split(".");for(a=0;a<c.length;a++)b[c[a]]||(b[c[a]]={}),b=b[c[a]]};Namespace.register("U");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.A");U.A.allAjaxRequest={requestNumber:0,requestObject:[],forrequest:0};U.A.Request=function(a,b,c,d,e){if(U.A.Request.ifAttack()){var f=U.A.Request.isDomain(a);if(1==f){var f=e||{},h=f.type||"POST",k=U.UF.C.isFunction(c),l=U.A.Request.toAjaxFormat(b),n=U.A.Request.createAjaxObject(a);U.A.Request.attack(a,b,c,d,e,n);"GET"==h.toUpperCase()&&(a+="?"+l);n.open(h,a,k);U.A.Request.writeHeader(n,f);n.send(l);if(k)U.A.Request.asyn(n,c,d);else return U.A.Request.getData(n,null)}else return U.A.Request.handleDomain(a,b,c,d,e,f)}};U.A.Request.attack=function(a,b,c,d,e,f){var h=U.A.allAjaxRequest.requestObject[U.A.allAjaxRequest.requestObject.length-1];a={win:window,ajax:f,url:a,params:b,cb:c,cbparams:d,header:e,time:(new Date).getTime()};U.A.allAjaxRequest.requestNumber+=1;U.A.allAjaxRequest.requestObject.push(a);h&&(U.A.allAjaxRequest.forrequest=50>a.time-h.time?U.A.allAjaxRequest.forrequest+1:0)};U.A.Request.toAjaxFormat=function(a){a=a||[];var b="mode\x3d"+U.UF.C.urlEncode(a.concat());parent.US&&((a=parent.US.userInfo)&&a.UserId&&(b+="\x26UserId\x3d"+a.UserId+"\x26LoginId\x3d"+a.LoginId),b+="\x26PageId\x3d"+US.pageId+"\x26SystemId\x3d"+US.systemId);return b};U.A.Request.createAjaxObject=function(a){if(-1==a.indexOf(window.location?window.location.protocol+"//"+window.location.host:"")&&window.XDomainRequest)return new window.XDomainRequest;try{return new XMLHttpRequest}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(b){}try{return new ActiveXObject("MSXML3.XMLHTTP")}catch(b){}try{return new ActiveXObject("MSXML.XMLHTTP")}catch(b){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}try{return new ActiveXObject("MSXML2.ServerXMLHTTP")}catch(b){}};U.A.Request.writeHeader=function(a,b){b["CONTENT-TYPE"]=b["CONTENT-TYPE"]||"application/x-www-form-urlencoded;charset\x3dUTF-8";for(i in b)try{i in a?a[i]=b[i]:a.setRequestHeader(i,b[i])}catch(c){}a.overrideMimeType&&("blob"==b.responseType?a.overrideMimeType("text/plain; charset\x3dx-user-defined"):a.overrideMimeType("text/html"))};U.A.Request.asyn=function(a,b,c){c&&c[0]&&U.UF.C.isElement(c[0])&&U.UF.DL.uploading(c[0]);a.onload?(a.onload=function(){var d=U.A.Request.getData(a,c);b.call(null,d)},_ajax.onerror=function(){a.status=500;b.call(null,{httpRequest:a,status:{status:a.status,statusText:a.statusText},value:null,context:c})}):a.onreadystatechange=function(){if(4==a.readyState){var d=U.A.Request.getData(a,c);b.call(null,d)}}};U.A.Request.getData=function(a,b){var c,d={httpRequest:a,status:null,value:null,context:b};200==a.status?(c=a.responseXML?a.responseXML.xml:U.UF.C.toJson(a.responseText),d.value=c):d.status={status:a.status,statusText:a.statusText};a.abort&&a.abort();U.A.Request.timeSpan(a,d);return d};U.A.Request.isDomain=function(a){var b;b=$$("a",{href:a});if(window.location){if(0!=a.indexOf(window.location.origin)&&window.location.origin.split(".").slice(-2).join(".")==b.origin.split(".").slice(-2).join("."))for(b=window.frames,i=0;i<b.length;i++)try{if(0==a.indexOf(b[i].location.origin))return 2}catch(c){}}else if($("#U_Domain")[0])return 3;return 1};U.A.Request.handleDomain=function(a,b,c,d,e,f){$$("a",{href:a});if(2==f)for(f=window.frames,i=0;i<f.length;i++)try{if(0==a.indexOf(f[i].location.origin))return f[i].U.A.Request(a,b,c,d,e)}catch(h){}else 3==f&&(b&&U.UF.C.isElement(b[0])&&U.UF.DL.uploading(b[0]),c=new U.UF.EV.message(function(a){var b=a[1].split("\x3d");""==b[1]?U.UF.Cookie.del(b[0]):U.UF.Cookie.set(a[1]);this.asyn&&this.asyn(_data[0])},!0,"#U_Domain"),c.post([a,b],"domain"));return!1};U.A.Request.ifAttack=function(){return 50>U.A.allAjaxRequest.forrequest};U.A.Request.timeSpan=function(a,b){var c,d,e=U.A.allAjaxRequest.requestObject;for(c=0;c<e.length;c++)e[c].ajax==a&&(d=(new Date).getTime()-e[c].time,U.UF.C.console({timespan:d,request:b}))};Namespace.register("U.UF.CI");U.UF.CI.userAgent=navigator.userAgent.toLowerCase();U.UF.CI.getUserLocation=function(a){US.city.country?a():U.UF.DL.asynLoadJs({src:"http://int.dpool.sina.com.cn/iplookup/iplookup.php?format\x3djs"},function(){var b=U.UF.CI.AsyngetUserLocation();a(b)})};U.UF.CI.AsyngetUserLocation=function(){try{var a,b=remote_ip_info,c="country province city district isp type".split(" ");b.userAllLocation="";for(a=0;a<c.length;a++)c.userAllLocation+=c[b[a]],a!=c.length-1&&(c.userAllLocation+=",");US.city=b;cb(b)}catch(d){}};U.UF.CI.getBrowser=function(){var a={browser:"",ver:""},b=U.UF.CI.userAgent.match(U.UF.S.browser);a.browser=b[1];a.ver=b[2];return a};U.UF.CI.getSystem=function(){var a={"Apple series":"Mac68K,MacPPC,Macintosh","Unix series":"X11","Mac OS X 10_7":"OSX 10.7","Mac OS X 10.8":"OSX 10.8","Mac OS X 10_8":"OSX 10.8",Linux:"Linux"},b=navigator.userAgent,c=b.indexOf("("),d=b.indexOf(";"),b=b.substring(c+1,d);return{"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.1":"winxp","Windows NT 5.2":"Windows Server 2003","Windows NT 5.0":"Win2000","Win 9x 4.90":"WinME","Windows NT 10.0":"Win10"}[b]||a[b]};U.UF.CI.isSupportFlash=function(){return"undefined"!==typeof Worker?"HTML5":navigator.plugins["Shockwave Flash"]?"Flash":!1};Namespace.register("U.UF.C");U.UF.C.fullScreen=function(){var a=U.UF.C.getFullSreeenName("requestFullScreen");null!=a&&(document[a]?document[a]():document.documentElement[a]())};U.UF.C.cancelfullScreen=function(){var a=U.UF.C.getFullSreeenName("cancelFullScreen")||U.UF.C.getFullSreeenName("exitFullScreen");null!=a&&(document[a]?document[a]():document.documentElement[a]())};U.UF.C.getFullSreeenName=function(a){var b,c,d=["","webkit","moz","ms","o"];for(b=0;b<d.length;b++)if(c=d[b]?d[b]+a.capitalizeFirstLetter():a,c in document.documentElement||c in document)return c;return null};U.UF.C.toArray=function(a){try{return Array.prototype.slice.call(a)}catch(d){for(var b=0,c=[];a[b];b++)c.push(a[b]);return c}};U.UF.C.apply=function(a,b){return function(){b.call(a||this)}};U.UF.C.closure=function(a,b){return function(){a.apply(this,b)}};U.UF.C.getColorByRGB=function(a){var b="#",c=a.match(U.UF.S.rgb);if(c){for(a=1;a<c.length;a++)b+=("0"+c[a].toInt().toString(16)).slice(-2);return b}return a};U.UF.C.queryString=function(a,b){var c,d="",e,f=(b||window.document.location.search).substr(1).split("\x26");for(c=0;c<f.length;c++)if(e=f[c].split("\x3d"),e[0].toUpperCase()==a.toUpperCase()){for(c=1;c<e.length;c++)d+=e[c]+(c==e.length-1?"":"\x3d");break}return d};U.UF.C.getUrlHash=function(){return document.location.hash.split("/")};U.UF.C.isUrl=function(a){return 1==(new RegExp(/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/)).test(a)?!0:!1};U.UF.C.iframeSameDomain=function(a,b,c){U.UF.DL.iframeLoad(a,function(){b&&(a.contentWindow.document.body.innerHTML=b);c&&c()});a.src=document.domain?"javascript:void((function(){document.open();document.domain\x3d'"+document.domain+"';document.close()})())":"about:blank";return a};U.UF.C.urlEncode=function(a){var b;for(b=0;b<a.length;b++)a[b]=encodeURIComponent(encodeURIComponent(a[b]));return a.join(",")};U.UF.C.copy=function(){if(window.clipboardData)window.clipboardData.setData("text",copystr);else if(event&&event.clipboardData)event.clipboardData.setData("text/HTML",copystr);else if(event&&event.originalEvent&&event.originalEvent.clipboardData)event.originalEvent.clipboardData("Text",copystr);else{if(document.execCommand)return document.execCommand("copy"),document.execCommand("copy");U.Alert("\u8bf7\u624b\u52a8\u9009\u62e9\u590d\u5236")}};U.UF.C.pasteText=function(){if(window.clipboardData)return window.clipboardData.getData("text");if(event.clipboardData)return event.clipboardData.getData("text/HTML");if(event&&event.originalEvent&&event.originalEvent.clipboardData)return event.originalEvent.clipboardData("Text");if(document.execCommand){if(1==document.execCommand("paste"))return document.execCommand("paste"),document.execCommand("paste");U.Alert("\u65e0\u6cd5\u7c98\u8d34");return!1}U.Alert("\u65e0\u6cd5\u7c98\u8d34")};U.UF.C.rightClickMenuLocation=function(a){var b=event||window.event,c=b.clientX,b=b.clientY,d=$(a).Parent(),e=a.offsetWidth,f=a.offsetHeight,h=d.offsetHeight;e+c>d.offsetWidth&&(c-=e);f+b>h&&(b-=f);$(a)[0].style.top=b+"px";$(a)[0].style.left=c+"px"};U.UF.C.jsonToStr=function(a){var b,c;c=typeof a;if(null!=a){a=a.valueOf();if(-1<"boolean,number".indexOf(c))c=a.toString();else if("string"==c)c='"'+a+'"';else{if("array"==typeof a){c="[";for(b=0;b<a.length;b++)c+=U.UF.C.jsonToStr(a[b])+(b<a.length-1?",":"");return c+"]"}c="{";for(b in a)a.hasOwnProperty(b)&&(1<c.length&&(c+=","),c+='"'+b+'":'+U.UF.C.jsonToStr(a[b]));c+="}"}return c}};U.UF.C.objectToString=function(a){return Object.prototype.toString.call(a)};U.UF.C.console=function(a){};U.UF.C.loadJs=function(a,b){null!=b&&(a.innerHTML=b);var c,d=$("head"),e=$("script",a);for(c=0;c<e.length;c++)e[c].src?U.UF.DL.asynLoadJs({src:e[c].src}):$$("script",{type:e[c].type||"text/javascript"},d[0]).text=e[c].text;return b};U.UF.C.toJson=function(a){var b=a;U.UF.C.isString(a)&&(b=a.parseJSON());for(a=0;a<b.length;a++)U.UF.C.isString(b[a])?b[a]=b[a].parseJSON():Array.isArray(b[a])&&U.UF.C.toJson(b[a]);return b};U.UF.C.getBriefText=function(a,b,c){if(a.length>b){a=U.UF.C.isString(a)?$$("div",{innerHTML:a}):a;var d=c||"";return a.innerText.substring(0,b||200)+(200<a.innerText._length?d:"")+c}return a};U.UF.C.shieldedSelect=function(){var a=U.UF.EL.getAncestorEditElement(event.srcElement);if(a&&(3==a.nodeType||"true"==a.contentEditable||"textarea,input".indexOf(a.tagName.toLocaleLowerCase())))return!0;U.UF.EV.stopBubble();U.UF.EV.stopDefault();return!1};U.UF.C.shieldedBackspace=function(){8==event.keyCode&&(U.UF.EL.getAncestorEditElement(event.srcElement)!=document.body||document.body.isContentEditable||U.UF.EV.stopDefault())};U.UF.C.isObject=function(a){return"object"==typeof a&&null!==a};U.UF.C.isNumber=function(a){return"number"==typeof a};U.UF.C.isString=function(a){return"string"==typeof a};U.UF.C.isFunction=function(a){var b="function"==typeof a;a="[object Function]"==U.UF.C.objectToString(a);return b||a};U.UF.C.isElement=function(a){return 1===a.nodeType};U.UF.C.AddObj=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return b};U.UF.C.computeFileSize=function(a){return 1024<a?1024<a/1024?1024<a/1048576?(a/1073741824).toFixed(2)+"GB":(a/1048576).toFixed(2)+"MB":(a/1024).toFixed(2)+"KB":a.toFixed(2)+"B"};Namespace.register("U.UF.CP");U.UF.CP.wheel=function(a){this.onwheel=a};U.UF.CP.wheelGet=function(){return this.onwheel};U.UF.CP.setInnerText=function(a){this.textContent=a};U.UF.CP.setInnerTextGet=function(){return this.textContent};U.UF.CP.outerHtml=function(a){var b=$(this),c=$$("div",{innerHTML:a}).childNodes,d=$$("frag");for(a=0;a<c.length;a++)d.appendChild(c[a]);d.insertBefore(d,this);b.remove()};U.UF.CP.outerHtmlGet=function(){var a=this.cloneNode(!0),b=$$("div",{});b.appendChild(a);return b.innerHTML};U.UF.CP.getStyleGet=function(){return getComputedStyle(this,!1)};U.UF.CP.setCapture=function(){return function(){window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP)}};U.UF.CP.releaseCapture=function(){return function(){window.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP)}};U.UF.CP.onresize=function(a){if(this.tagName){var b,c=this.__SizeElement__;if(!c||$(c).Parent()!=this&&a){b=U.UF.EL.getStyle(this,"position");if(""==b||"static"==b)this.style.position="relative";c=this.__SizeElement__=$$("object",{onload:function(){if(a)c.contentDocument.defaultView.onresize=function(){a()};else try{delete this.__SizeElement__}catch(d){}},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)}else if(a)c.contentDocument.defaultView.onresize=function(){a()};else try{delete this.__SizeElement__}catch(d){}}};U.UF.CP.onresizeGet=function(){try{return this.__SizeElement__.contentDocument.defaultView.onresize}catch(a){return null}};U.UF.CP.eventGet=function(){for(var a=arguments.callee;a.caller;)a=_UDE.caller;return a.arguments[0]?a.arguments[0]:null};U.UF.CP.targetGet=function(){return event.target};U.UF.CP.keyCodeGet=function(){return event.which};U.UF.CP.onreadystatechangeGet=function(){return this.onload};U.UF.CP.onreadystatechange=function(a){this.onload=a};U.UF.CP.componentFromPoint=function(){return function(){var a=U.UF.EL.getMousePosition(),b=U.UF.EL.getElementInfo(this);return a.X>b.CW+b.TX||a.Y>b.CH+b.TY?"outside":""}};U.UF.CP.init=function(){window.HTMLElement&&("onmousewheel"in HTMLElement.prototype||("onwheel"in HTMLElement.prototype?(HTMLElement.prototype.__defineGetter__("onmousewheel",U.UF.CP.wheelGet),HTMLElement.prototype.__defineSetter__("onmousewheel",U.UF.CP.wheel)):window.addEventListener("DOMMouseScroll",function(a){var b=null,c=a.srcElement;do b=$(c).attr("onmousewheel")||c.onmousewheel,c=$(c).Parent();while(!b&&c);b&&(U.UF.C.isString(b)&&(c.onmousewheel=new Function(b)),U.UF.EV.stopDefault(),setTimeout(function(){obj.call(this,a)},0))},!1)),"onreadystatechange"in HTMLElement.prototype||(HTMLElement.prototype.__defineGetter__("onreadystatechange",U.UF.CP.onreadystatechangeGet),HTMLElement.prototype.__defineSetter__("onreadystatechange",U.UF.CP.onreadystatechange)),"innerText"in HTMLElement.prototype||(HTMLElement.prototype.__defineGetter__("innerText",U.UF.CP.setInnerTextGet),HTMLElement.prototype.__defineSetter__("innerText",U.UF.CP.setInnerText)),"outerHTML"in HTMLElement.prototype||(HTMLElement.prototype.__defineGetter__("outerHTML",U.UF.CP.outerHtmlGet),HTMLElement.prototype.__defineSetter__("outerHTML",U.UF.CP.outerHtml)),"currentStyle"in HTMLElement.prototype||HTMLElement.prototype.__defineGetter__("currentStyle",U.UF.CP.getStyleGet),"setCapture"in HTMLElement.prototype||HTMLElement.prototype.__defineGetter__("setCapture",U.UF.CP.setCapture),"releaseCapture"in HTMLElement.prototype||HTMLElement.prototype.__defineGetter__("releaseCapture",U.UF.CP.releaseCapture),"onresize"in HTMLElement.prototype&&"msie"==U.UF.CI.getBrowser().browser||(HTMLElement.prototype.__defineGetter__("onresize",U.UF.CP.onresizeGet),HTMLElement.prototype.__defineSetter__("onresize",U.UF.CP.onresize)),"componentFromPoint"in HTMLElement.prototype||HTMLElement.prototype.__defineGetter__("componentFromPoint",U.UF.CP.componentFromPoint),"event"in window.constructor.prototype||window.constructor.prototype.__defineGetter__("event",U.UF.CP.eventGet),window.Event.prototype&&("srcElement"in window.Event.prototype||window.Event.__defineGetter__("target",U.UF.CP.targetGet),"keyCode"in window.Event.prototype||window.Event.__defineGetter__("keyCode",U.UF.CP.keyCodeGet)))};U.UF.C.style;document.querySelectorAll=document.querySelectorAll||function(a,b){var c=U.UF.C.style,d=[],e=document.documentElement.firstChild,f=(b||document).all,h=f.length;try{c.styleSheet.cssText=a+"{q:1}"}catch(k){U.UF.C.style=$$("style",{type:"text/css",styleSheet:{cssText:a+"{q:1}"}},e)}for(;h--;)f[h].currentStyle.q&&d.unshift(f[h]);return d};document.querySelector=document.querySelector||function(a){a=document.querySelectorAll(a);return a.length?a[0]:null};U.UF.CP.SelectorElement=function(a,b){var c=""===b.id&&b!=document,d=$$("div").querySelectorAll;c&&(b.id=b.uniqueID);try{return d?(b||document).querySelectorAll((b.id?"#"+b.id+" ":" ")+a,b):document.querySelectorAll((b.id?"#"+b.id+" ":" ")+a,b)}catch(e){return null}finally{c&&(b.id="")}};U.UF.CP.touch=function(){U.UF.C.touchstart&&U.UF.EV.delElementEvent("touchstart",document,U.UF.C.touchstart,!0);U.UF.EV.addElementEvent("touchstart",document,U.UF.C.touchstart,!0)};U.UF.C.touchstart=function(){var a=event.srcElement;U.UF.C.ismove=null;U.UF.EV.stopBubble();U.UF.EV.delElementEvent("touchstart",document,U.UF.C.touchstart,!0);U.UF.EV.simulatePhoneTouch(a,"touchstart");U.UF.EV.addElementEvent("touchstart",document,U.UF.C.touchstart,!0);U.UF.EV.addElementEvent("touchmove",document,U.UF.C.touchmove);U.UF.EV.addElementEvent("touchend",document,U.UF.C.touchend,!0)};U.UF.C.touchmove=function(){U.UF.C.ismove=!0;U.UF.EV.delElementEvent("touchmove",document,U.UF.C.touchmove);U.UF.EV.simulatePhoneTouch(event.srcElement,"touchmove");U.UF.EV.stopBubble()};U.UF.C.touchend=function(){U.UF.EV.delElementEvent("touchend",document,U.UF.C.touchend,!0);U.UF.EV.stopBubble();U.UF.C.ismove||U.UF.EV.simulatePhoneTouch(event.srcElement,"touchend")};Namespace.register("U.UF.Cookie");U.UF.Cookie.crossDomain=function(a,b){U.UF.DL.asynLoadJs({src:a},b)};U.UF.Cookie.set=function(a,b){var c,d,e=0,f;if(U.UF.C.isString(a))document.cookie=U.UF.Cookie.setProperty(b,a);else for(c in a){f=c+"\x3d";for(d in a[c])0<e&&(f+="\x26"),f+=d+"\x3d"+encodeURIComponent(a[c][d]),e++;document.cookie=U.UF.Cookie.setProperty(b,f)}return document.cookie};U.UF.Cookie.setProperty=function(a,b){var c,d,e={path:"/",domain:document.domain,expires:365,secure:null};a=a||{};for(c in e){if("expires"==c&&(a[c]||e[c])){d=new Date;var f=864E5*(a[c]||e[c]);d.setTime(d.getTime()+f);a[c]=d.toUTCString()}if(a[c]||e[c])d=null==a[c]?e[c]:a[c],b+="; "+c+"\x3d"+d}return b};U.UF.Cookie.del=function(a){var b,c,d="",e=document.cookie.split("; ");for(b=0;b<e.length;b++)c=e[b].split("\x3d"),a&&c[0]!=a||(d+=(d.length?"; ":"")+c[0]+"\x3d");d?U.UF.Cookie.set(d,{expires:-1}):console.log("not found cookie!")};U.UF.Cookie.get=function(a,b){var c,d,e="",f=document.cookie.split("; ");for(c=0;c<f.length;c++)if(d=f[c].split("\x3d"),d[0]==a){d.splice(0,1);e=d.join("\x3d");break}if(b)for(f=e.split("\x26"),e=[],c=0;c<f.length;c++)if(d=f[c].split("\x3d"),d[0]==b)e.push(decodeURIComponent(d[1]));else if(d[1]==b)return!0;return e.length?e:!1};Namespace.register("U.UF.CD");U.UF.CD.AJAXCROSSDOMAIN="http://www.1473.cn/DataCrossdomain.htm";U.UF.CD.PAGECROSSDOMAIN="http://www.1473.cn/PageCrossdomain.htm";U.UF.CD.AJAXIFRAMES=[{id:"U_Main",url:"http://main.1473.cn/Crossdomain.htm"}];U.UF.CD.STATION="http://www.1473.cn/index.aspx";U.UF.CD.loadAjaxCrossDomain=function(a,b){var c,d,e,f=$("#usestudio-server")[0]||$("body")[0],h=U.UF.CD.AJAXIFRAMES;if(-1<document.domain.indexOf("1473.cn"))for(c=0;c<h.length;c++)try{e=h[c].id;if(window[e]&&window[e].location){window[e].location.href==h[c].url&&U.UF.CD.asynLoadAjaxCrossDomain($("#"+e)[0],a);break}d=$$("iframe",{id:e,name:e,width:0,height:0,style:{display:"none"},src:h[c].url});U.UF.DL.iframeLoad(d,function(){U.UF.CD.asynLoadAjaxCrossDomain(d,a)});f.appendChild(d);b&&U.UF.DL.loading(b)}catch(k){}else U.UF.CD.thirdPartyLoadAjaxCrossDomain(a,b)};U.UF.CD.asynLoadAjaxCrossDomain=function(a,b){a.contentWindow.name=a.id;U.UF.C.isFunction(b)&&b()};U.UF.CD.thirdPartyLoadAjaxCrossDomain=function(a,b){var c;c=$("#usestudio-server")[0]||$("body")[0];window.U_Domain?window.U_Domain.location.href==U.UF.CD.AJAXCROSSDOMAIN&&U.UF.C.isFunction(a)&&a():(c=$$("iframe",{id:"U_Domain",name:"U_Domain",width:0,height:0,style:{display:"none"},src:U.UF.CD.AJAXCROSSDOMAIN},c),U.UF.DL.iframeLoad(c,function(){U.UF.C.isFunction(a)&&a()}),b&&U.UF.DL.loading(b))};U.UF.CD.loadPageCrossDomain=function(a,b,c){var d;$("#usestudio-server")[0]||($$("div",{id:"usestudio-server",className:"usestudio-server",__top__:"false"},document.body),"1473.cn"==document.domain?(d=$$("iframe",{width:0,height:0,style:{display:"none"}},$("body")[0]),b&&U.UF.DL.loading(b),U.UF.DL.iframeLoad(d,U.UF.C.apply(null,function(){U.UF.CD.asynLoadPageCrossDomain(d,b,a,c)})),d.src=U.UF.CD.STATION):(d=$$("iframe",{id:"U_CDomain",name:"U_CDomain",width:0,height:0,style:{display:"none"}},document.body),U.UF.DL.iframeLoad(d,function(){(new U.UF.EV.message({obj:"#U_CDomain",url:U.UF.CD.PAGECROSSDOMAIN,Sender:!0,me:function(b){$("#usestudio-server")[0].innerHTML=b[0];U.MD.D.Load&&U.MD.D.Load(a);U.UF.C.isFunction(a)&&a()},url:"http://www.143.cn/Crossdomain.htm"})).post("","cdomain")}),d.src=U.UF.CD.PAGECROSSDOMAIN))};U.UF.CD.asynLoadPageCrossDomain=function(a,b,c,d){var e;b=a.contentWindow;var f=b.document.cookie.split("\x3d");""==f[1]?U.UF.Cookie.del(f[0]):U.UF.Cookie.set(f[2]);f=$("#usestudio-server")[0];d=$(!0===d?"body":"#UD_SY",b.document)[0].innerHTML;try{e=b.document.open()}catch(h){e=b.document}e.write="";e.close();$(a).remove();f.innerHTML=d;U.MD.D.Load?U.MD.D.Load(c):U.UF.C.isFunction(c)&&c()};Namespace.register("U.UF.D");U.UF.D.formatDateToArray=function(a){"string"==typeof a&&(a=-1<a.indexOf("Date")?new Date(parseInt(a.match(/[0-9]+/g)[0])):new Date(a));return[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()]};U.UF.D.getYearMonthDay=function(a){return a?U.UF.D.formatDateToArray(a).slice(0,3).join("-"):""};U.UF.D.getHoursMinutesSecond=function(a){return U.UF.D.formatDateToArray(a,!0).slice(3,6).join(":")};U.UF.D.getFullTime=function(a){a=U.UF.D.formatDateToArray(a,!0);return a.slice(0,3).join("-")+" "+a.slice(3,6).join(":")};U.UF.D.getDateInterval=function(a){var b=U.UF.D.formatDateToArray(new Date,"Array");a=U.UF.D.formatDateToArray(a,"Array");return b[0]==a[0]?3>b[2]-a[2]?b[2]==a[2]?b[3]==a[3]?b[4]-a[4]+"\u5206\u949f\u524d":b[3]-a[3]+"\u5c0f\u65f6\u524d":b[2]-a[2]+"\u5929\u524d":a[1]+"\u6708"+a[2]+"\u65e5"+a[3]+"\u70b9"+a[4]+"\u5206":a[0]+"\u5e74"+a[1]+"\u6708"+a[2]+"\u65e5"+a[3]+"\u70b9"+a[4]+"\u5206"};U.UF.D.toTimeStamp=function(a,b){var c;if(U.UF.C.isString(a))c=Date.parse(a);else if(Array.isArray(a))c=Date.UTC(a[0],a[1]-1||1,a[2]||1,a[3]-8||1,a[4]||1,a[5]||1);else if(U.UF.D.isDate(a)||!a)c=Date.parse(a||new Date);return"/Date("+c+")/"};U.UF.D.getDayOfMonth=function(a){a=U.UF.D.formatDateToArray(a);return(new Date(a[0],a[1],0)).getDate()};U.UF.D.sizeComparison=function(a,b){for(var c=U.UF.D.formatDateToArray(a),d=U.UF.D.formatDateToArray(b),e=0;e<c.length;e++){if(c[e]>d[e])return!0;if(d[e]>c[e])return!1}return"equal"};U.UF.D.lowerToUpper=function(a){var b,c,d,e="",f=["\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341".split("")," \u5341 \u767e \u5343 \u4e07 \u4ebf \u5146".split(" "),"\u5e74\u6708\u65e5\u70b9\u5206\u79d2".split("")];a?"":a=new Date;a=U.UF.D.formatDateToArray(a);for(b=0;b<a.length;b++){d=String(a[b]);if(1==b)for(c=0;c<d.length;c++)e+=f[0][d[c]];else e=10<Number(d)?e+(f[0][d[0]]+f[0][10]+("0"==d[1]?"":f[0][d[1]])):e+f[0][d[0]];e+=f[2][b]}return e};U.UF.D.isDate=function(a){return U.UF.C.isObject(a)&&"[object Date]"==U.UF.C.objectToString(a)};Namespace.register("U.UF.DL");U.UF.DL.asynLoadJs=function(a,b){var c=$("head"),d=$$("script",a);U.UF.DL.fileElementLoaded(d,b);c.append(d,0,c[0].firstChild);return d};U.UF.DL.asynLoadCss=function(a,b){var c=$("head"),d=$$("link",a);U.UF.DL.fileElementLoaded(d,b);c.append(d,0,c[0].firstChild);return d};U.UF.DL.iframeLoad=function(a,b){U.UF.DL.fileElementLoaded(a,b)};U.UF.DL.fileElementLoaded=function(a,b){"complete"==a.readyState?b.call(a):a.onreadystatechange=function(){if("complete"==a.readyState||null==a.readyState)a.onreadystatechange=null,U.UF.C.isFunction(b)&&b.call(a)}};U.UF.DL.LoadStyle=function(a){var b=$("head")[0],c=$$("style",{});c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a));b.appendChild(c);document.body.offsetHeight;return c};U.UF.DL.loading=function(a){if(a){var b=$(a).Parent();a=a.__ULOADElement__=$$("div",{P:0,style:{width:"100%",height:"100%",position:"absolute",left:0,top:0,"background-color":"#fff"}});var c=$$("div",{style:{display:"block","z-index":"1000",width:"37px",height:"17px",position:"absolute"}},a);$$("img",{src:"http://www.1473.cn/img/Loading.gif"},c);b.appendChild(a);c.style.left=($(b)[0].offsetWidth-c.offsetWidth)/2+"px";c.style.top=($(b)[0].offsetHeight-c.offsetHeight)/2+"px";return a}};U.UF.DL.uploading=function(a){$(a.__ULOADElement__).remove()};Namespace.register("U.UF.E");U.UF.E.initEditor=function(a){a.focus();if(""==a.innerHTML.trim()){var b;a=$$("div",{innerHTML:"\x26nbsp"},a);b=U.UF.E.getRangeAt();U.UF.E.elementFocus(b,a);a.innerHTML="\u200d"}return U.UF.E.getRangeAt()};U.UF.E.elementFocus=function(a,b){if(window.getSelection){var c=window.getSelection();a.selectNodeContents(b);c.removeAllRanges();c.addRange(a)}else a.moveToElementText(b),a.select()};U.UF.E.getRangeAt=function(a){var b;a=a||window;a.getSelection?(a=a.getSelection(),a.rangeCount&&(b=a.getRangeAt(0))):(a=a.document.selection,b=a.createRange());return b};U.UF.E.addRange=function(a,b,c){if(window.getSelection){var d=window.getSelection();a=b.createContextualFragment(a);b.deleteContents();d.removeAllRanges();b.insertNode(a);c&&b.collapse(!1);d.addRange(b)}else b.select(),b.pasteHTML(a),c&&b.collapse(!1);return U.UF.E.getRangeAt()};U.UF.E.getRangeElement=function(a){return a.commonAncestorContainer?a.commonAncestorContainer:a.parentElement?a.parentElement():a.commonParentElement()};U.UF.E.reSelectRange=function(a){if(window.getSelection){var b=window.getSelection();b.removeAllRanges();b.addRange(a)}else a.select()};U.UF.E.getLineElement=function(a){for(var b=a.tagName?a.tagName.toLocaleLowerCase():"";"div"!=b&&"p"!=b&&"body"!=b;)a=a.parentNode,b=a.tagName.toLocaleLowerCase();return a};U.UF.E.setRangeStyle=function(a,b){b=b||U.UF.E.getRangeAt();var c,d,e,f,h,k,l;d=b.startContainer;e=b.endContainer;var n=b.startOffset;f=b.endOffset;k=U.UF.E.getLineElement(d);l=U.UF.E.getLineElement(e);if(d==e&&n==f)c=U.UF.E.getLineElement(d),h=$$("span",{innerHTML:c.innerHTML,style:a}),c.innerHTML="",c.appendChild(h),U.UF.E.setRange(h.firstChild,h.firstChild,n,f,b);else if(k==l)if(d==e)d=U.UF.E.splitText(d,n),e=U.UF.E.splitText(d,f-n),c=d.parentNode,h=$$("span",{style:a}),h.appendChild(d),$(c).append(h,null,e),U.UF.E.setRange(d,d,0,d.data.length,b);else{d=U.UF.E.splitText(d,n);c=d.parentNode;h=$$("span",{style:a});$(c).append(h,0,d);h.appendChild(d);k=h;c=U.UF.E.splitText(e,f);f=e.parentNode;h=$$("span",{style:a});$(f).append(h,0,c);h.appendChild(e);for(l=h;(k=k.nextSibling)&&k!=l;)k.innerHTML?$(k).css(a):(h=$$("span",{style:a}),$(k.parentNode).append(h,0,k),h.appendChild(k),k=h);U.UF.E.setRange(d,e,0,e.data.length,b)}else{d=U.UF.E.splitText(d,n);c=d.parentNode;h=$$("span",{style:a});h.appendChild(d);c.appendChild(h);c=U.UF.E.splitText(e,f);f=e.parentNode;h=$$("span",{style:a});f.insertBefore(h,c);for(h.appendChild(e);(k=k.nextSibling)&&k!=l;)(h=$("span",k)[0])?$(h).css(a):(h=$$("span",{innerHTML:k.innerHTML,style:a}),k.innerHTML=h.outerHTML);U.UF.E.setRange(d,e,0,e.data.length,b)}};U.UF.E.splitText=function(a,b){if(b==a.nodeValue.length){var c=document.createTextNode("");$(a.parentNode).append(c,null,a);return c}return a.splitText(b)};U.UF.E.setLineStyle=function(a,b){b=b||U.UF.E.getRangeAt();var c=U.UF.E.getElement(b),c=U.UF.E.getLineElement(c);$(c).css(a);return b};U.UF.E.key=function(a,b){};U.UF.E.key.deleteWord=function(){};U.UF.E.setRange=function(a,b,c,d,e){window.getSelection?(a==b&&e.startContainer!=a&&e.selectNodeContents(a),e.setStart(a,c),e.setEnd(b,d)):(c=document.body.createTextRange(),e=document.body.createTextRange(),c.moveToElementText(a),c.moveStart("character",a),e.moveToElementText(b),e.moveStart("character",d),c.setEndPoint("EndToStart",e),c.select(),e=c);return e};Namespace.register("U.UF.EL");U.UF.EL.getElementPosition=function(a){for(var b,c=[0,0];a;)b=U.UF.EL.getStyle(a,"position"),"static"!=b&&(c[0]+=a.offsetTop,c[1]+=a.offsetLeft),a=a.offsetParent;return c};U.UF.EL.getElementRealWidth=function(a){var b;b=parseInt(Math.min(a.offsetWidth,a.scrollWidth,a.clientWidth));0>=b&&(b=parseInt(a.style.height));return b};U.UF.EL.getElementRealHeight=function(a){var b;b=parseInt(Math.min(a.offsetHeight,a.scrollHeight,a.clientHeight));0>=b&&(b=parseInt(a.style.height));return b};U.UF.EL.getElementInfo=function(a){var b=a.getBoundingClientRect(),c=U.UF.EL.offsetParent(a);return{PXT:document.documentElement.scrollTop+c.scrollTop,PXL:document.documentElement.scrollLeft+c.scrollLeft,SH:a.scrollHeight,SW:a.scrollWidth,SL:a.scrollLeft,ST:a.scrollTop,CH:a.clientHeight,CW:a.clientWidth,CT:a.clientTop,CL:a.clientLeft,OH:a.offsetHeight,OW:a.offsetWidth,OL:a.offsetLeft,OT:a.offsetTop,BCRH:b.bottom-b.top,BCRW:b.right-b.left,BCRT:b.top,BCRL:b.left,BCRB:b.bottom,BCRR:b.right}};U.UF.EL.offsetParent=function(a,b,c){for(var d=document.body;a&&a!=d;){b=U.UF.EL.getStyle(a,"position");if(!c&&"static"!=b||b==c)break;a=a.offsetParent}return a};U.UF.EL.getAncestor=function(a,b){for(;a&&a!=b&&a.id!=b;)a=a.parentNode;return a};U.UF.EL.getChildrenNoText=function(a,b){var c,d=[];for(c=0;c<a.length;c++)1!=a[c].nodeType||b&&-1!=b.indexOf(a[c].tagName.toLowerCase())||d.push(a[c]);return d};U.UF.EL.getAncestorEditElement=function(a){for(var b=document.body;a&&b!=a&&(!a.tagName||!(-1<"textarea,input".indexOf(a.tagName.toLocaleLowerCase())||"true"==a.contentEditable));)a=$(a).parent();return a};U.UF.EL.isChild=function(a,b){if(a&&b)if(a.contains){if(a.contains(b))return!0}else if(a.compareDocumentPosition&&!a.compareDocumentPosition(b))return!0;return!1};U.UF.EL.indexOfParent=function(a){var b=$(a).Parent();return $(b).Child().indexOf(a)};U.UF.EL.isCustomAttributes=function(a,b){a=a||$$("div");var c=a.attributes;if(c)return c[b]?1==c[b].expando:null!==a.getAttribute(b)||void 0===a[b]};U.UF.EL.addAttributes=function(a,b,c){a.setAttribute(b,c)};U.UF.EL.delAttributes=function(a,b){a.hasAttribute(b)&&a.removeAttribute(b)};U.UF.EL.getStyle=function(a,b){if(a&&a.style){var c=U.UF.EL.styleConversion(b);return a.style[c]||"cssText"==c?a.style[c]:a.currentStyle?a.currentStyle[c]:""}};U.UF.EL.addClass=function(a,b){a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))||(a.className+=" "+b)};U.UF.EL.removeClass=function(a,b){a.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))&&(a.className=a.className.replace(new RegExp("(\\s|^)"+b+"(\\s|$)")," "))};U.UF.EL.isHasClass=function(a,b){if(-1<a.className.indexOf(b))return!0};U.UF.EL.styleConversion=function(a,b){b=b?[/[A-Z]/g,"-",0,"toLowerCase"]:[/-[a-z ]/g,"",1,"toUpperCase"];return a.replace(b[0],function(a){return b[1]+a.charAt(b[2])[b[3]]()})};U.UF.EL.getMousePosition=function(a){var b=0,c=0,d=event||window.event;d.touches&&d.touches[0]&&(d=d.touches[0]);var e=d.clientX||0,d=d.clientY||0,f=a?a.offsetTop:0,h=a?a.offsetParent:null;null!=h&&(b=f+=h.offsetTop);f=a?a.offsetLeft:0;h=a?a.offsetParent:null;null!=h&&(c=f+=h.offsetLeft);_elx=e-c;_ely=d-b;return{x:_elx,y:_ely}};Namespace.register("U.UF.EC");U.UF.EC.MD5=function(a,b,c){}(function(a){if("object"===typeof exports)module.exports=a();else if("function"===typeof define&&define.amd)define(a);else{var b;try{b=window}catch(c){b=self}b.SparkMD5=a()}}(function(a){function b(a,b){var c=a[0],d=a[1],e=a[2],g=a[3],c=c+((d&e|~d&g)+b[0]-680876936|0),c=(c<<7|c>>>25)+d|0,g=g+((c&d|~c&e)+b[1]-389564586|0),g=(g<<12|g>>>20)+c|0,e=e+((g&c|~g&d)+b[2]+606105819|0),e=(e<<17|e>>>15)+g|0,d=d+((e&g|~e&c)+b[3]-1044525330|0),d=(d<<22|d>>>10)+e|0,c=c+((d&e|~d&g)+b[4]-176418897|0),c=(c<<7|c>>>25)+d|0,g=g+((c&d|~c&e)+b[5]+1200080426|0),g=(g<<12|g>>>20)+c|0,e=e+((g&c|~g&d)+b[6]-1473231341|0),e=(e<<17|e>>>15)+g|0,d=d+((e&g|~e&c)+b[7]-45705983|0),d=(d<<22|d>>>10)+e|0,c=c+((d&e|~d&g)+b[8]+1770035416|0),c=(c<<7|c>>>25)+d|0,g=g+((c&d|~c&e)+b[9]-1958414417|0),g=(g<<12|g>>>20)+c|0,e=e+((g&c|~g&d)+b[10]-42063|0),e=(e<<17|e>>>15)+g|0,d=d+((e&g|~e&c)+b[11]-1990404162|0),d=(d<<22|d>>>10)+e|0,c=c+((d&e|~d&g)+b[12]+1804603682|0),c=(c<<7|c>>>25)+d|0,g=g+((c&d|~c&e)+b[13]-40341101|0),g=(g<<12|g>>>20)+c|0,e=e+((g&c|~g&d)+b[14]-1502002290|0),e=(e<<17|e>>>15)+g|0,d=d+((e&g|~e&c)+b[15]+1236535329|0),d=(d<<22|d>>>10)+e|0,c=c+((d&g|e&~g)+b[1]-165796510|0),c=(c<<5|c>>>27)+d|0,g=g+((c&e|d&~e)+b[6]-1069501632|0),g=(g<<9|g>>>23)+c|0,e=e+((g&d|c&~d)+b[11]+643717713|0),e=(e<<14|e>>>18)+g|0,d=d+((e&c|g&~c)+b[0]-373897302|0),d=(d<<20|d>>>12)+e|0,c=c+((d&g|e&~g)+b[5]-701558691|0),c=(c<<5|c>>>27)+d|0,g=g+((c&e|d&~e)+b[10]+38016083|0),g=(g<<9|g>>>23)+c|0,e=e+((g&d|c&~d)+b[15]-660478335|0),e=(e<<14|e>>>18)+g|0,d=d+((e&c|g&~c)+b[4]-405537848|0),d=(d<<20|d>>>12)+e|0,c=c+((d&g|e&~g)+b[9]+568446438|0),c=(c<<5|c>>>27)+d|0,g=g+((c&e|d&~e)+b[14]-1019803690|0),g=(g<<9|g>>>23)+c|0,e=e+((g&d|c&~d)+b[3]-187363961|0),e=(e<<14|e>>>18)+g|0,d=d+((e&c|g&~c)+b[8]+1163531501|0),d=(d<<20|d>>>12)+e|0,c=c+((d&g|e&~g)+b[13]-1444681467|0),c=(c<<5|c>>>27)+d|0,g=g+((c&e|d&~e)+b[2]-51403784|0),g=(g<<9|g>>>23)+c|0,e=e+((g&d|c&~d)+b[7]+1735328473|0),e=(e<<14|e>>>18)+g|0,d=d+((e&c|g&~c)+b[12]-1926607734|0),d=(d<<20|d>>>12)+e|0,c=c+((d^e^g)+b[5]-378558|0),c=(c<<4|c>>>28)+d|0,g=g+((c^d^e)+b[8]-2022574463|0),g=(g<<11|g>>>21)+c|0,e=e+((g^c^d)+b[11]+1839030562|0),e=(e<<16|e>>>16)+g|0,d=d+((e^g^c)+b[14]-35309556|0),d=(d<<23|d>>>9)+e|0,c=c+((d^e^g)+b[1]-1530992060|0),c=(c<<4|c>>>28)+d|0,g=g+((c^d^e)+b[4]+1272893353|0),g=(g<<11|g>>>21)+c|0,e=e+((g^c^d)+b[7]-155497632|0),e=(e<<16|e>>>16)+g|0,d=d+((e^g^c)+b[10]-1094730640|0),d=(d<<23|d>>>9)+e|0,c=c+((d^e^g)+b[13]+681279174|0),c=(c<<4|c>>>28)+d|0,g=g+((c^d^e)+b[0]-358537222|0),g=(g<<11|g>>>21)+c|0,e=e+((g^c^d)+b[3]-722521979|0),e=(e<<16|e>>>16)+g|0,d=d+((e^g^c)+b[6]+76029189|0),d=(d<<23|d>>>9)+e|0,c=c+((d^e^g)+b[9]-640364487|0),c=(c<<4|c>>>28)+d|0,g=g+((c^d^e)+b[12]-421815835|0),g=(g<<11|g>>>21)+c|0,e=e+((g^c^d)+b[15]+530742520|0),e=(e<<16|e>>>16)+g|0,d=d+((e^g^c)+b[2]-995338651|0),d=(d<<23|d>>>9)+e|0,c=c+((e^(d|~g))+b[0]-198630844|0),c=(c<<6|c>>>26)+d|0,g=g+((d^(c|~e))+b[7]+1126891415|0),g=(g<<10|g>>>22)+c|0,e=e+((c^(g|~d))+b[14]-1416354905|0),e=(e<<15|e>>>17)+g|0,d=d+((g^(e|~c))+b[5]-57434055|0),d=(d<<21|d>>>11)+e|0,c=c+((e^(d|~g))+b[12]+1700485571|0),c=(c<<6|c>>>26)+d|0,g=g+((d^(c|~e))+b[3]-1894986606|0),g=(g<<10|g>>>22)+c|0,e=e+((c^(g|~d))+b[10]-1051523|0),e=(e<<15|e>>>17)+g|0,d=d+((g^(e|~c))+b[1]-2054922799|0),d=(d<<21|d>>>11)+e|0,c=c+((e^(d|~g))+b[8]+1873313359|0),c=(c<<6|c>>>26)+d|0,g=g+((d^(c|~e))+b[15]-30611744|0),g=(g<<10|g>>>22)+c|0,e=e+((c^(g|~d))+b[6]-1560198380|0),e=(e<<15|e>>>17)+g|0,d=d+((g^(e|~c))+b[13]+1309151649|0),d=(d<<21|d>>>11)+e|0,c=c+((e^(d|~g))+b[4]-145523070|0),c=(c<<6|c>>>26)+d|0,g=g+((d^(c|~e))+b[11]-1120210379|0),g=(g<<10|g>>>22)+c|0,e=e+((c^(g|~d))+b[2]+718787259|0),e=(e<<15|e>>>17)+g|0,d=d+((g^(e|~c))+b[9]-343485551|0);a[0]=c+a[0]|0;a[1]=((d<<21|d>>>11)+e|0)+a[1]|0;a[2]=e+a[2]|0;a[3]=g+a[3]|0}function c(a){var b=[],c;for(c=0;64>c;c+=4)b[c>>2]=a.charCodeAt(c)+(a.charCodeAt(c+1)<<8)+(a.charCodeAt(c+2)<<16)+(a.charCodeAt(c+3)<<24);return b}function d(a){var b=[],c;for(c=0;64>c;c+=4)b[c>>2]=a[c]+(a[c+1]<<8)+(a[c+2]<<16)+(a[c+3]<<24);return b}function e(a){var b;for(b=0;b<a.length;b+=1){var c=b,d=a[b],e="",g;for(g=0;4>g;g+=1)e+=l[d>>8*g+4&15]+l[d>>8*g&15];a[c]=e}return a.join("")}function f(a){/[\u0080-\uFFFF]/.test(a)&&(a=unescape(encodeURIComponent(a)));return a}function h(a){var b=[],c=a.length,d;for(d=0;d<c-1;d+=2)b.push(parseInt(a.substr(d,2),16));return String.fromCharCode.apply(String,b)}function k(){this.reset()}var l="0123456789abcdef".split("");"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function b(a,b){a=a|0||0;return 0>a?Math.max(a+b,0):Math.min(a,b)}ArrayBuffer.prototype.slice=function(c,d){var e=this.byteLength,f=b(c,e),g=e,h;d!==a&&(g=b(d,e));if(f>g)return new ArrayBuffer(0);h=g-f;e=new ArrayBuffer(h);g=new Uint8Array(e);f=new Uint8Array(this,f,h);g.set(f);return e}}();k.prototype.append=function(a){this.appendBinary(f(a));return this};k.prototype.appendBinary=function(a){this._buff+=a;this._length+=a.length;a=this._buff.length;var d;for(d=64;d<=a;d+=64)b(this._hash,c(this._buff.substring(d-64,d)));this._buff=this._buff.substring(d-64);return this};k.prototype.end=function(a){var b=this._buff,c=b.length,d,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(d=0;d<c;d+=1)f[d>>2]|=b.charCodeAt(d)<<(d%4<<3);this._finish(f,c);b=e(this._hash);a&&(b=h(b));this.reset();return b};k.prototype.reset=function(){this._buff="";this._length=0;this._hash=[1732584193,-271733879,-1732584194,271733878];return this};k.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}};k.prototype.setState=function(a){this._buff=a.buff;this._length=a.length;this._hash=a.hash;return this};k.prototype.destroy=function(){delete this._hash;delete this._buff;delete this._length};k.prototype._finish=function(a,c){var d=c,e;a[d>>2]|=128<<(d%4<<3);if(55<d)for(b(this._hash,a),d=0;16>d;d+=1)a[d]=0;e=8*this._length;e=e.toString(16).match(/(.*?)(.{0,8})$/);d=parseInt(e[2],16);e=parseInt(e[1],16)||0;a[14]=d;a[15]=e;b(this._hash,a)};k.hash=function(a,b){return k.hashBinary(f(a),b)};k.hashBinary=function(a,d){var f=a,k=f.length,l=[1732584193,-271733879,-1732584194,271733878],g,p,r;for(g=64;g<=k;g+=64)b(l,c(f.substring(g-64,g)));f=f.substring(g-64);p=f.length;r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(g=0;g<p;g+=1)r[g>>2]|=f.charCodeAt(g)<<(g%4<<3);r[g>>2]|=128<<(g%4<<3);if(55<g)for(b(l,r),g=0;16>g;g+=1)r[g]=0;k=(8*k).toString(16).match(/(.*?)(.{0,8})$/);f=parseInt(k[2],16);k=parseInt(k[1],16)||0;r[14]=f;r[15]=k;b(l,r);l=e(l);return d?h(l):l};k.ArrayBuffer=function(){this.reset()};k.ArrayBuffer.prototype.append=function(a){var c=this._buff.buffer,e=new Uint8Array(c.byteLength+a.byteLength);e.set(new Uint8Array(c));e.set(new Uint8Array(a),c.byteLength);c=e.length;this._length+=a.byteLength;for(a=64;a<=c;a+=64)b(this._hash,d(e.subarray(a-64,a)));this._buff=a-64<c?new Uint8Array(e.buffer.slice(a-64)):new Uint8Array(0);return this};k.ArrayBuffer.prototype.end=function(a){var b=this._buff,c=b.length,d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f;for(f=0;f<c;f+=1)d[f>>2]|=b[f]<<(f%4<<3);this._finish(d,c);b=e(this._hash);a&&(b=h(b));this.reset();return b};k.ArrayBuffer.prototype.reset=function(){this._buff=new Uint8Array(0);this._length=0;this._hash=[1732584193,-271733879,-1732584194,271733878];return this};k.ArrayBuffer.prototype.getState=function(){var a=k.prototype.getState.call(this);a.buff=String.fromCharCode.apply(null,new Uint8Array(a.buff));return a};k.ArrayBuffer.prototype.setState=function(a){var b=a.buff,c=b.length,d=new ArrayBuffer(c),d=new Uint8Array(d),e;for(e=0;e<c;e+=1)d[e]=b.charCodeAt(e);a.buff=d;return k.prototype.setState.call(this,a)};k.ArrayBuffer.prototype.destroy=k.prototype.destroy;k.ArrayBuffer.prototype._finish=k.prototype._finish;k.ArrayBuffer.hash=function(a,c){var f=new Uint8Array(a),k=f.length,l=[1732584193,-271733879,-1732584194,271733878],g,p,r;for(g=64;g<=k;g+=64)b(l,d(f.subarray(g-64,g)));f=g-64<k?f.subarray(g-64):new Uint8Array(0);p=f.length;r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(g=0;g<p;g+=1)r[g>>2]|=f[g]<<(g%4<<3);r[g>>2]|=128<<(g%4<<3);if(55<g)for(b(l,r),g=0;16>g;g+=1)r[g]=0;k=(8*k).toString(16).match(/(.*?)(.{0,8})$/);f=parseInt(k[2],16);k=parseInt(k[1],16)||0;r[14]=f;r[15]=k;b(l,r);l=e(l);return c?h(l):l};return k}));Namespace.register("U.UF.EV");U.UF.EV.boundProperties=function(a,b,c,d){a.__defineGetter__?(a.__defineGetter__=(a,c),a.__defineSetter__=(a,d)):Object.defineProperty?Object.defineProperty(a,b,{configurable:!0,get:c,set:d}):(a[b]=c,a[b].toString=c,a.attachEvent("onpropertychange",function(){if(event.propertyName==a){var e=arguments.caller.caller;a.detachEvent("onpropertychange",e);d(a[b]);a[b]=c;a[b].toString=d;a.attachEvent("onpropertychange",e)}}))};U.UF.EV.addPrototype=function(a,b,c){if("string"==typeof b)a.prototype[b]=c;else for(var d in b)a.prototype[d]=b[d]};U.UF.EV.scrollLoad=function(a,b){a.onscroll=function(){U.UF.EV.scrollLoad.scrollTop(a)+U.UF.EV.scrollLoad.windowHeight(a)>=U.UF.EV.scrollLoad.documentHeight(a)-50&&b()}};U.UF.EV.scrollLoad.scrollTop=function(a){return Math.max($(a)[0].scrollTop,document.documentElement.scrollTop)};U.UF.EV.scrollLoad.documentHeight=function(a){return Math.max($(a)[0].scrollHeight,document.documentElement.scrollHeight)};U.UF.EV.scrollLoad.windowHeight=function(a){return"CSS1Compat"==document.compatMode?document.documentElement.clientHeight:$(a)[0].clientHeight};U.UF.EV.IsActivity=function(a,b){var c;a&&($(document.body).mouseenter(function(){c&&window.clearTimeout(c);c=window.setTimeout(a)}),U.UF.EV.addElementEvent("focusin",document,function(){c&&window.clearTimeout(c);c=window.setTimeout(a)}));b&&U.UF.EV.addElementEvent("focusout",document,function(){var a=event.clientX,c=event.clientY;("msie"!=U.UF.CI.getBrowser().browser||0>a||a>US.width||0>c||c>US.height)&&b()})};U.UF.EV.scrollToPosition=function(a,b,c){U.UF.C.isNumber(a)&&c?$(b).animate({scrollTop:a},c):"number"==typeof a?b.scrollTop=a:a.scrollIntoView()};U.UF.EV.simulateMouseClicks=function(a,b){if(a.fireEvent)return a.fireEvent("on"+b,window.event);if(document.createEvent){var c=document.createEvent("MouseEvents"),d=window.event;d?c.initMouseEvent(b,!0,!0,window,d.detail,d.screenX,d.screenY,d.clientX,d.clientY,d.ctrlKey,d.altKey,d.shiftKey,d.metaKey,d.button,d.relatedTarget):c.initMouseEvent(b,!0,!0,document.defaultView,0,0,0,0,0,!1,!1,!1,!1,0,a);return a.dispatchEvent(c)}};U.UF.EV.simulatePhoneTouch=function(a,b,c){if(a.fireEvent)a.fireEvent("on"+TF);else if(document.createEvent){var d,e=c||window.event,e=TouchEvent?new TouchEvent(b,e):document.createEvent("TouchEvent"),f=e.initTouchEvent?"initTouchEvent":"initEvent";d=[[event.touches,event.targetTouches,event.changedTouches,b,event.view,event.screenX,event.screenY,event.clientX,event.clientY,event.ctrlKey,event.alrKey,event.shiftKey,event.metaKey],[b,!0,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],[b,!0,event.cancelable,event.view,event.detail,event.ctrlKey,event.altKey,event.shiftKey,event.metaKey,event.touches,event.targetTouches,event.changedTouches]];for(c=0;c<d.length;c++){try{e[f].apply(e,d[c])}catch(h){}if(e.type==b)break}}return a.dispatchEvent(e)};U.UF.EV.addElementEvent=function(a,b,c,d){b.addEventListener?b.addEventListener(a,c,d||!1):b.attachEvent?b.attachEvent("on"+a,c):b["on"+a]=function(){b["on"+a]();c()}};U.UF.EV.delElementEvent=function(a,b,c,d){b.removeEventListener?b.removeEventListener(a,c,d||!1):b.detachEvent?b.detachEvent("on"+a,c):b["on"+a]=null};U.UF.EV.getEventSource=function(){var a,b,c=window.frames,d=window.event;if(!d)for(a=0;a<c.length;a++){b=c[a];try{if(d=b.event)break}catch(e){}}return d};U.UF.EV.stopBubble=function(){var a=U.UF.EV.getEventSource();a&&(a.stopPropagation?a.stopPropagation():a.cancelBubble=!0)};U.UF.EV.stopBubbleMouseOutOrOver=function(a,b){if(event&&-1<"mouseover,mouseout".indexOf(event.type)){var c=U.UF.EL.isChild(a,("mouseover"==event.type?event.fromElement:event.toElement)||event.relatedTarget);!c&&U.UF.C.isFunction(b)&&b();return c}};U.UF.EV.stopDefault=function(a){if(a=a||window.event)return document.all?a.returnValue=!1:a.preventDefault(),!1};U.UF.EV.eventDelegation=function(a,b,c,d){null==c&&(c=!0);var e=d||"a"+Guid.newGuid();window[e]=function(){try{U.UF.C.isFunction(a)&&_cb.apply(null,arguments),this.isremove&&(window[e]=null,delete window[e])}catch(f){}};return e};U.UF.EV.message=function(a,b,c,d){this.fun=a;this.id=c||Guid.guidNoDash();this.sender=b;this.iframeid=d;this.iframe=null;this.url="";U.UF.EV.message.callbacks[this.id]=this;"onmessage"in window&&U.UF.EV.addElementEvent("message",window,U.UF.EV.message.getDataAndCallBack);this.sender?(this.iframe=$("#"+this.iframeid)[0],this.url=$$("a",{src:this.iframe.src}).host):"onmessage"in window||U.UF.EV.message.getDataAndCallBack()};U.UF.EV.message.callbacks=[];U.UF.EV.message.getDataAndCallBack=function(a){a="onmessage"in window?a.data:window.name;a=a.parseJSON();var b=U.UF.EV.message.callbacks[a[1]];b&&b.message(a[0],a[2])};U.UF.EV.message.prototype={message:function(a,b){U.UF.C.isFunction(this.fun)&&this.fun(a,b);if(this.Sender&&!("onmessage"in window)){var c=this.obj.contentWindow.document;c.open();c.write("");c.close()}},post:function(a,b,c){var d,e=U.UF.C.jsonToStr([a,b||this.id,c]);if("onmessage"in window){try{d=this.iframe.contentWindow||this.iframe}catch(f){d=this.iframe}d.postMessage(e,"*")}else this.Sender?(U.UF.DL.iframeLoad(this.iframe,U.UF.C.apply(this,function(){this.iframe.contentWindow.name=e;this.iframe.contentWindow.location.href=this.url;U.UF.DL.iframeLoad(this.iframe,U.UF.C.apply(this,function(){U.UF.EV.message.getDataAndCallBack()}))})),this.iframe.src="about:blank"):(window.name=e,window.src="about:blank")}};Namespace.register("U.UF.IMG");U.UF.IMG.Create=function(a,b,c,d){U.UF.EV.stopBubble();return(new U.UF.IMG.Create.init(a,b,c,d)).Create()};U.UF.IMG.Create.init=function(a,b,c,d){this.Iss;this.UIOD;this.BL;this.UIMG;this.W;this.h;this.R=0;this.I="number"==typeof b?b:0;this.cb=d;this.CTF=!0;this.AIMG=a;for(var e in c)c.hasOwnProperty(e)&&(this[e]=c[e])};U.UF.IMG.Create.init.prototype={ET:[],ImgT:function(a,b){var c,d,e,f,h,k,l=[["\u653e\u5927","UD_SYJDXB"],["\u7f29\u5c0f","UD_SYJDXS"],["\u5de6\u8f6c","UD_SYJDXL"],["\u53f3\u8f6c","UD_SYJDXR"]];if(d=$("#"+b)[0])f=$(d).childs(0)[0],f=$(f).Child()[2],f=$("img",f),$(d).Center(),f.length?(f=f[0],f.src=a.Thm):(e.innerHTML="",k=$$("div",{className:"UD_SYJZO"},e),f=$$("img",{onerror:function(){U.MD.C.imgError(this,1)},onselectstart:function(){},ondragstart:function(){},src:U.MD.C.getHeadImage(a.Thm)},k));else{d=$$("div",{className:"UD_SYJ UD_SYJO",id:b,onmousewheel:function(){U.UF.EV.stopBubble();this.Wheel(this)},__size__:"false",onmousedown:function(){U.UF.F.DragMouseDown(this)}});e=$$("div",{className:"UD_SYJA"},d);f=$$("div",{className:"UD_SYJD",onmousedown:U.UF.EV.stopBubble,onclick:U.UF.EV.stopBubble},e);f=$$("div",{className:"UD_SYJDX"},f);f=$$("div",{className:"UD_SYJDXS"},f);for(c=0;c<l.length;c++)h=$$("div",{className:"UD_SYJDXC",style:c?{}:{margin:"0px"},title:l[c][0],onclick:function(){1<c?this.Rotate:this.Zoom(1<c?2*(c-2)-1:c?"Out":"In",d,this)}},f),c?k=h:(k=$$("div",{},h),$$("div",{title:"\u56de\u5230\u539f\u56fe",innerHTML:"\x26nbsp; 100%",onclick:function(){this.Zoom(100,d,this)}},h)),$$("div",{className:"U_Boom_Img_ys2017 UD_SYJDXO "+l[c][1]},k),$$("div",{className:"UD_SYJDXT",title:"\u70b9\u51fb"+l[c][0],innerHTML:l[c][0]},k);$$("div",{className:"UD_SYJL UD_SYJLO U_Boom_Img_ys2017",onmousedown:U.UF.EV.stopBubble,onclick:U.UF.EV.stopBubble},e);k=$$("div",{className:"UD_SYJZ",onmousedown:U.UF.EV.stopBubble},e);$$("div",{className:"UD_SYJL UD_SYJRO U_Boom_Img_ys2017",onmousedown:U.UF.EV.stopBubble,onclick:U.UF.EV.stopBubble},e);k=$$("div",{className:"UD_SYJZO"},k);f=$$("img",{onerror:function(){U.MD.C.imgError(this,1)},onselectstart:function(){},ondragstart:function(){},src:U.MD.C.getHeadImage(a.Thm)},k);$$("div",{className:"U_Boom_Img_ys2017 UD_SYQC UD_SYQCT",style:{top:"0",right:"0"},title:"\u5173\u95ed",onmousedown:U.UF.EV.stopBubble,onclick:function(){this.Close(null,this)}},d);$(d).appendTo(this.parent||document.body).Center()}return[this.UIOD=d,this.UIMG=f]},Create:function(){if(this.AIMG){this.AIMG=null!=this.AIMG.length?this.AIMG:[this.AIMG];var a=this.AIMG[this.I],b=this.cb?this.cb(a):this.ImgT(a,"Usestudio_Img");this.R=0;this.Iss="false"==$(this.UIOD).attr("__size__");U.UF.IMG.imgReady(U.MD.C.getHeadImage(a.Img),function(){this.Ready(b[0],b[1],this,a)},function(){this.Load(b[0],b[1],this,a)},U.UF.C.apply(this,function(){this.Error(a.Img)}));return this}},XSI:function(a,b,c){b.CTF&&b.Close(a,b,c);b.CTF=!0},Wheel:function(a,b){b=event||b;a.Zoom(0<(b.wheelDelta?b.wheelDelta/120:-(b.detail||b.deltaY)/3)?"In":"Out",a.UIOD,a)},Change:function(a,b,c){a=b.I+a;b.I=a=0>a||a>=b.AIMG.length?0>a?b.AIMG.length-1:0:a;var d=$(b.UIMG).addAttrArray({src:b.AIMG[a].Thm,style:{filter:"alpha(opacity\x3d30)",MozOpacity:"0.3","Khtml-opacity":"0.3",opacity:"0.3"}});b.PJ("","",b.UIOD,b.UIMG);b.Rotate(b.R=0,b.UIOD,b);U.UF.IMG.imgReady(b.AIMG[a].Img,function(){b.Ready(b.UIOD,d[0],b)},function(){b.Load(b.UIOD,d[0],b)},U.UF.C.apply(this,function(){b.Error()}));c&&c()},Zoom:function(a,b,c){var d,e=$(this.UIMG);-1<"Out,In".indexOf(a)&&(a="Out"==a?.8*this.BL:this.BL/.8);c.W=c.W||e[0].width;c.H=c.H||e[0].height;this.BL=a=Math.max(Math.min(300,a),22);d=parseInt(a/100*c.H);a=parseInt(a/100*c.W);e.addAttrArray({style:{width:a+"px",height:d+"px"}});c.PJ(a,d,b,e[0]);U.UF.F.windowTopCenter(b)},PJ:function(a,b,c,d){d=$(d).Parent();d.style.height=b?b+"px":"";d.style.width=a?a+"px":"";this.Iss||(c.style.width=d.style.width);b&&$(d).css("marginTop",(0<(b=($(d).Parent().offsetHeight-b)/2)?b:0)+"px")},Rotate:function(a,b,c){var d=$(c.UIMG),e=d.Parent(),e=[e.offsetWidth,e.offsetHeight];a&&e.reverse();a=c.R+a;a=4<=a?0:a;a=0>a?3:a;c.R=a;e[2]=a%2?e[(a-1)/2]/2+"px":"center";d.addAttrArray({style:{filter:"Progid:DXImageTransform.Microsoft.BasicImage(Rotation\x3d"+a+")",transformOrigin:e[2]+" "+e[2],WebkitTransform:"rotate("+90*a+"deg)",MozTransform:"rotate("+90*a+"deg)",transform:"rotate("+90*a+"deg)",OTransform:"rotate("+90*a+"deg)"}});c.PJ(e[0],e[1],b,d[0]);U.UF.F.windowTopCenter(b)},MoveScroll:function(a,b){a.setCapture();document.onmousemove=function(){b.Move(a,event.clientX,event.clientY,[a.scrollTop,a.scrollLeft],b)};document.onmouseup=function(){b.Up(a)}},Move:function(a,b,c,d,e){e.CTF=!1;$(a).addAttrArray({scrollTop:d[0]-(event.clientY-c),scrollLeft:d[1]-(event.clientX-b)})},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\u7528\u6237\u56fe\u7247.jpg")},Close:function(a,b,c){U.UF.F.closeWindow(a||this.UIOD,c?"remove":!1);this.ET.splice(this.ET.indexOf(b),1)},Ready:function(a,b,c,d){if("none"==a.style.display||(!d||d.Thm!=b.src)&&d&&d.Thm)return!1;$[b,b.parentNode].addAttrArray({style:{width:this.width+"px",height:this.height+"px"}});c.W=this.width;c.H=this.height;c.PJ(c.W,c.H,a,b);U.UF.F.windowTopCenter(a);return!0},Load:function(a,b,c,d){this.src&&"none"!=a.style.display&&(d&&d.Thm==b.src||!d||!d.Thm)&&(d=$(b).Parent(),d=this.Iss?[d.offsetWidth,d.offsetHeight]:[US.width,US.height],$(b).addAttrArray({src:this.src,style:{MozOpacity:"1","Khtml-opacity":"1",opacity:"1",filter:"alpha(opacity\x3d100)"}}),c.W=this.width,c.H=this.height,a=$(a),c.Zoom(100*Math.min(Math.min(c.W,d[0])/this.width,Math.min(c.H,d[1])/this.height),a[0],c),a.Center())},Error:function(a,b){var c=this.UIMG;b=b||0;b++;3>b&&2==this.TF?U.UF.IMG.imgReady(a+"?\x26n\x3d"+b,function(){this.Ready(this.UIOD,c,this)},function(){this.Load(this.UIOD,c,this);U.UF.C.apply(this,function(){this.Error(a,b)})}):(U.Alert("\u56fe\u7247\u4e22\u5931"),$(c).css({width:"auto",height:"auto"}),U.MD.C.imgError(c,this.TF||1),this.Zoom(100,this.UIOD,this),U.UF.F.windowTopCenter(this.UIOD))}};U.UF.IMG.imgReady=function(a,b,c,d){var e,f,h=new Image;_UOR=function(){h=h||this;e=h.width;f=h.height;if(void 0!==e||void 0!==f||0!==f)b&&b.call(h),_UOR.end=!0};$(h).addAttrArray({src:a,onload:function(){setTimeout(function(){_UOR.end||_UOR();h&&(h.onload=h.onerror=null);h&&c&&c.call(h);h=null},0)},onerror:function(){U.UF.C.IsNetwork()&&d&&d.call(h)}});if(h&&(_UOR(),1==h.complete)){h.onload();return}_UOR.end||(U.UF.IMG.imgReady._UL.push(_UOR),null==U.UF.IMG.imgReady._UIT&&(U.UF.IMG.imgReady._UIT=setInterval(U.UF.IMG.imgReady._URT,40)));return h};U.UF.IMG.imgReady._UIT;U.UF.IMG.imgReady._UL=[];U.UF.IMG.imgReady._US=function(){clearInterval(U.UF.IMG.imgReady._UIT);U.UF.IMG.imgReady._UIT=null};U.UF.IMG.imgReady._URT=function(){for(var a=0;a<U.UF.IMG.imgReady._UL.length;a++)U.UF.IMG.imgReady._UL[a].end?U.UF.IMG.imgReady._UL.splice(a--,1):U.UF.IMG.imgReady._UL[a]();U.UF.IMG.imgReady._UL.length||U.UF.IMG.imgReady._US()};Namespace.register("U.Json");U.Json.init=function(){window.JSON||(window.JSON={stringify:U.Json.stringify,parse:U.Json.parse})};U.Json.stringify=function(a){return U.UF.C.jsonToStr(a)};U.Json.parse=function(a){return a.parseJSON()};U.Json.ifExists=function(a,b){if(b===a)return!0;for(var c in a)if(a[c]!=b[c])return!1;return!0};U.Json.add=function(a,b){var c;if(Array.isArray(a))for(c=0;c<a.length;c++)U.UF.C.AddObj(a[c],b);else for(c in b)a[c]=b[c];return a};U.Json.find=function(a,b,c){};U.Json.del=function(a,b,c){c=c||a;var d,e,f=[];if(Array.isArray(c))for(d=0;d<c.length;d++)e=U.Json.del(a,b,c[d]),e.length&&(c.splice(d,1),f=f.concat(e),d--);else if("object"==typeof c)if(U.Json.ifExists(b,c))delete c,f.push(c);else if(!0===b)for(d in c)e=U.Json.del(a,b,c[d]),f=f.concat(e);else b&&c[b]&&(e=U.Json.del(a,b,c[b]),f=c.concat(e));return f};U.Json.select=function(a,b,c){var d,e,f=[];if(Array.isArray(a)){for(d=0;d<a.length;d++){e=!0;for(var h in b)a[d][h]!=b[h]&&(e=!1);e&&f.push(a[d]);if(f.length==c)break}return f}};U.Json.selectOne=function(a,b){return U.Json.select(a,b,1)[0]};U.Json.sort=function(a,b,c){c=c||1;return a=a.sort(function(a,e){var d;d=U.UF.C.isObject(a)?(typeof(a[b]||e[b])).capitalizeFirstLetter():(typeof a).capitalizeFirstLetter();d="Number"==d?num1>num2:"Date"==d?U.UF.D.SizeComparison(date1,date2):"String"==d?1==str1.localeCompare(str2):!0;return d=c*(d?1:-1)})};U.Json.toKeyArray=function(a,b){var c,d=[];for(c=0;c<a.length;c++)d.push(a[c][b]);return d};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)};U.UF.Math.sequence=function(a,b,c,d){if(a){var e;return a=a.sort(function(a,h){return e=c(a[b],h[b])?-1*(d||1):1*(d||1)})}};U.UF.Math.floatOperate=function(a,b,c){a=[String(a),String(b)];for(b=0;2>b;b++)a[b+2]=a[b].length-a[b].indexOf(".")-1;b=Math.pow(10,Math.max(a[2],a[3]));return eval("0,"+a[0]*b+c+a[1]*b)/b};Namespace.register("U.UF.N");U.UF.N.goList={};U.UF.N.route=null;U.UF.N.createNav=function(a,b){var c=U.UF.N.goList;return c[a]&&!0!==b?c[a].context:new U.UF.N.initNav(a)};U.UF.N.initNav=function(a){this.cb=[];this.length=0;this.context=this;U.UF.N.goList[a]=this};U.UF.N.addEvent=function(a,b){U.UF.N.createNav(b).addHandleEvent(a);a()};U.UF.N.addHandleEvent=function(a){this.cb.splice(this.length,this.cb.length-this.length,a);this.length++};U.UF.N.handle=function(a){var b=this.cb[this.length-2*a];b&&(b(),this.length+=2*-a+1)};U.UF.N.backOff=function(a){U.UF.N.goList[a].context.handle(1)};U.UF.N.goAhead=function(a){U.UF.N.goList[a].context.handle(0)};U.UF.N.initNav.prototype={addEvent:U.UF.N.addEvent,addHandleEvent:U.UF.N.addHandleEvent,handle:U.UF.N.handle,backOff:U.UF.N.backOff,goAhead:U.UF.N.goAhead};U.UF.N.route=function(a){document.all&&!document.documentMode?setInterval(function(){U.UF.N.changeHashCallBack(a)},100):window.onhashchange=function(){U.UF.N.changeHashCallBack(a)}};U.UF.N.addHash=function(a){U.UF.N.setHash(a)};U.UF.N.setHash=function(a){location.hash=a};U.UF.N.getHash=function(){return location.hash?location.hash:""};U.UF.N.changeHashCallBack=function(a){var b=U.UF.N.getHash().substr("1");""!=b?a(b):""==b&&window.history.forward(1)};Namespace.register("U.UF.P");U.UF.P.PageNum=0;U.UF.P.Index=0;U.UF.P.Pageall=0;U.UF.P.PPage=function(a,b,c,d,e){a=$(a)[0];if(a.getElementsByClassName("UD_SYFY")[0])return!1;U.UF.P.PageNum=d;U.UF.P.Index=d-1;d=1;var f=Math.ceil(b/c);U.UF.P.Pageall=f;10<f&&(f=10);b=$$("div",{className:"UD_SYFY"},a);c=$$("div",{className:"UD_SYFYL"},b);$$("div",{className:"U_Boom_Img_ys2017 UD_SYFYLO",title:"\u9996\u9875",pid:"1",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},c);$$("div",{className:"U_Boom_Img_ys2017 UD_SYFYLT",title:"\u4e0a\u4e00\u9875",pid:"3",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},c);a=$$("div",{className:"UD_SYFYN",style:{cssText:"float:left"}},c);for(d;d<f+1;d++)$$("div",{className:"list",style:{"text-align":"center","line-height":"31px;"},innerHTML:d,pid:"5",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},a);$$("div",{className:"U_Boom_Img_ys2017 UD_SYFYLS",title:"\u4e0b\u4e00\u9875",pid:"4",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},c);$$("div",{className:"U_Boom_Img_ys2017 UD_SYFYLF",title:"\u5c3e\u9875",pid:"2",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},c);d=$$("div",{className:"UD_SYFYR"},b);b=$$("div",{className:"UD_SYFYRL"},d);$$("span",{innerHTML:"\u5230"},b);c=$$("div",{},b);$$("input",{className:"classinput",type:"text"},c);$$("span",{innerHTML:"\u9875"},b);$$("div",{className:"UD_SYFYRZ",pid:"6",innerHTML:"\u786e\u5b9a",onclick:function(){U.UF.P.FPage(this,U.UF.P.PageNum,f,e)}},d);if(U.UF.P.PageNum<f+1)for(d=$(".list"),b=1;b<d.length+1;b++)U.UF.P.PageNum==b&&(d[U.UF.P.PageNum-1].style.backgroundColor="#2d9bef");$(".classinput")[0].onkeyup=function(){if("13"==event.keyCode)$(".UD_SYFYRZ")[0].onclick()}};U.UF.P.FPage=function(a,b,c,d){for(var e=$(".list"),f=0;f<e.length;f++)e[f].style.backgroundColor="";1==a.pid?(0==U.UF.P.Index&&U.UF.P.Index++,1<b?(e[0].style.backgroundColor="#2d9bef",U.UF.P.Index=0,U.UF.P.PageNum=1,U.UF.P.Pagefun(U.UF.P.PageNum),d(U.UF.P.PageNum)):e[--U.UF.P.Index].style.backgroundColor="#2d9bef"):2==a.pid?b<U.UF.P.Pageall?(U.UF.P.Index=c,U.UF.P.PageNum=U.UF.P.Pageall,U.UF.P.Pagefun(U.UF.P.PageNum),d(U.UF.P.PageNum)):e[U.UF.P.Index].style.backgroundColor="#2d9bef":3==a.pid?0<U.UF.P.Index?(e[--U.UF.P.Index].style.backgroundColor="#2d9bef",U.UF.P.PageNum--,U.UF.P.Pagefun(U.UF.P.PageNum),d(U.UF.P.PageNum)):e[U.UF.P.Index].style.backgroundColor="#2d9bef":4==a.pid?U.UF.P.PageNum<U.UF.P.Pageall?(e[++U.UF.P.Index].style.backgroundColor="#2d9bef",U.UF.P.PageNum++,U.UF.P.Pagefun(U.UF.P.PageNum),d(U.UF.P.PageNum)):e[U.UF.P.Index].style.backgroundColor="#2d9bef":5==a.pid?(U.UF.P.Pagefun(a),d(U.UF.P.PageNum)):6==a.pid&&(a=$(".classinput")[0],a.value.match(/^[0-9]*$/)&&(1<=a.value&&a.value<=U.UF.P.Pageall?(U.UF.P.PageNum=a.value,U.UF.P.Pagefun(U.UF.P.PageNum),d(U.UF.P.PageNum)):(U.Alert("\u65e0\u6548\u7684\u8f93\u5165"),e[U.UF.P.Index].style.backgroundColor="#2d9bef")))};U.UF.P.Pagefun=function(a){var b=$(".list"),c=parseInt(a.innerHTML)||a;for(a=0;a<b.length;a++)b[a].style.backgroundColor="";a=Math.ceil(b.length/2);var d,e=null,f=parseInt($(".list")[$(".list").length-1].innerText);c<a||c>U.UF.P.Pageall-a&&c<=U.UF.P.Pageall?c>U.UF.P.Pageall-a&&c<=U.UF.P.Pageall?(e=U.UF.P.Pageall-c,[].__proto__.forEach.apply($(".list"),[function(a,b,c){a.innerText=U.UF.P.Pageall+1-c.length+b}])):c<a&&[].__proto__.forEach.apply($(".list"),[function(a,b,c){a.innerText=b+1}]):(e=c-parseInt(b[a-1].innerText),[].__proto__.forEach.apply($(".list"),[function(a,b,c){a.innerText=parseInt(a.innerText)+e}]),U.UF.P.Index=a-1);[].__proto__.forEach.apply(b,[function(a,b,e){parseInt(a.innerHTML)==c&&(d=b)}]);U.UF.P.Index=d;U.UF.P.PageNum=c;b[U.UF.P.Index].style.backgroundColor="#2d9bef"};Namespace.register("U.UF.QR");U.UF.QR.generate=function(a,b,c,d,e,f){f.innerHTML="";var h=new QRCode(f,{width:a,height:b,colorDark:c,colorLight:d,correctLevel:QRCode.CorrectLevel.H});U.UF.QR.makeCode=function(a){h.makeCode(a)};U.UF.QR.makeCode(e)};var QRCode;(function(){function a(a){this.mode=h.MODE_8BIT_BYTE;this.data=a;this.parsedData=[];a=0;for(var b=this.data.length;a<b;a++){var c=[],d=this.data.charCodeAt(a);65536<d?(c[0]=240|(d&1835008)>>>18,c[1]=128|(d&258048)>>>12,c[2]=128|(d&4032)>>>6,c[3]=128|d&63):2048<d?(c[0]=224|(d&61440)>>>12,c[1]=128|(d&4032)>>>6,c[2]=128|d&63):128<d?(c[0]=192|(d&1984)>>>6,c[1]=128|d&63):c[0]=d;this.parsedData.push(c)}this.parsedData=Array.prototype.concat.apply([],this.parsedData);this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function b(a,b){this.typeNumber=a;this.errorCorrectLevel=b;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function c(a,b){if(void 0==a.length)throw Error(a.length+"/"+b);for(var c=0;c<a.length&&0==a[c];)c++;this.num=Array(a.length-c+b);for(var d=0;d<a.length-c;d++)this.num[d]=a[d+c]}function d(a,b){this.totalCount=a;this.dataCount=b}function e(){this.buffer=[];this.length=0}function f(){var a=!1,b=navigator.userAgent;/android/i.test(b)&&(a=!0,(b=b.toString().match(/android ([0-9]\.[0-9])/i))&&b[1]&&(a=parseFloat(b[1])));return a}a.prototype={getLength:function(a){return this.parsedData.length},write:function(a){for(var b=0,c=this.parsedData.length;b<c;b++)a.put(this.parsedData[b],8)}};b.prototype={addData:function(b){b=new a(b);this.dataList.push(b);this.dataCache=null},isDark:function(a,b){if(0>a||this.moduleCount<=a||0>b||this.moduleCount<=b)throw Error(a+","+b);return this.modules[a][b]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17;this.modules=Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++){this.modules[d]=Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[d][e]=null}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(a,c);7<=this.typeNumber&&this.setupTypeNumber(a);null==this.dataCache&&(this.dataCache=b.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,b){for(var c=-1;7>=c;c++)if(!(-1>=a+c||this.moduleCount<=a+c))for(var d=-1;7>=d;d++)-1>=b+d||this.moduleCount<=b+d||(this.modules[a+c][b+d]=0<=c&&6>=c&&(0==d||6==d)||0<=d&&6>=d&&(0==c||6==c)||2<=c&&4>=c&&2<=d&&4>=d?!0:!1)},getBestMaskPattern:function(){for(var a=0,b=0,c=0;8>c;c++){this.makeImpl(!0,c);var d=l.getLostPoint(this);if(0==c||a>d)a=d,b=c}return b},createMovieClip:function(a,b,c){a=a.createEmptyMovieClip(b,c);this.make();for(b=0;b<this.modules.length;b++){c=1*b;for(var d=0;d<this.modules[b].length;d++){var e=1*d;this.modules[b][d]&&(a.beginFill(0,100),a.moveTo(e,c),a.lineTo(e+1,c),a.lineTo(e+1,c+1),a.lineTo(e,c+1),a.endFill())}}return a},setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(a=8;a<this.moduleCount-8;a++)null==this.modules[6][a]&&(this.modules[6][a]=0==a%2)},setupPositionAdjustPattern:function(){for(var a=l.getPatternPosition(this.typeNumber),b=0;b<a.length;b++)for(var c=0;c<a.length;c++){var d=a[b],e=a[c];if(null==this.modules[d][e])for(var f=-2;2>=f;f++)for(var h=-2;2>=h;h++)this.modules[d+f][e+h]=-2==f||2==f||-2==h||2==h||0==f&&0==h?!0:!1}},setupTypeNumber:function(a){for(var b=l.getBCHTypeNumber(this.typeNumber),c=0;18>c;c++){var d=!a&&1==(b>>c&1);this.modules[Math.floor(c/3)][c%3+this.moduleCount-8-3]=d}for(c=0;18>c;c++)d=!a&&1==(b>>c&1),this.modules[c%3+this.moduleCount-8-3][Math.floor(c/3)]=d},setupTypeInfo:function(a,b){for(var c=l.getBCHTypeInfo(this.errorCorrectLevel<<3|b),d=0;15>d;d++){var e=!a&&1==(c>>d&1);6>d?this.modules[d][8]=e:8>d?this.modules[d+1][8]=e:this.modules[this.moduleCount-15+d][8]=e}for(d=0;15>d;d++)e=!a&&1==(c>>d&1),8>d?this.modules[8][this.moduleCount-d-1]=e:9>d?this.modules[8][15-d-1+1]=e:this.modules[8][15-d-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,b){for(var c=-1,d=this.moduleCount-1,e=7,g=0,f=this.moduleCount-1;0<f;f-=2)for(6==f&&f--;;){for(var h=0;2>h;h++)if(null==this.modules[d][f-h]){var p=!1;g<a.length&&(p=1==(a[g]>>>e&1));l.getMask(b,d,f-h)&&(p=!p);this.modules[d][f-h]=p;e--; -1==e&&(g++,e=7)}d+=c;if(0>d||this.moduleCount<=d){d-=c;c=-c;break}}}};b.PAD0=236;b.PAD1=17;b.createData=function(a,c,f){c=d.getRSBlocks(a,c);for(var g=new e,h=0;h<f.length;h++){var p=f[h];g.put(p.mode,4);g.put(p.getLength(),l.getLengthInBits(p.mode,a));p.write(g)}for(h=a=0;h<c.length;h++)a+=c[h].dataCount;if(g.getLengthInBits()>8*a)throw Error("code length overflow. ("+g.getLengthInBits()+"\x3e"+8*a+")");for(g.getLengthInBits()+4<=8*a&&g.put(0,4);0!=g.getLengthInBits()%8;)g.putBit(!1);for(;!(g.getLengthInBits()>=8*a);){g.put(b.PAD0,8);if(g.getLengthInBits()>=8*a)break;g.put(b.PAD1,8)}return b.createBytes(g,c)};b.createBytes=function(a,b){for(var d=0,e=0,g=0,f=Array(b.length),h=Array(b.length),k=0;k<b.length;k++){var p=b[k].dataCount,n=b[k].totalCount-p,e=Math.max(e,p),g=Math.max(g,n);f[k]=Array(p);for(var m=0;m<f[k].length;m++)f[k][m]=255&a.buffer[m+d];d+=p;m=l.getErrorCorrectPolynomial(n);p=(new c(f[k],m.getLength()-1)).mod(m);h[k]=Array(m.getLength()-1);for(m=0;m<h[k].length;m++)n=m+p.getLength()-h[k].length,h[k][m]=0<=n?p.get(n):0}for(m=k=0;m<b.length;m++)k+=b[m].totalCount;d=Array(k);for(m=p=0;m<e;m++)for(k=0;k<b.length;k++)m<f[k].length&&(d[p++]=f[k][m]);for(m=0;m<g;m++)for(k=0;k<b.length;k++)m<h[k].length&&(d[p++]=h[k][m]);return d};for(var h={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},k={L:1,M:0,Q:3,H:2},l={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:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var b=a<<10;0<=l.getBCHDigit(b)-l.getBCHDigit(l.G15);)b^=l.G15<<l.getBCHDigit(b)-l.getBCHDigit(l.G15);return(a<<10|b)^l.G15_MASK},getBCHTypeNumber:function(a){for(var b=a<<12;0<=l.getBCHDigit(b)-l.getBCHDigit(l.G18);)b^=l.G18<<l.getBCHDigit(b)-l.getBCHDigit(l.G18);return a<<12|b},getBCHDigit:function(a){for(var b=0;0!=a;)b++,a>>>=1;return b},getPatternPosition:function(a){return l.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,b,c){switch(a){case 0:return 0==(b+c)%2;case 1:return 0==b%2;case 2:return 0==c%3;case 3:return 0==(b+c)%3;case 4:return 0==(Math.floor(b/2)+Math.floor(c/3))%2;case 5:return 0==b*c%2+b*c%3;case 6:return 0==(b*c%2+b*c%3)%2;case 7:return 0==(b*c%3+(b+c)%2)%2;default:throw Error("bad maskPattern:"+a);}},getErrorCorrectPolynomial:function(a){for(var b=new c([1],0),d=0;d<a;d++)b=b.multiply(new c([1,n.gexp(d)],0));return b},getLengthInBits:function(a,b){if(1<=b&&10>b)switch(a){case h.MODE_NUMBER:return 10;case h.MODE_ALPHA_NUM:return 9;case h.MODE_8BIT_BYTE:return 8;case h.MODE_KANJI:return 8;default:throw Error("mode:"+a);}else if(27>b)switch(a){case h.MODE_NUMBER:return 12;case h.MODE_ALPHA_NUM:return 11;case h.MODE_8BIT_BYTE:return 16;case h.MODE_KANJI:return 10;default:throw Error("mode:"+a);}else if(41>b)switch(a){case h.MODE_NUMBER:return 14;case h.MODE_ALPHA_NUM:return 13;case h.MODE_8BIT_BYTE:return 16;case h.MODE_KANJI:return 12;default:throw Error("mode:"+a);}else throw Error("type:"+b);},getLostPoint:function(a){for(var b=a.getModuleCount(),c=0,d=0;d<b;d++)for(var e=0;e<b;e++){for(var g=0,f=a.isDark(d,e),h=-1;1>=h;h++)if(!(0>d+h||b<=d+h))for(var k=-1;1>=k;k++)0>e+k||b<=e+k||0==h&&0==k||f!=a.isDark(d+h,e+k)||g++;5<g&&(c+=3+g-5)}for(d=0;d<b-1;d++)for(e=0;e<b-1;e++)if(g=0,a.isDark(d,e)&&g++,a.isDark(d+1,e)&&g++,a.isDark(d,e+1)&&g++,a.isDark(d+1,e+1)&&g++,0==g||4==g)c+=3;for(d=0;d<b;d++)for(e=0;e<b-6;e++)a.isDark(d,e)&&!a.isDark(d,e+1)&&a.isDark(d,e+2)&&a.isDark(d,e+3)&&a.isDark(d,e+4)&&!a.isDark(d,e+5)&&a.isDark(d,e+6)&&(c+=40);for(e=0;e<b;e++)for(d=0;d<b-6;d++)a.isDark(d,e)&&!a.isDark(d+1,e)&&a.isDark(d+2,e)&&a.isDark(d+3,e)&&a.isDark(d+4,e)&&!a.isDark(d+5,e)&&a.isDark(d+6,e)&&(c+=40);for(e=g=0;e<b;e++)for(d=0;d<b;d++)a.isDark(d,e)&&g++;return c+Math.abs(100*g/b/b-50)/5*10}},n={glog:function(a){if(1>a)throw Error("glog("+a+")");return n.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return n.EXP_TABLE[a]},EXP_TABLE:Array(256),LOG_TABLE:Array(256)},m=0;8>m;m++)n.EXP_TABLE[m]=1<<m;for(m=8;256>m;m++)n.EXP_TABLE[m]=n.EXP_TABLE[m-4]^n.EXP_TABLE[m-5]^n.EXP_TABLE[m-6]^n.EXP_TABLE[m-8];for(m=0;255>m;m++)n.LOG_TABLE[n.EXP_TABLE[m]]=m;c.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var b=Array(this.getLength()+a.getLength()-1),d=0;d<this.getLength();d++)for(var e=0;e<a.getLength();e++)b[d+e]^=n.gexp(n.glog(this.get(d))+n.glog(a.get(e)));return new c(b,0)},mod:function(a){if(0>this.getLength()-a.getLength())return this;for(var b=n.glog(this.get(0))-n.glog(a.get(0)),d=Array(this.getLength()),e=0;e<this.getLength();e++)d[e]=this.get(e);for(e=0;e<a.getLength();e++)d[e]^=n.gexp(n.glog(a.get(e))+b);return(new c(d,0)).mod(a)}};d.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]];d.getRSBlocks=function(a,b){var c=d.getRsBlockTable(a,b);if(void 0==c)throw Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+b);for(var e=c.length/3,g=[],f=0;f<e;f++)for(var h=c[3*f+0],k=c[3*f+1],l=c[3*f+2],n=0;n<h;n++)g.push(new d(k,l));return g};d.getRsBlockTable=function(a,b){switch(b){case k.L:return d.RS_BLOCK_TABLE[4*(a-1)+0];case k.M:return d.RS_BLOCK_TABLE[4*(a-1)+1];case k.Q:return d.RS_BLOCK_TABLE[4*(a-1)+2];case k.H:return d.RS_BLOCK_TABLE[4*(a-1)+3]}};e.prototype={get:function(a){return 1==(this.buffer[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,b){for(var c=0;c<b;c++)this.putBit(1==(a>>>b-c-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var b=Math.floor(this.length/8);this.buffer.length<=b&&this.buffer.push(0);a&&(this.buffer[b]|=128>>>this.length%8);this.length++}};var u=[[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]],t=function(){var a=function(a,b){this._el=a;this._htOption=b};a.prototype.draw=function(a){function b(a,b){var c=document.createElementNS("http://www.w3.org/2000/svg",a),d;for(d in b)b.hasOwnProperty(d)&&c.setAttribute(d,b[d]);return c}var c=this._htOption,d=this._el,e=a.getModuleCount();this.clear();var f=b("svg",{viewBox:"0 0 "+String(e)+" "+String(e),width:"100%",height:"100%",fill:c.colorLight});f.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink");d.appendChild(f);f.appendChild(b("rect",{fill:c.colorLight,width:"100%",height:"100%"}));f.appendChild(b("rect",{fill:c.colorDark,width:"1",height:"1",id:"template"}));for(c=0;c<e;c++)for(d=0;d<e;d++)if(a.isDark(c,d)){var g=b("use",{x:String(d),y:String(c)});g.setAttributeNS("http://www.w3.org/1999/xlink","href","#template");f.appendChild(g)}};a.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)};return a}(),q="svg"===document.documentElement.tagName.toLowerCase()?t:"undefined"==typeof CanvasRenderingContext2D?function(){var a=function(a,b){this._el=a;this._htOption=b};a.prototype.draw=function(a){for(var b=this._htOption,c=this._el,d=a.getModuleCount(),e=Math.floor(b.width/d),f=Math.floor(b.height/d),g=['\x3ctable style\x3d"border:0;border-collapse:collapse;"\x3e'],h=0;h<d;h++){g.push("\x3ctr\x3e");for(var k=0;k<d;k++)g.push('\x3ctd style\x3d"border:0;border-collapse:collapse;padding:0;margin:0;width:'+e+"px;height:"+f+"px;background-color:"+(a.isDark(h,k)?b.colorDark:b.colorLight)+';"\x3e\x3c/td\x3e');g.push("\x3c/tr\x3e")}g.push("\x3c/table\x3e");c.innerHTML=g.join("");a=c.childNodes[0];c=(b.width-a.offsetWidth)/2;b=(b.height-a.offsetHeight)/2;0<c&&0<b&&(a.style.margin=b+"px "+c+"px")};a.prototype.clear=function(){this._el.innerHTML=""};return a}():function(){function a(){this._elImage.src=this._elCanvas.toDataURL("image/png");this._elImage.style.display="block";this._elCanvas.style.display="none"}function b(a,b){var c=this;c._fFail=b;c._fSuccess=a;if(null===c._bSupportDataURI){var d=document.createElement("img"),e=function(){c._bSupportDataURI=!1;c._fFail&&c._fFail.call(c)};d.onabort=e;d.onerror=e;d.onload=function(){c._bSupportDataURI=!0;c._fSuccess&&c._fSuccess.call(c)};d.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg\x3d\x3d"}else!0===c._bSupportDataURI&&c._fSuccess?c._fSuccess.call(c):!1===c._bSupportDataURI&&c._fFail&&c._fFail.call(c)}if(this._android&&2.1>=this._android){var c=1/window.devicePixelRatio,d=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(a,b,e,f,g,h,k,l,n){if("nodeName"in a&&/img/i.test(a.nodeName))for(var m=arguments.length-1;1<=m;m--)arguments[m]*=c;else"undefined"==typeof l&&(arguments[1]*=c,arguments[2]*=c,arguments[3]*=c,arguments[4]*=c);d.apply(this,arguments)}}var e=function(a,b){this._bIsPainted=!1;this._android=f();this._htOption=b;this._elCanvas=document.createElement("canvas");this._elCanvas.width=b.width;this._elCanvas.height=b.height;a.appendChild(this._elCanvas);this._el=a;this._oContext=this._elCanvas.getContext("2d");this._bIsPainted=!1;this._elImage=document.createElement("img");this._elImage.alt="Scan me!";this._elImage.style.display="none";this._el.appendChild(this._elImage);this._bSupportDataURI=null};e.prototype.draw=function(a){var b=this._elImage,c=this._oContext,d=this._htOption,e=a.getModuleCount(),f=d.width/e,g=d.height/e,h=Math.round(f),k=Math.round(g);b.style.display="none";this.clear();for(b=0;b<e;b++)for(var l=0;l<e;l++){var n=a.isDark(b,l),m=l*f,p=b*g;c.strokeStyle=n?d.colorDark:d.colorLight;c.lineWidth=1;c.fillStyle=n?d.colorDark:d.colorLight;c.fillRect(m,p,f,g);c.strokeRect(Math.floor(m)+.5,Math.floor(p)+.5,h,k);c.strokeRect(Math.ceil(m)-.5,Math.ceil(p)-.5,h,k)}this._bIsPainted=!0};e.prototype.makeImage=function(){this._bIsPainted&&b.call(this,a)};e.prototype.isPainted=function(){return this._bIsPainted};e.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height);this._bIsPainted=!1};e.prototype.round=function(a){return a?Math.floor(1E3*a)/1E3:a};return e}();QRCode=function(a,b){this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:k.H};"string"===typeof b&&(b={text:b});if(b)for(var c in b)this._htOption[c]=b[c];"string"==typeof a&&(a=document.getElementById(a));this._htOption.useSVG&&(q=t);this._android=f();this._el=a;this._oQRCode=null;this._oDrawing=new q(this._el,this._htOption);this._htOption.text&&this.makeCode(this._htOption.text)};QRCode.prototype.makeCode=function(a){var c=this._htOption.correctLevel,d=1,e;e=encodeURI(a).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");e=e.length+(e.length!=a?3:0);for(var f=0,g=u.length;f<=g;f++){var h=0;switch(c){case k.L:h=u[f][0];break;case k.M:h=u[f][1];break;case k.Q:h=u[f][2];break;case k.H:h=u[f][3]}if(e<=h)break;else d++}if(d>u.length)throw Error("Too long data");this._oQRCode=new b(d,this._htOption.correctLevel);this._oQRCode.addData(a);this._oQRCode.make();this._el.title=a;this._oDrawing.draw(this._oQRCode);this.makeImage()};QRCode.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||3<=this._android)&&this._oDrawing.makeImage()};QRCode.prototype.clear=function(){this._oDrawing.clear()};QRCode.CorrectLevel=k})();U.quickCreate=window.$$=function(a,b,c,d){var e={frag:"createDocumentFragment",text:"createTextNode"};a=e[a]?document[e[a]]():document.createElement(a);b&&$(a).addAttrArray(b);c&&(d?c.insertBefore(a,d):c.appendChild(a));return a};$=function(a,b){return new U.select(a,b)};U.select=function(a,b){this.length=0;this.context=b||document;this.select(a,b)};U.select.EVENTS=[];U.select.prototype={select:function(a,b){var c;if(U.UF.C.isString(a)){var d=a.substring(0,1),e=a.substring(1,a.length),f=b||document;try{switch(d){case "#":f==document&&U.UF.S.EN.test(e)&&(c=document.getElementById(e));break;case ".":U.UF.S.EN.test(e)&&(c=f.getElementsByClassName(e));break;case "*":U.UF.S.EN.test(e)?(c=document[e])||(c="msie"==U.UF.CI.getBrowser().browser?document.getElementById(e):document.embeds[e]):c=f.getElementsByTagName("*");break;default:U.UF.S.EN.test(a)&&(c=f.getElementsByTagName(a))}}catch(h){}null==c&&(c=U.UF.CP.SelectorElement(a,f))}else a&&(c=a);c&&this.addElement(c);return this},addElement:function(a){if(U.UF.C.isElement(a)||null==a.length)a=[a];for(var b=0;b<a.length;b++)this[b]=a[b],a[b].id&&(this[a[b].id]=a[b]),this.length++},find:function(a,b){for(var c=b||0,d=b+1||this.length,e=new U.select;c<d;c++)e.select(a,this[c]);return e},prev:function(a){for(var b=[],c=a||0,d=a+1||this.length,e=new U.select;c<d;c++){if(a=this[c]){do a=a.previousSibling;while(a&&1!==a.nodeType)}a&&b.push(a)}e.addElement(b);return e},next:function(a){for(var b=[],c=a||0,d=a+1||this.length,e=new U.select;c<d;c++){if(a=this[c]){do a=a.nextSibling;while(a&&1!==a.nodeType)}a&&b.push(a)}e.addElement(b);return e},Nodes:function(a){a=a||0;this[a]&&this[a].childNodes},Child:function(a){a=a||0;if(this[a])return U.UF.EL.getChildrenNoText(this[a].childNodes)},Parent:function(a){var b,c=this[0];a=a||1;if(U.UF.C.isNumber(a))for(i=0;i<a;i++)c&&(c=c.parentNode);else a:for(;c&&c!=document;){b=!0;for(i in a)if(a[i]!=c[i]&&c.getAttribute(i)!=a[i]){b=!1;break}if(b)break a;else c=c.parentNode}return c},childs:function(a){return new U.select(this.Child(a))},parentElement:function(a,b){return new U.select(this.Parent(a,b))},clone:function(a,b){for(var c=b||0,d=[],e=c+1||this.length;c<e;c++)d.push(this[c].cloneNode(a));return new U.select(d)},appendTo:function(a,b,c){var d=b||0;for(b=b+1||this.length;d<b;d++)c?a.insertBefore(this[d],c):a.appendChild(this[d]);return this},append:function(a,b,c){b=b||0;c?this[b].insertBefore(a,c):this[b].appendChild(a);return this},remove:function(a){var b=a=a||0;for(a=a+1||this.length;b<a;b++)this[b]&&this[b].parentNode&&this[b].parentNode.removeChild(this[b]);return this},Center:function(a){var b=a||0;for(a=a+1||this.length;b<a;b++)U.UF.F.windowTopCenter(this[b]);return this},getElementInfo:function(a){return U.UF.EL.getElementInfo(this[a||0])},css:function(a,b,c){var d=c||0;c=c+1||this.length;if(U.UF.C.isObject(a))this.addAttrArray({style:a},b);else if(null!=b)for(d;d<c;d++)a=U.UF.EL.styleConversion(a),this[d].style[a]=b;else return U.UF.EL.getStyle(this[d],a);return this},addClass:function(a,b){for(var c=b||0,d=b+1||this.length;c<d;c++)U.UF.EL.addClass(this[c],a);return this},removeClass:function(a,b){for(var c=b||0,d=b+1||this.length;c<d;c++)U.UF.EL.removeClass(this[c],a);return this},hasClass:function(a,b){return U.UF.EL.isHasClass(this[b||0],a)},attr:function(a,b,c){var d,e;if(U.UF.C.isObject(a))for(e=b||0,c=b+1||this.length;e<c;e++)for(d in a)U.UF.EL.addAttributes(this[e],d,a[d]);else if(null!=b)for(e=c||0,c=c+1||this.length,e;e<c;e++)U.UF.EL.addAttributes(this[e],a,b);else return this[c||0].getAttribute(a);return this},rmAttr:function(a,b){U.UF.EL.delAttributes(this[b||0],a);return this},addAttrArray:function(a,b){for(var c,d,e,f="",h=b||0,k=b+1||this.length;h<k;h++)for(c in a)if("style"==c){for(d in a[c])e=U.UF.EL.styleConversion(d,!0),"css-text"==e?this[h][c].cssText=a[c][d]:d in this[h][c]?f+=e+":"+a[c][d]+";":this[h][c][d]=a[c][d];this[h][c].cssText+=";"+f}else if(0==c.indexOf("on")&&U.UF.C.isString(a[c]))this[h][c]=new Function(a[c]);else{if(U.UF.C.isString(a[c])&&U.UF.EL.isCustomAttributes(this[h],c))try{this[h].setAttribute(c,a[c])}catch(l){}this[h][c]=a[c]}return this},hide:function(a){this.css({display:"none"},a)},show:function(a){this.css({display:"block"},a)},width:function(){return U.UF.EL.getElementRealWidth(this[0])},height:function(){return U.UF.EL.getElementRealHeight(this[0])},mouseenter:function(a,b){this.addAttrArray({onmouseover:function(){U.UF.EV.stopBubbleMouseOutOrOver(this,a)}},b);return this},mouseleave:function(a,b){this.addAttrArray({onmouseout:function(){U.UF.EV.stopBubbleMouseOutOrOver(this,a)}},b);return this},gt:function(a){for(var b=[],c=new U.select;a<this.length;a++)b.push(this[a]);c.addElement(b);return c},lt:function(a){for(var b=0,c=[];b<a;b++)c.push(this[b]);return new U.select(c)},bind:function(a,b,c){var d,e;if(U.UF.C.isObject(a))for(e=b||0,c=b+1||this.length;e<c;e++)for(d in a)U.UF.EV.addElementEvent(d,this[e],a[d]),U.select.EVENTS.push({element:this[e],event:d,fun:a[d]});else if(null!=b)for(e=c||0,c=c+1||this.length,e;e<c;e++)U.UF.EV.addElementEvent(a,this[e],b),U.select.EVENTS.push({element:this[e],event:a,fun:b});return this},unbind:function(a,b,c){var d,e,f;if(U.UF.C.isObject(a))for(e=b||0,f=b+1||this.length;e<f;e++)for(d in a)for(U.UF.EV.delElementEvent(d,this[e],a[d]),c=0;c<U.select.EVENTS.length;c++)U.select.EVENTS[c].element==this[e]&&U.select.EVENTS[c].event==d&&U.select.EVENTS[c].fun==a[d]&&(U.select.EVENTS.splice(c,1),c--);else if(null!=a)for(e=c||0,f=c+1||this.length,e;e<f;e++)for(c=0;c<U.select.EVENTS.length;c++)U.select.EVENTS[c].element!=this[e]||U.select.EVENTS[c].event!=a||null!=b&&U.select.EVENTS[c].fun!=b||(U.UF.EV.delElementEvent(a,this[e],U.select.EVENTS[c].fun),U.select.EVENTS.splice(c,1),c--);else for(e=c||0,f=c+1||this.length,e;e<f;e++)for(c=0;c<U.select.EVENTS.length;c++)U.select.EVENTS[c].element==this[e]&&(U.UF.EV.delElementEvent(U.select.EVENTS[c].event,this[e],U.select.EVENTS[c].fun),U.select.EVENTS.splice(c,1),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.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.C.String={escapeQuotes:function(){return this.replace(/'/ig,"\\'").replace(/"/ig,'\\"')},count:function(){return this.substrU()},substrU:function(a,b){var c,d,e=0,f="";null==b&&null!=a&&(b=a,a=0);d=null==a&&null==b;for(c=0;c<this.length;c++)if(e+=255>this.charCodeAt(c)?1:2,!(e<a))if(e<=b||d)f+=this.charAt(c);else break;return d?e:f},isStrNull:function(){return""==this.trim()},replaceRnToBr:function(){return this.replace(/\r\n/g,"\x3cbr /\x3e")},replaceBrToRn:function(){return this.replace(/<(BR)[^<>]*>/ig,"\r\n")},removeP:function(){return this.replace(/<(p)[^<>]*>/ig,"")},removeBr:function(){return this.replace(/<(BR)[^<>]*>/ig,"")},removeRn:function(){return this.replace(/\r\n/g,"")},replaceBrAndBlank:function(){return this.replaceBrToRn().replace(/ /g,"")},isHtmlNull:function(){return""!=this.removeBr().removeP().trim()},replaceLtAndGt:function(){return this.replace(/</g,"\x3c").replace(/>/g,"\x3e")},replaceAngleBrackets:function(){return this.replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;")},replaceHtmlSign:function(){return this.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/'/g,"\x26#39;").replace(/"/g,"\x26quot;")},replaceDoubleToAngleBrackets:function(){return this.replace(/\\u300a/g,"\x3c").replace(/\\u300b/g,"\x3e")},replaceAngleToDoubleBrackets:function(){return this.replace(/\</g,"\u300a").replace(/\>/g,"\u300b")},trim:function(a){return this.replace(/\\u3000|\ |\s+|\n|\r|\t/g,a||"")},lTrim:function(){return this.replace(/(^\s*)/g,"")},rTrim:function(){return this.replace(/(\s*$)/g,"")},addPreSpace:function(a){var b,c="";for(b=0;b<a;b++)c+=" ";return c+this},insertString:function(a,b){var c=this.substr(0,b),d=this.substr(b,this.length);return c+a+d},addEllipsis:function(a){a=this.substrU(0,a);a!=this&&(a+="...");return a.valueOf()},toInt:function(){var a=this.valueOf(),b=a.match(/^(-|\+)?\d+/g);return b&&1==b.length?Number(b[0]):a},replaceStr:function(a,b){return this.replace(new RegExp(a,"gm"),b)},parseJSON:function(){var a=null;try{a=eval("0,("+this+")")}catch(b){}return(null==a?this:a).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(){return this.match(/(<(.[^>]*)>)|((|>)[^\<]*[^\<^\s])/g)},htmlToText:function(){return String(this).replace(/(<(.[^>]*)>)/g,"")},htmlToTextRn:function(){return this.replace(/(<(.[^>]*)>)/g,function(a){return/(<\/(div|DIV|p|P)([|^>]*)>)|<(BR)[^<>]*>/ig.test(a)?"\r\n":""})}};U.UF.C.Number={formatMoney:function(){for(var a,b=[],c=this.toString();c;)a=c.length-3,b.unshift(c.substr(0>a?0:a)),c=c.substr(0,a);return b.join(",")},prefixInteger:function(a){return(10>this?"0"+this:this).valueOf()},toRadians:function(){return this*Math.PI/180}};Array.isArray=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};U.UF.C.Array={indexOf:Array.prototype.indexOf||function(a,b){for(var c=b||0;c<this.length;c++)if(this[c]==a)return c;return-1},objIndexOf:function(a){var b,c,d;for(b=0;b<this.length;b++){d=!1;for(c in a)if(this[b][c]==a[c])d=!0;else{d=!1;break}if(d)return b}return-1},unique:function(){for(var a=[],b={},c=0;c<this.length;c++)b[this[c]]||(a.push(this[c]),b[this[c]]=!0);return a},forEach:Array.prototype.forEach||function(a,b){for(var c=0,d=this.length;c<d;)a.call(b,this[c],c,this),c++},every:Array.prototype.every||function(a,b){for(var c=0,d,e=this.length;c<e;){d=a.call(b,this[c],c,this);if(0==d)return d;c++}return!0},some:Array.prototype.some||function(a,b){for(var c=Object(this),d=c.length,e=0;e<d;e++)if(e in c&&a.call(b,c[e],e,c))return!0;return!1},map:Array.prototype.map||function(a,b){var c=0,d=this.length,e=[];if("function"!=typeof a)throw new TypeError;for(;c<d;)c in this&&e.push(a.call(b,this[c],c,this)),c++;return e},filter:Array.prototype.filter||function(a,b){var c=0,d=this.length,e=[];if("function"!=typeof a)throw new TypeError;for(;c<d;)c in this&&a.call(b,this[c],c,this)&&e.push(this[c]),c++;return e},findIndex:Array.prototype.findIndex||function(a){var b=0,c=this.length;if("function"!=typeof a)throw new TypeError;for(;b<c;){if(a(this[b],b,this))return b;b++}return-1},lastIndexOf:Array.prototype.lastIndexOf||function(a,b){var c,d=Object(this),e=d.length;if(0===e)return-1;c=e-1;1<arguments.length&&(c=Number(arguments[1]),c!=c?c=0:0!=c&&c!=1/0&&c!=-(1/0)&&(c=(0<c||-1)*Math.floor(Math.abs(c))));for(c=0<=c?Math.min(c,e-1):e-Math.abs(c);0<=c;c--)if(c in d&&d[c]===a)return c;return-1},fill:Array.prototype.fill||function(a,b,c){var d=Object(this),e=d.length;b=0>b?Math.max(e+b,0):Math.min(b,e);c=void 0===c?e:c;for(e=0>c?Math.max(e+c,0):Math.min(c,e);b<e;)d[b]=a,b++;return d},copyWithin:Array.prototype.copyWithin||function(a,b,c){var d=Object(this),e=d.length;a=0>a?Math.max(e+a,0):Math.min(a,e);b=0>b?Math.max(e+b,0):Math.min(b,e);c=void 0===c?e:c>>0;e=Math.min((0>c?Math.max(e+c,0):Math.min(c,e))-b,e-a);c=1;b<a&&a<b+e&&(c=-1,b+=e-1,a+=e-1);for(;0<e;)b in d?d[a]=d[b]:delete d[a],b+=c,a+=c,e--;return d},deepCopy:function(){var a,b=[];for(a=0;a<this.length;a++)Array.isArray(this[a])?b[a]=this[a].deepCopy(this[a]):b[a]=this[a];return b}};window.Guid=U.UF.C.Guid={newGuid:function(){var a,b,c="";for(b=0;32>b;b++)c+=Math.floor(16*Math.random()).toString(16),a=Math.floor((b-7)/4),-1<a&&4>a&&b==7+4*a&&(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.UP");U.UF.UP.upload=function(a,b,c,d){};U.UF.UP.uploading=function(a,b,c,d){var e,f=document.body,h=Guid.guidNoDash();e=$$("iframe",{id:h,name:h,width:0,height:0,style:{display:"none"},frameBorder:0},f);U.UF.C.iframeSameDomain(e,a,function(){U.UF.UP.inputUpload.submit(e,a,b,c,d,h)})};U.UF.UP.inputUpload=function(a,b,c,d){U.UF.UP.uploading(a,c,d,b)};U.UF.UP.inputUpload.submit=function(a,b,c,d,e,f){var h;a.contentWindow.name=f;US&&US.userInfo&&US.userInfo.UserId&&(e=e+"?UserId\x3d"+(US.userInfo.UserId||US.userInfo.UserId));h=$$("form",{action:e,target:f,encoding:"multipart/form-data",enctype:"multipart/form-data",method:"post",name:"loading",style:{display:"none"}},document.body);for(e=0;e<b.length;e++)b[e].name=b[e].name||b[e].id||Guid.newGuid(),f=b[e].cloneNode(),f.outerHTML+="",f.value="",b[e].parentNode.replaceChild(f,b[e]),h.appendChild(b[e]);U.UF.DL.iframeLoad(a,function(){$(h).remove();U.UF.UP.inputUpload.asyn(a,b,c,d)});h.submit()};U.UF.UP.inputUpload.asyn=function(a,b,c,d){"msie"!=U.UF.CI.getBrowser().browser?(a.src="about:blank",setTimeout(function(){U.UF.UP.inputUpload.callback(a,b,c,d)},0)):U.UF.UP.inputUpload.callback(a,b,c,d)};U.UF.UP.inputUpload.callback=function(a,b,c,d){var e=U.UF.UP.inputUpload.getData(a);$(a).remove();U.UF.C.isFunction(c)&&c({value:e,context:d,inputs:b})};U.UF.UP.inputUpload.getData=function(a){var b=null;try{b=a.contentWindow.document.body.innerHTML}catch(c){}if(!b)try{b=a.contentWindow.name!=a.id?a.contentWindow.name:""}catch(c){}null==b?U.Alert("\u670d\u52a1\u5668\u5904\u7406\u7e41\u5fd9\uff0c\u4e0a\u4f20\u5931\u8d25"):b=U.UF.C.toJson(b);return b};U.UF.UP.html5Upload=function(a,b,c,d){};U.UF.UP.flashbottom={};U.UF.UP.addFlashUploadBottom=function(a,b,c,d,e){var f;f=$("object",a)[0];_name=b||Guid.newGuid();f||(f=$$("div",{innerHTML:"\x3cobject classid\x3d'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' class\x3d'UD_filePrew' width\x3d'"+c.width+"' height\x3d'"+c.height+"' id\x3d'"+_name+"' codebase\x3d'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version\x3d10,0,0,0'\x3e\x3cparam name\x3d'movie' value\x3d'http://www.1473.cn/img/upload.swf' /\x3e\x3cparam name\x3d'menu' value\x3d'false' /\x3e\x3cparam name\x3d'wmode' value\x3d'Opaque' /\x3e\x3cparam name\x3d'quality' value\x3d'high' /\x3e\x3cparam name\x3d'bgcolor' value\x3d'ffffff' /\x3e\x3cparam name\x3d'allowScriptAccess' value\x3d'always' /\x3e\x3cembed src\x3d'http://www.1473.cn/img/upload.swf' quality\x3d'high' bgcolor\x3d'ffffff' width\x3d'"+c.width+"' height\x3d'"+c.height+"' name\x3d'"+_name+"' align\x3d'middle' play\x3d'true' wmode\x3d'transparent' loop\x3d'false' quality\x3d'high' style\x3d'z-index: 0;' allowScriptAccess\x3d'always' type\x3d'application/x-shockwave-flash' pluginspage\x3d'http://www.adobe.com/go/getflashplayer'\x3e\x3c/embed\x3e\x3c/object\x3e"}),f=f.firstChild,a.insertBefore(f,a.firstChild),U.UF.UP.flashbottom[b]={uploadtype:e||"*",flashbottom:$("*"+b,a)[0],style:c||{},callback:d||{}});return f};U.UF.UP.flashLoad=function(){var a,b=U.UF.UP.flashbottom;for(a in b)b[a].flashbottom.setUploadStyle&&b[a].flashbottom.setUploadStyle(a,b[a].style,{},b[a].uploadtype)};U.UF.UP.error=function(a){U.Alert(a)};U.UF.UP.select=function(a,b){U.UF.UP.flashbottom[a].callback.select(b)};U.UF.UP.generateFileHash=function(a,b,c,d){a.generateFileHash(b,0,0)};U.UF.UP.getHashCallBack=function(a,b,c){U.UF.UP.flashbottom[b].callback.getHashCallBack(a,c)};U.UF.UP.progress=function(a,b,c,d){U.UF.UP.flashbottom[b].callback.progress(a,c,d)};U.UF.UP.flashUpload=function(a,b,c,d,e){a.upload(c,b,d,e)};U.UF.UP.uploadComplete=function(a,b,c){U.UF.UP.flashbottom[b].callback.uploadComplete(a,c)};U.UF.UP.getData=function(a,b,c){U.UF.UP.flashbottom[b].callback.getData(a,c)};U.UF.UP.endUpload=function(a){U.UF.UP.flashbottom[a].callback.endUpload()};U.UF.UP.deleteUploadFile=function(a,b,c){a.deleteUploadFile(b,c)};U.UF.UP.deleteReferenceFile=function(a,b){a.deleteReferenceFile(b)};U.UF.UP.deleteUploadAllFile=function(a){a.deleteUploadAllFile()};U.UF.UP.download=function(a,b,c){a=$$("input",{type:"text",value:a,name:"filename"});b=$$("input",{type:"text",value:b,name:"filepath"});U.UF.UP.inputUpload([a,b],c)};U.UF.UP.getFileNameAndExtension=function(a){a=a.toLocaleLowerCase();var b=a.lastIndexOf("."),c=a.substr(a.lastIndexOf("\\")+1,b);a=a.substr(b+1);return[c,a]};U.UF.UP.isImg=function(a){a=U.UF.UP.getFileNameAndExtension(a)[1];return-1<["jpg","gif","png","bmp","jpeg"].indexOf(a)};U.UF.UP.minUnitToMaxUnit=function(a){var b=["B","KB","M","G","TB"],c=(a+"").replace(U.UF.S.Num,""),c=0>b.indexOf(c)?0:b.indexOf(c);for(a=parseFloat(a);1024<a;)a/=1024,c++;return a.toFixed(2)+b[c]};U.UF.UP.maxUnitToByte=function(a){var b=(a+"").replace(U.UF.S.Num,""),b=["B","KB","M","G","TB"].indexOf(b),b=0>b?0:b;return parseFloat(a)*Math.pow(1024,b)};Namespace.register("U.UF.UI");U.UF.UI.form=function(a,b,c,d,e,f,h,k){var l=this;c&&U.UF.UI.form.allForm[c.id]?l=U.UF.UI.form.allForm[c.id]:(this.id=c&&c.id?c.id:Guid.newGuid(),U.UF.UI.form.allForm[this.id]=this);l.form;l.header;l.middle;l.title=a;l.content=b;l.formattr=c;l.headattr=e;l.contentattr=f;l.headbottomattr=h;null==d&&(d={});l.istop=!1;null!=d.istop&&(l.istop=d.istop);l.isdrag=!0;null!=d.isdrag&&(l.isdrag=d.isdrag);l.isstretching=!0;null!=d.isstretching&&(l.isstretching=d.isstretching);l.isenlarge=!0;null!=d.isenlarge&&(l.isenlarge=d.isenlarge);l.isnarrow=!0;null!=d.isnarrow&&(l.isnarrow=d.isnarrow);l.isclose=!0;null!=d.isclose&&(l.isclose=d.isclose);l.parentel=k||document.body;l.create();return l};U.UF.UI.form.allForm={};U.UF.UI.form.prototype={create:function(){var a,b,c,d,e,f,h,k,l;e=this.formattr||{};var n=this.headattr||{};f=this.contentattr||{};var m=U.UF.UI.form.allForm[e.id]?U.UF.UI.form.allForm[e.id].form:null;e.style?(e.style.cssText=e.style.cssText||"",e.style.cssText="width: 70%; position: absolute; border: 1px solid #444; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden; -moz-box-shadow:0 0 30px 5px #555; -webkit-box-shadow:0 0 30px 5px #555; box-shadow:0 0 30px 5px #555; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px;"+e.style.cssText):e.style={cssText:"width: 70%; position: absolute; border: 1px solid #444; background-color: #fff; z-index: 10; border-radius: 1px; overflow: hidden; -moz-box-shadow:0 0 30px 5px #555; -webkit-box-shadow:0 0 30px 5px #555; box-shadow:0 0 30px 5px #555; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px;"};e.close=U.UF.C.apply(this,function(){U.UF.F.closeWindow(this.form)});e.usform="true";e.id=e.id||"";e.style=e.style||{};e.onresize?(b=e.onresize,l=e.onmousedown,e.onresize=U.UF.C.apply(this,function(){this.size();b&&b()}),e.onmousedown=U.UF.C.apply(this,function(){this.top();l&&l()})):e.onresize=U.UF.C.apply(this,function(){this.size()});c=$$("div",this.formattr);this.istop&&(c.style.zIndex="9999",c.__top__="false");this.form=c;!1!==this.title&&(n.style?(n.style.cssText=n.style.cssText||"",n.style.cssText="height: 25px; line-height: 23px; background-color: #404040; overflow: hidden; color: White; font-size: 14px; overflow: hidden; "+n.style.cssText):n.style={cssText:"height: 25px; line-height: 23px; background-color: #404040; overflow: hidden; color: White; font-size: 14px; overflow: hidden; "},this.isdrag&&(n.onmousedown=function(){U.UF.F.drag(c)}),d=$$("div",n,c),U.UF.C.isString(this.title)?d.innerHTML=this.title:U.UF.C.isElement(this.title)&&d.appendChild(this.title),this.header=d);e=$$("div",{style:{cssText:"width: 100%; position: relative;"}},c);f.usbody="true";f.style?(f.style.cssText=f.style.cssText||"",f.style.cssText="text-align: left; overflow: hidden;"+f.style.cssText):f.style={cssText:"text-align: left; overflow: hidden;"};f=$$("div",f,e);U.UF.C.isString(this.content)?f.innerHTML=this.content:U.UF.C.isElement(this.content)&&f.appendChild(this.content);this.middle=f;!1===this.title&&this.isdrag&&(e.onmousedown=function(){U.UF.F.drag(c)});if(!1!==this.isstretching)for(a in f=$$("div",{style:{cssText:"display: block;"}},c),e={top:"cursor: n-resize; left: 0px; top: 0px; width: 100%; height: 5px;",rightTop:"cursor: ne-resize; right: -2px; top: -2px; width: 12px; height: 12px;",leftTop:"cursor: nw-resize; top: 0px; left: 0px; width: 12px; height: 12px;",left:"cursor: w-resize; left: 0px; top: 0px; width: 5px; height: 100%;",right:"cursor: e-resize; right: 0px; top: 0px; width: 5px; height: 100%;",bottom:"cursor: s-resize; left: 0px; bottom: 0px; width: 100%; height: 5px;",leftBottom:"cursor: sw-resize; left: -2px; bottom: -2px; width: 12px; height: 12px;",rightBottom:"cursor: se-resize; right: -2px; bottom: -2px; width: 12px; height: 12px;"},e)$$("div",{style:{cssText:"position: absolute; overflow: hidden; display: block; z-index: 10;"+e[a]},onmousedown:U.UF.C.closure(function(a,b){U.UF.F.stretching(c,b,U.UF.C.apply(a,a.size))},[this,a])},f);!1!==this.title&&(h=$$("div",{style:{cssText:"position: absolute; top: 3px; right: 0px; width: 80px; display: table-cell; vertical-align: middle;"}},c));!1!==this.isclose&&$$("div",{style:{cssText:"background-image:url(http://www.1473.cn/img/YS2017.png); _background-image:url(http://www.1473.cn/img/YSD2014.gif);width: 20px; height: 20px; background-position: -874px -61px; float: right; margin-right: 3px; cursor: pointer;"},title:"\u70b9\u51fb\u5173\u95ed",onmousedown:U.UF.EV.stopBubble,onclick:U.UF.C.apply(this,function(){U.UF.F.closeWindow(this.form)})},h);!1!==this.isenlarge&&(k=$$("div",{style:{cssText:"background-image:url(http://www.1473.cn/img/YS2017.png); _background-image:url(http://www.1473.cn/img/YSD2014.gif);background-position: -592px -252px; float: right; margin-right: 7px; width: 20px; height: 20px; cursor: pointer;"},title:"\u6700\u5927\u5316",onmousedown:U.UF.EV.stopBubble,onclick:function(){U.UF.F.windowZooming(c)}},h),d&&(d.ondblclick=U.UF.C.apply(d,function(){if(event.srcElement==this||U.UF.EL.isChild(this,event.srcElement))k.onclick()})));!1!==this.isnarrow&&$$("div",{style:{cssText:"background-image:url(http://www.1473.cn/img/YS2017.png); _background-image:url(http://www.1473.cn/img/YSD2014.gif);background-position: -620px -256px; float: right; margin-right: 10px; width: 20px; height: 20px; cursor: pointer;"},title:"\u6700\u5c0f\u5316",onmousedown:U.UF.EV.stopBubble,onclick:function(){U.UF.F.windowMinimize(c)}},h);m&&null!=m.parentNode?m.parentNode.replaceChild(c,m):this.parentel.appendChild(c);""==c.style.top&&""==c.style.left?U.UF.F.windowTopCenter(c):U.UF.F.topWindow(c);this.size()},top:function(){U.UF.F.topWindow(this.form)},size:function(){this.middle.style.height=this.header?this.form.clientHeight-this.header.clientHeight+"px":this.form.clientHeight+"px"}};U.UF.UI.form.windowResize=function(){var a,b,c=US.width,d=US.height,e,f,h,k=U.UF.UI.form.allForm;for(a in k)if(h=k[a].form,"none"!=$(h).css("display")){b={};e=$(h).css("width");f=$(h).css("height");e=-1<e.indexOf("%")?e.toInt()/100:h.offsetWidth/c;f=-1<f.indexOf("%")?f.toInt()/100:h.offsetWidth/d;if(""==h.style.right||"auto"==h.style.right)b.left=h.offsetLeft+(1-e)/2*(document.body.offsetWidth-c)+"px";if(""==h.style.bottom||"auto"==h.style.bottom)b.top=h.offsetTop+(1-f)/2*(document.body.offsetHeight-d)+"px";$(h).addAttrArray({style:b})}};U.UF.UI.Confirm=function(a,b,c){var d=$$("div",{style:{cssText:"width: 100%; background: rgb(255,255,255); overflow:hidden; "},id:"123133456"}),e=$$("div",{style:{cssText:"text-align: center; margin: 30px 20px 30px 20px; "}},d);U.UF.C.isElement(a)?$(e).append(a):e.innerHTML=a||"\u5185\u5bb9";a=$$("div",{style:{cssText:" height:45px;"}},d);var f=new U.UF.UI.form("\u63d0\u793a\u6846",d,{style:{cssText:"font-size: 16px; background: rgb(255,255,255); width: 300px; position: fixed; box-shadow: 0 0 10px 3px rgb(0,0,0); border-radius: 5px;"}},{istop:!0,isenlarge:!1,isstretching:!1,isnarrow:!1},{style:{cssText:" background: rgb(59,88,120); padding: 10px; color: rgb(255,255,255); "}});$$("div",{style:{cssText:"text-align: center; color: rgb(255,255,255); width: 30%; padding: 5px; background: rgb(48,126,208); border-radius: 5px;float: right; margin: 0 12px 12px 0;"},innerHTML:"\u786e\u5b9a",onclick:function(){U.UF.C.isFunction(b)&&b();U.UF.F.closeWindow(f.form)}},a);$$("div",{style:{cssText:"text-align: center; color: rgb(255,255,255); width: 30%; padding: 5px; background: rgb(48,126,208); border-radius: 5px;background: rgb(170,170,170); float: left; margin: 0 0 12px 12px;"},innerHTML:"\u53d6\u6d88",onclick:function(){U.UF.C.isFunction(c)&&c();U.UF.F.closeWindow(f.form)}},a);return f};U.UF.UI.Dialog=function(a,b){var c=$$("div",{style:{cssText:"width: 100%; background: #fff; overflow:hidden; "}}),d=$$("div",{style:{cssText:"text-align: center; margin: 30px 20px 30px 20px; "}},c);U.UF.C.isElement(a)?$(d).append(a):d.innerHTML=a||"\u5185\u5bb9";var d=$$("div",{style:{cssText:"height:45px;"}},c),e=new U.UF.UI.form("\u63d0\u793a\u6846",c,{style:{cssText:"font-size: 16px; width: 300px; background:#fff; position: fixed; top: 100px; left: 40%; box-shadow: 0 0 10px 3px black; border-radius: 5px;"}},null,{style:{cssText:"background: #3b5878; padding: 10px; color:#fff;"}});$$("div",{style:{cssText:"text-align: center; color: #fff; width: 30%; padding: 5px; background: #307ed0; border-radius: 5px;float: right; margin: 0 12px 12px 0;"},innerHTML:"\u786e\u5b9a",onclick:function(){U.UF.C.isFunction(b)&&b();U.UF.F.closeWindow(e.form)}},d)};U.UF.UI.AlertClick=function(a){var b=$$("div",{"class":"USBalert_text"});$$("div",{"class":"Confirm_texts",innerHTML:a||"\u5185\u5bb9"},b);a=$$("div",{"class":"USBalert_onclicks"},neirong);var c=new U.UF.UI.form("\u63d0\u793a\u6846",neirong,{style:{cssText:"font-size: 16px; width: 300px; background: rgb(255,255,255); position: fixed; top:20%;left:0px;right:0px;margin:0px auto; box-shadow: 0 0 10px 3px rgb(0,0,0); border-radius: 5px;"}},null,{style:{cssText:"background: rgb(59,88,120); padding: 10px; color: rgb(255,255,255);"}});$$("div",{style:{cssText:"text-align: center; color: #fff; width: 30%; padding: 5px; background: #307ed0; border-radius: 5px;float: right; margin: 0 12px 12px 0;"},innerHTML:"\u786e\u5b9a",onclick:function(){U.UF.F.closeWindow(c.form)}},a)};U.Alert=function(a,b){b?"":b=3E3;var c=$$("div",{style:{cssText:"padding: 12px 25px 12px 25px;font-size: 16px;max-width:300px;min-width:100px;color: rgba(255,255,255,1);background: rgba(0,0,0,0.75);border-radius: 10px;position: absolute;top:20%;left:0px;right:0px;margin:0px auto;text-align:center; white-space: nowrap; -o-text-overflow: ellipsis; text-overflow: ellipsis; "},innerHTML:a},document.body);U.UF.F.topWindow(c);setTimeout(function(){c.parentNode.removeChild(c)},b)};U.UF.UI.Editor=function(a){return U.UF.UI.EditorLoad({head:!0,isc:!1,title:!1,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,b,c){a=$$("div",{className:"UD_SYSXZBFCAT",style:{display:"block"}},a);a=$$("div",{className:"UD_SYSXZBFCATX"},a);$$("div",{className:"UD_SYSXZBFCATXL",innerHTML:b||"\u4e3b\u9898\uff1a"},a);b=$$("div",{className:"UD_SYSXZBFCATXR"},a);_UDMD=$$("input",{className:"UD_SYSXZTST",defaultValue:_UCT="\u8bf7\u8f93\u5165\u6807\u9898...",value:c,placeholder:_UCT,onblur:[[U.UF.MR.InputTip,[this,["",_UCT]]]],onfocus:[[U.UF.MR.InputTip,[this,[_UCT,""]]]]},b);return a};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.EV.eventDelegation(U.UF.C.apply(this,function(){this[this.f[b]]()}),null,!1)}this.c=this.c||{id:Guid.guidNoDash()};a&&U.UF.C.AddObj(this.c,a);return this},set:function(a){U.UF.C.AddObj(this,a)},create:function(){this.obj.cus&&this.cuscreate();var a,b,c,d,e,f,h,k,l,n=this.obj,m={hst:"",bst:"",draw:"",close:"",max:"",min:"",isContain:"",style:""};this.config();n.id=n.id||Guid.guidNoDash();(l=this.et[n.id])?(l.ti.value=n.name,(d=l.con).innerHTML=n.title,$(l.content).parentElement({usform:"true"}).Center()):(l=this,this.content=b=$$("div",{className:"UD_SYSXZBFCA",id:n.id||""}),!1!==this.obj.title&&(this.ti=$("input",U.UF.UI.EditorLoad.addT(b,"\u4e3b\u9898",n.title))[0]),this.obj.head&&(this.head=c=$$("div",{onclick:function(){this.Tool()},className:"UD_SYSXZBFCAH"},b),k=$$("div",{className:"UD_SYFDTZ U_Boom_Img_ys2017 UD_SYSXZBFCAHO",style:{position:"relative"},title:"\u672c\u5730\u6dfb\u52a0\u6587\u4ef6"},c),US&&US.userInfo&&US.userInfo.UserId&&$$("div",{className:"UD_SYFDTW U_Boom_Img_ys2017 UD_SYSXZBFCAHH",style:{width:"28px"},title:"\u7f51\u76d8\u6dfb\u52a0\u6587\u4ef6",onclick:function(){U.MD.DK.VW.CCWPXZK(US.EMPTYGUID,{onclick:U.UF.C.apply(this,this.createFile)},null)}},c),d=$$("div",{className:"UD_SYQZI UD_SYQCT U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u8868\u60c5\u5305",onclick:function(){U.UF.EV.stopBubble();U.UF.UI.face(this,function(){this.face()})}},c),d=$$("div",{className:"UD_SYQZI UD_SYQZJ U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u80cc\u666f\u8272",onclick:function(){U.UF.EV.stopBubble();U.MD.O.E.T.ToolOC(this)}},c),d=$$("div",{className:"UD_SYQZOB",onclick:U.UF.C.apply(this,function(){this.use({backgroundColor:""},"backgroundColor")})},d),e=$$("div",{className:"UD_SYQZI UD_SYQZZ U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u5b57\u4f53\u8272",onclick:[[U.UF.EV.stopBubble],[U.MD.O.E.T.ToolOC,[this]]]},c),e=$$("div",{className:"UD_SYQZOB",onclick:U.UF.C.apply(this,function(){this.use({color:""},"backgroundColor")})},e),f=$$("div",{className:"UD_SYQZO UD_SYQZOV UD_SYSXZBFCAHO"},c),f=$$("select",{className:"UD_SYQZV",onchange:U.UF.C.apply(this,function(){this.use({fontFamily:""},"font")})},f),h=$$("div",{className:"UD_SYQZO UD_SYQZOO UD_SYSXZBFCAHO"},c),h=$$("select",{className:"UD_SYQZVO",onchange:function(){this.use({fontSize:""},"font")}},h),$$("div",{className:"UD_SYQZI UD_SYQZLO U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u659c\u4f53",onclick:U.UF.C.apply(this,function(){this.use({fontStyle:["italic","normal"]})})},c),$$("div",{className:"UD_SYQZI UD_SYQZLT U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u52a0\u7c97",onclick:U.UF.C.apply(this,function(){this.use({fontWeight:["bold","normal"]})})},c),$$("div",{className:"UD_SYQZI UD_SYQZF U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u4e0b\u5212\u7ebf",onclick:U.UF.C.apply(this,function(){this.use({textDecoration:["underline","none"]})})},c),$$("div",{className:"UD_SYQZI UD_SYQZT U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u5220\u9664\u7ebf",onclick:U.UF.C.apply(this,function(){this.use({textDecoration:["line-through","none"]})})},c),$$("div",{className:"UD_SYQZI UD_SYQLJ U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u8d85\u94fe\u63a5",onclick:function(){U.MD.O.E.T.AddUrl(U.UF.C.apply(this,[[this.AddUrl]]))}},c),$$("div",{className:"UD_SYQZI UD_SYQZR U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u5de6\u5bf9\u9f50",onclick:U.UF.C.apply(this,function(){this.use({textAlign:"left"})})},c),$$("div",{className:"UD_SYQZI UD_SYQZRZ U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u5c45\u4e2d",onclick:U.UF.C.apply(this,function(){this.use({textAlign:"center"})})},c),$$("div",{className:"UD_SYQZI UD_SYQZRL U_Boom_Img_ys2017 UD_SYSXZBFCAHO",title:"\u53f3\u5bf9\u9f50",onclick:U.UF.C.apply(this,function(){this.use({textAlign:"right"})})},c),U.MD.O.E.T.CreatTool([f,h,d,e],[0,1,2,3]),$("\x26*",this.head).addAttrArray({unselectable:"on"})),e=$$("div",{innerHTML:"\u5728\u8be5\u5904\u6dfb\u52a0\u5185\u5bb9..."}),a=e.outerHTML,this.con={className:"UD_SYSXZLRSSI UD_SYSXZBFCO",contenteditable:"true",onblur:function(){U.UF.MR.InputTip(this,["\x3cdiv\x3e\x3c/div\x3e",a])},onfocus:function(){U.UF.MR.InputTip(this,[a])}},this.car&&U.UF.C.AddObj(this.cob,this,car),this.con=d=$$("div",this.con,b),c=$$("div",{className:"UD_SYSXZBFCT"},b),this.obj.imgt&&(U.UF.C.isNumber(this.obj.imgt)||(this.obj.imgt=9),this.imgt=$$("div",{className:"UD_SYSXZLRSSVON"},c)),m.forEach(function(a,b){m[b]=null==n[b]?m[b]:n[b]}),m.SO=this.obj.parent,m.sizeend=function(){this.size()},m.content=b,m.title="\x3cdiv class\x3d'UD_SYF_STI'\x3e"+(this.obj.name||"\u6700\u65b0\u53d1\u8868")+"\x3c/div\x3e",n.parentEle?(this.body=n.parentEle,$(n.parentEle).append(b)):(this.body=(new U.UF.UI.form(m)).form,!1!==this.obj.celbut&&$$("div",{className:"UD_SYSXZBFCTA UD_SYSXZBFCTAT",title:"\u53d6\u6d88",innerHTML:"\u53d6\u6d88",onclick:this.obj.celbut?this.obj.celbut:[[U.UF.F.closeWindow,[this.body,"remove"]]]},c),$$("div",{className:"UD_SYSXZBFCTA",title:"\u786e\u5b9a",innerHTML:"\u786e\u5b9a",onclick:function(){this.fb()}},c)),this.objfl=U.UF.UP.addFlashUploadBottom(k,null,{width:"25px",height:"22px"}),U.UF.UP.flashUploadInit({width:"25px",height:"22px"},{ADD:function(){this.uadd()},CP:function(){this.ucp()},JDT:function(){this.ujdt()},FUP:function(){this.ufup()},FCP:function(){this.ufcp()}},"M"),this.et[n.id]=this,this.r=this.cursor(b,d));try{U&&U.D&&U.MD.D.Tb&&U.MD.D.T.taskbar&&U.MD.D.T.taskbar({bp:"-267px -413px",name:l.obj.name||"\u6700\u65b0\u53d1\u8868",el:l.body,id:n.id,click:U.UF.C.apply(l,l.create)})}catch(u){}l.size();e&&l.r.add(n.context||a);return l},text:function(){return this.con.innerHTML.escapeQuotes()},clear:function(){var a,b=this.extra;for(a=0;a<b.length;a++)$(b[a]).remove()},append:function(a){var b,c=$(this.content),d=$$("frag");if(Array.isArray(a))for(b=0;b<a.length;b++)this.extra.push(a[b]),$(d).append(a[b]);else a.forEach(function(a,b){this.extra.push(U.UF.UI.EditorLoad.addT(d,a,b))});c.append(d,0,c.Child()[0])},addButton:function(){},cuscreate:function(){var a=this.obj.cus;a.tr&&(a.tr.onclick=function(){this.fb()},delete a.tr);a.ubox&&(U.UF.UP.addFlashUploadBottom(a.ubox,this.c.id,{width:"100%",height:"100%"}),U.UF.UP.flashUploadInit({},this.f,this.obj.type||"M"),delete a.ubox);this.set(a)},fb:function(){var a,b,c=this.ti,d=this.con.innerHTML,e=this.imgt?$(this.imgt).Child():null;c&&(b=c.value)&&c.defaultValue==c.value?(a="\u8bf7\u586b\u5199\u6807\u9898",c.focus()):!d.isStrNull()&&"\u6709\u4ec0\u4e48\u548c\u5927\u5bb6\u5206\u4eab..."!=d||(d="\u56fe\u7247\u5206\u4eab",e&&e.length)?this.obj.fcb&&!0!==this.obj.fcb(d,b,e)?this.parentEle||!1===this.obj.close||U.UF.F.closeWindow(this.body,!1!==this.isc?"remove":""):this.con.focus():(a="\u8bf7\u586b\u5199\u5185\u5bb9",this.con.focus());a&&U.Alert(a)},jd:function(){this.r.CreateR()},uerror:function(a){U.Alert("\u9009\u62e9\u6587\u4ef6\u9519\u8bef..")},Tool:function(){var a,b,c=$(this.head).Child();for(a=0;a<c.length;a++)(b=$(c[a]).Child()[0])&&"div"==b.tagName.toLowerCase()&&$(b).css("display","none")},uadd:function(a,b){var c,d;if(this.obj.imgt){if(0>this.obj.imgt-a.length){d=a.length-this.obj.imgt;for(c=0;c<d;c++)this.objfl.deleteUploadFile(a.length-c-1,this.o.length);a=a.slice(0,this.obj.imgt>a.length?a.length:this.obj.imgt)}this.obj.imgt-=a.length}for(c=0;c<a.length;c++)a[c].id=Guid.newGuid();b&&a.length&&(this.rt.add&&this.rt.add(a,b),this.o.push(a),1==this.o.length&&this.up(a[0],0,0))},up:function(a,b,c){this.objfl.generateFileHash(c,(a||this.o[b][c]).id,b)},ujdt:function(a,b,c){this.rt.jdt&&this.rt.jdt(a)},ufup:function(){var a=function(a){var b=a.context,d=b[1],b=b[2];(a=a.value)?this.ufcp(a,b):this.rt.fup&&!1===this.rt.fup(d)||this.objfl.upload((this.url||"http://main.1473.cn/USUpfile.ashx?typename\x3dUseStudioEditor\x26")+"UserId\x3d"+(US.userInfo.UserId||US.EMPTYGUID)+"\x26IsF\x3dtrue",b,d[1],d[2])};return function(b,c){var d=this.getup(c);d[0]?U.A.Request(US.AUTH,["GetFileByHash",b,d[0].size,d[0].type.substr(1)],function(){a()},["",d,c]):this.ufcp(null,c)}}(),ucp:function(a){},ufcp:function(a,b){this.del(null,b);!a||this.rt.fcp&&!this.rt.fcp(a,_UCE)||(a.data&&(a=a.data.parseJSON(),a={UserFilesServerName:a[0],UseFilesServerThumbnailName:a[1],UserFilesID:a[2],UserFilesSize:a[3],UserDirectoryEncrypt:a[4]}),a.data&&(a=a.data.parseJSON(),a={UserFilesServerName:a[0],UseFilesServerThumbnailName:a[1],UserFilesID:a[2],UserFilesSize:a[3],UserDirectoryEncrypt:a[4]}),this.imgt?$$("img",{onerror:"U.MD.C.imgError(this, 2)",title:"\u53f3\u952e\u5220\u9664",src:U.MD.C.getHeadImage(a.UserFilesServerName),alt:U.MD.C.getHeadImage(a.UserFilesServerName),onmouseup:U.UF.C.apply(this,function(){this.imgdel(this)}),onclick:[[U.MD.I.Img,[null,{UserFilesServerName:a.UserFilesServerName,UseFilesServerThumbnailName:a.UseFilesServerThumbnailName}]]]},this.imgt):this.createFile(null,null,null,a));_UGE.length&&this.up(null,0,0)},createFile:function(a,b,c,d){var e;U.UF.UP.isImg(d.UserFilesServerName)?d="\x3cspan\x3e\x3cimg onerror\x3d'U.MD.C.imgError(this, 2)' onclick\x3d'U.MD.I.Img(null, { 'Thm': '"+U.MD.C.getHeadImage(d.UserFilesServerName)+"', 'Img': '"+U.MD.C.getHeadImage(d.UserFilesServerName)+"' src\x3d'"+U.MD.C.getHeadImage(d.UserFilesServerName)+"' alt\x3d'"+U.MD.C.getHeadImage(d.UserFilesServerName)+"' title\x3d'\u70b9\u51fb\u67e5\u770b\u539f\u56fe' /\x3e \x26nbsp\x3c/span\x3e":(a=$$("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"}}),b=$$("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"}},a),$$("div",{style:{cssText:"font-size:15px; width:40px; margin:auto; font-family:'\u5fae\u8f6f\u96c5\u9ed1'; text-align:center; color:#888; position:relative; top:16px; height:20px; overflow:hidden;"},innerHTML:U.UF.UP.getFileNameAndExtension(d.UserFilesServerName)[1]},b),b=$$("div",{style:{cssText:"width:195px; height:100%; margin-left:10px; float:left;"}},a),c=$$("div",{style:{cssText:"width:200px; height:35px; line-height:35px;"}},b),e=$$("div",{innerHTML:"\u6587\u6863 \u5bb9\u91cf\u5927\u5c0f "},c),$$("span",{innerHTML:U.UF.UP.minUnitToMaxUnit(d.UserFilesSize),style:{cssText:"color:#006699;"}},e),c=$$("div",{style:{cssText:"width:200px; height:35px; line-height:35px;"}},b),e=$$("div",{style:{cssText:"float:left; width:35px; height:35px;"}},c),$$("img",{style:{cssText:"width:30px; height:30px;"},src:U.MD.C.getHeadImage(US.userInfo.UserThumbnailImageHead)},e),$$("div",{style:{cssText:"float:left;padding:0 8px;max-width:50px;"},innerHTML:US.userInfo.UserName},c),$$("a",{innerHTML:"\u70b9\u51fb\u4e0b\u8f7d",href:"http://www.1473.cn/Pages/Downlaod.htm?id\x3d"+d.UserFilesID+"\x26type\x3dfile",target:"_blank"},c),$("*",a).addAttrArray({contenteditable:"false"}),d=" \x26nbsp"+a.outerHTML+"\x26nbsp ");this.r.add(d)},AddUrl:function(a){a=a.value;this.r.add("\x3ca href\x3d'"+a+"' style\x3d'color:#3B639F;text-decoration:none;' target\x3d'_blank' \x3e"+a+"\x3c/a\x3e")},imgdel:function(a){2==event.button&&(this.obj.imgt++,$(a).remove())},uacp:function(){try{this.rt.acp||this.rt.acp()}catch(a){}this.objfl.DAF()},del:function(a,b){var c,d=this.o;null!=a?d.splice(a,1):b&&(c=this.getup(b),c[0]&&(this.objfl.deleteUploadFile(c[2],c[1]),d[c[1]].splice(c[2],1),!d[c[1]].length&&d.splice(c[1],1)));d.length||this.uacp()},getup:function(a){var b,c,d=this.o;for(b=0;b<d.length;b++)for(c=0;c<d[b].length;c++)if(d[b][c].id==a)return[d[b][c],b,c];return[null,-1,-1]},size:function(){$(this.content).css("height",$(this.content).parentElement().height()-2+"px");$(this.con).css("height",this.content.offsetHeight-(this.ti?115:70)-(this.head?33:0)-1+"px")},use:function(a,b){if(b){var c,d=event.srcElement;for(c in a)a[c]="font"==b?d.value+("fontSize"==c?"px":""):d.style[b]}this.r.use(a)},cursor:function(){var a,b=function(b,d){return(new a.init(b,d)).bind()};b.prototype=a={init:function(a,b){var c=Guid.guidNoDash();this.isb=this.iso=!1;this.el=a;this.eb=b;this.id=UDID;this.sor=U.UF.E.GetSelectionRange(window,b,{TF:c})},bind:function(){$(this.el).bind({mousedown:function(){this.create()}});$(this.eb).bind({blur:function(){this.blur()},focus:function(){this.focus()}});return this},blur:function(){if(!this.iso){var a=U.UF.E.SORange.OAT[this.id];this.sor=1<a.length?a[a.length-2].OR:this.sor}this.isb=!0},focus:function(){this.isb=!1},create:function(){var a=this.eb,b=event?event.srcElement:null;this.iso=!1;b&&(a===b||U.UF.EL.isChild(a,b)||this.isb)||(this.sor.CreateR(),this.iso=!0)},add:function(a){this.eb.focus();this.sor.Replace(a,null,!0);this.sor.CreateR()},use:function(a){U.UF.E.FontSizeType(this.sor.Parent(),a,this.sor,this.id)}};a.init.prototype=a;return b}(),face:function(a,b){this.r.add(" "+$$("img",{src:"http://www.1473.cn/img/ChatingFaceGif/[face]("+b+").gif",contentEditable:"true"}).outerHTML+" ")}};U.UF.UI.face=function(a,b){var c,d,e=$("#UF_FBD")[0];if(e)$("#UF_FBD")[0].style.display="none"==$("#UF_FBD")[0].style.display?"block":"none";else for(e=$$("div",{id:"UF_FBD","class":"UF_FBD",onmousedown:U.UF.EV.stopBubble},a),d=$$("div",{"class":"UF_FNR"},e),c=0;104>=c;c++)$$("div",{className:"UF_FDG",onclick:[b?[b,[e,c]]:null]},d)};Namespace.register("U.UF.F");U.UF.F.isTop=!1;U.UF.F.hisTory=!0;U.UF.F.maskFrame=function(){return $$("div",{style:{cssText:"width:100%;height:100%;position:absolute;top:0;left:0;"}},document.body)};U.UF.F.windowZooming=function(a){var b=a.initcsstext;a.ismaximize?(a.style.cssText=b,a.ismaximize=!1):(a.initcsstext=a.style.cssText,a.ismaximize=!0,$(a).css({width:"100%",height:"100%",top:"0px",left:"0px"}))};U.UF.F.windowMinimize=function(a){a.style.cssText="-ms-transform:scale(0.5);-webkit-transform:translateX(100%); -o-transform:scale(0.5); transform:scale(0.5); display: none;"};U.UF.F.closeWindow=function(a,b){var c=$(a);"none"!=c[0].style.display&&"remove"==b?c.remove():c.css("display","none")};U.UF.F.windowTopCenter=function(a){var b=document.documentElement.clientWidth,c=document.documentElement.clientHeight+2*(document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop);a.style.display="block";_zindex=(US||parent.US).ZINDEX++;$(a).css({zIndex:_zindex,left:(b-a.clientWidth)/2+"px",top:(c-a.clientHeight)/2+"px"})};U.UF.F.topWindow=function(a){var b=U.UF.F.getWindow(a),c;if(b&&b.length||a&&a.length)for(var d=0;d<b.length;d++)!(c=$(b[d]).Parent())||c!=document.body&&"usestudio-server"!=c.id&&"UD_SY"!=c.id||"false"==$(b[d]).attr("__top__")||(a=(US||parent.US).ZINDEX++,$(b[d]).addAttrArray({style:{cssText:b[d].style.cssText+";z-index:"+a+";display:block"}}))};U.UF.F.getWindow=function(a){var b=[],c=document.body,d=$("#UD_SY")[0]||$("#usestudio-server")[0]||c;if(d){for(;(a=U.UF.EL.offsetParent(a,!0,"absolute"))&&a&&a!=d&&a!=c;)b.push(a),a=a.parentNode;return b}};U.UF.F.clickTopWindow=function(a){$(document.body).bind({mousedown:function(){U.UF.C.isFunction(a)&&a(event.srcElement,!0);top.U.UF.F.topWindow(event.srcElement,!0)}})};U.UF.F.stretching=function(a,b){var c=window.event,d,e;c.preventDefault();d=c.clientX;e=c.clientY;var f=a.offsetTop,h=a.offsetLeft,k=a.offsetWidth,l=a.offsetHeight;document.onmousemove=function(c){c=c||event;var m=c.clientX-d-3;c=c.clientY-e;var n=document.documentElement.clientWidth-h-2,t=document.documentElement.clientHeight-f-2;if("bottom"==b){var q=c+l;70>q?q=70:q>t&&(q=t);a.style.height=q+"px"}if("right"==b){var g=m+k;70>g?g=70:g>n&&(g=n);a.style.width=g+"px"}if("top"==b){q=l-c;a.style.top=f+c+"px";"0">a.style.top&&(a.style.top="0px",document.onmousemove=null);if(70>q){var p=q,q=70;a.style.top=f+c-(70-p)+"px"}a.style.height=q-2+"px"}"left"==b&&(g=k-m,a.style.left=h+m+"px",70>g&&(p=g,g=70,a.style.left=_siparentleft+m-(70-p)+"px"),a.style.width=g-2+"px");"rightBottom"==b&&(g=m+k,q=c+l,70>g?g=70:g>n&&(g=n),a.style.width=g-2+"px",70>q?q=70:q>t&&(q=t),a.style.height=q+"px");"rightTop"==b&&(g=m+k,q=l-c,a.style.top=f+c+"px","0">a.style.top&&(a.style.top="0px",document.onmousemove=null),70>g?g=70:g>n&&(g=n),a.style.width=g+"px",70>q?(p=q,q=70,a.style.top=f+c-(70-p)+"px"):q>f+l&&(q=f+l),a.style.height=q-2+"px");"leftTop"==b&&(g=k-m,a.style.left=h+m+"px",q=l-c,a.style.top=f+c+"px","0">a.style.top&&(a.style.top="0px",document.onmousemove=null),70>g?(p=g,g=70,a.style.left=h+m-(70-p)+"px"):g>h+k&&(g=h+k),a.style.width=g-2+"px",70>q?(p=q,q=70,a.style.top=f+c-(70-p)+"px"):q>f+l&&(q=f+l),a.style.height=q-2+"px");"leftBottom"==b&&(g=k-m,a.style.left=h+m+"px",q=c+l,70>g?(p=g,g=70,a.style.left=h+m-(70-p)+"px"):g>h+k&&(g=h+k),a.style.width=g-2+"px",70>q?q=70:q>t&&(q=t),a.style.height=q-2+"px");if(("left"==b||"leftTop"==b||"leftBottom"==b)&&70==g||("top"==b||"rightTop"==b||"leftTop"==b)&&70==q)document.onmousemove=null;return!1};document.onmouseup=function(){document.onmousemove=null;document.onmouseup=null}};U.UF.F.drag=function(a,b,c){var d,e,f,h,k,l=event||window.event;k=a;d=l.clientX;e=l.clientY;f=k.offsetLeft;h=k.offsetTop;$(document).bind({mousemove:function(a){if(k){var c=a||window.event;a=c.clientX-d;var c=c.clientY-e,l=a+f,n=c+h;$(document.body);k.style.left=l+"px";k.style.top=n+"px";b&&"function"==typeof b&&0!=a&&0!=c&&b()}},mouseup:function(b){k&&c&&"function"==typeof c&&c(a);k=null}})};U.UF.F.DragSelectE=function(a){if(2!=event.button){var b=a.SO,c=U.UF.EL.getMousePosition(),b=b.componentFromPoint(c.X+2,c.Y+2);if("outside"!=b&&-1==b.indexOf("scroll"))return a=(new U.UF.F.DragSelectE.init(a)).create().SetHover().event()}else U.MD.D.DragE&&U.MD.D.DragE.SetHover()};U.UF.F.DragSelectE.init=function(a){var b=a.SO,c=a.SSO||b,d=a.CS;this.EL=b;this.SSO=c;this.OS=c.onscroll;this.CB=b.onmousedown;this.CS=d;this.PEL="static"!=U.UF.EL.getStyle(b,"position")?b:U.UF.EL.offsetParent(b);this.TC=[];this.Fun=a.FUN;this.L=this.T=this.H=this.W=this.PUY=this.PUX=this.TY=this.TX=this.Y=this.X=this.UH=this.UW=this.UL=this.UT=this.ESO=this.ElO=""};U.UF.F.DragSelectE.init.prototype={event:function(a){var b,c,d,e,f,h=this.e=this.e||[[document,{mousemove:["Drag"],mouseup:["DragUp"]}],[this.SSO,{scroll:["CTA","Drag"]}],[this.EL,{mousedown:["Event"]}]];for(b=0;b<h.length;b++)for(c in f=h[b],Array.isArray(f[0])||(f[0]=[f[0]]),f[1])if(f[1].hasOwnProperty(c))for(d=0;d<f[1][c].length;d++)for(U.UF.C.isString(f[1][c][d])&&(f[1][c][d]=U.UF.C.apply(this,[[this[f[1][c][d]]]])),e=0;e<f[0].length;e++)$(f[0][e])[(a?"un":"")+"bind"](c,f[1][c][d])},CTA:function(){var a=this.ElO=U.UF.EL.getElementInfo(this.EL),b={PUX:this.PUX,PUY:this.PUY};this.PUX=a.SL+a.PXL;this.PUY=a.ST+a.PXT;""!==b.PUX&&this.DBH({UW:this.UW+(this.PUX-b.PUX),UH:this.UH+(this.PUY-b.PUY),UT:this.UT,UL:this.UL});return a},create:function(){var a,b,c,d=this.EL;a=U.UF.EL.getMousePosition();b=this.CTA();this.C=$(d).Child();this.TX=b.TX;this.TY=b.TY;this.X=a.X-b.TX+this.PUX;this.Y=a.Y-b.TY+this.PUY;if(c=this.C[0]){b=["Left","Top","Right","Bottom"];for(a=0;a<b.length;a++)b[a]=U.UF.EL.getStyle(c,"margin"+b[a]),b[a]=b[a]&&"auto"!=b[a]?parseInt(b[a]):0;this.W=c.offsetWidth+b[0]+b[2];this.H=c.offsetHeight+b[1]+b[3];this.T=b[1]+b[3];this.L=b[0]+b[2]}this.ESO=$$("div",{className:"UD_DSE",style:{cssText:"top:"+this.Y+"px;left:"+this.X+"px;zIndex:"+US.ZINDEX+1}},d);return this},Drag:function(){var a=U.UF.EL.getMousePosition(),b=Math.min(Math.max(a.Y-this.TY+this.PUY,0),Math.max(this.ElO.SH,this.ElO.OH)-2),a=Math.min(Math.max(a.X-this.TX+this.PUX,0),this.ElO.SW-2),c=a-this.X,d=b-this.Y;0>c?c=Math.abs(c):a=this.X;0>d?d=Math.abs(d):b=this.Y;this.DBH({UW:c,UH:d,UT:b,UL:a})},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.C.AddObj(this,a);b.X=a.UL;b.Y=a.UT;b.BX=a.UW+a.UL;b.BY=a.UH+a.UT;this.IsLocation(b)},IsLocation:function(a){if(this.C[0]){var b,c,d,e,f=this.GetLXY(a);if(this.TC.length)for(b=0;b<this.TC.length;b++)$(d).removeClass(this.CS);this.TC=[];for(b=f[0];b<f[1];b++)if(d=this.C[b])(e=(c=b%f[4])>=f[2]&&c<=f[3]&&(c+1)*this.W>=a.X)&&(d.offsetTop>a.BY||d.offsetTop+this.H-this.T<a.Y)&&(e=!1),$(d)[(e?"add":"remove")+"Class"](this.CS),e&&this.TC.push(d);U.MD.D.DragE=this}},GetLXY:function(a){var b,c=[0,0];c[4]=b=Math.floor(this.ElO.SW/this.W);c[0]=(Math.floor(a.Y/this.H)-1)*b;c[1]=c[0]+(Math.ceil(a.BY/this.H)-Math.floor(c[0]/b))*b;c[2]=Math.min(Math.ceil(a.X/this.W),b)-1;c[3]=Math.min(Math.ceil(a.BX/this.W),b)-1;return c},Event:function(){if(2==event.button){var a,b,c,d,e=this.TC;a=U.UF.EL.getMousePosition();var f=a.Y-this.TY+this.PUY,h=a.X-this.TX+this.PUX;for(a=0;a<e.length;a++)(b=e[a].offsetTop)<=f&&b+this.H-this.T>=f&&(c=e[a].offsetLeft)<=h&&c+this.W>h&&(d=!0);d&&this.Fun&&this.Fun(this.TC);return!d}},DragUp:function(){var a=this.EL;this.event(!0);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.F.dragTable=function(a,b){a&&(b=b||{},new U.UF.F.dragTable.init(a,b))};U.UF.F.dragTable.init=function(a,b){var c=$(a),d=c.parentElement(),e=c.prev(),c=c.next();this.UDPD=d;this.w=d.width();this.pw=d.parentElement().width();this.UDOD=a;this.UE=U.UF.EL.getMousePosition();this.prev=e;this.next=c;this.uw=[e.width(),c.width()];U.UF.C.AddObj(this,b);a.setCapture();$(document.body).bind({mousemove:this.move=U.UF.C.apply(this,b.tf?this.dragB:this.drag),mouseup:this.mup=function(){this.up()}})};U.UF.F.dragTable.init.prototype={drag:function(){var a=this.prev,b=this.next,c=this.uw,d=this.UE,e=U.UF.EL.getMousePosition();e.X=Math.min(Math.max(-c[0],e.X-d.X),c[1]);a.css("width",c[0]+e.X+"px");b.css("width",c[1]+e.X+"px");this.scb&&this.scb()},dragB:function(){var a,b=this.UDPD,c=this.prev;a=this.uw[0];var d=this.UE,e=U.UF.EL.getMousePosition();e.X=Math.max(-a,e.X-d.X);c.css("width",a+e.X+"px");b.css("width",(a=e.X+this.w)>this.pw?a+"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()}};U.UF.C.Start=function(){U.UF.EV.addPrototype(String,U.UF.C.String);U.UF.EV.addPrototype(Number,U.UF.C.Number);U.UF.EV.addPrototype(Array,U.UF.C.Array);U.Json.init();U.UF.CP.init();"ontouchstart"in document&&U.UF.CP.touch()};U.UF.C.Start();
|